1 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3 * NEWS: Restore accidentally deleted bug-fix entries.
5 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6 Ondřej Bílka <neleai@seznam.cz>
9 * malloc/malloc.c (_int_free): Perform sanity check only if we
12 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15 * manual/stdio.texi (String Input Conversions): Clarify that character
16 classes are not supported.
18 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22 2013-12-22 Joseph Myers <joseph@codesourcery.com>
25 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26 Calculate results for small negative arguments directly rather
27 than using reflection formula with special underflow handling.
29 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
30 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31 sysdeps/unix/bsd/bsd4.4/syscalls.list.
35 (sigaltstack): Likewise.
38 (sigsetmask): Likewise.
41 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45 * sysdeps/unix/bsd/Makefile: ... here.
46 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47 * sysdeps/unix/bsd/Versions: ... here.
48 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53 * sysdeps/unix/bsd/sigblock.c: ... here.
54 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55 * sysdeps/unix/bsd/sigsetmask.c: ... here.
56 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57 * sysdeps/unix/bsd/sigvec.c: ... here.
58 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
59 * sysdeps/unix/bsd/tcdrain.c: ... here.
60 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
61 * sysdeps/unix/bsd/tcgetattr.c: ... here.
62 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
63 * sysdeps/unix/bsd/tcsetattr.c: ... here.
64 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
65 * sysdeps/unix/bsd/wait.c: ... here.
66 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
67 * sysdeps/unix/bsd/wait3.c: ... here.
68 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
69 * sysdeps/unix/bsd/waitpid.c: ... here.
71 2013-12-21 Joseph Myers <joseph@codesourcery.com>
74 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
75 round-to-nearest for [!USE_AS_EXPM1L].
76 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
77 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
78 more tests of exp and exp10. Expect some exp10 tests to miss
79 exceptions or fail in directed rounding modes.
80 * math/auto-libm-test-out: Regenerated.
81 * math/libm-test.inc (exp10_tonearest_test_data): New array.
82 (exp10_test_tonearest): New function.
83 (exp10_towardzero_test_data): New array.
84 (exp10_test_towardzero): New function.
85 (exp10_downward_test_data): New array.
86 (exp10_test_downward): New function.
87 (exp10_upward_test_data): New array.
88 (exp10_test_upward): New function.
89 (main): Call the new functions.
90 * sysdeps/i386/fpu/libm-test-ulps: Update.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93 2013-12-20 Joseph Myers <joseph@codesourcery.com>
95 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
96 asinh, atan, atan2, atanh, cbrt, cos and cosh.
97 * math/auto-libm-test-out: Regenerated.
98 * math/libm-test.inc (acosh_test_data): Add more tests.
99 (atanh_test_data): Likewise.
100 (ceil_test_data): Likewise.
101 (copysign_test_data): Likewise.
102 * sysdeps/i386/fpu/libm-test-ulps: Update.
103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
105 * timezone/checktab.awk: Update from tzcode 2013i.
106 * timezone/private.h: Likewise.
107 * timezone/scheck.c: Likewise.
108 * timezone/tzfile.h: Likewise.
109 * timezone/tzselect.ksh: Likewise.
110 * timezone/zdump.c: Likewise.
111 * timezone/zic.c: Likewise.
113 * math/auto-libm-test-in: Add tests of cpow.
114 * math/auto-libm-test-out: Regenerated.
115 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
116 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
118 (func_calc_desc): Add mpc_cc_c union field.
119 (test_functions): Add cpow.
120 (special_fill_2pi): New function.
121 (special_real_inputs): Add 2pi.
122 (calc_generic_results): Handle mpc_cc_c.
123 * sysdeps/i386/fpu/libm-test-ulps: Update.
124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
127 csqrt, ctan and ctanh.
128 * math/auto-libm-test-out: Regenerated.
129 * math/libm-test.inc (TEST_COND_x86_64): New macro.
130 (TEST_COND_x86): Likewise.
131 (ccos_test_data): Use AUTO_TESTS_c_c.
132 (ccosh_test_data): Likewise.
133 (cexp_test_data): Likewise.
134 (clog_test_data): Likewise.
135 (csqrt_test_data): Likewise.
136 (ctan_test_data): Likewise.
137 (ctan_tonearest_test_data): Likewise.
138 (ctan_towardzero_test_data): Likewise.
139 (ctan_downward_test_data): Likewise.
140 (ctan_upward_test_data): Likewise.
141 (ctanh_test_data): Likewise.
142 (ctanh_tonearest_test_data): Likewise.
143 (ctanh_towardzero_test_data): Likewise.
144 (ctanh_downward_test_data): Likewise.
145 (ctanh_upward_test_data): Likewise.
146 * math/gen-auto-libm-tests.c (func_calc_method): Add value
148 (func_calc_desc): Add mpc_c_c union field.
149 (FUNC_mpc_c_c): New macro.
150 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
151 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
153 (special_fill_min_subnorm_p120): New function.
154 (special_real_inputs): Add min_subnorm_p120.
155 (calc_generic_results): Handle mpc_c_c.
156 * sysdeps/i386/fpu/libm-test-ulps: Update.
157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
159 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
161 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
162 do_sin_slow): New functions.
163 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
164 cslow2, csloww1, csloww2): Use the new functions.
166 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
167 Use M to change sign of result instead of X. Assume X is
173 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
180 (sloww1): Don't adjust sign of DX.
182 (sloww2): Use X directly and don't adjust sign of DX.
185 2013-12-19 Joseph Myers <joseph@codesourcery.com>
187 * math/auto-libm-test-in: Add tests of cabs and carg.
188 * math/auto-libm-test-out: Regenerated.
189 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
190 (carg_test_data): Likewise.
191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
193 (func_calc_desc): Add mpc_c_f union field.
194 (test_functions): Add cabs and carg.
195 (calc_generic_results): Handle mpc_c_f.
197 * sysdeps/powerpc/powerpc32/libgcc-compat.S
198 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
199 as a macro and a compat symbol.
200 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
201 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
202 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
203 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
204 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
217 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
218 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
221 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
225 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
227 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
228 (__signal_safe_memalign, __signal_safe_free): Use it.
229 (__signal_safe_realloc): Likewise.
231 2013-12-19 Joseph Myers <joseph@codesourcery.com>
233 * manual/texinfo.tex: Update to version 2013-11-26.10 with
234 trailing whitespace removed.
235 * scripts/config.guess: Update to version 2013-11-29.
236 * scripts/config.sub: Update to version 2013-10-01.
238 * math/auto-libm-test-in: Add tests of sincos.
239 * math/auto-libm-test-out: Regenerated.
240 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
243 (func_calc_desc): Add mpfr_f_11 union field.
244 (test_functions): Add sincos.
245 (calc_generic_results): Handle mpfr_f_11.
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
249 2013-12-19 Andreas Schwab <schwab@suse.de>
251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
254 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
255 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
257 2013-12-19 Joseph Myers <joseph@codesourcery.com>
259 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
265 round-to-nearest mode when using frndint.
266 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
267 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
270 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
272 * math/auto-libm-test-out: Regenerated.
273 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
274 (TEST_COND_x86): Likewise.
275 (expm1_tonearest_test_data): New array.
276 (expm1_test_tonearest): New function.
277 (expm1_towardzero_test_data): New array.
278 (expm1_test_towardzero): New function.
279 (expm1_downward_test_data): New array.
280 (expm1_test_downward): New function.
281 (expm1_upward_test_data): New array.
282 (expm1_test_upward): New function.
283 (main): Run the new test functions.
284 * sysdeps/i386/fpu/libm-test-ulps: Update.
285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287 * include/features.h: Update comment documenting feature test
288 macros. Mention _DEFAULT_SOURCE in comment.
289 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
290 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
291 _BSD_SOURCE and _SVID_SOURCE.
292 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
293 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
294 !_SVID_SOURCE]: Likewise.
295 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
296 (__USE_POSIX_IMPLICITLY): Define.
297 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
298 (_POSIX_SOURCE): Undefine and redefine.
299 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
300 (_POSIX_C_SOURCE): Likewise.
301 * manual/creature.texi (_DEFAULT_SOURCE): Document.
302 (Feature Test Macros): Update documentation of default features.
304 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
306 * benchtests/Makefile: Add bench-strtok.
307 * benchtests/bench-strtok.c: New file: strtok benchtest.
309 2013-12-19 Allan McRae <allan@archlinux.org>
311 * manual/install.texi: Suppress menu for plain text output.
312 * INSTALL: Regenerated.
314 2013-12-18 Andrew Hunter <ahh@google.com>
316 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
317 (__signal_safe_malloc, __signal_safe_free): Likewise.
318 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
319 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
320 (__signal_safe_memalign, __signal_safe_malloc): New function.
321 (__signal_safe_free, __signal_safe_realloc): Likewise.
322 (__signal_safe_calloc): Likewise.
323 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
325 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
327 2013-12-18 Andrew Hunter <ahh@google.com>
329 * elf/Versions (ld): Add _dl_clear_dtv.
330 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
331 * elf/dl-tls.c (_dl_clear_dtv): New function.
332 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
334 2013-12-18 Andrew Hunter <ahh@google.com>
336 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
337 (_dl_unmask_signals): Likewise.
338 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
339 (_dl_unmask_all_signals): Likewise.
340 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
341 (_dl_unmask_all_signals): Likewise.
342 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
343 (_dl_unmask_signals): Likewise.
345 2013-12-18 Brooks Moses <bmoses@google.com>
348 * misc/getauxval.c: Include errno.h.
349 (__getauxval): Set errno to ENOENT if the requested type is not
351 * misc/sys/auxv.h (getauxval): Document that it may set errno;
352 don't declare with __attribute_const__.
353 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
354 * manual/startup.texi: Document that getauxval sets errno.
356 2013-12-18 Joseph Myers <joseph@codesourcery.com>
358 * math/auto-libm-test-in: Add tests of jn and yn.
359 * math/auto-libm-test-out: Regenerated.
360 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
361 (yn_test_data): Likewise.
362 * math/gen-auto-libm-tests.c (func_calc_method): Add value
364 (func_calc_desc): Add mpfr_if_f union field.
365 (FUNC_mpfr_if_f): New macro.
366 (test_functions): Add jn and yn.
367 (calc_generic_results): Assert type of second input for
368 mpfr_ff_f. Handle mpfr_if_f.
369 (output_for_one_input_case): Disable all checking for arguments
370 fitting floating-point types in case of an integer argument.
371 * sysdeps/i386/fpu/libm-test-ulps: Update.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
375 Don't expect fegetround reference in libm.so.
377 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
379 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
380 $(config-cflags-nofma).
382 2013-12-18 Joseph Myers <joseph@codesourcery.com>
384 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
385 * math/auto-libm-test-out: Regenerated.
388 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
389 to determine exponent and adjust argument to have exponent of -1.
390 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
392 * math/auto-libm-test-out: Regenerated.
393 * sysdeps/i386/fpu/libm-test-ulps: Update.
394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
396 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
398 * manual/probes.texi: Remove cases when per-thread arenas are
401 2013-12-18 Andreas Schwab <schwab@suse.de>
403 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
404 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
405 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
406 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
407 * sysdeps/i386/i686/multiarch/Makefile: Update.
408 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
410 2013-12-17 Joseph Myers <joseph@codesourcery.com>
412 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
413 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
415 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
417 Support TZ transition times < 00:00:00.
418 This is needed for version-3 tz-format files; it supports time
419 stamps past 2037 for America/Godthab (the only entry in the tz
420 database for which this change is relevant).
421 * manual/time.texi (TZ Variable): Document transition times
422 from -167:59:59 through -00:00:01.
423 * time/tzset.c (tz_rule): Time of day is now signed.
424 (__tzset_parse_tz): Parse negative time of day.
426 Document TZ transition times >= 25:00:00.
427 * manual/time.texi (TZ Variable): Document transition times from
428 25:00:00 through 167:59:59. These are already supported, and this
429 support will help with version-3 tz-format files.
431 * manual/time.texi (TZ Variable): Modernize North America example
432 to reflect current (i.e., 2007-and-later) daylight saving rules.
434 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
436 2013-12-17 Joseph Myers <joseph@codesourcery.com>
438 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
439 * sysdeps/unix/bsd/bits/stat.h: Likewise.
440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
442 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
443 * sysdeps/unix/bsd/bsdstat.h: Likewise.
444 * sysdeps/unix/bsd/clock.c: Likewise.
445 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
446 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
447 * sysdeps/unix/bsd/init-posix.c: Likewise.
448 * sysdeps/unix/bsd/poll.c: Likewise.
449 * sysdeps/unix/bsd/ptsname.c: Likewise.
450 * sysdeps/unix/bsd/seekdir.c: Likewise.
451 * sysdeps/unix/bsd/setegid.c: Likewise.
452 * sysdeps/unix/bsd/seteuid.c: Likewise.
453 * sysdeps/unix/bsd/setgid.c: Likewise.
454 * sysdeps/unix/bsd/setrgid.c: Likewise.
455 * sysdeps/unix/bsd/setruid.c: Likewise.
456 * sysdeps/unix/bsd/setsid.c: Likewise.
457 * sysdeps/unix/bsd/setuid.c: Likewise.
458 * sysdeps/unix/bsd/sigaction.c: Likewise.
459 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
460 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
461 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
462 * sysdeps/unix/bsd/telldir.c: Likewise.
463 * sysdeps/unix/bsd/times.c: Likewise.
464 * sysdeps/unix/bsd/usleep.c: Likewise.
466 * misc/Makefile (install-lib): Remove libbsd-compat.a.
467 ($(objpfx)libbsd-compat.a): Remove rule.
469 * include/features.h (__FAVOR_BSD): Do not define.
470 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
471 features conflicting with POSIX.
472 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
473 (_BSD_SOURCE): Remove description of not being a subset of other
475 * manual/job.texi (getpgrp): Do not document BSD version.
476 (getpgid): Do not document by reference to BSD getpgrp.
477 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
478 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
479 * signal/signal.h [__FAVOR_BSD]: Likewise.
480 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
481 instead of making contents conditional on [__FAVOR_BSD].
482 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
484 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
488 2013-12-17 Joseph Myers <joseph@codesourcery.com>
491 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
492 values below 2**-450, not 2**-500.
493 * math/auto-libm-test-in: Don't allow spurious underflow from
495 * math/auto-libm-test-out: Regenerated.
499 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
500 values of ha and hb and sort them after adjusting subnormal
502 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
504 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
505 values of ea and eb and sort them after adjusting subnormal
507 * math/auto-libm-test-in: Do not expect some hypot tests of
508 subnormals to fail. Add more hypot tests.
509 * math/auto-libm-test-out: Regenerated.
511 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
514 * sysdeps/sh/s_fma.c: New file.
515 * sysdeps/sh/s_fmaf.c: New file.
516 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
518 * sysdeps/sh/Implies: Add sh/soft-fp.
520 2013-12-16 Roland McGrath <roland@hack.frob.com>
522 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
523 level of indirection to members `objname', `errstring', `malloced'.
524 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
525 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
526 it as the __longjmp argument (just pass 1 instead).
527 (_dl_catch_error): Initialize C with argument pointers and address of
528 volatile local ERRCODE rather than copying values out of C at return.
530 2013-12-16 Joseph Myers <joseph@codesourcery.com>
532 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
533 * math/auto-libm-test-out: Regenerated.
534 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
535 (hypot_test_data): Likewise.
536 (pow_test_data): Likewise.
537 (pow_tonearest_test_data): Likewise.
538 * math/gen-auto-libm-tests.c (func_calc_method): Add value
540 (func_calc_desc): Add mpfr_ff_f union field.
541 (FUNC_mpfr_ff_f): New macro.
542 (test_functions): Add atan2, hypot and pow.
543 (special_fill_min): New function.
544 (special_fill_minus_min): Likewise.
545 (special_fill_min_subnorm): Likewise.
546 (special_fill_minus_min_subnorm): Likewise.
547 (special_real_inputs): Add min, -min, min_subnorm and
549 (calc_generic_results): Handle mpfr_ff_f.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
553 2013-12-16 Will Newton <will.newton@linaro.org>
555 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
556 (Aligned Memory Blocks): Add documentation for aligned_alloc
557 and suggest it as an alternative to posix_memalign.
558 (Hooks for Malloc): Document __memalign_hook is also called
559 for aligned_alloc. (Summary of Malloc): Add summary for
560 aligned alloc. Document __memalign_hook is also called
563 2013-12-16 Will Newton <will.newton@linaro.org>
565 * manual/memory.texi (Malloc Examples): Clarify default
566 alignment documentation. Suggest posix_memalign rather
567 than memalign or valloc.
568 (Aligned Memory Blocks): Remove suggestion to use memalign
569 or valloc. Remove obsolete comment about BSD.
570 Document memalign errno values and mark the function obsolete.
571 Document posix_memalign returned error codes. Mark valloc
572 as obsolete. (Hooks for Malloc): __memalign_hook is also
573 called for posix_memalign and valloc.
574 (Summary of Malloc): Add posix_memalign to function summary.
575 __memalign_hook is also called for posix_memalign and valloc.
577 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
579 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
583 (sloww): Use mynumber union. Expand ternary operator into
585 (cslow): use mynumber union.
587 2013-12-16 Allan McRae <allan@archlinux.org>
589 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
590 * configure: Regenerated.
592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
595 * configure.ac: Added --enable-maintainer-mode. Check for
596 autoconf when enabled.
597 * configure: Regenerated.
599 * nscd/nscd.service: New file.
600 * nscd/nscd.tmpfiles: New file.
602 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
605 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
606 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
607 * sysdeps/x86_64/multiarch/strstr.c: ... here.
608 (strstr): Add __strstr_sse2_unaligned ifunc.
609 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
610 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
611 (strcasestr): Remove __strcasestr_sse42 ifunc.
612 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
616 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
618 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
619 * sysdeps/sh/bits/fenv.h: ... here.
620 * sysdeps/sh/sh4/fpu/bits: Remove directory.
622 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
624 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
626 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
629 hypotf multiarch implementations.
630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
633 multiarch hypot for PPC64.
634 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
637 multiarch hypotf for PPC64.
639 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
642 modff multiarch implementations.
643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
646 multiarch modf for PPC64.
647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
650 multiarch modff for PPC64.
652 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
655 and logl multiarch implementations.
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
659 multiarch logb for PPC64.
660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
663 multiarch logb for PPC64.
664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
667 multiarch logb for PPC64.
669 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
672 isinff multiarch implementation.
673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
677 multiarch isinf for PPC64.
678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
681 multiarch isinff for PPC64.
683 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
686 finitef multiarch implementation.
687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
691 multiarch finite for PPC64.
692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
695 multiarch finitef for PPC64.
697 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
700 lrint multiarch implementation.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
705 multiarch llrint for PPC64.
706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
707 multiarch lrint for PPC64.
709 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
712 copysignf multiarch implementation.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
718 multiarch copysign for PPC64.
719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
720 multiarch copysignf for PPC64.
722 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
725 multiarch implementation.
726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
734 multiarch llround for PPC64.
735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
736 multiarch trunc for PPC64.
737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
738 multiarch truncf for PPC64.
740 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
743 multiarch implementation.
744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
752 multiarch llround for PPC64.
753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
754 multiarch round for PPC64.
755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
756 multiarch roundf for PPC64.
758 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
761 multiarch implementation.
762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
770 multiarch llround for PPC64.
771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
772 multiarch floor for PPC64.
773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
774 multiarch floorf for PPC64.
776 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
779 multiarch implementation.
780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
788 multiarch llround for PPC64.
789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
790 multiarch ceil for PPC64.
791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
792 multiarch ceilf for PPC64.
794 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
797 multiarch implementation.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
805 multiarch llround for PPC64.
806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
807 multiarch lround for PPC64.
809 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
812 multiarch implementation.
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
820 multiarch isnan for PPC64.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
822 multiarch isnanf for PPC64.
824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
827 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
828 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
829 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
830 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
833 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
836 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
840 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
843 multiarch implementations.
844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
845 (__libc_ifunc_impl_list): Likewise.
846 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
847 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
848 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
849 multiarch stpcpy for PPC64.
851 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
854 multiarch implementations.
855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
856 (__libc_ifunc_impl_list): Likewise.
857 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
858 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
859 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
860 multiarch strcpy for PPC64.
862 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
865 redefine function name.
866 (_wordcopy_fwd_dest_aligned): Likewise.
867 (_wordcopy_bwd_aligned): Likewise.
868 (_wordcopy_bwd_dest_aligned): Likewise.
869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
870 multiarch implementations.
871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
872 (__libc_ifunc_impl_list): Likewise.
873 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
874 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
875 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
876 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
877 multiarch wcscpy for PPC64.
879 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
882 multiarch implementations.
883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
884 (__libc_ifunc_impl_list): Likewise.
885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
886 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
888 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
889 multiarch wcscpy for PPC64.
891 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
894 multiarch implementations.
895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
896 (__libc_ifunc_impl_list): Likewise.
897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
900 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
901 multiarch wcsrchr for PPC64.
903 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
906 multiarch implementations.
907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
908 (__libc_ifunc_impl_list): Likewise.
909 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
910 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
911 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
912 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
913 multiarch wcschr for PPC64.
915 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
918 multiarch implementations.
919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
920 (__libc_ifunc_impl_list): Likewise.
921 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
922 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
923 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
924 multiarch strchrnul for PPC64.
926 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
931 (__libc_ifunc_impl_list): Likewise.
932 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
933 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
934 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
935 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
938 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
943 (__libc_ifunc_impl_list): Likewise.
944 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
945 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
946 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
947 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
950 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
953 multiarch implementations.
954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
955 (__libc_ifunc_impl_list): Likewise.
956 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
957 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
958 strncasecmp for PPC64.
959 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
960 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
961 multiarch strncasecmp_l for PPC64.
963 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
966 multiarch implementations.
967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
968 (__libc_ifunc_impl_list): Likewise.
969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
970 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
971 multiarch strcasecmp for PPC64.
972 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
974 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
975 multiarch strcasecmp_l for PPC64.
977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
982 (__libc_ifunc_impl_list): Likewise.
983 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
984 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
985 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
993 (__libc_ifunc_impl_list): Likewise.
994 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
995 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
996 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
999 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1004 (__libc_ifunc_impl_list): Likewise.
1005 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1006 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1007 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1008 rawmemrchr for PPC64.
1010 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1015 (__libc_ifunc_impl_list): Likewise.
1016 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1017 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1018 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1021 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1026 (__libc_ifunc_impl_list): Likewise.
1027 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1028 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1029 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1032 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1037 (__libc_ifunc_impl_list): Likewise.
1038 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1039 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1040 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1043 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1046 avoid cretion of __bzero symbol.
1047 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1049 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1051 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1054 multiarch implementations.
1055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1056 (__libc_ifunc_impl_list): Likewise.
1057 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1058 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1059 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1060 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1062 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1063 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1064 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1065 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1066 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1068 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1070 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1076 (__libc_ifunc_impl_list): Likewise.
1077 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1078 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1083 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1086 multiarch for POWER/PPC64.
1087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1088 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1089 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1090 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1092 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1095 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1098 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1101 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1102 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1103 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1104 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1105 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1106 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1107 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1108 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1109 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1110 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1111 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1112 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1113 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1114 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1123 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1127 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1129 * benchtests/Makefile (bench): Add exp2 and log2.
1130 (LDLIBS-bench-exp2): Add -lm.
1131 (LDLIBS-bench-log2): Likewise.
1132 * benchtests/exp2-inputs: New inputs file.
1133 * benchtests/log2-inputs: New inputs file.
1134 * benchtests/log-inputs: Add new inputs.
1135 * benchtests/tan-inputs: Likewise.
1137 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1139 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1141 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1142 csloww1, csloww2): ... from here.
1144 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1145 instead of structures.
1146 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1147 (POLYNOMIAL): Likewise.
1148 (TAYLOR_SLOW): Likewise.
1156 (bsloww1): Likewise.
1157 (bsloww2): Likewise.
1160 (csloww1): Likewise.
1161 (csloww2): Likewise.
1163 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1165 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1166 (__malloc_assert, __libc_realloc, __libc_calloc,
1167 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1169 * malloc/hooks.c (realloc_check): Likewise.
1171 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1173 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1174 * malloc/arena.c: Remove PER_THREAD conditional.
1175 [!PER_THREAD]: Remove code.
1176 (ptmalloc_unlock_all2): Likewise.
1177 (ptmalloc_init): Likewise.
1178 (_int_new_arena): Likewise.
1179 (arena_get2): Likewise.
1180 * malloc/hooks.c (__malloc_get_state): Likewise.
1181 (__malloc_set_state): Likewise.
1182 * malloc/malloc.c: Likewise.
1183 (struct malloc_state): Likewise.
1184 (struct malloc_par): Likewise.
1185 (__libc_realloc): Likewise.
1186 (__libc_mallopt): Likewise.
1188 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1190 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1192 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1194 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1195 macro to a function. Check for zero perturb_byte.
1196 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1198 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1200 * malloc/malloc.c: (force_reg): Remove.
1201 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1202 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1203 force_reg by atomic_forced_read.
1204 * malloc/arena.c (ptmalloc_init): Likewise.
1205 * malloc/hooks.c (top_check): Likewise.
1207 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1211 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1215 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1217 * math/auto-libm-test-in: Add tests of lgamma.
1218 * math/auto-libm-test-out: Regenerated.
1219 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1220 (M_LOG_2_SQRT_PIl): Likewise.
1221 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1222 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1224 (func_calc_desc): Add mpfr_f_f1 union field.
1233 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1234 (test_functions): Add lgamma.
1235 (calc_generic_results): Handle mpfr_f_f1.
1236 * sysdeps/i386/fpu/libm-test-ulps: Update.
1237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1239 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1242 __mpn_add_n for PowerPC64/POWER7.
1243 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1244 __mpn_sub_n for PowerPC64/POWER7.
1246 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1248 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1249 __mpn_addmul_1 for PowerPC64.
1250 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1251 __mpn_submul_1 for PowerPC64.
1252 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1254 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1257 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1260 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1262 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1264 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1266 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1269 add multiarch folders.
1270 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1271 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1272 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1273 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1274 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1275 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1276 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1277 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1278 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1279 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1280 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1288 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1291 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1297 multiarch __ieee754_hypot for PowerPC32.
1298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1303 multiarch __ieee754_hypotf for PowerPC32.
1305 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1308 long_double_symbol only if __logbl is defined.
1309 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1310 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1312 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1314 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1315 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1316 path for implementation.
1317 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1320 logb, and logbl multiarch implementations for PowerPC32.
1321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1326 multiarch logb for PowerPC32.
1327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1332 multiarch logbf for PowerPC32.
1333 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1337 multiarch logbl implementation for PowerPC32.
1339 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1342 and modff multiarch implementations.
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1348 multiarch modf for PowerPC32.
1349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1354 multiarch modff for PowerPC32.
1356 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1359 and lrintf multiarch implementations.
1360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1365 multiarch lrint for PowerPC32.
1366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1367 file: multiarch lrintf for PowerPC32.
1369 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1372 and lroundf multiarch implementations.
1373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1380 multiarch lround for PowerPC32.
1381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1382 file: multiarch lroundf for PowerPC32.
1384 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1387 copysign and copysignf multiarch implementations.
1388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1393 file: multiarch copysign for PowerPC32.
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1395 file: multiarch copysignf for PowerPC32.
1397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1400 and truncf multiarch implementations.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1406 multiarch trunc for PowerPC32.
1407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1412 multiarch truncf for PowerPC32.
1414 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1417 and roundf multiarch implementations.
1418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1423 multiarch round for PowerPC32.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1429 multiarch roundf for PowerPC32.
1431 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1434 and floorf multiarch implementations.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1440 multiarch floor for PowerPC32.
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1446 multiarch floorf for PowerPC32.
1448 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1451 and ceilf multiarch implementations.
1452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1457 multiarch ceil for PowerPC32.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1463 multiarch ceilf for PowerPC32.
1465 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1467 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1469 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1472 and finitef multiarch implementations.
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1478 multiarch finite for PowerPC32.
1479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1482 file: multiarch finitef for PowerPC32.
1484 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1487 and isinff multiarch implementations.
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1493 multiarch isinf for PowerPC32.
1494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1497 multiarch isinff for PowerPC32.
1499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1502 alias when __isnan is defined.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1504 and isnanf multiarch implementations.
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1514 multiarch isnan for PowerPC32.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1520 multiarch isnanf for PowerPC32.
1522 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1525 and sqrtf multiarch implementations.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1531 multiarch sqrt for PowerPC32.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1537 multiarch sqrtf for PowerPC32.
1539 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1542 and llroundf multiarch implementations.
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1550 file: multiarch llround for PowerPC32.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1552 file: multiarch llroundf for PowerPC32.
1554 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1557 multiarch PowerPC32 fpu implementations.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1563 multiarch llrint for PowerPC32.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1571 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1581 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1583 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1584 multiarch wordcopy for PPC32.
1585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1588 (__libc_ifunc_impl_list): Likewise.
1589 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1590 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1591 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1592 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1594 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1606 multiarch wcscpy for PPC32.
1607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1610 (__libc_ifunc_impl_list): Likewise.
1611 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1612 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1613 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1614 sysdeps/powerpc/power6/wcscpy.c.
1616 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1626 multiarch wcsrchr for PPC32.
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1629 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1630 (__libc_ifunc_impl_list): Likewise.
1631 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1632 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1633 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1634 sysdeps/powerpc/power6/wcsrchr.c.
1636 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1640 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1644 multiarch wcschr for PPc32.
1645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1648 (__libc_ifunc_impl_list): Likewise.
1649 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1650 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1651 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1652 sysdeps/powerpc/power6/wcschr.c.
1654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1660 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1661 file: multiarch strchr for PPC32.
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1665 (__libc_ifunc_impl_list): Likewise.
1667 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1671 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1673 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1676 multiarch strchrnul for PPC32.
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1680 (__libc_ifunc_impl_list): Likewise.
1682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1687 multiarch strncasecmp for PPC32.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1691 multiarch strncasecmp_l for PPC32.
1692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1693 strncasecmp multiarch objects.
1694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1695 (__libc_ifunc_impl_list): Likewise.
1697 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1701 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1702 multiarch strncasecmp for PPC32.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1706 multiarch strcasecmp_l for PPC32.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1710 (__libc_ifunc_impl_list): Likewise.
1712 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1719 multiarch strncmp for PPC32.
1720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1723 (__libc_ifunc_impl_list): Likewise.
1725 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1728 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1731 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1735 (__libc_ifunc_impl_list): Likewise.
1737 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1741 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1743 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1747 (__libc_ifunc_impl_list): Likewise.
1749 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1751 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1753 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1756 multiarch rawmemchr for PPC32.
1757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1760 (__libc_ifunc_impl_list): Likewise.
1762 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1768 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1769 file: memrchr multiarch for PPC32.
1770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1773 (__libc_ifunc_impl_list): Likewise.
1775 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1778 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1780 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1781 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1782 multiarch memchr for PPC32.
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1786 (__libc_ifunc_impl_list): Likewise.
1788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1796 file: multiarch mempcpy for PPC32.
1797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1800 (__libc_ifunc_impl_list): Likewise.
1802 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1808 multiarch bzero for PPC32.
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1814 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1815 file: multiarch memset for PPC32.
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1818 memset multiarch objects.
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1820 (__libc_ifunc_impl_list): Likewise.
1822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1833 (__libc_ifunc_impl_list): Likewise.
1835 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1846 multiarch memcpy for PPC32.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1850 (__libc_ifunc_impl_list): Likewise.
1852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1855 support multiarch for POWER/PPC32.
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1860 Implies file to make multiarch folder appers before the fpu and
1861 default folder for power4 configuration.
1863 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1865 * scripts/bench.pl: Append volatile keyword to type.
1867 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1869 * sysdeps/sh/sotruss-lib.c: New file.
1870 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1872 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1876 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1879 * math/w_tgamma.c: Include <errno.h>.
1880 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1881 * math/w_tgammaf.c: Include <errno.h>.
1882 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1883 * math/w_tgammal.c: Include <errno.h>.
1884 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1885 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1886 underflow. Add more tgamma tests.
1887 * math/auto-libm-test-out: Regenerated.
1888 * sysdeps/i386/fpu/libm-test-ulps: Update.
1889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1891 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1892 sin, sinh, tan, tanh, tgamma, y0 and y1.
1893 * math/auto-libm-test-out: Regenerated.
1894 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1895 (TEST_COND_x86): Likewise.
1896 (M_E2l): Remove macro.
1898 (M_2_SQRT_PIl): Likewise.
1899 (M_SQRT_PIl): Likewise.
1900 (M_1_DIV_El): Likewise.
1901 (log_test_data): Use AUTO_TESTS_f_f.
1902 (log10_test_data): Likewise.
1903 (log1p_test_data): Likewise.
1904 (log2_test_data): Likewise.
1905 (sin_test_data): Likewise.
1906 (sin_tonearest_test_data): Likewise.
1907 (sin_towardzero_test_data): Likewise.
1908 (sin_downward_test_data): Likewise.
1909 (sin_upward_test_data): Likewise.
1910 (sinh_test_data): Likewise.
1911 (sinh_tonearest_test_data): Likewise.
1912 (sinh_towardzero_test_data): Likewise.
1913 (sinh_downward_test_data): Likewise.
1914 (sinh_upward_test_data): Likewise.
1915 (tan_test_data): Likewise.
1916 (tan_tonearest_test_data): Likewise.
1917 (tan_towardzero_test_data): Likewise.
1918 (tan_downward_test_data): Likewise.
1919 (tan_upward_test_data): Likewise.
1920 (tanh_test_data): Likewise.
1921 (tgamma_test_data): Likewise.
1922 (y0_test_data): Likewise.
1923 (y1_test_data): Likewise.
1924 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1925 (special_real_inputs): Add pi/4.
1926 * sysdeps/i386/fpu/libm-test-ulps: Update.
1927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1929 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1932 "longjmp_target" static probes.
1933 (__longjmp): Rename to __longjmp_symbol.
1934 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1935 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1936 on which longjmp to generate.
1937 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1938 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1940 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1941 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1942 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1943 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1944 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1947 __longjmp_symbol based on which __longjmp to generate.
1948 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1950 (setjmp): Rename to setjmp_symbol.
1951 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1952 (_setjmp): Rename to _setjmp_symbol.
1953 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1954 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1955 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1956 which setjmp to generate.
1957 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1958 "longjmp_target" static probes.
1960 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1962 * benchtests/README: Add note about output arguments.
1963 * benchtests/bench-sincos.c: Remove file.
1964 * benchtests/sincos-inputs: New file.
1965 * scripts/bench.pl: Identify output arguments and define
1966 static variables for them.
1968 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1971 * Makefile (INSTALL): Add install-plain.texi as the primary
1973 * manual/install-plain.texi: New file.
1974 * manual/install.texi: Include node directive only for
1975 non-plaintext output.
1977 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1979 * stdlib/longlong.h: Update from GCC.
1983 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1984 * math/w_j0f.c (y0f): Likewise.
1985 * math/w_j0l.c (__y0l): Likewise.
1986 * math/w_j1.c (y1): Likewise.
1987 * math/w_j1f.c (y1f): Likewise.
1988 * math/w_j1l.c (__y1l): Likewise
1989 * math/w_jn.c (yn): Likewise.
1990 * math/w_jnf.c (ynf): Likewise.
1991 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1992 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1993 value for Bessel function domain errors outside _SVID_ mode.
1994 Adjust sign of return value for yn (negative integer, 0).
1995 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1996 by zero in return for negative x and set sign appropriately for
1998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2000 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2001 expectations in error cases.
2002 (y1_test_data): Likewise.
2003 (yn_test_data): Likewise.
2004 * sysdeps/i386/fpu/libm-test-ulps: Update.
2005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2007 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2009 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2010 "64" to "64-v1". Add "64-v2".
2011 (abi-64-options): Rename to ...
2012 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2013 (abi-64-condition): Rename to ...
2014 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2015 (abi-64-ld-soname): Rename to ...
2016 (abi-64-v1-ld-soname): ... this.
2017 (abi-64-v2-options): Define.
2018 (abi-64-v2-condition): Likewise.
2019 (abi-64-v2-ld-soname): Likewise.
2020 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2021 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2026 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2027 Alan Modra <amodra@gmail.com>
2029 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2030 New versions for use with the ELFv2 ABI.
2031 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2032 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2034 (struct La_ppc64v2_retval): Likewise.
2035 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2036 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2037 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2038 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2039 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2040 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2041 Do not save or restore CR.
2042 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2043 (_dl_profile_resolve): Do no save or restore CR. Support extended
2044 return values for ELFv2 ABI. Fix location of FPR return registers.
2045 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2046 updated values for _CALL_ELF == 2.
2047 (La_regs, La_retval, int_retval): Likewise.
2049 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2051 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2052 (FRAME_MIN_SIZE_PARM): Likewise.
2053 (FRAME_BACKCHAIN): Likewise.
2054 (FRAME_CR_SAVE): Likewise.
2055 (FRAME_LR_SAVE): Likewise.
2056 (FRAME_TOC_SAVE): Likewise.
2057 (FRAME_PARM_SAVE): Likewise.
2058 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2059 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2060 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2061 (call_mcount_parm_offset): New macro.
2062 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2063 (PROF): Use symbolic stack frame offsets.
2064 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2065 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2066 Redefine in terms of FRAME_MIN_SIZE.
2067 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2068 (_dl_profile_resolve): Likewise. Update comment.
2069 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2070 symbols stack frame offsets.
2071 (__sigsetjmp): Likewise.
2072 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2073 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2074 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2075 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2078 (FRAME_BACKCHAIN): Remove.
2079 (FRAME_CR_SAVE): Likewise.
2080 (FRAME_LR_SAVE): Likewise.
2081 (FRAME_COMPILER_DW): Likewise.
2082 (FRAME_LINKER_DW): Likewise.
2083 (FRAME_TOC_SAVE): Likewise.
2084 (FRAME_PARM_SAVE): Likewise.
2085 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2086 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2087 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2089 (CHECK_SP): Use symbolic stack frame offsets.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2091 zone" instead of caller's parameter save area for temp storage.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2093 Likewise. Also, use symbolic stack frame offsets.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2095 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2096 our own stack frame instead of the caller's.
2097 (__socket): Use symbolic stack frame offsets.
2099 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2100 Alan Modra <amodra@gmail.com>
2102 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2104 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2105 PPC64_LOCAL_ENTRY_OFFSET): Define.
2106 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2108 (elf_machine_fixup_plt): Call it.
2109 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2111 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2112 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2113 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2114 r2 before calling target.
2116 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2117 Alan Modra <amodra@gmail.com>
2119 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2120 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2121 versions of macros to support ELFv2 ABI.
2122 (LOCALENTRY): New macro.
2123 (ENTRY, EALIGN): Use it.
2124 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2125 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2126 fall through into ENTRY entry point.
2127 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2128 Only define if _CALL_ELF != 2.
2130 (elf_machine_matches_host): Verify ABI version matches.
2131 (RTLD_START): Use LOCALENTRY.
2132 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2133 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2134 (PLT_ENTRY_WORDS): New macro.
2135 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2136 (elf_machine_runtime_setup): Support ELFv2 ABI.
2137 (elf_machine_fixup_plt): Likewise.
2138 (elf_machine_plt_conflict): Likewise.
2139 (resolve_ifunc): Likewise.
2140 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2144 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2146 (makecontext): Support ELFv2 ABI.
2147 * elf/elf.h (EF_PPC64_ABI): Define.
2149 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2151 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2152 New assembler macro.
2153 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2154 [ASSEMBLER] (ENTRY): ... but instead here ...
2155 [ASSEMBLER] (EALIGN): ... and here.
2156 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2157 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2158 [!ASSEMBLER] (ENTRY_2): Use it.
2159 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2160 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2162 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2163 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2165 Use PPC64_LOAD_FUNCPTR.
2167 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2169 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2171 2013-12-04 Alan Modra <amodra@gmail.com>
2173 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2174 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2175 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2176 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2179 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2180 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2181 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2182 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2183 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2185 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2188 (__makecontext): Fix incorrect CFI when backtracing out of
2189 context created via makecontext.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2191 (__setcontext): Fix incorrect CFI during switch to new context.
2192 (__novec_setcontext): Likewise.
2194 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2197 * time/strptime_l.c (__strptime_internal): Allow modifiers
2199 * time/tst-strptime.c (day_tests): Add testcase.
2202 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2204 * scripts/bench.pl: Skip over blank lines.
2206 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2209 * manual/time.texi (Calendar Time): Clarify what timezone functions
2212 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2216 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2218 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2220 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2221 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2222 * debug/memset_chk.c (__memset_chk): Likewise.
2223 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2224 * debug/strncpy_chk.c: Likewise.
2226 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2230 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2231 (__ieee754_exp): For possibly underflowing results, check size of
2232 result and force underflow exception if required.
2233 * math/auto-libm-test-in: Add more tests of exp.
2234 * math/auto-libm-test-out: Regenerated.
2235 * sysdeps/i386/fpu/libm-test-ulps: Update.
2236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2239 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2240 * math/w_exp2f.c (__exp2f): Likewise.
2241 * math/w_exp2l.c (__exp2l): Likewise.
2242 * math/auto-libm-test-in: Do not allow missing errno on exp2
2244 * math/auto-libm-test-out: Regenerated.
2246 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2249 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2250 handle filename validation.
2251 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2254 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2257 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2258 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2259 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2261 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2263 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2265 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2266 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2267 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2268 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2269 Add more erfc tests.
2270 * math/auto-libm-test-out: Regenerated.
2271 * sysdeps/i386/fpu/libm-test-ulps: Update.
2272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2274 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2275 exp2, expm1, j0 and j1.
2276 * math/auto-libm-test-out: Regenerated.
2277 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2278 (erfc_test_data): Likewise.
2279 (exp_test_data): Likewise.
2280 (exp_tonearest_test_data): Likewise.
2281 (exp_towardzero_test_data): Likewise.
2282 (exp_downward_test_data): Likewise.
2283 (exp_upward_test_data): Likewise.
2284 (exp10_test_data): Likewise.
2285 (exp2_test_data): Likewise.
2286 (expm1_test_data): Likewise.
2287 (j0_test_data): Likewise.
2288 (j1_test_data): Likewise.
2289 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2290 (input_flag_type): Add flag_xfail_rounding.
2291 (input_flags): Add xfail-rounding.
2292 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2293 (output_for_one_input_case): Handle flag_xfail_rounding.
2294 * sysdeps/i386/fpu/libm-test-ulps: Update.
2295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2300 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2303 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2306 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2307 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2308 (STAP_PROBE0): New macro.
2309 (STAP_PROBE1): Likewise.
2310 (STAP_PROBE2): Likewise.
2311 (STAP_PROBE3): Likewise.
2312 (STAP_PROBE4): Likewise.
2314 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2316 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2318 2013-12-02 Steve Ellcey <sellcey@mips.com>
2320 * benchtests/Makefile (bench): Add sqrt.
2321 (LDLIBS-bench-sqrt): New.
2322 * benchtests/sqrt-input: New.
2324 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2326 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2327 (GAIH_EAI): Likewise.
2328 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2329 (gaih_inet): Likewise.
2330 (getaddrinfo): Don't use GAIH_EAI.
2332 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2333 (struct gaih): Remove definition.
2335 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2337 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2338 Use HERRNOP directly.
2340 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2344 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2346 * math/gen-auto-libm-tests.c (test_functions): Add more
2347 single-argument functions.
2348 (special_fill_pi_2): New function.
2349 (special_fill_minus_pi_2): Likewise.
2350 (special_fill_pi_6): Likewise.
2351 (special_fill_minus_pi_6): Likewise.
2352 (special_fill_pi_3): Likewise.
2353 (special_fill_2pi_3): Likewise.
2354 (special_fill_e): Likewise.
2355 (special_fill_1_e): Likewise.
2356 (special_fill_e_minus_1): Likewise.
2357 (special_real_inputs): Add more special inputs.
2358 (output_for_one_input_case): Do not require ERANGE on underflow to
2359 zero if round-to-nearest result does not underflow to zero, unless
2360 exact results required.
2361 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2362 atan, atanh, cbrt, cos and cosh.
2363 * math/auto-libm-test-out: Regenerated.
2364 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2365 (acos_tonearest_test_data): Likewise.
2366 (acos_towardzero_test_data): Likewise.
2367 (acos_downward_test_data): Likewise.
2368 (acos_upward_test_data): Likewise.
2369 (acosh_test_data): Likewise.
2370 (asin_test_data): Likewise.
2371 (asin_tonearest_test_data): Likewise.
2372 (asin_towardzero_test_data): Likewise.
2373 (asin_upward_test_data): Likewise.
2374 (asinh_test_data): Likewise.
2375 (atan_test_data): Likewise.
2376 (atanh_test_data): Likewise.
2377 (cbrt_test_data): Likewise.
2378 (cos_test_data): Likewise.
2379 (cos_tonearest_test_data): Likewise.
2380 (cos_towardzero_test_data): Likewise.
2381 (cos_downward_test_data): Likewise.
2382 (cos_upward_test_data): Likewise.
2383 (cosh_test_data): Likewise.
2384 (cosh_tonearest_test_data): Likewise.
2385 (cosh_towardzero_test_data): Likewise.
2386 (cosh_downward_test_data): Likewise.
2387 (cosh_upward_test_data): Likewise.
2388 * sysdeps/i386/fpu/libm-test-ulps: Update.
2389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2394 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2395 * math/w_exp10f.c (__exp10f): Likewise.
2396 * math/w_exp10l.c (__exp10l): Likewise.
2397 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2398 errno settings in existing tests.
2401 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2402 precision control set to double precision.
2403 * sysdeps/i386/fpu/w_sqrt.c: New file.
2404 * math/auto-libm-test-in: Add more tests.
2405 * math/auto-libm-test-out: Update.
2407 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2408 (sqrt_test_tonearest): New function.
2409 (sqrt_towardzero_test_data): New variable.
2410 (sqrt_test_towardzero): New function.
2411 (sqrt_downward_test_data): New variable.
2412 (sqrt_test_downward): New function.
2413 (sqrt_upward_test_data): New variable.
2414 (sqrt_test_upward): New function.
2415 (main): Call the new functions.
2417 * math/gen-auto-libm-tests.c: New file.
2418 * math/auto-libm-test-in: Likewise.
2419 * math/auto-libm-test-out: New generated file.
2420 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2422 (%beautify): Add generated representations of zero.
2423 (top level): Set $auto_input and call parse_auto_input.
2424 (beautify): Remove trailing "f" from hex float constants.
2425 (parse_args): Handle XFAIL_TEST.
2426 (convert_condition): New function.
2427 (or_value): Likewise.
2428 (or_cond_value): Likewise.
2429 (generate_testfile): Handle AUTO_TESTS_* lines.
2430 (parse_auto_input): New function.
2431 * math/libm-test.inc (XFAIL_TEST): New macro.
2432 (ERRNO_UNCHANGED): Update value.
2433 (ERRNO_EDOM): Likewise.
2434 (ERRNO_ERANGE): Likewise.
2435 (IGNORE_RESULT): Likewise.
2436 (TEST_COND_flt_32): New macro.
2437 (TEST_COND_dbl_64): Likewise.
2438 (TEST_COND_ldbl_96_intel): Likewise.
2439 (TEST_COND_ldbl_96_m68k): Likewise.
2440 (TEST_COND_ldbl_128): Likewise.
2441 (TEST_COND_ldbl_128ibm): Likewise.
2442 (TEST_COND_long32): Likewise.
2443 (TEST_COND_long64): Likewise.
2444 (TEST_COND_before_rounding): Likewise.
2445 (TEST_COND_after_rounding): Likewise.
2446 (enable_test): Handle XFAIL_TEST flag.
2447 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2448 with finite results.
2449 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2452 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2453 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2456 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2457 __tls_get_addr_internal instead of __tls_get_offset in order to
2458 avoid GOT pointer dependency. Make rtld export
2459 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2460 __tls_get_addr since we are a __tls_get_offset platform.
2461 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2462 GOT pointer being set up before.
2463 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2465 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2467 * manual/math.texi (Errors in Math Functions): Document accuracy
2471 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2472 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2479 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2488 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2489 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2490 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2491 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2492 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2494 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2496 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2498 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2499 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2500 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2501 atomic-feupdateenv and flt-rounds.
2502 * sysdeps/powerpc/nofpu/Versions (libc): Add
2503 __atomic_feholdexcept, __atomic_feclearexcept,
2504 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2505 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2506 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2507 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2508 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2513 * manual/arith.texi (FP Exceptions): Document that exceptions may
2514 not be raised when matherr is used.
2515 (Math Error Reporting): Document overflow in directed rounding
2516 modes. Document that errno may not be set when finite values are
2517 returned on overflow. Document intent to set errno on underflow
2518 only for underflow to zero.
2521 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2522 round-to-nearest then adjust result for other rounding modes.
2523 * include/fenv.h (fegetround): Use libm_hidden_proto.
2524 * math/fegetround.c (fegetround): Use libm_hidden_def.
2525 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2526 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2527 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2528 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2530 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2531 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2532 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2533 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2535 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2538 * nss/Versions (libnss_files): Add
2539 _nss_files_gethostbyname3_r.
2540 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2542 (HOST_DB_LOOKUP): Remove macro.
2543 (_nss_files_gethostbyname_r): Implement function without the
2544 HOST_DB_LOOKUP macro.
2545 (_nss_files_gethostbyname2_r): Likewise.
2547 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2549 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2551 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2553 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2554 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2557 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2559 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2560 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2561 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2562 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2563 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2564 __fe_nomask_env_priv and attribute_hidden.
2565 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2566 (libc_feupdateenv_test_ppc): Likewise.
2567 (libc_feresetround_ppc): Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2569 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2570 compat_symbol macro.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2572 (__fe_nomask_env): Likewise.
2573 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2575 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2577 * string/Makefile: Remove ifunc tests.
2578 * string/test-string.h: Define TEST_IFUNC.
2579 * string/test-bcopy-ifunc.c: Remove.
2580 * string/test-bzero-ifunc.c: Likewise.
2581 * string/test-memccpy-ifunc.c: Likewise.
2582 * string/test-memchr-ifunc.c: Likewise.
2583 * string/test-memcmp-ifunc.c: Likewise.
2584 * string/test-memcpy-ifunc.c: Likewise.
2585 * string/test-memmem-ifunc.c: Likewise.
2586 * string/test-memmove-ifunc.c: Likewise.
2587 * string/test-mempcpy-ifunc.c: Likewise.
2588 * string/test-memrchr-ifunc.c: Likewise.
2589 * string/test-memset-ifunc.c: Likewise.
2590 * string/test-rawmemchr-ifunc.c: Likewise.
2591 * string/test-stpcpy-ifunc.c: Likewise.
2592 * string/test-stpncpy-ifunc.c: Likewise.
2593 * string/test-strcasecmp-ifunc.c: Likewise.
2594 * string/test-strcasestr-ifunc.c: Likewise.
2595 * string/test-strcat-ifunc.c: Likewise.
2596 * string/test-strchr-ifunc.c: Likewise.
2597 * string/test-strchrnul-ifunc.c: Likewise.
2598 * string/test-strcmp-ifunc.c: Likewise.
2599 * string/test-strcpy-ifunc.c: Likewise.
2600 * string/test-strcspn-ifunc.c: Likewise.
2601 * string/test-strlen-ifunc.c: Likewise.
2602 * string/test-strncasecmp-ifunc.c: Likewise.
2603 * string/test-strncat-ifunc.c: Likewise.
2604 * string/test-strncmp-ifunc.c: Likewise.
2605 * string/test-strncpy-ifunc.c: Likewise.
2606 * string/test-strnlen-ifunc.c: Likewise.
2607 * string/test-strpbrk-ifunc.c: Likewise.
2608 * string/test-strrchr-ifunc.c: Likewise.
2609 * string/test-strspn-ifunc.c: Likewise.
2610 * string/test-strstr-ifunc.c: Likewise.
2612 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2614 * benchtests/Makefile: Remove ifunc tests.
2615 * benchtests/bench-string.h: Define TEST_IFUNC.
2616 * benchtests/bench-bcopy-ifunc.c: Remove.
2617 * benchtests/bench-bzero-ifunc.c: Likewise.
2618 * benchtests/bench-memccpy-ifunc.c: Likewise.
2619 * benchtests/bench-memchr-ifunc.c: Likewise.
2620 * benchtests/bench-memcmp-ifunc.c: Likewise.
2621 * benchtests/bench-memcpy-ifunc.c: Likewise.
2622 * benchtests/bench-memmem-ifunc.c: Likewise.
2623 * benchtests/bench-memmove-ifunc.c: Likewise.
2624 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2625 * benchtests/bench-memrchr-ifunc.c: Likewise.
2626 * benchtests/bench-memset-ifunc.c: Likewise.
2627 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2628 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2629 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2630 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2631 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2632 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2633 * benchtests/bench-strcat-ifunc.c: Likewise.
2634 * benchtests/bench-strchr-ifunc.c: Likewise.
2635 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2636 * benchtests/bench-strcmp-ifunc.c: Likewise.
2637 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2638 * benchtests/bench-strcpy-ifunc.c: Likewise.
2639 * benchtests/bench-strcspn-ifunc.c: Likewise.
2640 * benchtests/bench-strlen-ifunc.c: Likewise.
2641 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2642 * benchtests/bench-strncat-ifunc.c: Likewise.
2643 * benchtests/bench-strncmp-ifunc.c: Likewise.
2644 * benchtests/bench-strncpy-ifunc.c: Likewise.
2645 * benchtests/bench-strnlen-ifunc.c: Likewise.
2646 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2647 * benchtests/bench-strrchr-ifunc.c: Likewise.
2648 * benchtests/bench-strsep-ifunc.c: Likewise.
2649 * benchtests/bench-strspn-ifunc.c: Likewise.
2650 * benchtests/bench-strstr-ifunc.c: Likewise.
2652 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2654 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2656 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2658 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2659 * rt/aio.h: Likewise.
2660 * sysdeps/gnu/bits/utmp.h: Likewise.
2661 * sysdeps/gnu/bits/utmpx.h: Likewise.
2662 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2663 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2664 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2665 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2666 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2667 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2668 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2669 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2671 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2673 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2677 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2678 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2679 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2680 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2681 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2682 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2683 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2684 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2685 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2686 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2689 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2691 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2692 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2693 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2694 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2697 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2698 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2699 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2700 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2701 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2702 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2703 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2705 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2708 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2709 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2711 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2713 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2714 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2717 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2720 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2721 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2722 (__fesetround): Remove define.
2723 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2724 rounding and exceptions handling.
2725 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2726 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2727 (__fe_nomask_env): Likewise.
2728 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2729 __fegetround instead of fegetround.
2730 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2733 2013-11-21 Roland McGrath <roland@hack.frob.com>
2735 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2738 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2740 2013-11-21 Meador Inge <meadori@codesourcery.com>
2743 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2744 (encrypt_r): Likewise.
2745 * malloc/obstack.h (obstack_free): Likewise.
2746 * posix/unistd.h (encrypt): Likewise.
2748 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2750 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2751 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2752 DL_CALL_DT_FINI() that call the functions directly.
2753 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2754 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2755 * elf/dl-fini.c: Likewise.
2757 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2759 * malloc/hooks.c (memalign_check): Add alignment rounding.
2760 * malloc/malloc.c (_mid_memalign): New function.
2761 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2762 Implement by calling _mid_memalign.
2763 * manual/probes.texi (Memory Allocation Probes): Remove
2764 memory_valloc_retry and memory_pvalloc_retry.
2766 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2768 * locale/programs/locarchive.c (open_archive): Add const
2769 qualifier to ARCHIVEFNAME and copy default fname to
2773 * libio/tst-widetext.input: Rename Oriya to Odia.
2774 * locale/iso-639.def: Likewise.
2776 * manual/probes.texi (Mathematical Function Probes): Add
2777 documentation for sin, cos, asin and acos probes.
2778 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2779 (__sin32): Add slowasin probe.
2780 (__cos32): Add slowacos probe.
2781 (__mpsin): Add slowsin probe.
2782 (__mpcos): Add slowcos probe.
2784 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2787 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2788 thread-local __sim_exceptions_thread and global
2789 __sim_exceptions_global.
2790 (__sim_disabled_exceptions): Change to thread-local
2791 __sim_disabled_exceptions_thread and global
2792 __sim_disabled_exceptions_global.
2793 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2794 and global __sim_round_mode_global.
2795 (__simulate_exceptions): Use thread-local floating-point state and
2796 set global state from it as needed.
2797 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2798 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2799 __sim_round_mode_thread.
2800 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2801 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2802 and global __sim_exceptions_global.
2803 (__sim_disabled_exceptions): Change to thread-local
2804 __sim_disabled_exceptions_thread and global
2805 __sim_disabled_exceptions_global.
2806 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2807 and global __sim_round_mode_global.
2808 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2809 (SIM_SET_GLOBAL): Likewise.
2810 * sysdeps/powerpc/soft-fp/sfp-machine.h
2811 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2812 __sim_round_mode_thread.
2813 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2814 __sim_disabled_exceptions_thread.
2815 (__sim_exceptions): Change to __sim_exceptions_thread.
2816 (__sim_disabled_exceptions): Change to
2817 __sim_disabled_exceptions_thread.
2818 (__sim_round_mode): Change to __sim_round_mode_thread.
2819 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2820 thread-local floating-point state and set global state from it as
2822 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2823 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2824 (__sim_disabled_exceptions): Remove extern declaration.
2825 (feenableexcept): Use thread-local floating-point state and set
2826 global state from it as needed.
2827 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2829 (__sim_disabled_exceptions): Likewise.
2830 (__sim_round_mode): Likewise.
2831 (__fegetenv): Use thread-local floating-point state.
2832 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2833 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2834 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2835 floating-point state and set global state from it as needed.
2836 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2837 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2838 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2840 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2841 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2843 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2844 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2845 Use __sim_round_mode_thread.
2846 * math/test-fenv-tls.c: New file.
2847 * math/Makefile (tests): Add test-fenv-tls.
2848 ($(objpfx)test-fenv-tls): Depend on
2849 $(common-objpfx)nptl/libpthread.so.
2851 2013-11-19 Andreas Schwab <schwab@suse.de>
2853 * locale/programs/locale.c (show_info): Decode wordarray elements.
2854 * locale/categories.def (LC_MONETARY): Add element for
2855 _NL_MONETARY_CRNCYSTR.
2856 * locale/C-monetary.c (conversion_rate): New variable.
2857 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2860 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2862 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2863 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2865 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2867 * elf/Makefile (tst-auxv): New test.
2868 * elf/tst-auxv.c: New
2869 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2871 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2873 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2874 (hidden_proto): Caller changed.
2875 (hidden_tls_proto): New macro.
2876 (libc_hidden_tls_proto): Likewise.
2877 (rtld_hidden_tls_proto): Likewise.
2878 (libm_hidden_tls_proto): Likewise.
2879 (libresolv_hidden_tls_proto): Likewise.
2880 (librt_hidden_tls_proto): Likewise.
2881 (libdl_hidden_tls_proto): Likewise.
2882 (libnss_files_hidden_tls_proto): Likewise.
2883 (libnsl_hidden_tls_proto): Likewise.
2884 (libnss_nisplus_hidden_tls_proto): Likewise.
2885 (libutil_hidden_tls_proto): Likewise.
2887 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2890 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2891 (decompose_rpath): Defer expansion to fillin_rpath.
2892 (_dl_init_paths): Pass linkmap to fillin_rpath.
2894 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2896 * benchtests/Makefile: Add strsep.
2897 * benchtests/bench-strsep.c: New file: strsep benchtest.
2898 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2900 2013-11-18 Andreas Schwab <schwab@suse.de>
2902 * locale/programs/locale.c (show_info) [case byte]: Check for
2903 '\377' instead of '\177'.
2904 * locale/C-monetary.c (not_available): Always use "\377".
2905 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2906 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2907 detect unavailable sign_posn locale elements.
2908 * locale/localeconv.c (__localeconv): For grouping and
2909 mon_grouping handle "\177" and "\377" like no grouping.
2910 (INT_ELEM): New macro. Use it to set all numeric members.
2911 * locale/programs/ld-monetary.c (monetary_read)
2912 <tok_mon_grouping>: Normalize single -1 to the empty string.
2913 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2916 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2919 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2920 when we match (nil).
2921 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2923 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2925 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2926 (NO_TEST_INLINE): Update value.
2927 (ERRNO_UNCHANGED): Likewise.
2928 (ERRNO_EDOM): Likewise.
2929 (ERRNO_ERANGE): Likewise.
2930 (IGNORE_RESULT): Likewise.
2931 (check_float_internal): Check signs of NaN results if
2933 (check_complex): Pass TEST_NAN_SIGN flag through to second
2934 check_float_internal call.
2935 (copysign_test_data): Add tests with quiet NaNs as second
2936 argument. Use TEST_NAN_SIGN.
2937 (fabs_test_data): Add test of negative quiet NaN argument. Use
2939 (signbit_test_data): Add tests of quiet NaN argument.
2940 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2942 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2944 (parse_args): Handle function results specified as IGNORE.
2945 * math/libm-test.inc (IGNORE_RESULT): New macro.
2946 (check_float_internal): Do not check numerical result if flag
2948 (check_complex): Pass through IGNORE_RESULT to second
2949 check_float_internal call.
2950 (check_int): Do not check numerical result if flag IGNORE_RESULT
2952 (check_long): Likewise.
2953 (check_bool): Likewise.
2954 (check_longlong): Likewise.
2955 (lrint_test_data): Add tests of infinite and NaN arguments.
2956 (lrint_tonearest_test_data): Likewise.
2957 (lrint_towardzero_test_data): Likewise.
2958 (lrint_downward_test_data): Likewise.
2959 (lrint_upward_test_data): Likewise.
2960 (llrint_test_data): Likewise.
2961 (llrint_tonearest_test_data): Likewise.
2962 (llrint_towardzero_test_data): Likewise.
2963 (llrint_downward_test_data): Likewise.
2964 (llrint_upward_test_data): Likewise.
2965 (lround_test_data): Likewise.
2966 (llround_test_data): Likewise.
2968 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2969 (ERRNO_UNCHANGED): Update value.
2970 (ERRNO_EDOM): Likewise.
2971 (ERRNO_ERANGE): Likewise.
2972 (NO_TEST_INLINE_FLOAT): New macro.
2973 (NO_TEST_INLINE_DOUBLE): Likewise.
2974 (enable_test): New function.
2975 (RUN_TEST_f_f): Check enable_test before running test.
2976 (RUN_TEST_2_f): Likewise.
2977 (RUN_TEST_fff_f): Likewise.
2978 (RUN_TEST_c_f): Likewise.
2979 (RUN_TEST_f_f1): Likewise.
2980 (RUN_TEST_fF_f1): Likewise.
2981 (RUN_TEST_fI_f1): Likewise.
2982 (RUN_TEST_ffI_f1): Likewise.
2983 (RUN_TEST_c_c): Likewise.
2984 (RUN_TEST_cc_c): Likewise.
2985 (RUN_TEST_f_i): Likewise.
2986 (RUN_TEST_f_i_tg): Likewise.
2987 (RUN_TEST_ff_i_tg): Likewise.
2988 (RUN_TEST_f_b): Likewise.
2989 (RUN_TEST_f_b_tg): Likewise.
2990 (RUN_TEST_f_l): Likewise.
2991 (RUN_TEST_f_L): Likewise.
2992 (RUN_TEST_fFF_11): Likewise.
2993 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2995 (cosh_test_data): Likewise.
2996 (exp_test_data): Likewise.
2997 (expm1_test_data): Likewise.
2998 (hypot_test_data): Likewise.
2999 (pow_test_data): Likewise.
3000 (sinh_test_data): Likewise.
3001 (tanh_test_data): Likewise.
3002 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3005 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3006 tests with quiet NaN input and output.
3007 (acosh_test_data): Likewise.
3008 (asin_test_data): Likewise.
3009 (asinh_test_data): Likewise.
3010 (atan_test_data): Likewise.
3011 (atanh_test_data): Likewise.
3012 (atan2_test_data): Likewise.
3013 (cbrt_test_data): Likewise.
3014 (cos_test_data): Likewise.
3015 (cosh_test_data): Likewise.
3016 (erf_test_data): Likewise.
3017 (erfc_test_data): Likewise.
3018 (exp_test_data): Likewise.
3019 (exp10_test_data): Likewise.
3020 (exp2_test_data): Likewise.
3021 (expm1_test_data): Likewise.
3022 (hypot_test_data): Likewise.
3023 (j0_test_data): Likewise.
3024 (j1_test_data): Likewise.
3025 (jn_test_data): Likewise.
3026 (lgamma_test_data): Likewise.
3027 (log_test_data): Likewise.
3028 (log10_test_data): Likewise.
3029 (log1p_test_data): Likewise.
3030 (log2_test_data): Likewise.
3031 (pow_test_data): Likewise.
3032 (scalb_test_data): Likewise.
3033 (sin_test_data): Likewise.
3034 (sincos_test_data): Likewise.
3035 (sinh_test_data): Likewise.
3036 (tan_test_data): Likewise.
3037 (tanh_test_data): Likewise.
3038 (tgamma_test_data): Likewise.
3039 (y0_test_data): Likewise.
3040 (y1_test_data): Likewise.
3041 (yn_test_data): Likewise.
3044 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3045 argument being NaN and avoid computations with second argument in
3047 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3048 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3049 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3051 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3053 * locale/iso-639.def: Add Chitwani Tharu (the).
3055 2013-11-14 Andreas Schwab <schwab@suse.de>
3057 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3058 word instead of empty string.
3060 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3063 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3065 (__fe_nomask_env): Likewise.
3067 2013-11-13 Steve Ellcey <sellcey@mips.com>
3069 * benchtests/bench-timing.h: Include time.h.
3071 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3074 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3076 * sysdeps/unix/sysv/linux/configure: Regenerated.
3078 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3081 * stdlib/strtod_l.c (round_and_return): Do not consider
3082 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3083 exponent one less than half the least subnormal exponent.
3084 * stdlib/test-strtod-round-data: Add more tests.
3085 * stdlib/tst-strtod-round.c (tests): Regenerated.
3087 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3091 (__fe_mask_env): Likewise.
3092 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3093 libm_hidden_proto and add function prototype.
3094 (__fe_mask_env): Add function prototype.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3096 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3098 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3100 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3102 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3104 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3105 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3107 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3109 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3110 of htab_find_slot().
3112 2013-11-11 David S. Miller <davem@davemloft.net>
3115 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3116 symbol in the non-vis3 case in static builds.
3117 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3118 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3119 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3120 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3122 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3125 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3128 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130 * benchtests/Makefile: Add bench-strtod.
3131 * benchtests/bench-strtod.c: New file: strtod benchtest
3133 2013-11-11 Andreas Schwab <schwab@suse.de>
3136 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3137 terminating NUL in key length.
3139 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3142 Add artificial ODP entry for vDSO symbol for PPC64.
3143 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3144 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3146 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3149 * nss/getent.c (services_keys): Recognize services starting with digit.
3151 2013-11-06 David S. Miller <davem@davemloft.net>
3154 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3155 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3157 2013-11-06 Will Newton <will.newton@linaro.org>
3159 * manual/memory.texi (Malloc Examples): Remove register
3160 keyword from examples.
3162 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3164 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3166 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3168 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3169 depending on [__GCC_IEC_559 > 0].
3170 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3171 depending on [__GCC_IEC_559_COMPLEX > 0].
3173 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3175 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3178 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3180 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3182 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3185 * malloc/malloc (malloc_info): Do not handle first bin as
3188 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3190 * locale/iso-639.def: Add Central Nahuatl (nhn).
3192 2013-11-01 Bruno Haible <bruno@clisp.org>
3195 * manual/math.texi (BSD Random): Specify range upper bound as
3198 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3200 * locale/iso-639.def: Add Meadow Mari (mhr).
3202 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3204 [BZ #14752], [BZ #15763]
3205 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3207 * rt/tst_shm.c: Add test for escaping directory.
3209 2013-10-31 Andreas Schwab <schwab@suse.de>
3212 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3213 followed by 'x' as part of digit sequence.
3214 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3216 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3219 * configure.ac: allow GNU Make 4.0 and greater.
3220 * configure: Regenerated.
3222 2013-10-30 Will Newton <will.newton@linaro.org>
3225 * malloc/hooks.c (memalign_check): Limit alignment to the
3226 maximum representable power of two.
3227 * malloc/malloc.c (__libc_memalign): Likewise.
3228 * malloc/tst-memalign.c (do_test): Add test for very
3229 large alignment values.
3230 * malloc/tst-posix_memalign.c (do_test): Likewise.
3232 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3235 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3236 (munmap_chunk): Likewise.
3237 (mremap_chunk): Likewise.
3239 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3242 * stdlib/div.c (div): Remove obsolete code.
3243 * stdlib/ldiv.c (ldiv): Likewise.
3244 * stdlib/lldiv.c (lldiv): Likewise.
3246 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3249 * nss/nss_files/files-XXX.c (get_contents_ret): New
3251 (get_contents): New function.
3252 (internal_getent): Use it. Expand size of LINEBUFLEN.
3254 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3256 * configure.in: Moved to ...
3257 * configure.ac: ... here. Change reference to configure.in
3259 * sysdeps/arm/preconfigure.ac: ... here.
3260 configure.in to configure.ac.
3261 * sysdeps/gnu/configure.in: Moved to ...
3262 * sysdeps/gnu/configure.ac: ... here.
3263 * sysdeps/i386/configure.in: Moved to ...
3264 * sysdeps/i386/configure.ac: ... here.
3265 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3266 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3267 * sysdeps/mach/configure.in: Moved to ...
3268 * sysdeps/mach/configure.ac: ... here.
3269 * sysdeps/mach/hurd/configure.in: Moved to ...
3270 * sysdeps/mach/hurd/configure.ac: ... here.
3271 * sysdeps/powerpc/configure.in: Moved to ...
3272 * sysdeps/powerpc/configure.ac: ... here.
3273 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3274 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3275 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3276 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3277 * sysdeps/s390/s390-32/configure.in: Moved to ...
3278 * sysdeps/s390/s390-32/configure.ac: ... here.
3279 * sysdeps/s390/s390-64/configure.in: Moved to ...
3280 * sysdeps/s390/s390-64/configure.ac: ... here.
3281 * sysdeps/sh/configure.in: Moved to ...
3282 * sysdeps/sh/configure.ac: ... here.
3283 * sysdeps/sparc/configure.in: Moved to ...
3284 * sysdeps/sparc/configure.ac: ... here.
3285 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3286 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3287 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3288 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3289 * sysdeps/x86_64/configure.in: Moved to ...
3290 * sysdeps/x86_64/configure.ac: ... here.
3291 * sysdeps/x86_64/preconfigure.in: Moved to ...
3292 * sysdeps/x86_64/preconfigure.ac: ... here.
3293 * aclocal.m4: Change reference to configure.in to configure.ac.
3294 * config.h.in: Likewise.
3295 * manual/install.texi: Likewise.
3296 * manual/maint.texi: Likewise.
3297 * Makefile: Likewise.
3298 * malloc/Makefile: Likewise.
3299 * nscd/Makefile: Likewise.
3300 * Makeconfig: Change reference to configure.in and
3301 preconfigure.in to configure.ac and preconfigure.ac
3303 * INSTALL: Regenerated.
3304 * configure: Likewise.
3305 * sysdeps/gnu/configure: Likewise.
3306 * sysdeps/i386/configure: Likewise.
3307 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3308 * sysdeps/mach/configure: Likewise.
3309 * sysdeps/mach/hurd/configure: Likewise.
3310 * sysdeps/powerpc/configure: Likewise.
3311 * sysdeps/powerpc/powerpc32/configure: Likewise.
3312 * sysdeps/powerpc/powerpc64/configure: Likewise.
3313 * sysdeps/s390/s390-32/configure: Likewise.
3314 * sysdeps/s390/s390-64/configure: Likewise.
3315 * sysdeps/sh/configure: Likewise.
3316 * sysdeps/sparc/configure: Likewise.
3317 * sysdeps/unix/sysv/linux/configure: Likewise.
3318 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3319 * sysdeps/x86_64/configure: Likewise.
3320 * sysdeps/x86_64/preconfigure: Likewise.
3322 2013-10-29 Andreas Schwab <schwab@suse.de>
3324 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3326 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3328 * benchtests/pow-inputs: Add new inputs.
3330 * benchtests/exp-inputs: Add new inputs.
3332 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3333 conditional check for return value.
3334 (__cos32): Likewise.
3336 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3338 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3339 to provide a boost for large inputs with word alignment.
3340 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3341 implementation based on optimized PPC64 strcpy.
3342 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3343 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3344 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3345 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3347 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3350 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3352 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3355 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3356 * time/tst-strptime.c (day_tests): Add testcase.
3358 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3361 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3363 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3366 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3367 MAP_FAILED on error.
3369 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3372 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3373 heap for large requests.
3375 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3378 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3379 result if the result has no associated interface.
3380 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3381 interface for all 127.X.Y.Z addresses.
3383 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3385 * locale/iso-639.def: Add Ligurian (lij)
3387 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3390 * sunrpc/rpc_main.c: Document rpcgen -5.
3392 2013-10-19 Michael Stahl <mstahl@redhat.com>
3394 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3396 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3399 * posix/glob.c: Match only directories when trailing slash is present.
3400 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3401 (main): Add testcase.
3403 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3406 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3408 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3410 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3411 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3412 AUTH_DES and cindex for FIPS 140-2.
3413 (DES Encryption): Add cindex FIPS 46-3.
3415 * locale/locarchive.h (struct locarhandle): Add fname.
3416 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3417 if an optional argument was specified to --list-archive,
3419 * locale/programs/locarchive.c (show_archive_content): Take new
3420 argument fname and pass it via ah.fname to open_archive.
3421 * locale/programs/localedef.h: Update decl.
3422 (open_archive): If AH->fname is non-null, open that file
3423 rather than the default file name, and don't ignore ENOENT.
3424 (create_archive): Set AH.fname to NULL.
3425 (delete_locales_from_archive): Likewise.
3426 (add_locales_to_archive): Likewise.
3427 * locale/programs/locfile.c (write_all_categories): Likewise.
3429 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3430 Aldy Hernandez <aldyh@redhat.com>
3432 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3433 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3434 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3435 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3436 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3437 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3438 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3439 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3440 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3441 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3442 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3443 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3444 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3445 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3446 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3448 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3450 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3452 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3454 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3455 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3457 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3458 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3459 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3460 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3462 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3463 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3464 * sysdeps/powerpc/preconfigure: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3467 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3468 Replace contents of file by #include of <fenv_libc.h>.
3469 * sysdeps/powerpc/soft-fp/sfp-machine.h
3470 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3472 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3473 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3474 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3475 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3476 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3477 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3479 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3480 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3481 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3482 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3483 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3485 Allow copysignl PLT reference to be missing.
3487 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3488 Joseph Myers <joseph@codesourcery.com
3491 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3493 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3495 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3497 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3498 * elf/tst-tls1.c: Likewise.
3499 * elf/tst-tls10.h: Likewise.
3500 * elf/tst-tls14.c: Likewise.
3501 * elf/tst-tls2.c: Likewise.
3502 * elf/tst-tls3.c: Likewise.
3503 * elf/tst-tls4.c: Likewise.
3504 * elf/tst-tls5.c: Likewise.
3505 * elf/tst-tls6.c: Likewise.
3506 * elf/tst-tls7.c: Likewise.
3507 * elf/tst-tls8.c: Likewise.
3508 * elf/tst-tls9.c: Likewise.
3509 * elf/tst-tlsmod1.c: Likewise.
3510 * elf/tst-tlsmod13.c: Likewise.
3511 * elf/tst-tlsmod13a.c: Likewise.
3512 * elf/tst-tlsmod14a.c: Likewise.
3513 * elf/tst-tlsmod16a.c: Likewise.
3514 * elf/tst-tlsmod16b.c: Likewise.
3515 * elf/tst-tlsmod2.c: Likewise.
3516 * elf/tst-tlsmod3.c: Likewise.
3517 * elf/tst-tlsmod4.c: Likewise.
3518 * elf/tst-tlsmod5.c: Likewise.
3519 * elf/tst-tlsmod6.c: Likewise.
3521 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3524 * malloc/malloc.c: remove checks for statistics.
3526 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3529 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3530 * inet/tst-network.c: Add testcase.
3532 2013-10-17 Andreas Schwab <schwab@suse.de>
3535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3536 to determine canonical name.
3538 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3540 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3541 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3543 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3564 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3565 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3570 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3599 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3602 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3603 make result into a quiet NaN.
3605 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3607 * soft-fp/adddf3.c: Fix horizontal whitespace.
3608 * soft-fp/addsf3.c: Likewise.
3609 * soft-fp/addtf3.c: Likewise.
3610 * soft-fp/divdf3.c: Likewise.
3611 * soft-fp/divsf3.c: Likewise.
3612 * soft-fp/divtf3.c: Likewise.
3613 * soft-fp/double.h: Likewise.
3614 * soft-fp/eqdf2.c: Likewise.
3615 * soft-fp/eqsf2.c: Likewise.
3616 * soft-fp/eqtf2.c: Likewise.
3617 * soft-fp/extenddftf2.c: Likewise.
3618 * soft-fp/extended.h: Likewise.
3619 * soft-fp/extendsfdf2.c: Likewise.
3620 * soft-fp/extendsftf2.c: Likewise.
3621 * soft-fp/extendxftf2.c: Likewise.
3622 * soft-fp/fixdfdi.c: Likewise.
3623 * soft-fp/fixdfsi.c: Likewise.
3624 * soft-fp/fixdfti.c: Likewise.
3625 * soft-fp/fixsfdi.c: Likewise.
3626 * soft-fp/fixsfsi.c: Likewise.
3627 * soft-fp/fixsfti.c: Likewise.
3628 * soft-fp/fixtfdi.c: Likewise.
3629 * soft-fp/fixtfsi.c: Likewise.
3630 * soft-fp/fixtfti.c: Likewise.
3631 * soft-fp/fixunsdfdi.c: Likewise.
3632 * soft-fp/fixunsdfsi.c: Likewise.
3633 * soft-fp/fixunsdfti.c: Likewise.
3634 * soft-fp/fixunssfdi.c: Likewise.
3635 * soft-fp/fixunssfsi.c: Likewise.
3636 * soft-fp/fixunssfti.c: Likewise.
3637 * soft-fp/fixunstfdi.c: Likewise.
3638 * soft-fp/fixunstfsi.c: Likewise.
3639 * soft-fp/fixunstfti.c: Likewise.
3640 * soft-fp/floatdidf.c: Likewise.
3641 * soft-fp/floatdisf.c: Likewise.
3642 * soft-fp/floatditf.c: Likewise.
3643 * soft-fp/floatsidf.c: Likewise.
3644 * soft-fp/floatsisf.c: Likewise.
3645 * soft-fp/floatsitf.c: Likewise.
3646 * soft-fp/floattidf.c: Likewise.
3647 * soft-fp/floattisf.c: Likewise.
3648 * soft-fp/floattitf.c: Likewise.
3649 * soft-fp/floatundidf.c: Likewise.
3650 * soft-fp/floatundisf.c: Likewise.
3651 * soft-fp/floatunditf.c: Likewise.
3652 * soft-fp/floatunsidf.c: Likewise.
3653 * soft-fp/floatunsisf.c: Likewise.
3654 * soft-fp/floatunsitf.c: Likewise.
3655 * soft-fp/floatuntidf.c: Likewise.
3656 * soft-fp/floatuntisf.c: Likewise.
3657 * soft-fp/floatuntitf.c: Likewise.
3658 * soft-fp/fmadf4.c: Likewise.
3659 * soft-fp/fmasf4.c: Likewise.
3660 * soft-fp/fmatf4.c: Likewise.
3661 * soft-fp/gedf2.c: Likewise.
3662 * soft-fp/gesf2.c: Likewise.
3663 * soft-fp/getf2.c: Likewise.
3664 * soft-fp/ledf2.c: Likewise.
3665 * soft-fp/lesf2.c: Likewise.
3666 * soft-fp/letf2.c: Likewise.
3667 * soft-fp/muldf3.c: Likewise.
3668 * soft-fp/mulsf3.c: Likewise.
3669 * soft-fp/multf3.c: Likewise.
3670 * soft-fp/negdf2.c: Likewise.
3671 * soft-fp/negsf2.c: Likewise.
3672 * soft-fp/negtf2.c: Likewise.
3673 * soft-fp/op-1.h: Likewise.
3674 * soft-fp/op-2.h: Likewise.
3675 * soft-fp/op-4.h: Likewise.
3676 * soft-fp/op-8.h: Likewise.
3677 * soft-fp/op-common.h: Likewise.
3678 * soft-fp/quad.h: Likewise.
3679 * soft-fp/single.h: Likewise.
3680 * soft-fp/soft-fp.h: Likewise.
3681 * soft-fp/sqrtdf2.c: Likewise.
3682 * soft-fp/sqrtsf2.c: Likewise.
3683 * soft-fp/sqrttf2.c: Likewise.
3684 * soft-fp/subdf3.c: Likewise.
3685 * soft-fp/subsf3.c: Likewise.
3686 * soft-fp/subtf3.c: Likewise.
3687 * soft-fp/truncdfsf2.c: Likewise.
3688 * soft-fp/trunctfdf2.c: Likewise.
3689 * soft-fp/trunctfsf2.c: Likewise.
3690 * soft-fp/trunctfxf2.c: Likewise.
3691 * soft-fp/unorddf2.c: Likewise.
3692 * soft-fp/unordsf2.c: Likewise.
3693 * soft-fp/unordtf2.c: Likewise.
3695 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3697 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3698 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3700 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3702 * elf/dl-libc.c: Clear initfini list after freeing.
3704 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3706 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3707 * soft-fp/addsf3.c: Likewise.
3708 * soft-fp/addtf3.c: Likewise.
3709 * soft-fp/divdf3.c: Likewise.
3710 * soft-fp/divsf3.c: Likewise.
3711 * soft-fp/divtf3.c: Likewise.
3712 * soft-fp/double.h: Likewise.
3713 * soft-fp/eqdf2.c: Likewise.
3714 * soft-fp/eqsf2.c: Likewise.
3715 * soft-fp/eqtf2.c: Likewise.
3716 * soft-fp/extenddftf2.c: Likewise.
3717 * soft-fp/extended.h: Likewise.
3718 * soft-fp/extendsfdf2.c: Likewise.
3719 * soft-fp/extendsftf2.c: Likewise.
3720 * soft-fp/extendxftf2.c: Likewise.
3721 * soft-fp/fixdfdi.c: Likewise.
3722 * soft-fp/fixdfsi.c: Likewise.
3723 * soft-fp/fixdfti.c: Likewise.
3724 * soft-fp/fixsfdi.c: Likewise.
3725 * soft-fp/fixsfsi.c: Likewise.
3726 * soft-fp/fixsfti.c: Likewise.
3727 * soft-fp/fixtfdi.c: Likewise.
3728 * soft-fp/fixtfsi.c: Likewise.
3729 * soft-fp/fixtfti.c: Likewise.
3730 * soft-fp/fixunsdfdi.c: Likewise.
3731 * soft-fp/fixunsdfsi.c: Likewise.
3732 * soft-fp/fixunsdfti.c: Likewise.
3733 * soft-fp/fixunssfdi.c: Likewise.
3734 * soft-fp/fixunssfsi.c: Likewise.
3735 * soft-fp/fixunssfti.c: Likewise.
3736 * soft-fp/fixunstfdi.c: Likewise.
3737 * soft-fp/fixunstfsi.c: Likewise.
3738 * soft-fp/fixunstfti.c: Likewise.
3739 * soft-fp/floatdidf.c: Likewise.
3740 * soft-fp/floatdisf.c: Likewise.
3741 * soft-fp/floatditf.c: Likewise.
3742 * soft-fp/floatsidf.c: Likewise.
3743 * soft-fp/floatsisf.c: Likewise.
3744 * soft-fp/floatsitf.c: Likewise.
3745 * soft-fp/floattidf.c: Likewise.
3746 * soft-fp/floattisf.c: Likewise.
3747 * soft-fp/floattitf.c: Likewise.
3748 * soft-fp/floatundidf.c: Likewise.
3749 * soft-fp/floatundisf.c: Likewise.
3750 * soft-fp/floatunsidf.c: Likewise.
3751 * soft-fp/floatunsisf.c: Likewise.
3752 * soft-fp/floatuntidf.c: Likewise.
3753 * soft-fp/floatuntisf.c: Likewise.
3754 * soft-fp/floatuntitf.c: Likewise.
3755 * soft-fp/fmadf4.c: Likewise.
3756 * soft-fp/fmasf4.c: Likewise.
3757 * soft-fp/fmatf4.c: Likewise.
3758 * soft-fp/gedf2.c: Likewise.
3759 * soft-fp/gesf2.c: Likewise.
3760 * soft-fp/getf2.c: Likewise.
3761 * soft-fp/ledf2.c: Likewise.
3762 * soft-fp/lesf2.c: Likewise.
3763 * soft-fp/letf2.c: Likewise.
3764 * soft-fp/muldf3.c: Likewise.
3765 * soft-fp/mulsf3.c: Likewise.
3766 * soft-fp/multf3.c: Likewise.
3767 * soft-fp/negdf2.c: Likewise.
3768 * soft-fp/negsf2.c: Likewise.
3769 * soft-fp/negtf2.c: Likewise.
3770 * soft-fp/op-1.h: Likewise.
3771 * soft-fp/op-2.h: Likewise.
3772 * soft-fp/op-4.h: Likewise.
3773 * soft-fp/op-8.h: Likewise.
3774 * soft-fp/op-common.h: Likewise.
3775 * soft-fp/quad.h: Likewise.
3776 * soft-fp/single.h: Likewise.
3777 * soft-fp/soft-fp.h: Likewise.
3778 * soft-fp/sqrtdf2.c: Likewise.
3779 * soft-fp/sqrtsf2.c: Likewise.
3780 * soft-fp/sqrttf2.c: Likewise.
3781 * soft-fp/subdf3.c: Likewise.
3782 * soft-fp/subsf3.c: Likewise.
3783 * soft-fp/subtf3.c: Likewise.
3784 * soft-fp/truncdfsf2.c: Likewise.
3785 * soft-fp/trunctfdf2.c: Likewise.
3786 * soft-fp/trunctfsf2.c: Likewise.
3787 * soft-fp/trunctfxf2.c: Likewise.
3788 * soft-fp/unorddf2.c: Likewise.
3789 * soft-fp/unordsf2.c: Likewise.
3790 * soft-fp/unordtf2.c: Likewise.
3792 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3795 * misc/error.c (error_tail): Fix possible buffer overflow.
3797 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3800 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3803 2013-10-14 P. J. McDermott <pj@pehjota.net>
3806 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3807 testing pipefail option.
3809 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3811 * soft-fp/double.h: Indent preprocessor directives inside #if.
3812 * soft-fp/extended.h: Likewise.
3813 * soft-fp/op-2.h: Likewise.
3814 * soft-fp/op-4.h: Likewise.
3815 * soft-fp/op-common.h: Likewise.
3816 * soft-fp/quad.h: Likewise.
3817 * soft-fp/single.h: Likewise.
3818 * soft-fp/soft-fp.h: Likewise.
3820 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3822 * iconv/iconv_prog.c: Fix typos.
3823 * stdio-common/psiginfo-data.h: Likewise.
3825 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3828 * locale/setlocale.c: Fix typo.
3830 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3833 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3834 signaling NaN arguments.
3835 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3836 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3839 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3841 * soft-fp/gesf2.c (__gesf2): Likewise.
3842 * soft-fp/getf2.c (__getf2): Likewise.
3843 * soft-fp/ledf2.c (__ledf2): Likewise.
3844 * soft-fp/lesf2.c (__lesf2): Likewise.
3845 * soft-fp/letf2.c (__letf2): Likewise.
3847 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3848 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3849 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3850 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3851 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3852 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3853 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3854 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3855 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3856 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3857 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3858 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3859 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3860 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3861 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3862 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3863 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3864 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3865 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3866 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3867 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3868 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3869 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3870 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3871 * soft-fp/floattidf.c (__floattidf): Likewise.
3872 * soft-fp/floattisf.c (__floattisf): Likewise.
3873 * soft-fp/floattitf.c (__floattitf): Likewise.
3874 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3875 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3876 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3877 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3878 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3879 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3880 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3881 * soft-fp/gesf2.c (__gesf2): Likewise.
3882 * soft-fp/getf2.c (__getf2): Likewise.
3883 * soft-fp/ledf2.c (__ledf2): Likewise.
3884 * soft-fp/lesf2.c (__lesf2): Likewise.
3885 * soft-fp/letf2.c (__letf2): Likewise.
3887 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3888 Undefine and redefine.
3889 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3890 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3891 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3892 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3893 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3894 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3895 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3896 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3897 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3898 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3899 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3900 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3901 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3902 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3903 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3906 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3907 without decrementing exponent if mantissa >= that for the
3909 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3910 denominator, not >. Decrement exponent in < case instead of
3911 incrementing in >= case.
3912 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3913 without decrementing exponent if mantissa >= that for the
3916 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3917 computing saturated result for unsigned overflow.
3919 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 Jeff Law <law@redhat.com>
3922 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3923 (atan2Mp): Add systemtap probe marker.
3924 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3925 (__ieee754_log): Add systemtap probe marker.
3926 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3927 (atanMp): Add systemtap probe marker.
3928 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3929 (tanMp): Add systemtap probe marker.
3930 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3931 (__slowexp): Add systemtap probe marker.
3932 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3933 (__slowpow): Add systemtap probe marker.
3934 * manual/probes.texi: Document probes.
3936 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3939 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3941 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3943 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3944 written to buffer but not flushed.
3945 * libio/iofwrite_u.c: Likewise.
3946 * libio/iopadn.c: Return bytes returned even if EOF was
3948 * libio/iowpadn.c: Likewise.
3949 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3950 if _IO_padn does not write the whole buffer.
3951 [!COMPILE_WPRINTF] (PAD): Likewise.
3953 2013-10-10 David S. Miller <davem@davemloft.net>
3955 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3958 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3960 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3961 instead of FSF address.
3962 * soft-fp/fixdfti.c: Likewise.
3963 * soft-fp/fixsfti.c: Likewise.
3964 * soft-fp/fixtfti.c: Likewise.
3965 * soft-fp/fixunsdfti.c: Likewise.
3966 * soft-fp/fixunssfti.c: Likewise.
3967 * soft-fp/fixunstfti.c: Likewise.
3968 * soft-fp/floattidf.c: Likewise.
3969 * soft-fp/floattisf.c: Likewise.
3970 * soft-fp/floattitf.c: Likewise.
3971 * soft-fp/floatuntidf.c: Likewise.
3972 * soft-fp/floatuntisf.c: Likewise.
3973 * soft-fp/floatuntitf.c: Likewise.
3974 * soft-fp/trunctfxf2.c: Likewise.
3976 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3977 * soft-fp/fixdfti.c: Likewise.
3978 * soft-fp/fixsfti.c: Likewise.
3979 * soft-fp/fixtfti.c: Likewise.
3980 * soft-fp/fixunsdfti.c: Likewise.
3981 * soft-fp/fixunssfti.c: Likewise.
3982 * soft-fp/fixunstfti.c: Likewise.
3983 * soft-fp/floattidf.c: Likewise.
3984 * soft-fp/floattisf.c: Likewise.
3985 * soft-fp/floattitf.c: Likewise.
3986 * soft-fp/floatuntidf.c: Likewise.
3987 * soft-fp/floatuntisf.c: Likewise.
3988 * soft-fp/floatuntitf.c: Likewise.
3989 * soft-fp/trunctfxf2.c: Likewise.
3991 2013-10-10 David S. Miller <davem@davemloft.net>
3993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3995 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3997 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3998 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3999 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4000 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4001 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4002 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4003 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4006 for NaNs before doing comparisons on argument.
4007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4010 2013-10-10 Will Newton <will.newton@linaro.org>
4012 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4013 passed to _int_memalign does not overflow.
4015 2013-10-10 Torvald Riegel <triegel@redhat.com>
4017 * scripts/bench.pl: Add include-sources directive.
4018 * benchtests/README: Update documentation.
4020 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4022 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4023 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4024 instead of FP_INIT_ROUNDMODE.
4025 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4026 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4029 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4030 copy class of input value.
4031 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4032 not handle exceptions.
4033 * soft-fp/negsf2.c (__negsf2): Likewise.
4034 * soft-fp/negtf2.c (__negtf2): Likewise.
4035 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4037 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4039 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4040 semicolon. From Linux kernel.
4042 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4044 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4046 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4049 * manual/socket.texi: Added statement about buffer
4050 for gethostbyname2_r.
4052 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4054 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4055 Use .p2align directive instead, throughout.
4056 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4057 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4058 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4061 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4062 * sysdeps/x86_64/strchr.S: Likewise.
4063 * sysdeps/x86_64/strrchr.S: Likewise.
4065 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4067 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4069 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4071 * sysdeps/generic/math_private.h (__mpsin1): Remove
4073 (__mpcos1): Likewise.
4074 (__mpsin): New argument __range_reduce.
4075 (__mpcos): Likewise.
4076 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4077 (slow): Use __mpsin and __mpcos.
4084 (bsloww1): Likewise.
4085 (bsloww2): Likewise.
4088 (csloww1): Likewise.
4089 (csloww2): Likewise.
4090 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4091 range_reduce. Merge in __mpsin1.
4092 (__mpcos): Likewise.
4094 (__mpcos1): Likewise.
4096 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4098 * locale/loadlocale.c (_nl_intern_locale_data): Use
4100 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4101 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4102 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4103 obstack data is appropriately aligned.
4104 (obstack_int32_grow_fast): Likewise.
4105 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4106 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4107 (add_locale_uint32_array): Likewise.
4109 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4111 * benchtests/Makefile: Remove ARGLIST and RET variables.
4112 ($(objpfx)bench-%.c): Pass only function name to the script.
4113 * benchtests/README: Update documentation.
4114 * benchtests/acos-inputs: Add new directives.
4115 * benchtests/acosh-inputs: Likewise.
4116 * benchtests/asin-inputs: Likewise.
4117 * benchtests/asinh-inputs: Likewise.
4118 * benchtests/atan-inputs: Likewise.
4119 * benchtests/atanh-inputs: Likewise.
4120 * benchtests/cos-inputs: Likewise.
4121 * benchtests/cosh-inputs: Likewise.
4122 * benchtests/exp-inputs: Likewise.
4123 * benchtests/log-inputs: Likewise.
4124 * benchtests/pow-inputs: Likewise.
4125 * benchtests/rint-inputs: Likewise.
4126 * benchtests/sin-inputs: Likewise.
4127 * benchtests/sinh-inputs: Likewise.
4128 * benchtests/tan-inputs: Likewise.
4129 * benchtests/tanh-inputs: Likewise.
4130 * scripts/bench.pl: Add support for new directives.
4132 2013-10-07 Alan Modra <amodra@gmail.com>
4134 * README: Fix careless merge.
4136 2013-10-05 Alan Modra <amodra@gmail.com>
4138 * NEWS: Mention powerpc64le support and bugs fixed.
4139 * README: Both big-endian and little-endian powerpc64 supported.
4141 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4143 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4144 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4145 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4146 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4148 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4150 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4153 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4156 Move -mhard-float appending from
4157 ports/sysdeps/powerpc/powerpc32/Makefile.
4158 [$(with-fp) = yes] (ASFLAGS): Likewise.
4159 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4160 * sysdeps/powerpc/nofpu: Move directory from
4161 ports/sysdeps/powerpc/nofpu.
4162 * sysdeps/powerpc/soft-fp: Move directory from
4163 ports/sysdeps/powerpc/soft-fp.
4164 * sysdeps/powerpc/powerpc32/405: Move directory from
4165 ports/sysdeps/powerpc/powerpc32/405.
4166 * sysdeps/powerpc/powerpc32/440: Move directory from
4167 ports/sysdeps/powerpc/powerpc32/440.
4168 * sysdeps/powerpc/powerpc32/464: Move directory from
4169 ports/sysdeps/powerpc/powerpc32/464.
4170 * sysdeps/powerpc/powerpc32/476: Move directory from
4171 ports/sysdeps/powerpc/powerpc32/476.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4173 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4175 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4177 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4179 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4181 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4182 * README: Update for powerpc-*-linux-gnu software floating point
4185 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4186 case to powerpc/powerpc32*.
4187 * sysdeps/unix/sysv/linux/configure: Regenerated.
4189 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4190 (_FPU_MASK_OM): Define as 0x04.
4191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4199 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4202 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4205 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4206 and setcontext_e500.
4208 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4210 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4212 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4214 * manual/threads.texi (Default Thread Attributes): Fix typo.
4216 2013-10-04 Will Newton <will.newton@linaro.org>
4218 * malloc/Makefile: Add tst-memalign.
4219 * malloc/tst-memalign.c: New file.
4221 * malloc/tst-posix_memalign.c: Add comments.
4222 (do_test): Add comments and call free on all potentially
4223 allocated pointers. Add space after cast.
4225 * malloc/tst-pvalloc.c: Add comments.
4226 (do_test): Add comments and call free on all potentially
4227 allocated pointers. Remove duplicate check for NULL pointer.
4228 Add space after cast.
4230 * malloc/tst-valloc.c: Add comments.
4231 (do_test): Add comments and call free on all potentially
4232 allocated pointers. Remove duplicate check for NULL pointer.
4233 Add space after cast.
4235 2013-10-04 Alan Modra <amodra@gmail.com>
4237 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4238 Use stdint types in rather than __attribute__((mode())).
4239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4241 2013-10-04 Alan Modra <amodra@gmail.com>
4243 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4244 Correct handling of unaligned relocs for little-endian.
4245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4247 2013-10-04 Alan Modra <amodra@gmail.com>
4249 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4250 * configure: Regenerate.
4251 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4252 * shlib-versions: Likewise.
4254 2013-10-04 Alan Modra <amodra@gmail.com>
4256 * string/tester.c (test_memrchr): Increment reported test cycle.
4258 2013-10-04 Alan Modra <amodra@gmail.com>
4260 * string/test-memcpy.c (do_one_test): When reporting errors, print
4261 string address and don't overrun end of string.
4263 2013-10-04 Alan Modra <amodra@gmail.com>
4265 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4266 insrdi. Make better use of reg selection to speed exit slightly.
4267 Schedule entry path a little better. Remove useless "are we done"
4268 checks on entry to main loop. Handle wrapping around zero address.
4269 Correct main loop count. Handle single left-over word from main
4270 loop inline rather than by using loop_small. Remove extra word
4271 case in loop_small caused by wrong loop count. Add little-endian
4273 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4276 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4277 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4278 support. Avoid rlwimi.
4279 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4281 2013-10-04 Alan Modra <amodra@gmail.com>
4283 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4285 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4286 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4287 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4288 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4289 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4290 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4292 2013-10-04 Alan Modra <amodra@gmail.com>
4294 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4295 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4296 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4297 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4298 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4299 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4301 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4302 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4303 use of regs. Use power7 mtocrf. Tidy function tails.
4305 2013-10-04 Alan Modra <amodra@gmail.com>
4307 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4308 Formatting. Consistently use rXXX register defines or rN defines.
4309 Use early exit labels that avoid restoring unused non-volatile regs.
4310 Make cr field use more consistent with rWORDn compares. Rename
4311 regs used as shift registers for unaligned loop, using rN defines
4312 for short lifetime/multiple use regs.
4313 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4314 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4315 addi 1,1,64 to pop stack frame. Simplify return value code.
4316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4318 2013-10-04 Alan Modra <amodra@gmail.com>
4320 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4321 support. Correct typos, formatting. Optimize tail. Use insrdi
4323 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4324 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4325 little-endian support. Correct typos.
4326 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4328 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4329 in loop and entry code to keep "and." results.
4330 (strchr): Add little-endian support. Comment. Move cntlzd
4332 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4334 2013-10-04 Alan Modra <amodra@gmail.com>
4336 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4337 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4338 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4339 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4341 2013-10-04 Alan Modra <amodra@gmail.com>
4343 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4344 (rTMP): Define as r11.
4345 (strcmp): Add little-endian support. Optimise tail.
4346 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4347 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4348 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4350 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4354 2013-10-04 Alan Modra <amodra@gmail.com>
4356 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4357 little-endian support. Remove unnecessary "are we done" tests.
4358 Handle "s" wrapping around zero and extremely large "size".
4359 Correct main loop count. Handle single left-over word from main
4360 loop inline rather than by using small_loop. Correct comments.
4361 Delete "zero" tail, use "end_max" instead.
4362 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4364 2013-10-04 Alan Modra <amodra@gmail.com>
4366 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4367 support. Don't branch over align.
4368 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4369 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4370 support. Rearrange tmp reg use to suit. Comment.
4371 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4373 2013-10-04 Alan Modra <amodra@gmail.com>
4375 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4377 2013-10-04 Alan Modra <amodra@gmail.com>
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4380 conditional form of branch and link when obtaining pc.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4383 2013-10-04 Alan Modra <amodra@gmail.com>
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4390 2013-10-04 Alan Modra <amodra@gmail.com>
4392 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4393 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4394 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4395 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4396 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4397 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4399 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4400 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4401 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4403 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4404 Alistair Popple <alistair@ozlabs.au.ibm.com>
4405 Alan Modra <amodra@gmail.com>
4408 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4410 _dl_hwcap access for little-endian.
4411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4412 destroy vmx regs when saving unaligned.
4413 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4414 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4415 destroy vmx regs when saving unaligned.
4417 2013-10-04 Alan Modra <amodra@gmail.com>
4419 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4420 Don't use a union to pack hi/low value.
4422 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4424 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4426 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4429 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4430 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4432 2013-10-04 Alan Modra <amodra@gmail.com>
4434 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4435 constants to usual value for .cst8 section, and remove redundant
4437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4438 constant for 0x1p52. Load little-endian words of double from
4439 correct stack offsets.
4441 2013-10-04 Alan Modra <amodra@gmail.com>
4443 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4444 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4445 words of double from correct stack offsets.
4446 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4447 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4451 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4452 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4453 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4454 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4456 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4458 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4459 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4460 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4461 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4462 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4464 2013-10-04 Alan Modra <amodra@gmail.com>
4466 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4467 64-bit int/double union.
4468 (_FPU_SETCW): Likewise.
4469 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4470 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4472 2013-10-04 Alan Modra <amodra@gmail.com>
4474 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4475 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4477 2013-10-04 Alan Modra <amodra@gmail.com>
4479 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4480 use vector int constants.
4481 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4483 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4485 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4486 array with long long.
4487 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4488 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4489 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4490 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4491 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4492 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4493 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4494 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4495 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4496 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4497 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4498 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4499 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4501 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4503 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4504 (__signbit): Likewise. Correct for little-endian.
4505 (__signbitl): Call __signbit.
4506 (lrint): Correct for little-endian.
4507 (lrintf): Call lrint.
4509 2013-10-04 Alan Modra <amodra@gmail.com>
4511 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4512 union 32-bit int array member with 64-bit int array.
4513 (t515, tm256): Double rather than long double.
4514 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4516 2013-10-04 Alan Modra <amodra@gmail.com>
4518 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4520 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4521 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4522 version of math_ldbl.h.
4524 2013-10-04 Alan Modra <amodra@gmail.com>
4526 [BZ #15734], [BZ #15735]
4527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4528 all uses of ieee875 long double macros and unions. Simplify test
4529 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4530 ldbl_extract_mantissa value for ix,iy exponents. Properly
4531 normalize after ldbl_extract_mantissa, and don't add hidden bit
4532 already handled. Don't treat low word of ieee854 mantissa like
4533 low word of IBM long double and mask off bit when testing for
4535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4536 all uses of ieee875 long double macros and unions. Simplify tests
4537 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4538 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4539 two1022, instead use their values. Recognise that tests for large
4540 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4541 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4542 Rewrite all uses of ieee875 long double macros and unions. Simplify
4543 test for 0.0L and nan. Correct negation.
4544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4545 ieee875 long double macros and unions. Correct output for large
4546 magnitude x. Correct absolute value calculation.
4547 (__erfcl): Likewise.
4548 * math/libm-test.inc: Add tests for errors discovered in IBM long
4549 double versions of fmodl, remainderl, erfl and erfcl.
4551 2013-10-04 Alan Modra <amodra@gmail.com>
4553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4554 all uses of ieee854 long double macros and unions. Simplify tests
4555 for long doubles that are fully specified by the high double.
4556 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4558 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4559 Remove dead code too.
4560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4561 (__ieee754_ynl): Likewise.
4562 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4563 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4565 Remove dead code too.
4566 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4567 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4568 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4569 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4571 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4573 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4576 Comment on variable precision.
4577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4580 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4584 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4586 2013-10-04 Alan Modra <amodra@gmail.com>
4588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4590 all uses of ieee854 long double macros and unions.
4591 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4592 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4593 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4595 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4596 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4598 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4599 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4600 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4601 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4604 Simplify sign and nan test too.
4605 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4610 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4611 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4615 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4616 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4618 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4620 2013-10-04 Alan Modra <amodra@gmail.com>
4622 * stdio-common/printf_size.c (__printf_size): Don't use
4623 union ieee854_long_double in fpnum union.
4624 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4625 signbit macro to retrieve sign from long double.
4626 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4627 retrieve sign from long double.
4628 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4629 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4630 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4631 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4632 * math/test-misc.c (main): Don't use union ieee854_long_double.
4634 2013-10-04 Alan Modra <amodra@gmail.com>
4637 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4638 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4639 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4640 calculation. Remove unnecessary test for denormal exponent.
4641 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4642 Correct handling of denormals. Avoid undefined shift behaviour.
4643 Correct normalisation of low mantissa when low double is denormal.
4644 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4645 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4646 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4647 Correct normalisation of low mantissa. Test for overflow of high
4648 mantissa and normalise.
4649 (ldbl_nearbyint): Use more readable constant for two52.
4650 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4651 (__mpn_construct_long_double): Fix test for overflow of high
4652 mantissa and correct normalisation. Avoid undefined shift.
4654 2013-10-04 Alan Modra <amodra@gmail.com>
4656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4657 (union ibm_extended_long_double): Define as an array of ieee754_double.
4658 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4659 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4660 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4661 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4665 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4670 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4672 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4673 page size instead of calling getpagesize.
4675 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4676 (LOCFILE_ALIGN_MASK): Likewise.
4677 (LOCFILE_ALIGN_UP): Likewise.
4678 (LOCFILE_ALIGNED_P): Likewise.
4679 * locale/programs/ld-collate.c (collate_output): Use the new
4680 macros instead of __alignof__ (int32_t).
4681 * locale/weight.h (findidx): Likewise.
4683 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4686 * manual/string.texi: Fix strncat and wcsncat.
4688 2013-10-03 Brooks Moses <bmoses@google.com>
4691 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4692 * Makerules: ...here, and adjust associated comments.
4694 2013-10-02 Will Newton <will.newton@linaro.org>
4696 * malloc/Makefile: Add tst-pvalloc.
4697 * malloc/tst-pvalloc.c: New file.
4699 2013-10-02 Will Newton <will.newton@linaro.org>
4701 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4702 improve test coverage.
4704 2013-10-02 Will Newton <will.newton@linaro.org>
4706 * malloc/Makefile: Add tst-posix_memalign.
4707 * malloc/tst-posix_memalign.c: New file.
4709 2013-10-01 Eric Blake <eblake@redhat.com>
4711 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4712 Use __THROWNL rather than __THROW on static functions.
4714 2013-09-30 Petr Machata <pmachata@redhat.com>
4716 * elf/elf.h (R_AARCH64_ABS16): New macro.
4717 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4718 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4719 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4720 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4721 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4722 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4723 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4724 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4725 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4726 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4727 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4728 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4729 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4730 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4731 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4732 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4733 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4734 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4735 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4736 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4737 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4738 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4739 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4740 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4741 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4742 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4743 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4744 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4745 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4746 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4747 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4748 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4749 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4750 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4751 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4752 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4753 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4754 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4755 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4756 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4757 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4758 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4759 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4760 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4761 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4762 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4763 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4764 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4765 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4766 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4767 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4768 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4769 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4770 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4771 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4772 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4773 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4774 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4775 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4776 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4777 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4778 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4779 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4780 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4781 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4782 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4783 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4784 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4785 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4786 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4787 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4788 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4789 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4790 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4791 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4792 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4793 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4794 (R_AARCH64_TLSDESC_LDR): Likewise.
4795 (R_AARCH64_TLSDESC_ADD): Likewise.
4796 (R_AARCH64_TLSDESC_CALL): Likewise.
4798 2013-09-30 Andreas Schwab <schwab@suse.de>
4801 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4802 the nss database lookup.
4803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4806 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4808 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4810 2013-09-28 P. J. McDermott <pj@pehjota.net>
4812 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4813 ${Bash-specific parameter/pattern/string} parameter expansion.
4814 * sysdeps/unix/make-syscalls.sh: Likewise.
4816 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4818 * sysdeps/sh/stackguard-macros.h: New file.
4820 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4824 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4826 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4827 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4829 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4831 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4832 Fix thread ID register.
4834 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4836 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4837 [POSIX || UNIX98]: Require rather than permitting all symbols from
4839 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4840 element of struct sched_param.
4841 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4842 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4843 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4844 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4847 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4849 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4850 argument calculation.
4852 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4854 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4856 [POSIX] (pthread_attr_t): Do not require type.
4857 [POSIX] (pthread_cond_t): Likewise.
4858 [POSIX] (pthread_condattr_t): Likewise.
4859 [POSIX] (pthread_key_t): Likewise.
4860 [POSIX] (pthread_mutex_t): Likewise.
4861 [POSIX] (pthread_mutexattr_t): Likewise.
4862 [POSIX] (pthread_once_t): Likewise.
4863 [POSIX] (pthread_t): Likewise.
4864 [POSIX-based standards] (pthread_atfork): Expect function.
4866 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4867 Richard Sandiford <richard@codesourcery.com>
4869 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4870 (swap_endianness_p): New extern variable.
4871 (set_big_endian): New inline function.
4872 (maybe_swap_uint32): Likewise.
4873 (maybe_swap_uint32_array): Likewise.
4874 (maybe_swap_uint32_obstack): Likewise.
4875 * locale/programs/locfile.c: Include <stdbool.h>.
4876 (swap_endianness_p): New variable.
4877 (add_locale_uint32): Call maybe_swap_uint32.
4878 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4879 (write_locale_data): Call maybe_swap_uint32_array.
4880 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4882 (obstack_int32_grow_fast): Likewise.
4883 (output_weightwc): Call maybe_swap_uint32_obstack.
4884 (collate_output): Likewise.
4885 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4886 (OPT_LITTLE_ENDIAN): Likewise.
4887 (options): Add --little-endian and --big-endian options.
4888 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4889 * locale/programs/locarchive.c: Include "locfile.h".
4893 (create_archive): Use the new macros to access fields of
4894 structures directly mapped from or written to locale archives.
4895 (oldlocrecentcmp): Likewise.
4896 (enlarge_archive): Likewise.
4897 (insert_name): Likewise.
4898 (add_alias): Likewise.
4899 (add_locale): Likewise.
4900 (delete_locales_from_archive): Likewise.
4901 (show_archive_content): Likewise.
4902 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4905 2013-09-24 Roland McGrath <roland@hack.frob.com>
4907 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4908 http://www.gnu.org/doc/freemanuals.texi.
4909 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4911 2013-09-24 Will Newton <will.newton@linaro.org>
4913 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4916 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4918 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4921 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4923 * manual/threads.texi (POSIX Threads): Fix a typo.
4925 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4928 * string/tst-strcoll-overflow.c: New test case.
4929 * string/Makefile (xtests): Add tst-strcoll-overflow.
4930 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4931 cache if string sizes may cause integer overflow.
4934 * string/strcoll_l.c (coll_seq): New members rule, idx,
4935 save_idx and back_us.
4936 (get_next_seq_nocache): New function.
4937 (do_compare_nocache): New function.
4938 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4941 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4944 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4945 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4946 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4949 * elf/Makefile (tests): Add tst-ptrguard1.
4950 (tests-static): Add tst-ptrguard1-static.
4951 (tst-ptrguard1-ARGS): Define.
4952 (tst-ptrguard1-static-ARGS): Define.
4953 * elf/tst-ptrguard1.c: New file.
4954 * elf/tst-ptrguard1-static.c: New file.
4955 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4956 * sysdeps/i386/stackguard-macros.h: Likewise.
4957 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4958 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4959 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4960 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4961 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4962 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4964 2013-09-23 Hector Marco <hecmargi@upv.es>
4965 Ismael Ripoll <iripoll@disca.upv.es>
4966 Carlos O'Donell <carlos@redhat.com>
4969 * sysdeps/generic/stackguard-macros.h: Define
4970 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4971 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4972 Define __pointer_chk_guard_local.
4973 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4974 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4976 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4979 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4981 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4983 * include/string.h (__ffs): Declare as hidden.
4984 * string/ffs.c (__ffs): Define as hidden.
4985 * sysdeps/i386/ffs.c (__ffs): Likewise.
4986 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4987 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4988 * sysdeps/s390/ffs.c (__ffs): Likewise.
4989 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4991 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4993 * NEWS: Mention malloc probes.
4995 * malloc/arena.c (new_heap): New memory_heap_new probe.
4996 (grow_heap): New memory_heap_more probe.
4997 (shrink_heap): New memory_heap_less probe.
4998 (heap_trim): New memory_heap_free probe.
4999 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5000 (systrim): New memory_sbrk_less probe.
5001 * manual/probes.texi: Document them.
5003 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5004 * manual/probes.texi: Document it.
5006 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5007 (__libc_realloc): Add memory_realloc_retry probe.
5008 (__libc_memalign): Add memory_memalign_retry probe.
5009 (__libc_valloc): Add memory_valloc_retry probe.
5010 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5011 (__libc_calloc): Add memory_calloc_retry probe.
5012 * manual/probes.texi: Document them.
5014 * malloc/arena.c (get_free_list): Add probe
5015 memory_arena_reuse_free_list.
5016 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5017 and memory_arena_reuse.
5018 (arena_get2) [!PER_THREAD]: Likewise.
5019 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5020 memory_arena_reuse_realloc.
5021 * manual/probes.texi: Document them.
5023 * malloc/malloc.c (__libc_free): Add
5024 memory_mallopt_free_dyn_thresholds probe.
5025 (__libc_mallopt): Add multiple memory_mallopt probes.
5026 * manual/probes.texi: Document them.
5028 * malloc/malloc.c: Include stap-probe.h.
5029 (__libc_mallopt): Add memory_mallopt probe.
5030 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5031 * manual/probes.texi: New.
5032 * manual/Makefile (chapters): Add probes.
5033 * manual/threads.texi: Set next node.
5035 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5038 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5039 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5040 Add `Chinese' to `nan' entry name.
5042 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5044 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5045 (POLYNOMIAL): Likewise.
5046 (TAYLOR_SINCOS): Likewise.
5047 (TAYLOR_SLOW): Likewise.
5048 (__sin): Use TAYLOR_SINCOS.
5050 (slow): Use TAYLOR_SLOW.
5055 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5057 * stdlib/strtod_l.c: Fix buffer overrun.
5059 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5061 * benchtests/Makefile (bench): Add sincos.
5062 * benchtests/bench-sincos.c: New file.
5064 * math/libm-test.inc (cos_test_data): New test inputs.
5065 (sin_test_data): Likewise.
5067 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5075 (bsloww1): Likewise.
5076 (bsloww2): Likewise.
5078 (csloww1): Likewise.
5079 (csloww2): Likewise.
5081 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5090 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5092 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5093 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5094 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5095 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5096 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5097 * elf/cache.c (print_entry): Handle the new cache flags.
5099 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5100 Aldy Hernandez <aldyh@redhat.com>
5102 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5103 Change condition to [_SOFT_FLOAT].
5104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5116 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5119 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5122 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5124 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5125 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5126 (__longjmp): Use LOAD_GP to load saved GPRs.
5127 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5128 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5129 (__sigsetjmp): Use SAVE_GP to save GPRs.
5131 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5132 Do not append -msoft-float.
5133 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5135 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5137 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5139 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5143 (_FPU_GETCW): Use initial "__" on variable and field names but not
5144 on macro parameter name.
5145 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5146 parentheses around reference to macro parameter.
5148 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5150 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5152 (ctype_startup): Use uint32_t in cast and sizeof for
5155 2013-09-11 Jia Liu <proljc@gmail.com>
5157 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5159 [__FreeBSD__]: Likewise.
5161 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5164 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5165 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5166 (strchr): Remove __strchr_sse42 ifunc selection.
5167 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5168 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5170 2013-09-11 Will Newton <will.newton@linaro.org>
5172 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5173 parameter to RES. Remove hardcoded 1000 value.
5174 * benchtests/bench-skeleton.c (main): Pass RES parameter
5175 to TIMING_INIT and multiply result by 1000.
5177 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5181 2013-09-11 Andreas Schwab <schwab@suse.de>
5183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5185 (O_TMPFILE) [__USE_GNU]: Define.
5186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5189 2013-09-11 Will Newton <will.newton@linaro.org>
5192 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5195 2013-09-11 Will Newton <will.newton@linaro.org>
5198 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5201 2013-09-11 Will Newton <will.newton@linaro.org>
5204 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5207 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5209 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5215 2013-09-10 Allan McRae <allan@archlinux.org>
5218 * manual/arith.texi (Parsing of Floats): Clarify
5222 * manual/install.texi (Running make install): Mention
5224 * INSTALL: Regenerated.
5226 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5228 * csu/init-first.c (_init): Remove the !SHARED condition around
5229 FPU control word initialization.
5230 * elf/dl-support.c (_dl_fpu_control): New variable.
5231 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5232 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5233 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5234 * math/test-fpucw-static.c: New file.
5235 * math/test-fpucw-ieee.c: New file.
5236 * math/test-fpucw-ieee-static.c: New file.
5237 * math/Makefile (tests): Add `test-fpucw-ieee' and
5239 (tests-static): New variable.
5240 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5242 [($(build-shared),yes)]
5243 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5245 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5248 2013-09-09 Allan McRae <allan@archlinux.org>
5251 * manual/string.texi (Collation Functions): Fix typo in
5253 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5256 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5259 * libio/memstream.c (open_memstream): Fix memory leak.
5260 * libio/wmemstream.c (open_wmemstream): Likewise.
5263 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5265 2013-09-09 Will Newton <will.newton@linaro.org>
5267 * malloc/Makefile: Add tst-realloc to tests.
5268 * malloc/tst-realloc.c: New file.
5270 2013-09-09 Allan McRae <allan@archlinux.org>
5273 * COPYING: Update from GNU website to fix FSF address.
5274 * COPYING.LIB: Likewise.
5276 2013-09-06 David S. Miller <davem@davemloft.net>
5278 * po/zh_TW.po: Update Chinese (traditional) translation from
5279 translation project.
5281 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5282 Joseph Myers <joseph@codesourcery.com>
5284 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5286 (obstack_chunk_alloc): New macro.
5287 (obstack_chunk_free): Likewise.
5288 (record_offset): New function.
5289 (init_locale_data): Likewise.
5290 (align_locale_data): Likewise.
5291 (add_locale_empty): Likewise.
5292 (add_locale_raw_data): Likewise.
5293 (add_locale_raw_obstack): Likewise.
5294 (add_locale_string): Likewise.
5295 (add_locale_wstring): Likewise.
5296 (add_locale_uint32): Likewise.
5297 (add_locale_uint32_array): Likewise.
5298 (add_locale_char): Likewise.
5299 (start_locale_structure): Likewise.
5300 (end_locale_structure): Likewise.
5301 (start_locale_prelude): Likewise.
5302 (end_locale_prelude): Likewise.
5303 (write_locale_data): Take locale_file structure rather than an
5305 * locale/programs/locfile.h: Include "obstack.h".
5306 (struct locale_file): Change to store locale file contents instead
5308 (init_locale_data): New prototype.
5309 (align_locale_data): Likewise.
5310 (add_locale_empty): Likewise.
5311 (add_locale_raw_data): Likewise.
5312 (add_locale_raw_obstack): Likewise.
5313 (add_locale_string): Likewise.
5314 (add_locale_wstring): Likewise.
5315 (add_locale_uint32): Likewise.
5316 (add_locale_uint32_array): Likewise.
5317 (add_locale_char): Likewise.
5318 (start_locale_structure): Likewise.
5319 (end_locale_structure): Likewise.
5320 (start_locale_prelude): Likewise.
5321 (end_locale_prelude): Likewise.
5322 (write_locale_data): Update prototype.
5323 * locale/programs/3level.h (struct TABLE): Remove result field.
5324 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5325 Use new locale_file interface.
5326 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5327 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5328 * locale/programs/ld-address.c (address_output): Use new
5329 locale_file interface.
5330 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5332 (collate_finish): Don't call collseq_table_finalize.
5333 (collate_output): Use new locale_file interface.
5334 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5336 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5337 (TABLE): Move defines earlier in file.
5338 (ELEMENT): Likewise.
5339 (DEFAULT): Likewise.
5340 (wctrans_table_add): Move macro and inline function earlier in
5342 (struct wctype_table): Move type earlier in file.
5343 (add_locale_wctype_table): New static prototype.
5344 (struct locale_ctype_t): Use logical types instead of struct iovec
5345 pointers for members.
5346 (ctype_output): Use new locale_file interface.
5347 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5348 new locale_file interface.
5349 (allocate_arrays): Update for use of new locale_file interface.
5350 * locale/programs/ld-identification.c (identification_output): Use
5351 new locale_file interface.
5352 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5353 * locale/programs/ld-messages.c (messages_output): Likewise.
5354 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5355 * locale/programs/ld-name.c (name_output): Likewise.
5356 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5357 * locale/programs/ld-paper.c (paper_output): Likewise.
5358 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5359 * locale/programs/ld-time.c (time_output): Likewise.
5361 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5363 * benchtests/Makefile: Add memrchr benchmark.
5364 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5365 benchmark as memrchr.
5366 * benchtests/bench-memrchr-ifunc.c: New file.
5367 * benchtests/bench-memrchr.c: New file.
5369 2013-09-06 Will Newton <will.newton@linaro.org>
5371 * benchtests/Makefile (string-bench): Add memcpy.
5373 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5374 Cong Wang <amwang@redhat.com>
5376 * sysdeps/unix/sysv/linux/bits/in.h
5377 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5378 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5379 before __USE_KERNEL_IPV6_DEFS uses.
5380 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5382 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5383 sockaddr_in6, or ipv6_mreq.
5385 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5387 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5388 memory access for final bytes in some large inputs.
5389 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5391 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393 * string/test-memrchr.c: New file.
5394 * string/test-memrchr-ifunc.c: New file.
5395 * string/Makefile: Add new memrchr testcase.
5397 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5399 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5400 fanotify_init returns EPERM.
5402 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5404 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5406 (top level): Treat second token from macro or constant entries for
5407 allowed headers as allowed.
5408 * include/complex.h: Condition internal declarations on
5410 * include/fenv.h: Condition include of <stdbool.h> and internal
5411 declarations on [!_ISOMAC].
5413 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5416 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5418 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5420 * configure.in (--enable-versioning): Remove configure option.
5421 (libc_cv_asm_symver_directive): Remove configure test.
5422 (libc_cv_ld_version_script_option): Likewise.
5423 (VERSIONING): Remove variable and AC_SUBST.
5424 (DO_VERSIONING): Remove AC_DEFINE.
5425 * configure: Regenerated.
5426 * config.h.in (DO_VERSIONING): Remove macro.
5427 * Makerules [$(versioning) = yes]: Change conditionals to
5428 [$(build-shared) = yes].
5429 * config.make.in (versioning): Remove variable.
5430 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5431 [$(build-shared) = yes].
5432 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5433 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5434 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5435 [$(build-shared) = yes].
5436 * extra-lib.mk [$(versioning) = yes]: Likewise.
5437 * hurd/Makefile [$(versioning) = yes]: Likewise.
5438 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5440 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5442 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5443 [SHARED && !NO_HIDDEN].
5444 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5446 [SHARED && DO_VERSIONING]: Likewise..
5447 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5448 [$(build-shared) = yes].
5449 * manual/install.texi (--disable-versioning): Remove
5451 * INSTALL: Regenerated.
5452 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5454 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5455 [$(build-shared) = yes].
5456 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5457 * sysdeps/i386/i686/multiarch/strstr-c.c
5458 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5459 [SHARED && !NO_HIDDEN].
5460 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5461 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5462 * sysdeps/powerpc/powerpc32/dl-machine.c
5463 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5464 * sysdeps/powerpc/powerpc32/sysdep.h
5465 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5466 to [SHARED && PIC && !NO_HIDDEN].
5467 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5468 conditional to [SHARED].
5470 2013-09-04 Will Newton <will.newton@linaro.org>
5472 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5473 * benchtests/bench-string.h: Include bench-timing.h instead
5474 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5475 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5476 call to HP_TIMING_DIFF_INIT.
5477 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5478 instead of hp-timing.h macros.
5479 * benchtests/bench-memchr.c: Likewise.
5480 * benchtests/bench-memcmp.c: Likewise.
5481 * benchtests/bench-memcpy.c: Likewise.
5482 * benchtests/bench-memmem.c: Likewise.
5483 * benchtests/bench-memmove.c: Likewise.
5484 * benchtests/bench-memset.c: Likewise.
5485 * benchtests/bench-rawmemchr.c: Likewise.
5486 * benchtests/bench-strcasecmp.c: Likewise.
5487 * benchtests/bench-strcasestr.c: Likewise.
5488 * benchtests/bench-strcat.c: Likewise.
5489 * benchtests/bench-strchr.c: Likewise.
5490 * benchtests/bench-strcmp.c: Likewise.
5491 * benchtests/bench-strcpy.c: Likewise.
5492 * benchtests/bench-strcpy_chk.c: Likewise.
5493 * benchtests/bench-strlen.c: Likewise.
5494 * benchtests/bench-strncasecmp.c: Likewise.
5495 * benchtests/bench-strncat.c: Likewise.
5496 * benchtests/bench-strncmp.c: Likewise.
5497 * benchtests/bench-strncpy.c: Likewise.
5498 * benchtests/bench-strnlen.c: Likewise.
5499 * benchtests/bench-strpbrk.c: Likewise.
5500 * benchtests/bench-strrchr.c: Likewise.
5501 * benchtests/bench-strspn.c: Likewise.
5502 * benchtests/bench-strstr.c: Likewise.
5504 2013-09-04 Will Newton <will.newton@linaro.org>
5506 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5508 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5511 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5512 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5513 * math/libm-test.inc (lgamma_test_data): Add more tests.
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5517 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5519 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5523 Add strcmp-sse2-unaligned
5524 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5526 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5528 * Versions.def (libc): Add GLIBC_2.19.
5530 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5532 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5533 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5535 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5538 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5539 intermediate calculations in recurrence.
5540 (__ieee754_ynf): Likewise.
5541 * math/libm-test.inc (jn_test_data): Do not allow spurious
5542 underflow exception. Add more tests.
5543 (yn_test_data): Add more tests.
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5547 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5549 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5551 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5553 * csu/init-first.c: Fix then/than typos.
5554 * locale/programs/ld-collate.c: Likewise.
5555 * locale/programs/linereader.h: Likewise.
5556 * manual/charset.texi: Likewise.
5557 * manual/filesys.texi: Likewise.
5558 * manual/stdio.texi: Likewise.
5559 * manual/string.texi: Likewise.
5560 * stdlib/fmtmsg.c: Likewise.
5561 * sysdeps/i386/stpncpy.S: Likewise.
5562 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5563 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5564 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5565 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5567 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5569 * elf/dl-open.c: Fix typos.
5570 * iconvdata/gbbig5.c: Likewise.
5571 * iconvdata/iso-2022-jp.c: Likewise.
5572 * iconv/gconv_int.h: Likewise.
5573 * iconv/loop.c: Likewise.
5574 * nis/rpcsvc/nis.h: Likewise.
5575 * resolv/ns_name.c: Likewise.
5576 * stdio-common/vfscanf.c: Likewise.
5577 * streams/stropts.h: Likewise.
5578 * sunrpc/rpc_thread.c: Likewise.
5579 * sysdeps/i386/strpbrk.S: Likewise.
5580 * sysdeps/ieee754/k_standard.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5583 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5584 * sysdeps/mach/hurd/profil.c: Likewise.
5585 * sysdeps/s390/dl-procinfo.h: Likewise.
5586 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5587 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5588 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5589 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5590 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5592 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5594 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5597 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5599 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5601 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5602 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5604 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5605 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5606 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5607 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5608 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5610 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5611 Roland McGrath <roland@hack.frob.com>
5613 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5614 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5616 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5618 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5619 __executable_start symbol instead of _start.
5621 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5623 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5624 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5626 * sysdeps/gnu/ldsodefs.h: ... this new file.
5628 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5629 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5630 instead of ELFOSABI_LINUX.
5632 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5633 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5634 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5635 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5637 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5638 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5641 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5642 (ibm_extended_long_double): Add ieee_nan member.
5643 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5644 (do_test): New function.
5646 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5648 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5649 functions, renamed from truncdfsf_test, trunctfsf_test,
5651 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5653 (do_test): Run all these.
5655 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5657 * argp/argp-help.c: Fix typos.
5658 * argp/argp-parse.c: Likewise.
5659 * debug/backtracesyms.c: Likewise.
5660 * elf/elf.h: Likewise.
5661 * malloc/malloc.c: Likewise.
5662 * nis/nis_print.c: Likewise.
5663 * resolv/res_comp.c: Likewise.
5664 * stdlib/stdlib.h: Likewise.
5665 * sunrpc/clnt_tcp.c: Likewise.
5666 * sunrpc/clnt_udp.c: Likewise.
5667 * sunrpc/clnt_unix.c: Likewise.
5668 * sysdeps/unix/bsd/ptsname.c: Likewise.
5669 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5677 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5679 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5681 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5684 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5687 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5688 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5689 ($(objpfx)bug-dl-leaf): New rule.
5690 ($(objpfx)bug-dl-leaf.so): Likewise.
5691 ($(objpfx)bug-dl-leaf.out): Likewise.
5692 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5693 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5694 * dlfcn/bug-dl-leaf.c: New test.
5695 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5696 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5697 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5698 (dlclose): Likewise.
5699 (dlmopen): Likewise.
5701 2013-08-27 Roland McGrath <roland@hack.frob.com>
5703 * include/netdb.h [!_ISOMAC]:
5704 Don't include <tls.h>.
5705 (h_errno, __libc_h_errno): Move declaration and macros out of
5708 * include/resolv.h [_RESOLV_H_]:
5709 Don't include <tls.h>.
5710 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5711 * resolv/res_libc.c: Don't include <tls.h>.
5712 (_res): Use __attribute__ ((nocommon)) in place of
5713 __attribute__ ((section (".bss"))).
5715 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5716 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5718 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5720 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5721 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5723 * resolv/res_mkquery.c: Include <sys/time.h>.
5725 * inet/ifreq.c: Moved to ...
5726 * sysdeps/unix/ifreq.c: ... here.
5727 * inet/ifreq.c: New file, true stub version.
5729 * socket/sa_len.c: New file.
5730 * socket/Makefile (aux): Add it.
5731 * sysdeps/unix/sysv/linux/Makefile
5732 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5733 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5734 and #include <socket/sa_len.c>.
5735 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5736 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5738 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5739 * bits/socket.h: ... here.
5741 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5742 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5743 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5745 2013-08-27 Andreas Schwab <schwab@suse.de>
5748 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5749 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5750 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5751 * string/test-strcasecmp.c (test_main): Run tests in several
5753 * string/test-strncasecmp.c (test_main): Likewise.
5755 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5756 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5757 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5759 (__strncasecmp_ssse3) [PIC]: Likewise.
5761 2013-08-26 Roland McGrath <roland@hack.frob.com>
5763 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5765 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5766 instead of explicitly declaring xdecrypt.
5767 * nis/nss_nis/nis-publickey.c: Likewise.
5769 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5772 * nscd/aicache.c: Include res_hconf.h.
5773 (addhstaiX): Initialize res_hconf.
5775 2013-08-26 Andreas Schwab <schwab@suse.de>
5777 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5778 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5780 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5782 * nscd/aicache.c (addhstaiX): Fix indentation.
5784 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5786 * configure.ac: Quote $build_pt_chown test.
5787 * configure: Regenerated.
5789 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5792 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5793 * math/s_cexpf.c (__cexpf): Likewise.
5794 * math/s_cexpl.c (__cexpl): Likewise.
5795 * math/libm-test.inc (cexp_test_data): Correct expected return
5796 value for NaN + i0. Add another test.
5798 2013-08-22 David S. Miller <davem@davemloft.net>
5800 * po/ca.po: Update Catalan translation from translation project.
5801 * po/uk.po: Add Ukrainian translations from translation project.
5803 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5806 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5807 is infinite, not alongside NaN test.
5808 * math/s_fdimf.c (__fdimf): Likewise.
5809 * math/s_fdiml.c (__fdiml): Likewise.
5810 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5813 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5815 * argp/argp-help.c: Fix typos.
5816 * crypt/speeds.c: Likewise.
5817 * csu/check_fds.c: Likewise.
5818 * elf/dl-load.c: Likewise.
5819 * elf/dl-open.c: Likewise.
5820 * elf/reldep3.c: Likewise.
5821 * elf/reldep.c: Likewise.
5822 * elf/sprof.c: Likewise.
5823 * iconv/iconv_charmap.c: Likewise.
5824 * iconv/skeleton.c: Likewise.
5825 * iconv/strtab.c: Likewise.
5826 * io/lockf64.c: Likewise.
5827 * libio/libioP.h: Likewise.
5828 * resolv/gai_notify.c: Likewise.
5829 * resolv/ns_name.c: Likewise.
5830 * resolv/ns_samedomain.c: Likewise.
5831 * resolv/res_send.c: Likewise.
5832 * stdlib/random.c: Likewise.
5833 * sunrpc/rpc/xdr.h: Likewise.
5834 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5836 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5837 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5839 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5842 * sysdeps/mach/hurd/check_fds.c: Likewise.
5843 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5844 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5846 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5847 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5848 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5849 * sysdeps/pthread/aio_notify.c: Likewise.
5850 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5851 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5852 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5853 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5854 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5856 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5858 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5859 version if bit_Slow_SSE4_2 is set.
5860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5861 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5863 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5867 trampoline stack frame information.
5868 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5869 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5870 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5871 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5872 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5873 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5874 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5875 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5877 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5878 interrupting a syscall and set with option SA_SIGINFO.
5880 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5883 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5884 argument is infinite.
5885 * math/s_cprojf.c (__cprojf): Likewise.
5886 * math/s_cprojl.c (__cprojl): Likewise.
5887 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5888 * math/libm-test.inc (cproj_test_data): Add more tests.
5890 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5892 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5893 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5894 size. Use __ffs to determine corresponding shift.
5896 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5897 Roland McGrath <roland@hack.frob.com>
5899 * Makefile (INSTALL): Remove trailing blank lines from output of
5902 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5904 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5905 Align 32 bit compat elf_greg to 8 bytes.
5907 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5909 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5911 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5913 * string/strcoll_l.c (coll_seq): New structure.
5914 (get_next_seq_cached): New function.
5915 (get_next_seq): New function.
5916 (do_compare): New function.
5917 (STRCOLL): Use GNU style definition. Simplify implementation
5918 by using get_next_seq, get_next_seq_cached and do_compare.
5920 2013-08-16 Florian Weimer <fweimer@redhat.com>
5924 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5926 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5928 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5929 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5930 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5932 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5933 GETDENTS_64BIT_ALIGNED.
5934 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5935 * manual/filesys.texi (Reading/Closing Directory): Document
5936 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5938 * manual/conf.texi (Limits for Files): Add portability note to
5940 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5942 2013-08-13 Andreas Schwab <schwab@suse.de>
5945 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5947 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5948 LDBL_MAX_EXP >= 16384]: Add tests for it.
5950 2013-08-12 David S. Miller <davem@davemloft.net>
5952 * version.h (RELEASE): Set to "development".
5953 (VERSION): Set to "2.18.90".
5954 * NEWS: Add 2.19 section.
5956 2013-08-03 David S. Miller <davem@davemloft.net>
5958 * po/ko.po: Update Korean translation from translation project.
5960 2013-08-01 David S. Miller <davem@davemloft.net>
5962 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5963 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5966 2013-07-30 David S. Miller <davem@davemloft.net>
5968 * po/fr.po: Update French translation from translation project.
5970 2013-07-28 David S. Miller <davem@davemloft.net>
5972 * po/cs.po: Update Czech translation from translation project.
5974 * po/sv.po: Update Swedish translation from translation project.
5976 2013-07-27 David S. Miller <davem@davemloft.net>
5978 * po/eo.po: Update Esperanto translation from translation project.
5980 * po/vi.po: Update Vietnamese translation from translation project.
5982 * po/de.po: Update German translation from translation project.
5984 2013-07-26 David S. Miller <davem@davemloft.net>
5986 * po/bg.po: Update Bulgarian translation from translation project.
5988 * po/nl.po: Update Dutch translation from translation project.
5989 * po/pl.po: Update Polish translation from translation project.
5990 * po/ru.po: Update Russian translation from translation project.
5992 2013-07-24 David S. Miller <davem@davemloft.net>
5994 * po/libc.pot: Update.
5996 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5998 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6000 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6002 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6004 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6006 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6008 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6009 Andreas Schwab <schwab@suse.de>
6010 Roland McGrath <roland@hack.frob.com>
6011 Joseph Myers <joseph@codesourcery.com>
6012 Carlos O'Donell <carlos@redhat.com>
6015 * config.h.in: Define HAVE_PT_CHOWN.
6016 * config.make.in (build-pt-chown): New variable.
6017 * configure.in (--enable-pt_chown): New configure option.
6018 * configure: Regenerate.
6019 * login/Makefile: Include Makeconfig. Build pt_chown only if
6020 build-pt-chown is enabled.
6021 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6022 pt_chown to fix pty ownership.
6023 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6025 * manual/install.texi (Configuring and compiling): Mention
6026 --enable-pt_chown. Add @findex for grantpt.
6027 * INSTALL: Regenerate.
6029 2013-07-20 David S. Miller <davem@davemloft.net>
6031 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6032 difference between 32-bit and 64-bit.
6034 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6037 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6038 Avoid system header dependency with -ffreestanding.
6039 ($(objpfx)bits/syscall%d): Likewise.
6041 2013-07-13 David S. Miller <davem@davemloft.net>
6043 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6044 underflows from atanl/atan2l due to bug 15319.
6045 (casinh_test_data): Likewise.
6047 2013-07-07 David S. Miller <davem@davemloft.net>
6049 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6051 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6053 * sysdeps/i386/fpu/libm-test-ulps: Update.
6054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6056 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6058 * configure.in (--enable-lock-elision): Fix message text.
6059 * INSTALL: Regenerate.
6060 * configure: Regenerate.
6062 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6066 2013-07-03 Andreas Jaeger <aj@suse.de>
6068 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6070 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6071 (ptrace_peeksiginfo_args): Add.
6072 (__ptrace_peeksiginfo_flags): Add.
6073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6077 2013-07-03 Allan McRae <allan@archlinux.org>
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081 2013-07-02 David S. Miller <davem@davemloft.net>
6083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6085 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6089 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6091 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6094 2013-07-02 Andi Kleen <ak@linux.intel.com>
6096 * config.h.in (ENABLE_LOCK_ELISION): Add.
6097 * configure.in (--enable-lock-elision): Add option.
6098 * manual/install.texi: Document --enable lock elision.
6099 * configure: Regenerate
6100 * INSTALL: Regenerate.
6102 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6104 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6105 SSE4.2 strcasecmp for libc.a.
6106 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6108 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6111 * soft-fp/op-common.h (_FP_FMA): New macro.
6112 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6113 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6114 (_FP_MUL_MEAT_1_imm): ... here.
6115 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6116 (_FP_MUL_MEAT_1_wide): ... here.
6117 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6118 (_FP_MUL_MEAT_1_hard): ... here.
6119 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6120 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6121 (_FP_MUL_MEAT_2_wide): ... here.
6122 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6123 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6124 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6125 (_FP_MUL_MEAT_2_gmp): ... here.
6126 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6127 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6128 (_FP_MUL_MEAT_4_wide): ... here.
6129 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6130 (_FP_MUL_MEAT_4_gmp): ... here.
6131 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6132 (_FP_WFRACBITS_DW_S): Likewise.
6133 (_FP_WFRACXBITS_DW_S): Likewise.
6134 (_FP_HIGHBIT_DW_S): Likewise.
6135 (FP_FMA_S): Likewise.
6136 (_FP_FRAC_HIGH_DW_S): Likewise.
6137 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6138 (_FP_WFRACBITS_DW_D): Likewise.
6139 (_FP_WFRACXBITS_DW_D): Likewise.
6140 (_FP_HIGHBIT_DW_D): Likewise.
6141 (FP_FMA_D): Likewise.
6142 (_FP_FRAC_HIGH_DW_D): Likewise.
6143 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6144 (_FP_WFRACBITS_DW_E): Likewise.
6145 (_FP_WFRACXBITS_DW_E): Likewise.
6146 (_FP_HIGHBIT_DW_E): Likewise.
6147 (FP_FMA_E): Likewise.
6148 (_FP_FRAC_HIGH_DW_E): Likewise.
6149 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6150 (_FP_WFRACBITS_DW_Q): Likewise.
6151 (_FP_WFRACXBITS_DW_Q): Likewise.
6152 (_FP_HIGHBIT_DW_Q): Likewise.
6153 (FP_FMA_Q): Likewise.
6154 (_FP_FRAC_HIGH_DW_Q): Likewise.
6155 * soft-fp/fmasf4.c: New file.
6156 * soft-fp/fmadf4.c: Likewise.
6157 * soft-fp/fmatf4.c: Likewise.
6159 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6162 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6164 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6166 (index_Slow_SSE4_2): Likewise.
6167 (index_Prefer_PMINUB_for_stringop): Likewise.
6168 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6169 bit_Slow_SSE4_2 is set.
6170 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6173 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6175 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6176 rtld_global._dl_hwcap2.
6177 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6179 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6180 POWER8 feature descriptions defined in _dl_hwcap2.
6181 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6182 string handling for POWER8 feature bits.
6183 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6184 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6185 _dl_powerpc_cap_flags.
6186 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6187 * sysdeps/powerpc/rtld-global-offsets.sym
6188 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6189 _dl_hwcap2 in the rtld_global_ro structure.
6191 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6193 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6194 hardware capabilities in support of AT_HWCAP2.
6195 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6196 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6198 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6199 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6200 explicitly the unknown a_type display mechanism is used.
6201 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6202 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6204 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6205 to macro prototype for AT_HWCAP2 support.
6206 * sysdeps/i386/dl-procinfo.h: Likewise.
6207 * sysdeps/s390/dl-procinfo.h: Likewise.
6208 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6209 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6210 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6211 return -1 for unknown a_type display fallback.
6212 * sysdeps/sparc/dl-procinfo.h: Likewise.
6213 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6214 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6216 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6218 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6219 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6221 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6224 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6225 mprotect making __stack_prot writable.
6227 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6228 Joseph Myers <joseph@codesourcery.com>
6230 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6231 as being properly aligned.
6233 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6235 * dlfcn/modstatic5.c: New file.
6236 * dlfcn/tststatic5.c: New file.
6237 * dlfcn/Makefile (tests): Add tststatic5.
6238 (tests-static): Likewise.
6239 (modules-names): Add modstatic5.
6240 (tststatic5-ENV): New variable.
6241 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6244 * elf/dl-support.c (_dl_main_map): New variable.
6245 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6246 (_dl_nns, _dl_load_adds): Set to 1.
6247 (_dl_initial_searchlist): Refer to _dl_main_map.
6248 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6249 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6250 call to _dl_get_origin.
6251 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6253 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6254 * dlfcn/modstatic3.c: New file.
6255 * dlfcn/tststatic3.c: New file.
6256 * dlfcn/tststatic4.c: New file.
6257 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6258 (tests-static): Likewise.
6259 (modules-names): Add modstatic3.
6260 (tststatic3-ENV, tststatic4-ENV): New variables.
6261 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6262 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6264 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6266 * configure.in (CC): Require GCC version 4.4 or later.
6267 * configure: Regenerated.
6268 * manual/install.texi (Tools for Compilation): Update GCC version
6270 * INSTALL: Regenerated.
6272 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6275 * string/test-memcmp.c (check2): New.
6276 (main): Call check2.
6278 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6280 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6283 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6285 (dl_open_worker) [!SHARED]: ... here.
6287 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6289 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6291 2013-06-25 Richard Henderson <rth@redhat.com>
6293 * locale/programs/locarchive.c: Include <libc-internal.h>
6295 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6297 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6298 trailing whitespace removed.
6300 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6303 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6304 * locale/programs/locarchive.c: Include libc-mmap.h.
6305 (prepare_address_space): Take two new outputs (the mmap base and len).
6306 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6308 (create_archive): Declare new mmap base and len values for
6309 prepare_address_space, and store the result in ah.
6310 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6311 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6312 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6313 Declare new mmap base and len values for
6314 prepare_address_space, and store the result in new_ah.
6315 (open_archive): Declare new mmap base and len values for
6316 prepare_address_space, and store the result in ah.
6317 (close_archive): If ah->mmap_base is not NULL, use that and
6318 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6319 * sysdeps/generic/libc-mmap.h: New file.
6321 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6323 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6324 (ALIGN_UP): Likewise.
6325 (PTR_ALIGN_DOWN): Likewise.
6326 (PTR_ALIGN_UP): Likewise.
6328 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6330 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6331 entry mapped to PPC_PLATFORM_POWER8.
6332 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6334 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6335 (_dl_string_platform): Add case for exporting platform position for
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6338 search path to sysdeps/powerpc/powerpc32/power8 directory.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6340 search path to sysdeps/powerpc/powerpc64/power8 directory.
6341 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6343 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6346 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6348 * INSTALL: Regenerate.
6350 * nscd/connections.c (nscd_init): Fix comment.
6352 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6354 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6357 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6358 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6360 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6362 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6364 (DL_DST_REQ_STATIC): Remove macro.
6366 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6369 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6370 with a shift of 0 bits.
6372 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6374 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6377 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6380 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6382 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6384 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6385 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6386 accepts -fno-tree-loop-distribute-patterns.
6387 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6388 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6390 * string/memset.c (memset): Likewise.
6391 * string/test-memmove.c (simple_memmove): Disable loop transformation
6393 * string/test-memset.c (simple_memset): Likewise.
6394 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6395 * benchtests/bench-memset.c (simple_memset): Likewise.
6396 * configure: Regenerated.
6398 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6400 * math/test-misc.c (main): Ignore fesetround failure when failures
6401 of subsequent rounding tests would be ignored.
6404 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6405 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6406 * math/fegetenv.c (__fegetenv): Return 0.
6407 * math/fegetexcept.c (fegetexcept): Return 0.
6408 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6410 * math/feholdexcpt.c (feholdexcept): Return 0.
6411 * math/fesetenv.c (__fesetenv): Return 0.
6412 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6413 argument FE_TONEAREST.
6414 * math/feupdateenv.c (__feupdateenv): Return 0.
6415 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6417 2013-06-18 Roland McGrath <roland@hack.frob.com>
6419 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6420 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6421 ($(objpfx)rtld-%.os rules): Use them.
6423 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6428 2013-06-17 Roland McGrath <roland@hack.frob.com>
6430 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6431 length of target pattern, then descending length of dependency pattern.
6432 * configure.in (AWK): Require gawk 3.1.2 or newer.
6433 * manual/install.texi (Tools for Compilation): Say that we do.
6434 * configure: Regenerated.
6436 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6437 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6438 * scripts/sysd-rules.awk: ... this new script.
6439 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6440 than a glob-style pattern.
6442 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6444 * math/test-misc.c (main): Do not treat incorrectly rounded
6445 conversions as failure unless ROUNDING_TESTS passes.
6447 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6450 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6451 restore exception state around main square root computation, then
6452 check for inexactness explicitly.
6454 * math/libm-test.inc (fma_test_data): Add another test.
6456 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6458 * manual/threads.texi (Non-POSIX Extensions): New document
6459 node. Document pthread_getattr_default_np and
6460 pthread_setattr_default_np.
6462 * Versions.def (libpthread): Add GLIBC_2.18.
6463 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6472 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6483 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6486 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6488 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6489 H.J. Lu <hjl.tools@gmail.com>
6492 * sysdeps/x86_64/rtld-memset.c: Remove file.
6493 * sysdeps/x86_64/rtld-memset.S: New file.
6495 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6497 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6498 (test_in_one_mode): Take arguments for whether the rounding mode
6499 is supported for each floating-point type.
6500 (do_test): Pass new arguments to test_in_one_mode using
6503 2013-06-13 Roland McGrath <roland@hack.frob.com>
6505 * posix/tst-waitid.c (do_test): Distinguish different instances of
6506 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6507 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6508 before entering the kernel for waitpid.
6510 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6512 * NEWS: Fix note on clock function precision. Text by Roland
6515 2013-06-13 Roland McGrath <roland@hack.frob.com>
6517 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6518 it into place only when and if the sanity check passes.
6520 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6522 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6523 output for whether conversion result is exact. Take argument
6524 indicating whether type is IBM long double.
6525 (round_for_all): Change need_exact field to ibm_ld.
6526 * stdlib/tst-strtod-round.c (struct exactness): New type.
6527 (struct test): Change bool ld_ok field to struct exactness exact.
6528 (TEST): Update all definitions for change to field.
6529 (tests): Regenerate array contents.
6530 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6531 field value. Check for IBM long double here.
6532 (do_test): Update calls to test_in_one_mode.
6534 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6537 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6538 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6540 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6544 generated by the compiler on loop optimizations.
6545 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6546 general definitions.
6548 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6550 * math/bug-nextafter.c: Include <math-tests.h>.
6551 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6553 * math/bug-nexttoward.c: Include <math-tests.h>.
6554 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6556 * math/test-misc.c: Include <math-tests.h>.
6557 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6560 2013-06-12 Andreas Jaeger <aj@suse.de>
6562 * po/ia.po: Update Interlingua translation from translation
6565 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6567 * include/fenv.h: Include stdbool.h.
6568 (struct rm_ctx): New structure.
6569 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6571 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6572 (SET_RESTORE_ROUNDF): Likewise.
6573 (SET_RESTORE_ROUNDL): Likewise.
6574 (SET_RESTORE_ROUND_NOEX): Likewise.
6575 (SET_RESTORE_ROUND_NOEXF): Likewise.
6576 (SET_RESTORE_ROUND_NOEXL): Likewise.
6577 (SET_RESTORE_ROUND_53BIT): Likewise.
6578 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6579 (libc_feresetround_noexf_ctx): Likewise.
6580 (libc_feresetround_noexl_ctx): Likewise.
6581 (libc_feholdsetround_53bit_ctx): Likewise.
6582 (libc_feresetround_53bit_ctx): Likewise.
6583 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6584 (libc_feholdexcept_setround_sse_ctx): New function.
6585 (libc_fesetenv_sse_ctx): Likewise.
6586 (libc_feupdateenv_sse_ctx): Likewise.
6587 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6588 (libc_feholdexcept_setround_387_ctx): Likewise.
6589 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6590 (libc_feholdsetround_387_prec_ctx): Likewise.
6591 (libc_feholdsetround_387_ctx): Likewise.
6592 (libc_feholdsetround_387_53bit_ctx): Likewise.
6593 (libc_feholdsetround_sse_ctx): Likewise.
6594 (libc_feresetround_sse_ctx): Likewise.
6595 (libc_feresetround_387_ctx): Likewise.
6596 (libc_feupdateenv_387_ctx): Likewise.
6597 (libc_feholdexcept_setroundf_ctx): Define macro.
6598 (libc_fesetenvf_ctx): Likewise.
6599 (libc_feupdateenvf_ctx): Likewise.
6600 (libc_feholdsetroundf_ctx): Likewise.
6601 (libc_feresetroundf_ctx): Likewise.
6602 (libc_feholdexcept_setround_ctx): Likewise.
6603 (libc_fesetenv_ctx): Likewise.
6604 (libc_feupdateenv_ctx): Likewise.
6605 (libc_feholdsetround_ctx): Likewise.
6606 (libc_feresetround_ctx): Likewise.
6607 (libc_feholdexcept_setroundl_ctx): Likewise.
6608 (libc_feupdateenvl_ctx): Likewise.
6609 (libc_feholdsetroundl_ctx): Likewise.
6610 (libc_feresetroundl_ctx): Likewise.
6611 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6612 (libc_feresetround_53bit_ctx): Likewise.
6614 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6616 * locale/iso-639.def: Convert to UTF-8.
6618 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6620 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6621 (EXCEPTION_TESTS_double): Likewise.
6622 (EXCEPTION_TESTS_long_double): Likewise.
6623 (EXCEPTION_TESTS): Likewise.
6624 * math/libm-test.inc (test_exceptions): Only test exceptions if
6625 EXCEPTION_TESTS (FLOAT).
6627 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6629 * benchtests/Makefile (string-bench): Add strcpy_chk and
6631 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6632 * benchtests/bench-stpcpy_chk.c: New file.
6633 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6634 * benchtests/bench-strcpy_chk.c: New file.
6635 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6637 (do_test): Likewise.
6639 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6641 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6642 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6643 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6644 with tabs where appropriate.
6645 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6647 [PPC_PLATFORM_PPC440]: Likewise.
6648 [PPC_PLATFORM_PPC464]: Likewise.
6649 [PPC_PLATFORM_PPC476]: Likewise.
6650 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6651 ppc464, and ppc476 platform strings merging from ports/
6654 2013-06-11 Andreas Schwab <schwab@suse.de>
6657 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6658 (from_ucs4_idx): Regenerate.
6659 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6660 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6661 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6662 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6663 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6664 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6665 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6666 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6667 from FROM_LOOP and TO_LOOP specific macros.
6668 (BODY): Handle combining characters.
6669 * iconvdata/BIG5HKSCS.irreversible: Update.
6670 * iconvdata/BIG5HKSCS.precomposed: New file.
6671 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6673 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6675 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6677 * include/sys/time.h: Fix indentation and add copyright header.
6679 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6680 (do_test): Likewise.
6681 * string/test-memchr.c (do_one_test): Likewise.
6682 (do_test): Likewise.
6683 * string/test-memcmp.c (do_one_test): Likewise.
6684 (do_test): Likewise.
6685 * string/test-memcpy.c (do_one_test): Likewise.
6686 (do_test): Likewise.
6687 * string/test-memmem.c (do_one_test): Likewise.
6688 (do_test): Likewise.
6689 (do_random_tests): Likewise.
6690 * string/test-memmove.c (do_one_test): Likewise.
6691 (do_test): Likewise.
6692 * string/test-memset.c (do_one_test): Likewise.
6693 (do_test): Likewise.
6694 * string/test-rawmemchr.c (do_one_test): Likewise.
6695 (do_test): Likewise.
6696 * string/test-strcasecmp.c (do_one_test): Likewise.
6697 (do_test): Likewise.
6698 * string/test-strcasestr.c (do_one_test): Likewise.
6699 (do_test): Likewise.
6700 * string/test-strcat.c (do_one_test): Likewise.
6701 (do_test): Likewise.
6702 * string/test-strchr.c (do_one_test): Likewise.
6703 (do_test): Likewise.
6704 * string/test-strcmp.c (do_one_test): Likewise.
6705 (do_test): Likewise.
6706 * string/test-strcpy.c (do_one_test): Likewise.
6707 (do_test): Likewise.
6708 * string/test-string.h: Likewise.
6709 (test_init): Likewise.
6710 * string/test-strlen.c (do_one_test): Likewise.
6711 (do_test): Likewise.
6712 * string/test-strncasecmp.c (do_one_test): Likewise.
6713 (do_test): Likewise.
6714 * string/test-strncat.c (do_one_test): Likewise.
6715 (do_test): Likewise.
6716 * string/test-strncmp.c (do_one_test): Likewise.
6717 (do_test_limit): Likewise.
6718 (do_test): Likewise.
6719 * string/test-strncpy.c (do_one_test): Likewise.
6720 (do_test): Likewise.
6721 * string/test-strnlen.c (do_one_test): Likewise.
6722 (do_test): Likewise.
6723 * string/test-strpbrk.c (do_one_test): Likewise.
6724 (do_test): Likewise.
6725 * string/test-strrchr.c (do_one_test): Likewise.
6726 (do_test): Likewise.
6727 * string/test-strspn.c (do_one_test): Likewise.
6728 (do_test): Likewise.
6729 * string/test-strstr.c (do_one_test): Likewise.
6730 (do_test): Likewise.
6732 * benchtests/Makefile (string-bench): Add string benchmarks.
6733 * benchtests/bench-bcopy-ifunc.c: New file.
6734 * benchtests/bench-bcopy.c: New file.
6735 * benchtests/bench-bzero-ifunc.c: New file.
6736 * benchtests/bench-bzero.c: New file.
6737 * benchtests/bench-memccpy-ifunc.c: New file.
6738 * benchtests/bench-memccpy.c: New file.
6739 * benchtests/bench-memchr-ifunc.c: New file.
6740 * benchtests/bench-memchr.c: New file.
6741 * benchtests/bench-memcmp-ifunc.c: New file.
6742 * benchtests/bench-memcmp.c: New file.
6743 * benchtests/bench-memmem-ifunc.c: New file.
6744 * benchtests/bench-memmem.c: New file.
6745 * benchtests/bench-memmove-ifunc.c: New file.
6746 * benchtests/bench-memmove.c: New file.
6747 * benchtests/bench-mempcpy-ifunc.c: New file.
6748 * benchtests/bench-mempcpy.c: New file.
6749 * benchtests/bench-memset-ifunc.c: New file.
6750 * benchtests/bench-memset.c: New file.
6751 * benchtests/bench-rawmemchr-ifunc.c: New file.
6752 * benchtests/bench-rawmemchr.c: New file.
6753 * benchtests/bench-stpcpy-ifunc.c: New file.
6754 * benchtests/bench-stpcpy.c: New file.
6755 * benchtests/bench-stpncpy-ifunc.c: New file.
6756 * benchtests/bench-stpncpy.c: New file.
6757 * benchtests/bench-strcasecmp-ifunc.c: New file.
6758 * benchtests/bench-strcasecmp.c: New file.
6759 * benchtests/bench-strcasestr-ifunc.c: New file.
6760 * benchtests/bench-strcasestr.c: New file.
6761 * benchtests/bench-strcat-ifunc.c: New file.
6762 * benchtests/bench-strcat.c: New file.
6763 * benchtests/bench-strchr-ifunc.c: New file.
6764 * benchtests/bench-strchr.c: New file.
6765 * benchtests/bench-strchrnul-ifunc.c: New file.
6766 * benchtests/bench-strchrnul.c: New file.
6767 * benchtests/bench-strcmp-ifunc.c: New file.
6768 * benchtests/bench-strcmp.c: New file.
6769 * benchtests/bench-strcpy-ifunc.c: New file.
6770 * benchtests/bench-strcpy.c: New file.
6771 * benchtests/bench-strcspn-ifunc.c: New file.
6772 * benchtests/bench-strcspn.c: New file.
6773 * benchtests/bench-strlen-ifunc.c: New file.
6774 * benchtests/bench-strlen.c: New file.
6775 * benchtests/bench-strncasecmp-ifunc.c: New file.
6776 * benchtests/bench-strncasecmp.c: New file.
6777 * benchtests/bench-strncat-ifunc.c: New file.
6778 * benchtests/bench-strncat.c: New file.
6779 * benchtests/bench-strncmp-ifunc.c: New file.
6780 * benchtests/bench-strncmp.c: New file.
6781 * benchtests/bench-strncpy-ifunc.c: New file.
6782 * benchtests/bench-strncpy.c: New file.
6783 * benchtests/bench-strnlen-ifunc.c: New file.
6784 * benchtests/bench-strnlen.c: New file.
6785 * benchtests/bench-strpbrk-ifunc.c: New file.
6786 * benchtests/bench-strpbrk.c: New file.
6787 * benchtests/bench-strrchr-ifunc.c: New file.
6788 * benchtests/bench-strrchr.c: New file.
6789 * benchtests/bench-strspn-ifunc.c: New file.
6790 * benchtests/bench-strspn.c: New file.
6791 * benchtests/bench-strstr-ifunc.c: New file.
6792 * benchtests/bench-strstr.c: New file.
6794 * benchtests/Makefile: Disable parallel execution of targets.
6795 (string-bench): Add memcpy.
6796 (benchset): New variable to store a list of benchmark sets.
6797 (bench-func): Renamed from bench.
6798 (bench-set): New target.
6799 (bench): Depend on bench-func and bench-set.
6800 * benchtests/README: Add section on benchmark sets.
6801 * benchtests/bench-memcpy-ifunc.c: New file.
6802 * benchtests/bench-memcpy.c: New file.
6803 * benchtests/bench-string.h: New file.
6805 2013-06-11 Andreas Schwab <schwab@suse.de>
6808 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6809 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6810 values in the triple.
6811 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6812 terminator in the group key.
6814 2013-06-11 Andreas Jaeger <aj@suse.de>
6816 * po/zh_TW.po: Update Chinese (traditional) translation from
6817 translation project.
6819 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6821 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6822 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6823 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6825 (clock_getcpuclockid): Likewise.
6826 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6827 Add weak_alias and libc_hidden_def.
6828 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6829 * rt/clock_gettime.c (clock_gettime): Rename to
6830 __clock_gettime. Add weak_alias and libc_hidden_def.
6831 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6832 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6833 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6834 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6835 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6837 * rt/clock_settime.c (clock_settime): Rename to
6838 __clock_settime. Add weak_alias and libc_hidden_def.
6839 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6841 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6843 * mach/err_boot.sub: Remove trailing whitespace.
6844 * mach/err_ipc.sub: Likewise.
6845 * mach/err_mach.sub: Likewise.
6847 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6848 (ROUNDING_TESTS_double): Likewise.
6849 (ROUNDING_TESTS_long_double): Likewise.
6850 (ROUNDING_TESTS): Likewise.
6851 * math/libm-test.inc: Include <math-tests.h>.
6852 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6853 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6854 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6855 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6857 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6859 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6862 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6864 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6865 otherwise empty TRANS lines.
6866 * sysdeps/gnu/errlist.c: Regenerated.
6868 * catgets/gencat.c (error_print): Use (void) in function
6870 * crypt/crypt_util.c (__init_des): Likewise.
6871 * crypt/speeds.c (Stop): Likewise.
6873 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6874 * inet/ruserpass.c (token): Likewise.
6875 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6876 * intl/localealias.c (extend_alias_table): Likewise.
6877 * intl/plural-exp.c (init_germanic_plural): Likewise.
6878 * libio/fcloseall.c (__fcloseall): Likewise.
6879 * libio/genops.c (_IO_flush_all): Likewise.
6880 (_IO_flush_all_linebuffered): Likewise.
6881 (_IO_cleanup): Likewise.
6882 (_IO_iter_begin): Likewise.
6883 (_IO_iter_end): Likewise.
6884 (_IO_list_lock): Likewise.
6885 (_IO_list_unlock): Likewise.
6886 (_IO_list_resetlock): Likewise.
6887 * libio/getchar.c (getchar): Likewise.
6888 * libio/getchar_u.c (getchar_unlocked): Likewise.
6889 * libio/getwchar.c (getwchar): Likewise.
6890 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6891 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6892 * login/getpt.c (__getpt): Likewise.
6893 * login/tst-utmp.c (main): Likewise.
6894 * malloc/hooks.c (__malloc_check_init): Likewise.
6895 * malloc/malloc.c (__malloc_stats): Likewise.
6896 * malloc/mtrace.c (tr_break): Likewise.
6898 (muntrace): Likewise.
6899 * misc/fstab.c (endfsent): Likewise.
6900 * misc/getclktck.c (__getclktck): Likewise.
6901 * misc/getdtsz.c (__getdtablesize): Likewise.
6902 * misc/gethostid.c (gethostid): Likewise.
6903 * misc/getpagesize.c (__getpagesize): Likewise.
6904 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6905 (__get_nprocs): Likewise.
6906 (__get_phys_pages): Likewise.
6907 (__get_avphys_pages): Likewise.
6908 * misc/getttyent.c (getttyent): Likewise.
6909 (setttyent): Likewise.
6910 (endttyent): Likewise.
6911 * misc/getusershell.c (getusershell): Likewise.
6912 (endusershell): Likewise.
6913 (setusershell): Likewise.
6914 (initshells): Likewise.
6915 * misc/hsearch.c (__hdestroy): Likewise.
6916 * misc/sync.c (sync): Likewise.
6917 * misc/syslog.c (closelog_internal): Likewise.
6918 (closelog): Likewise.
6919 * misc/ttyslot.c (ttyslot): Likewise.
6920 * misc/vhangup.c (vhangup): Likewise.
6921 * posix/fork.c (__fork): Likewise.
6922 * posix/getegid.c (__getegid): Likewise.
6923 * posix/geteuid.c (__geteuid): Likewise.
6924 * posix/getgid.c (__getgid): Likewise.
6925 * posix/getpid.c (__getpid): Likewise.
6926 * posix/getppid.c (__getppid): Likewise.
6927 * posix/getuid.c (__getuid): Likewise.
6928 * posix/pause.c (pause): Likewise.
6929 * posix/setpgrp.c (setpgrp): Likewise.
6930 * posix/setsid.c (__setsid): Likewise.
6931 * posix/test-vfork.c (noop): Likewise.
6932 * resolv/gethnamaddr.c (_endhtent): Likewise.
6933 (_gethtent): Likewise.
6934 (ht_endhostent): Likewise.
6935 (gethostent): Likewise.
6936 (dns_service): Likewise.
6937 * stdlib/drand48.c (drand48): Likewise.
6938 * stdlib/lrand48.c (lrand48): Likewise.
6939 * stdlib/mrand48.c (mrand48): Likewise.
6940 * stdlib/rand.c (rand): Likewise.
6941 * stdlib/random.c (__random): Likewise.
6942 * stdlib/setenv.c (clearenv): Likewise.
6943 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6944 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6945 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6946 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6947 (__get_nprocs): Likewise.
6948 (__get_phys_pages): Likewise.
6949 (__get_avphys_pages): Likewise.
6950 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6951 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6952 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6953 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6954 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6955 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6956 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6957 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6958 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6959 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6960 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6961 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6962 * sysdeps/posix/clock.c (clock): Likewise.
6963 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6964 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6965 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6966 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6967 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6968 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6969 (__get_nprocs_conf): Likewise.
6970 (__get_phys_pages): Likewise.
6971 (__get_avphys_pages): Likewise.
6972 * time/clock.c (clock): Likewise.
6973 * time/tzset.c (__tzname_max): Likewise.
6975 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6977 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6978 (__bswap_32): Do not use "register".
6979 * crypt/crypt.c (_ufc_doit_r): Likewise.
6980 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6981 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6982 * gmon/gmon.c (__monstartup): Likewise.
6983 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6984 * hurd/hurdmalloc.c (more_memory): Likewise.
6987 (realloc): Likewise.
6988 (malloc_fork_prepare): Likewise.
6989 (malloc_fork_parent): Likewise.
6990 (malloc_fork_child): Likewise.
6991 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6992 (_svcauth_des): Likewise.
6993 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6994 * inet/inet_net.c (inet_network): Likewise.
6995 * inet/inet_netof.c (inet_netof): Likewise.
6996 * inet/rcmd.c (__validuser2_sa): Likewise.
6997 * io/fts.c (fts_open): Likewise.
6998 (fts_load): Likewise.
6999 (fts_close): Likewise.
7000 (fts_read): Likewise.
7001 (fts_children): Likewise.
7002 (fts_build): Likewise.
7003 (fts_stat): Likewise.
7004 (fts_sort): Likewise.
7005 (fts_alloc): Likewise.
7006 (fts_lfree): Likewise.
7007 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7008 (_IO_file_xsgetn): Likewise.
7009 (_IO_file_xsgetn_mmap): Likewise.
7010 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7011 (_IO_cookie_write): Likewise.
7012 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7013 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7014 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7015 * malloc/obstack.c (_obstack_begin): Likewise.
7016 (_obstack_begin_1): Likewise.
7017 (_obstack_newchunk): Likewise.
7018 (_obstack_allocated_p): Likewise.
7019 (obstack_free): Likewise.
7020 (_obstack_memory_used): Likewise.
7021 * misc/getttyent.c (getttynam): Likewise.
7022 (getttyent): Likewise.
7025 * misc/getusershell.c (initshells): Likewise.
7026 * misc/syslog.c (__vsyslog_chk): Likewise.
7027 * misc/ttyslot.c (ttyslot): Likewise.
7028 * nis/nis_hash.c (__nis_hash): Likewise.
7029 * posix/fnmatch_loop.c (FCT): Likewise.
7030 * posix/getconf.c (print_all): Likewise.
7032 * posix/getopt.c (exchange): Likewise.
7033 * posix/glob.c (globfree): Likewise.
7034 (prefix_array): Likewise.
7035 (__glob_pattern_type): Likewise.
7036 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7037 (NS_GET32): Likewise.
7038 (NS_PUT16): Likewise.
7039 (NS_PUT32): Likewise.
7040 * resolv/gethnamaddr.c (getanswer): Likewise.
7041 (gethostbyname2): Likewise.
7042 (gethostbyaddr): Likewise.
7043 (_gethtent): Likewise.
7044 (_gethtbyname2): Likewise.
7045 (_gethtbyaddr): Likewise.
7046 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7047 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7048 * resolv/res_init.c (__res_vinit): Likewise.
7049 (net_mask): Likewise.
7050 * resolv/res_mkquery.c (outchar): Likewise.
7052 * stdio-common/printf_fp.c (outchar): Likewise.
7054 * stdio-common/printf_fphex.c (outchar): Likewise.
7056 * stdio-common/printf_size.c (outchar): Likewise.
7058 * stdio-common/test_rdwr.c (main): Likewise.
7059 * stdio-common/tfformat.c (matches): Likewise.
7060 * stdio-common/vfprintf.c (outchar): Likewise.
7061 (printf_unknown): Likewise.
7062 (buffered_vfprintf): Likewise.
7063 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7064 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7065 (ReadFile): Likewise.
7066 * stdlib/qsort.c (SWAP): Likewise.
7067 (_quicksort): Likewise.
7068 * stdlib/setenv.c (__add_to_environ): Likewise.
7069 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7070 * stdlib/strtol_l.c (__strtol_l): Likewise.
7071 * stdlib/tst-strtod.c (main): Likewise.
7072 * stdlib/tst-strtol.c (main): Likewise.
7073 * stdlib/tst-strtoll.c (main): Likewise.
7074 * string/bits/string2.h (__strcmp_cc): Likewise.
7075 (__strcmp_cg): Likewise.
7076 (__strcspn_c1): Likewise.
7077 (__strcspn_c2): Likewise.
7078 (__strcspn_c3): Likewise.
7079 (__strspn_c1): Likewise.
7080 (__strspn_c2): Likewise.
7081 (__strspn_c3): Likewise.
7082 (__strsep_1c): Likewise.
7083 (__strsep_2c): Likewise.
7084 (__strsep_3c): Likewise.
7085 * string/memccpy.c (__memccpy): Likewise.
7086 * string/stpcpy.c (__stpcpy): Likewise.
7087 * string/strcmp.c (strcmp): Likewise.
7088 * string/strrchr.c (strrchr): Likewise.
7089 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7091 * sysdeps/mach/hurd/getcwd.c
7092 (_hurd_canonicalize_directory_name_internal): Likewise.
7093 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7094 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7095 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7096 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7097 Likewise, in both definitions.
7098 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7100 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7101 64] (__bswap_64): Likewise.
7102 * time/test_time.c (main): Likewise.
7103 * time/tzfile.c (__tzfile_read): Likewise.
7104 (__tzfile_compute): Likewise.
7105 * time/tzset.c (__tzset_parse_tz): Likewise.
7106 (tzset_internal): Likewise.
7107 (compute_change): Likewise.
7108 * wcsmbs/wcscat.c (__wcscat): Likewise.
7109 * wcsmbs/wcschr.c (wcschr): Likewise.
7110 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7111 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7112 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7113 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7114 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7115 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7116 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7117 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7118 * wcsmbs/wmemset.c (wmemset): Likewise.
7120 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7122 * scripts/config.guess: Update to version 2013-05-16.
7123 * scripts/config.sub: Update to version 2013-04-24.
7124 * scripts/install-sh: Update to version 2011-11-20.07.
7125 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7126 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7128 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7130 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7131 * elf/sln.c: Likewise.
7132 * hurd/hurd/ioctl.h: Likewise.
7133 * hurd/hurdmalloc.c: Likewise.
7134 * hurd/xattr.c: Likewise.
7135 * include/shlib-compat.h: Likewise.
7136 * inet/ruserpass.c: Likewise.
7137 * libio/iofgets_u.c: Likewise.
7138 * libio/iofgetws_u.c: Likewise.
7139 * locale/programs/ld-identification.c: Likewise.
7140 * locale/programs/ld-time.c: Likewise.
7141 * mach/msg-destroy.c: Likewise.
7142 * nss/nss_files/files-netgrp.c: Likewise.
7143 * resolv/res_data.c: Likewise.
7144 * soft-fp/op-1.h: Likewise.
7145 * soft-fp/op-2.h: Likewise.
7146 * soft-fp/op-4.h: Likewise.
7147 * soft-fp/op-common.h: Likewise.
7148 * stdio-common/printf_fphex.c: Likewise.
7149 * stdlib/strtod_l.c: Likewise.
7150 * sunrpc/rpc/clnt.h: Likewise.
7151 * sysdeps/generic/framestate.c: Likewise.
7152 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7153 * sysdeps/i386/bsd-setjmp.S: Likewise.
7154 * sysdeps/i386/__longjmp.S: Likewise.
7155 * sysdeps/i386/setjmp.S: Likewise.
7156 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7158 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7174 * sysdeps/ieee754/support.c: Likewise.
7175 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7176 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7177 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7178 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7179 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7180 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7181 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7182 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7183 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7184 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7185 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7186 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7187 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7188 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7189 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7190 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7191 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7194 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7196 * posix/transbug.c: Remove executable mode.
7198 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7200 * crypt/speeds.c: Remove trailing whitespace.
7201 * dlfcn/default.c: Likewise.
7202 * elf/ifuncdep2.c: Likewise.
7203 * elf/ifuncmain1.c: Likewise.
7204 * elf/ifuncmain1vis.c: Likewise.
7205 * elf/testobj.h: Likewise.
7206 * elf/tst-stackguard1.c: Likewise.
7207 * gmon/sys/gmon.h: Likewise.
7208 * hurd/hurdmsg.c: Likewise.
7209 * hurd/new-fd.c: Likewise.
7210 * hurd/ports-get.c: Likewise.
7211 * iconvdata/ibm1008_420.c: Likewise.
7212 * inet/tst-getni1.c: Likewise.
7213 * inet/tst-getni2.c: Likewise.
7214 * libio/ioungetc.c: Likewise.
7215 * libio/wfiledoalloc.c: Likewise.
7216 * manual/libm-err-tab.pl: Likewise.
7217 * math/w_dremf.c: Likewise.
7218 * misc/ftruncate.c: Likewise.
7219 * posix/bug-glob2.c: Likewise.
7220 * posix/tst-pcre.c: Likewise.
7221 * posix/wait4.c: Likewise.
7222 * resolv/README: Likewise.
7223 * resolv/res_debug.h: Likewise.
7224 * resolv/tst-inet_ntop.c: Likewise.
7225 * setjmp/bug269-setjmp.c: Likewise.
7226 * soft-fp/extended.h: Likewise.
7227 * soft-fp/op-1.h: Likewise.
7228 * soft-fp/op-2.h: Likewise.
7229 * soft-fp/op-4.h: Likewise.
7230 * soft-fp/op-8.h: Likewise.
7231 * soft-fp/testit.c: Likewise.
7232 * stdio-common/bug16.c: Likewise.
7233 * stdlib/random.c: Likewise.
7234 * sunrpc/rpcsvc/rquota.x: Likewise.
7235 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7236 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7238 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7239 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7264 * sysdeps/ieee754/s_lib_version.c: Likewise.
7265 * sysdeps/mach/hurd/check_fds.c: Likewise.
7266 * sysdeps/mach/hurd/getsockname.c: Likewise.
7267 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7268 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7269 * sysdeps/powerpc/bits/link.h: Likewise.
7270 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7271 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7272 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7273 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7274 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7275 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7276 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7277 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7278 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7279 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7280 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7281 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7282 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7283 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7284 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7285 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7286 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7287 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7288 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7289 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7290 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7291 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7292 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7293 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7294 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7296 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7297 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7299 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7300 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7301 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7302 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7303 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7304 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7305 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7306 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7307 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7308 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7309 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7310 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7311 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7312 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7313 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7314 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7315 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7316 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7317 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7318 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7319 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7321 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7322 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7323 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7324 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7325 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7326 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7327 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7328 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7329 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7330 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7331 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7332 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7333 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7334 * sysdeps/powerpc/sysdep.h: Likewise.
7335 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7336 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7337 * sysdeps/sh/dl-trampoline.S: Likewise.
7338 * sysdeps/sh/memset.S: Likewise.
7339 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7340 * sysdeps/sh/strlen.S: Likewise.
7341 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7342 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7343 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7344 * sysdeps/sparc/sparc32/rem.S: Likewise.
7345 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7346 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7347 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7348 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7349 * sysdeps/sparc/sparc32/urem.S: Likewise.
7350 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7351 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7352 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7353 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7355 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7356 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7357 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7358 * sysdeps/unix/bsd/times.c: Likewise.
7359 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7360 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7366 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7367 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7368 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7369 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7370 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7371 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7372 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7373 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7374 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7375 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7376 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7377 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7378 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7379 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7380 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7381 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7382 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7383 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7384 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7385 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7386 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7387 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7388 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7389 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7390 * sysdeps/x86_64/strcspn.S: Likewise.
7392 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7394 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7395 generated file. Regenerate properly from gen-translit.pl.
7396 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7397 locale/C-translit.h.
7399 2013-06-05 Andreas Schwab <schwab@suse.de>
7402 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7403 week as 6 instead of -1.
7404 * time/tst-strptime.c (day_tests): Add test case.
7406 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7408 * sysdeps/generic/math_private.h
7409 (libc_feholdexcept_setround_53bit): Replace with
7410 libc_feholdsetround_53bit.
7411 (libc_feupdateenv_53bit): Replace with
7412 libc_feresetround_53bit.
7413 (SET_RESTORE_ROUND_53BIT): Adjust.
7415 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7417 * string/test-strchrnul.c: Add copyright header.
7419 * posix/tst-getaddrinfo4.c: Increase test timeout.
7421 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7424 * math/libm-test.inc (MAX_EXP): Remove
7426 (ulp): Use MIN_EXP - MANT_DIG.
7427 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7429 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7431 * po/be.po: Revert last change.
7432 * po/zh_CN.po: Likewise.
7433 * po/header.pot: Likewise.
7435 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7437 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7438 link-libc-deps to empty as target-specific variable.
7439 * Makerules (link-libc-args): New variable.
7440 (libc-for-link): Likewise.
7441 (link-libc-deps): Likewise.
7442 (lib%.so): Depend on $(link-libc-deps). Link with
7444 (build-module): Link with $(link-libc-args).
7445 (build-module-asneeded): Likewise.
7446 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7448 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7449 target-specific variable.
7450 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7451 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7452 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7454 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7456 ($(objpfx)libpcprofile.so): Likewise.
7457 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7459 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7460 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7461 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7463 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7464 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7465 * login/Makefile ($(objpfx)libutil.so): Likewise.
7466 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7467 * math/Makefile ($(objpfx)libm.so): Likewise.
7468 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7469 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7470 variable instead of depending directly on libc.
7471 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7472 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7474 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7476 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7477 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7478 ($(objpfx)libanl.so): Likewise.
7479 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7481 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7483 * sysdeps/i386/fpu/Makefile: Remove file.
7484 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7485 ($(objpfx)libm.so): Remove dependency on ld.so.
7487 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7490 * nis/yp_xdr.c (XDRMAXNAME): Define.
7491 (XDRMAXRECORD): Define.
7492 (xdr_domainname): Use XDRMAXNAME.
7493 (xdr_mapname): Likewise.
7494 (xdr_peername): Likewise.
7495 (xdr_keydat): Use XDRMAXRECORD.
7496 (xdr_valdat): Likewise.
7498 2013-05-30 Jeff Law <law@redhat.com>
7501 * manual/errno.texi (ESTALE): Update to account for more than
7502 just NFS file systems.
7503 * sysdeps/gnu/errlist.c: Regenerated.
7505 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7508 * elf/Makefile (tests): Add tst-null-argv.
7509 (modules-names): Add tst-null-argv-lib.
7510 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7511 (tst-null-argv-ENV): Set environment for tst-null-argv.
7512 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7513 (RTLD_PROGNAME): New macro.
7514 * elf/tst-null-argv.c: New test case.
7515 * elf/tst-null-argv-lib.c: Library for test case.
7516 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7517 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7518 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7519 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7520 * elf/dl-init.c (call_init): Likewise.
7521 (_dl_init): Likewise.
7522 * elf/dl-load.c (print_search_path): Likewise.
7523 (_dl_map_object): Likewise.
7524 * elf/dl-lookup.c (do_lookup_x): Likewise.
7525 (add_dependency): Likewise.
7526 (_dl_lookup_symbol_x): Likewise.
7527 (_dl_debug_bindings): Likewise.
7528 * elf/dl-open.c (_dl_show_scope): Likewise.
7529 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7530 * elf/dl-version.c (match_symbol): Likewise.
7531 (_dl_check_map_versions): Likewise.
7532 * elf/rtld.c (dl_main): Likewise.
7533 (print_unresolved): Use RTLD_PROGNAME.
7534 (print_missing_version): Likewise.
7535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7536 (elf_machine_rela): Likewise.
7537 * sysdeps/powerpc/powerpc32/dl-machine.c
7538 (__process_machine_rela): Likewise.
7539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7543 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7545 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7548 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7552 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7554 * po/be.po: Add descriptive title.
7555 * po/zh_CN.po: Likewise.
7556 * po/header.pot: Likewise.
7558 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7560 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7562 (enlarge_archive): Likewise.
7564 2013-05-28 Ben North <ben@redfrontdoor.org>
7566 * manual/arith.texi (frexp): It is the magnitude of the return
7567 value which lies in [0.5, 1), not the return value itself.
7569 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7573 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7575 * stdio-common/bug26.c (main): Correct fscanf template.
7577 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7578 declare _dl_skip_args.
7580 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7583 * manual/platform.texi: Add missing @end deftypefun.
7585 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7588 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7589 bit of mantissa of 2^16382.
7590 * math/libm-test.inc (hypot_test_data): Add more tests.
7592 * math/libm-test.inc: Add drem and pow10 to list of tested
7594 (pow10_test): New function.
7595 (drem_test): Likewise.
7596 (drem_test_tonearest): Likewise.
7597 (drem_test_towardzero): Likewise.
7598 (drem_test_downward): Likewise.
7599 (drem_test_upward): Likewise.
7600 (main): Call the new functions.
7602 * math/libm-test.inc (finite_test_data): Remove.
7603 (finite_test): Run tests from isfinite_test_data.
7604 (gamma_test_data): Remove.
7605 (gamma_test): Run tests from lgamma_test_data.
7606 * sysdeps/i386/fpu/libm-test-ulps: Update.
7607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7609 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7611 * manual/platform.texi: Add PowerPC PPR function set documentation.
7612 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7615 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7617 * math/libm-test.inc (MAX_EXP): Define.
7619 (ulp): New function.
7620 (check_float_internal): Use ULPDIFF.
7621 (cpow_test): Disable failing test.
7622 (check_ulp): Test ulp() implemetnation.
7623 (main): Call check_ulp before starting tests.
7625 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7627 * math/gen-libm-test.pl (generate_testfile): Do not handle
7628 START_DATA and END_DATA.
7629 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7631 (acos_tonearest_test_data): Likewise.
7632 (acos_towardzero_test_data): Likewise.
7633 (acos_downward_test_data): Likewise.
7634 (acos_upward_test_data): Likewise.
7635 (acosh_test_data): Likewise.
7636 (asin_test_data): Likewise.
7637 (asin_tonearest_test_data): Likewise.
7638 (asin_towardzero_test_data): Likewise.
7639 (asin_downward_test_data): Likewise.
7640 (asin_upward_test_data): Likewise.
7641 (asinh_test_data): Likewise.
7642 (atan_test_data): Likewise.
7643 (atanh_test_data): Likewise.
7644 (atan2_test_data): Likewise.
7645 (cabs_test_data): Likewise.
7646 (cacos_test_data): Likewise.
7647 (cacosh_test_data): Likewise.
7648 (carg_test_data): Likewise.
7649 (casin_test_data): Likewise.
7650 (casinh_test_data): Likewise.
7651 (catan_test_data): Likewise.
7652 (catanh_test_data): Likewise.
7653 (cbrt_test_data): Likewise.
7654 (ccos_test_data): Likewise.
7655 (ccosh_test_data): Likewise.
7656 (ceil_test_data): Likewise.
7657 (cexp_test_data): Likewise.
7658 (cimag_test_data): Likewise.
7659 (clog_test_data): Likewise.
7660 (clog10_test_data): Likewise.
7661 (conj_test_data): Likewise.
7662 (copysign_test_data): Likewise.
7663 (cos_test_data): Likewise.
7664 (cos_tonearest_test_data): Likewise.
7665 (cos_towardzero_test_data): Likewise.
7666 (cos_downward_test_data): Likewise.
7667 (cos_upward_test_data): Likewise.
7668 (cosh_test_data): Likewise.
7669 (cosh_tonearest_test_data): Likewise.
7670 (cosh_towardzero_test_data): Likewise.
7671 (cosh_downward_test_data): Likewise.
7672 (cosh_upward_test_data): Likewise.
7673 (cpow_test_data): Likewise.
7674 (cproj_test_data): Likewise.
7675 (creal_test_data): Likewise.
7676 (csin_test_data): Likewise.
7677 (csinh_test_data): Likewise.
7678 (csqrt_test_data): Likewise.
7679 (ctan_test_data): Likewise.
7680 (ctan_tonearest_test_data): Likewise.
7681 (ctan_towardzero_test_data): Likewise.
7682 (ctan_downward_test_data): Likewise.
7683 (ctan_upward_test_data): Likewise.
7684 (ctanh_test_data): Likewise.
7685 (ctanh_tonearest_test_data): Likewise.
7686 (ctanh_towardzero_test_data): Likewise.
7687 (ctanh_downward_test_data): Likewise.
7688 (ctanh_upward_test_data): Likewise.
7689 (erf_test_data): Likewise.
7690 (erfc_test_data): Likewise.
7691 (exp_test_data): Likewise.
7692 (exp_tonearest_test_data): Likewise.
7693 (exp_towardzero_test_data): Likewise.
7694 (exp_downward_test_data): Likewise.
7695 (exp_upward_test_data): Likewise.
7696 (exp10_test_data): Likewise.
7697 (exp2_test_data): Likewise.
7698 (expm1_test_data): Likewise.
7699 (fabs_test_data): Likewise.
7700 (fdim_test_data): Likewise.
7701 (finite_test_data): Likewise.
7702 (floor_test_data): Likewise.
7703 (fma_test_data): Likewise.
7704 (fma_towardzero_test_data): Likewise.
7705 (fma_downward_test_data): Likewise.
7706 (fma_upward_test_data): Likewise.
7707 (fmax_test_data): Likewise.
7708 (fmin_test_data): Likewise.
7709 (fmod_test_data): Likewise.
7710 (fpclassify_test_data): Likewise.
7711 (frexp_test_data): Likewise.
7712 (gamma_test_data): Likewise.
7713 (hypot_test_data): Likewise.
7714 (ilogb_test_data): Likewise.
7715 (isfinite_test_data): Likewise.
7716 (isgreater_test_data): Likewise.
7717 (isgreaterequal_test_data): Likewise.
7718 (isinf_test_data): Likewise.
7719 (isless_test_data): Likewise.
7720 (islessequal_test_data): Likewise.
7721 (islessgreater_test_data): Likewise.
7722 (isnan_test_data): Likewise.
7723 (isnormal_test_data): Likewise.
7724 (issignaling_test_data): Likewise.
7725 (isunordered_test_data): Likewise.
7726 (j0_test_data): Likewise.
7727 (j1_test_data): Likewise.
7728 (jn_test_data): Likewise.
7729 (ldexp_test_data): Likewise.
7730 (lgamma_test_data): Likewise.
7731 (lrint_test_data): Likewise.
7732 (lrint_tonearest_test_data): Likewise.
7733 (lrint_towardzero_test_data): Likewise.
7734 (lrint_downward_test_data): Likewise.
7735 (lrint_upward_test_data): Likewise.
7736 (llrint_test_data): Likewise.
7737 (llrint_tonearest_test_data): Likewise.
7738 (llrint_towardzero_test_data): Likewise.
7739 (llrint_downward_test_data): Likewise.
7740 (llrint_upward_test_data): Likewise.
7741 (log_test_data): Likewise.
7742 (log10_test_data): Likewise.
7743 (log1p_test_data): Likewise.
7744 (log2_test_data): Likewise.
7745 (logb_test_data): Likewise.
7746 (logb_downward_test_data): Likewise.
7747 (lround_test_data): Likewise.
7748 (llround_test_data): Likewise.
7749 (modf_test_data): Likewise.
7750 (nearbyint_test_data): Likewise.
7751 (nextafter_test_data): Likewise.
7752 (nexttoward_test_data): Likewise.
7753 (pow_test_data): Likewise.
7754 (pow_tonearest_test_data): Likewise.
7755 (pow_towardzero_test_data): Likewise.
7756 (pow_downward_test_data): Likewise.
7757 (pow_upward_test_data): Likewise.
7758 (remainder_test_data): Likewise.
7759 (remainder_tonearest_test_data): Likewise.
7760 (remainder_towardzero_test_data): Likewise.
7761 (remainder_downward_test_data): Likewise.
7762 (remainder_upward_test_data): Likewise.
7763 (remquo_test_data): Likewise.
7764 (rint_test_data): Likewise.
7765 (rint_tonearest_test_data): Likewise.
7766 (rint_towardzero_test_data): Likewise.
7767 (rint_downward_test_data): Likewise.
7768 (rint_upward_test_data): Likewise.
7769 (round_test_data): Likewise.
7770 (scalb_test_data): Likewise.
7771 (scalbn_test_data): Likewise.
7772 (scalbln_test_data): Likewise.
7773 (signbit_test_data): Likewise.
7774 (sin_test_data): Likewise.
7775 (sin_tonearest_test_data): Likewise.
7776 (sin_towardzero_test_data): Likewise.
7777 (sin_downward_test_data): Likewise.
7778 (sin_upward_test_data): Likewise.
7779 (sincos_test_data): Likewise.
7780 (sinh_test_data): Likewise.
7781 (sinh_tonearest_test_data): Likewise.
7782 (sinh_towardzero_test_data): Likewise.
7783 (sinh_downward_test_data): Likewise.
7784 (sinh_upward_test_data): Likewise.
7785 (sqrt_test_data): Likewise.
7786 (tan_test_data): Likewise.
7787 (tan_tonearest_test_data): Likewise.
7788 (tan_towardzero_test_data): Likewise.
7789 (tan_downward_test_data): Likewise.
7790 (tan_upward_test_data): Likewise.
7791 (tanh_test_data): Likewise.
7792 (tgamma_test_data): Likewise.
7793 (trunc_test_data): Likewise.
7794 (y0_test_data): Likewise.
7795 (y1_test_data): Likewise.
7796 (yn_test_data): Likewise.
7797 (significand_test_data): Likewise.
7799 * math/gen-libm-test.pl (@functions): Remove variable.
7800 (generate_testfile): Don't handle START and END lines.
7801 * math/libm-test.inc (START): New macro.
7803 (END_COMPLEX): Likewise.
7804 (acos_test): Use END macro without arguments.
7805 (acos_test_tonearest): Likewise.
7806 (acos_test_towardzero): Likewise.
7807 (acos_test_downward): Likewise.
7808 (acos_test_upward): Likewise.
7809 (acosh_test): Likewise.
7810 (asin_test): Likewise.
7811 (asin_test_tonearest): Likewise.
7812 (asin_test_towardzero): Likewise.
7813 (asin_test_downward): Likewise.
7814 (asin_test_upward): Likewise.
7815 (asinh_test): Likewise.
7816 (atan_test): Likewise.
7817 (atanh_test): Likewise.
7818 (atan2_test): Likewise.
7819 (cabs_test): Likewise.
7820 (cacos_test): Use END_COMPLEX macro without arguments.
7821 (cacosh_test): Likewise.
7822 (carg_test): Use END macro without arguments.
7823 (casin_test): Use END_COMPLEX macro without arguments.
7824 (casinh_test): Likewise.
7825 (catan_test): Likewise.
7826 (catanh_test): Likewise.
7827 (cbrt_test): Use END macro without arguments.
7828 (ccos_test): Use END_COMPLEX macro without arguments.
7829 (ccosh_test): Likewise.
7830 (ceil_test): Use END macro without arguments.
7831 (cexp_test): Use END_COMPLEX macro without arguments.
7832 (cimag_test): Use END macro without arguments.
7833 (clog_test): Use END_COMPLEX macro without arguments.
7834 (clog10_test): Likewise.
7835 (conj_test): Likewise.
7836 (copysign_test): Use END macro without arguments.
7837 (cos_test): Likewise.
7838 (cos_test_tonearest): Likewise.
7839 (cos_test_towardzero): Likewise.
7840 (cos_test_downward): Likewise.
7841 (cos_test_upward): Likewise.
7842 (cosh_test): Likewise.
7843 (cosh_test_tonearest): Likewise.
7844 (cosh_test_towardzero): Likewise.
7845 (cosh_test_downward): Likewise.
7846 (cosh_test_upward): Likewise.
7847 (cpow_test): Use END_COMPLEX macro without arguments.
7848 (cproj_test): Likewise.
7849 (creal_test): Use END macro without arguments.
7850 (csin_test): Use END_COMPLEX macro without arguments.
7851 (csinh_test): Likewise.
7852 (csqrt_test): Likewise.
7853 (ctan_test): Likewise.
7854 (ctan_test_tonearest): Likewise.
7855 (ctan_test_towardzero): Likewise.
7856 (ctan_test_downward): Likewise.
7857 (ctan_test_upward): Likewise.
7858 (ctanh_test): Likewise.
7859 (ctanh_test_tonearest): Likewise.
7860 (ctanh_test_towardzero): Likewise.
7861 (ctanh_test_downward): Likewise.
7862 (ctanh_test_upward): Likewise.
7863 (erf_test): Use END macro without arguments.
7864 (erfc_test): Likewise.
7865 (exp_test): Likewise.
7866 (exp_test_tonearest): Likewise.
7867 (exp_test_towardzero): Likewise.
7868 (exp_test_downward): Likewise.
7869 (exp_test_upward): Likewise.
7870 (exp10_test): Likewise.
7871 (exp2_test): Likewise.
7872 (expm1_test): Likewise.
7873 (fabs_test): Likewise.
7874 (fdim_test): Likewise.
7875 (finite_test): Likewise.
7876 (floor_test): Likewise.
7877 (fma_test): Likewise.
7878 (fma_test_towardzero): Likewise.
7879 (fma_test_downward): Likewise.
7880 (fma_test_upward): Likewise.
7881 (fmax_test): Likewise.
7882 (fmin_test): Likewise.
7883 (fmod_test): Likewise.
7884 (fpclassify_test): Likewise.
7885 (frexp_test): Likewise.
7886 (gamma_test): Likewise.
7887 (hypot_test): Likewise.
7888 (ilogb_test): Likewise.
7889 (isfinite_test): Likewise.
7890 (isgreater_test): Likewise.
7891 (isgreaterequal_test): Likewise.
7892 (isinf_test): Likewise.
7893 (isless_test): Likewise.
7894 (islessequal_test): Likewise.
7895 (islessgreater_test): Likewise.
7896 (isnan_test): Likewise.
7897 (isnormal_test): Likewise.
7898 (issignaling_test): Likewise.
7899 (isunordered_test): Likewise.
7900 (j0_test): Likewise.
7901 (j1_test): Likewise.
7902 (jn_test): Likewise.
7903 (ldexp_test): Likewise.
7904 (lgamma_test): Likewise.
7905 (lrint_test): Likewise.
7906 (lrint_test_tonearest): Likewise.
7907 (lrint_test_towardzero): Likewise.
7908 (lrint_test_downward): Likewise.
7909 (lrint_test_upward): Likewise.
7910 (llrint_test): Likewise.
7911 (llrint_test_tonearest): Likewise.
7912 (llrint_test_towardzero): Likewise.
7913 (llrint_test_downward): Likewise.
7914 (llrint_test_upward): Likewise.
7915 (log_test): Likewise.
7916 (log10_test): Likewise.
7917 (log1p_test): Likewise.
7918 (log2_test): Likewise.
7919 (logb_test): Likewise.
7920 (logb_test_downward): Likewise.
7921 (lround_test): Likewise.
7922 (llround_test): Likewise.
7923 (modf_test): Likewise.
7924 (nearbyint_test): Likewise.
7925 (nextafter_test): Likewise.
7926 (nexttoward_test): Likewise.
7927 (pow_test): Likewise.
7928 (pow_test_tonearest): Likewise.
7929 (pow_test_towardzero): Likewise.
7930 (pow_test_downward): Likewise.
7931 (pow_test_upward): Likewise.
7932 (remainder_test): Likewise.
7933 (remainder_test_tonearest): Likewise.
7934 (remainder_test_towardzero): Likewise.
7935 (remainder_test_downward): Likewise.
7936 (remainder_test_upward): Likewise.
7937 (remquo_test): Likewise.
7938 (rint_test): Likewise.
7939 (rint_test_tonearest): Likewise.
7940 (rint_test_towardzero): Likewise.
7941 (rint_test_downward): Likewise.
7942 (rint_test_upward): Likewise.
7943 (round_test): Likewise.
7944 (scalb_test): Likewise.
7945 (scalbn_test): Likewise.
7946 (scalbln_test): Likewise.
7947 (signbit_test): Likewise.
7948 (sin_test): Likewise.
7949 (sin_test_tonearest): Likewise.
7950 (sin_test_towardzero): Likewise.
7951 (sin_test_downward): Likewise.
7952 (sin_test_upward): Likewise.
7953 (sincos_test): Likewise.
7954 (sinh_test): Likewise.
7955 (sinh_test_tonearest): Likewise.
7956 (sinh_test_towardzero): Likewise.
7957 (sinh_test_downward): Likewise.
7958 (sinh_test_upward): Likewise.
7959 (sqrt_test): Likewise.
7960 (tan_test): Likewise.
7961 (tan_test_tonearest): Likewise.
7962 (tan_test_towardzero): Likewise.
7963 (tan_test_downward): Likewise.
7964 (tan_test_upward): Likewise.
7965 (tanh_test): Likewise.
7966 (tgamma_test): Likewise.
7967 (trunc_test): Likewise.
7968 (y0_test): Likewise.
7969 (y1_test): Likewise.
7970 (yn_test): Likewise.
7971 (significand_test): Likewise.
7973 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7976 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7978 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7981 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7982 __ppc_mdoio and __ppc_mdoom.
7983 * manual/platform.texi: Document new functions __ppc_yield,
7984 __ppc_mdoio and __ppc_mdoom.
7986 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7988 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7989 (main): Mention "tls" pseudo-hwcap is legacy.
7990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7992 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7994 * math/gen-libm-test.pl (parse_args): Output only string of
7995 arguments as text for test name, not full call or descriptions of
7996 tests for extra outputs.
7997 (generate_testfile): Do not pass function name to parse_args.
7998 Generate this_func variable from START.
7999 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8001 (struct test_ff_f_data): Likewise.
8002 (test_ff_f_data_nexttoward): Likewise.
8003 (struct test_fi_f_data): Likewise.
8004 (struct test_fl_f_data): Likewise.
8005 (struct test_if_f_data): Likewise.
8006 (struct test_fff_f_data): Likewise.
8007 (struct test_c_f_data): Likewise.
8008 (struct test_f_f1_data): Likewise. Remove field extra_name.
8009 (struct test_fF_f1_data): Likewise.
8010 (struct test_ffI_f1_data): Likewise.
8011 (struct test_c_c_data): Rename test_name field to arg_str.
8012 (struct test_cc_c_data): Likewise.
8013 (struct test_f_i_data): Likewise.
8014 (struct test_ff_i_data): Likewise.
8015 (struct test_f_l_data): Likewise.
8016 (struct test_f_L_data): Likewise.
8017 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8019 (COMMON_TEST_SETUP): New macro.
8020 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8021 (COMMON_TEST_CLEANUP): Likewise.
8022 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8023 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8025 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8026 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8028 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8029 (RUN_TEST_fff_f): Take argument string. Call new setup and
8031 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8032 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8034 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8035 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8037 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8038 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8040 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8041 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8043 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8044 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8046 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8047 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8049 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8050 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8052 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8053 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8055 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8056 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8058 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8059 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8061 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8062 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8064 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8065 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8067 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8068 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8070 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8071 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8073 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8074 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8076 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8078 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8080 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8081 to _sifields.sigfault.
8082 (si_addr_lsb): Define new macro.
8083 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8084 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8085 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8087 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8090 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8092 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8094 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8097 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8099 * math/gen-libm-test.pl (parse_args): Do not include expected
8100 result in test name.
8101 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8103 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8104 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8105 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8108 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8110 * benchtests/Makefile: Sort function entries.
8112 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8113 tanh, asinh, acosh, atanh.
8114 * benchtests/acos-inputs: New file.
8115 * benchtests/acosh-inputs: New file.
8116 * benchtests/asin-inputs: New file.
8117 * benchtests/asinh-inputs: New file.
8118 * benchtests/atanh-inputs: New file.
8119 * benchtests/cosh-inputs: New file.
8120 * benchtests/log-inputs: New file.
8121 * benchtests/sinh-inputs: New file.
8122 * benchtests/tanh-inputs: New file.
8124 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8127 * posix/tst-getaddrinfo4.c: New test.
8128 * posix/Makefile (tests): Add it.
8130 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8133 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8134 when no services were used.
8135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8136 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8138 2013-05-21 Andreas Schwab <schwab@suse.de>
8141 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8142 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8144 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8145 redundant variable declarations and reallocation of buffer when
8146 parsing as IPv6 address. Always set NSS status when called from
8147 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8148 buffer too small. Correct computation of needed size.
8149 * nss/Makefile (tests): Add test-digits-dots.
8150 * nss/test-digits-dots.c: New test.
8152 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8154 * benchtests/Makefile: Remove instructions for adding
8156 * benchtests/README: New file to explain how to execute and
8157 enhance the benchmark tests.
8159 2013-05-21 Andreas Schwab <schwab@suse.de>
8162 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8163 * setjmp/tst-sigsetjmp.c: New test.
8165 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8167 * sysdeps/x86_64/memset.S (memset): New implementation.
8168 (__bzero): Likewise.
8169 (__memset_tail): New function.
8171 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8173 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8174 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8175 __memcpy_sse2_unaligned ifunc selection.
8176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8177 Add memcpy-sse2-unaligned.S.
8178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8179 Add: __memcpy_sse2_unaligned.
8181 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8184 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8185 math_force_eval before restoring floating-point envrionment.
8186 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8189 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8191 (__nearbyintl): Use math_force_eval before restoring
8192 floating-point environment.
8193 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8195 * math/gen-libm-test.pl (special_functions): Remove.
8196 (parse_args): Don't handle TEST_extra. Handle functions with no
8198 * math/libm-test.inc (struct test_sincos_data): Replace with
8199 struct test_fFF_11_data.
8200 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8201 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8202 (sincos_test_data): Change element type to struct
8203 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8204 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8205 RUN_TEST_LOOP_sincos.
8206 * math/README.libm-test: Don't mention special handling of
8207 individual functions.
8208 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8211 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8215 * math/gen-libm-test.pl (get_variable): Remove function.
8216 (parse_args): Don't show pointer parameters to call in test
8217 names. Use "extra output N" in test names for extra outputs
8218 rather than naming variables.
8220 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8223 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8224 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8225 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8227 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8229 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8232 * math/gen-libm-test.pl (@tests): Remove variable.
8234 (new_test): Remove function.
8235 (show_exceptions): New function.
8236 (special_functions): Use show_exceptions instead of new_test.
8237 (parse_args): Likewise.
8238 (generate_testfile): Pass only function name in generated call to
8239 print_max_error or print_complex_max_error.
8240 (get_ulps): Do not handle complex tests specially.
8241 (output_test): Rename to ...
8242 (get_all_ulps_for_test): ... this. Return a string rather than
8243 printing to a file. Require ulps to be present.
8244 (output_ulps): Generate arrays rather than #defines.
8245 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8246 (struct ulp_data): New type.
8247 (BUILD_COMPLEX_ULP): Remove macro.
8248 (compare_ulp_data): New function.
8249 (find_ulps): Likewise.
8250 (find_test_ulps): Likewise.
8251 (find_function_ulps): Likewise.
8252 (find_complex_function_ulps): Likewise.
8253 (print_max_error): Determine allowed ulps using
8255 (print_complex_max_error): Determine allowed ulps using
8256 find_complex_function_ulps.
8257 (check_float_internal): Determine max ulps using find_test_ulps.
8258 (check_float): Do not take max_ulp parameter. Update call to
8259 check_float_internal.
8260 (check_complex): Likewise.
8261 (check_int): Do not take max_ulp parameter.
8262 (check_long): Likewise.
8263 (check_bool): Likewise.
8264 (check_longlong): Likewise.
8265 (struct test_f_f_data): Remove max_ulp field.
8266 (struct test_ff_f_data): Likewise.
8267 (struct test_ff_f_data_nexttoward): Likewise.
8268 (struct test_fi_f_data): Likewise.
8269 (struct test_fl_f_data): Likewise.
8270 (struct test_if_f_data): Likewise.
8271 (struct test_fff_f_data): Likewise.
8272 (struct test_c_f_data): Likewise.
8273 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8274 (struct test_fF_f1_data): Likewise.
8275 (struct test_ffI_f1_data): Likewise.
8276 (struct test_c_c_data): Remove max_ulp field.
8277 (struct test_cc_c_data): Likewise.
8278 (struct test_f_i_data): Likewise.
8279 (struct test_ff_i_data): Likewise.
8280 (struct test_f_l_data): Likewise.
8281 (struct test_f_L_data): Likewise.
8282 (struct test_sincos_data): Likewise.
8283 (RUN_TEST_f_f): Do not handle ulps.
8284 (RUN_TEST_LOOP_f_f): Likewise.
8285 (RUN_TEST_2_f): Likewise.
8286 (RUN_TEST_LOOP_2_f): Likewise.
8287 (RUN_TEST_fff_f): Likewise.
8288 (RUN_TEST_LOOP_fff_f): Likewise.
8289 (RUN_TEST_c_f): Likewise.
8290 (RUN_TEST_LOOP_c_f): Likewise.
8291 (RUN_TEST_f_f1): Likewise.
8292 (RUN_TEST_LOOP_f_f1): Likewise.
8293 (RUN_TEST_fF_f1): Likewise.
8294 (RUN_TEST_LOOP_fF_f1): Likewise.
8295 (RUN_TEST_fI_f1): Likewise.
8296 (RUN_TEST_LOOP_fI_f1): Likewise.
8297 (RUN_TEST_ffI_f1): Likewise.
8298 (RUN_TEST_LOOP_ffI_f1): Likewise.
8299 (RUN_TEST_c_c): Likewise.
8300 (RUN_TEST_LOOP_c_c): Likewise.
8301 (RUN_TEST_cc_c): Likewise.
8302 (RUN_TEST_LOOP_cc_c): Likewise.
8303 (RUN_TEST_f_i): Likewise.
8304 (RUN_TEST_LOOP_f_i): Likewise.
8305 (RUN_TEST_f_i_tg): Likewise.
8306 (RUN_TEST_LOOP_f_i_tg): Likewise.
8307 (RUN_TEST_ff_i_tg): Likewise.
8308 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8309 (RUN_TEST_f_b): Likewise.
8310 (RUN_TEST_LOOP_f_b): Likewise.
8311 (RUN_TEST_f_b_tg): Likewise.
8312 (RUN_TEST_LOOP_f_b_tg): Likewise.
8313 (RUN_TEST_f_l): Likewise.
8314 (RUN_TEST_LOOP_f_l): Likewise.
8315 (RUN_TEST_f_L): Likewise.
8316 (RUN_TEST_LOOP_f_L): Likewise.
8317 (RUN_TEST_sincos): Likewise.
8318 (RUN_TEST_LOOP_sincos): Likewise.
8320 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8324 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8325 main case of finite arguments, set rounding mode to FE_TONEAREST
8326 and discard exceptions.
8327 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8329 (remainder_tonearest_test_data): New variable.
8330 (remainder_test_tonearest): New function.
8331 (remainder_towardzero_test_data): New variable.
8332 (remainder_test_towardzero): New function.
8333 (remainder_downward_test_data): New variable.
8334 (remainder_test_downward): New function.
8335 (remainder_upward_test_data): New variable.
8336 (remainder_test_upward): New function.
8337 (main): Call the new test functions.
8339 * math/libm-test.inc (struct test_f_f1_data): Remove field
8341 (struct test_fF_f1_data): Likewise.
8342 (struct test_ffI_f1_data): Likewise.
8343 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8344 based on value of EXTRA_EXPECTED.
8345 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8346 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8347 EXTRA_VAR based on value of EXTRA_EXPECTED.
8348 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8349 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8350 EXTRA_VAR based on value of EXTRA_EXPECTED.
8351 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8352 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8353 EXTRA_VAR based on value of EXTRA_EXPECTED.
8354 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8355 * math/gen-libm-test.pl (parse_args): Don't output initializers
8356 for extra output values.
8358 * math/libm-test.inc (check_int): Expect result to be exactly
8359 equal to expected value and do not handle ulps.
8360 (check_long): Likewise.
8361 (check_longlong): Likewise.
8363 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8365 (cimag_test_data): Likewise.
8366 (conj_test_data): Likewise.
8367 (copysign_test_data): Likewise.
8368 (cproj_test_data): Likewise.
8369 (creal_test_data): Likewise.
8370 (fabs_test_data): Likewise.
8371 (fdim_test_data): Likewise.
8372 (finite_test_data): Likewise.
8373 (floor_test_data): Likewise.
8374 (fmax_test_data): Likewise.
8375 (fmin_test_data): Likewise.
8376 (fmod_test_data): Likewise.
8377 (fpclassify_test_data): Likewise.
8378 (frexp_test_data): Likewise.
8379 (ilogb_test_data): Likewise.
8380 (isfinite_test_data): Likewise.
8381 (isgreater_test_data): Likewise.
8382 (isgreaterequal_test_data): Likewise.
8383 (isinf_test_data): Likewise.
8384 (isless_test_data): Likewise.
8385 (islessequal_test_data): Likewise.
8386 (islessgreater_test_data): Likewise.
8387 (isnan_test_data): Likewise.
8388 (isnormal_test_data): Likewise.
8389 (issignaling_test_data): Likewise.
8390 (isunordered_test_data): Likewise.
8391 (ldexp_test_data): Likewise.
8392 (lrint_test_data): Likewise.
8393 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8394 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8395 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8396 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8397 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8398 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8400 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8401 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8402 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8403 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8405 (lrint_downward_test_data): Test for "inexact" exceptions.
8406 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8407 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8408 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8410 (lrint_upward_test_data): Test for "inexact" exceptions.
8411 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8413 (llrint_test_data): Test for "inexact" exceptions.
8414 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8415 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8416 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8417 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8418 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8419 (llrint_downward_test_data): Test for "inexact" exceptions.
8420 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8421 (llrint_upward_test_data): Test for "inexact" exceptions.
8422 (logb_test_data): Likewise.
8423 (logb_downward_test_data): Likewise.
8424 (nextafter_test_data): Likewise.
8425 (nexttoward_test_data): Likewise.
8426 (remainder_test_data): Likewise.
8427 (remquo_test_data): Likewise.
8428 (scalbn_test_data): Likewise.
8429 (scalbln_test_data): Likewise.
8430 (signbit_test_data): Likewise.
8431 (sqrt_test_data): Likewise.
8432 (significand_test_data): Likewise.
8434 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8437 * benchtests/bench-modf.c (struct args): Mark arg0 as
8439 * scripts/bench.pl: Mark members of struct args as volatile.
8441 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8444 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8445 negative infinity on POWER6 or lower.
8446 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8448 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8451 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8452 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8453 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8454 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8455 (_FP_SETQNAN): New macro.
8456 (_FP_SETQNAN_SEMIRAW): Likewise.
8457 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8458 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8459 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8460 (FP_EXTEND): Use _FP_FRAC_SNANP.
8461 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8462 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8469 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8471 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8472 with DIVIDE_BY_ZERO_EXCEPTION.
8473 (gamma_test_data): Likewise.
8474 (lgamma_test_data): Likewise.
8475 (log_test_data): Likewise.
8476 (log10_test_data): Likewise.
8477 (log2_test_data): Likewise.
8478 (tgamma_test_data): Likewise.
8480 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8481 (acos_test_tonearest): Likewise.
8482 (acos_test_towardzero): Likewise.
8483 (acos_test_downward): Likewise.
8484 (acos_test_upward): Likewise.
8485 (acosh_test): Likewise.
8486 (asin_test): Likewise.
8487 (asin_test_tonearest): Likewise.
8488 (asin_test_towardzero): Likewise.
8489 (asin_test_downward): Likewise.
8490 (asin_test_upward): Likewise.
8491 (asinh_test): Likewise.
8492 (atan_test): Likewise.
8493 (atanh_test): Likewise.
8494 (atan2_test): Likewise.
8495 (cabs_test): Likewise.
8496 (cacos_test): Likewise.
8497 (cacosh_test): Likewise.
8498 (casin_test): Likewise.
8499 (casinh_test): Likewise.
8500 (catan_test): Likewise.
8501 (catanh_test): Likewise.
8502 (cbrt_test): Likewise.
8503 (ccos_test): Likewise.
8504 (ccosh_test): Likewise.
8505 (cexp_test): Likewise.
8506 (clog_test): Likewise.
8507 (clog10_test): Likewise.
8508 (cos_test): Likewise.
8509 (cos_test_tonearest): Likewise.
8510 (cos_test_towardzero): Likewise.
8511 (cos_test_downward): Likewise.
8512 (cos_test_upward): Likewise.
8513 (cosh_test): Likewise.
8514 (cosh_test_tonearest): Likewise.
8515 (cosh_test_towardzero): Likewise.
8516 (cosh_test_downward): Likewise.
8517 (cosh_test_upward): Likewise.
8518 (cpow_test): Likewise.
8519 (csin_test): Likewise.
8520 (csinh_test): Likewise.
8521 (csqrt_test): Likewise.
8522 (ctan_test): Likewise.
8523 (ctan_test_tonearest): Likewise.
8524 (ctan_test_towardzero): Likewise.
8525 (ctan_test_downward): Likewise.
8526 (ctan_test_upward): Likewise.
8527 (ctanh_test): Likewise.
8528 (ctanh_test_tonearest): Likewise.
8529 (ctanh_test_towardzero): Likewise.
8530 (ctanh_test_downward): Likewise.
8531 (ctanh_test_upward): Likewise.
8532 (erf_test): Likewise.
8533 (erfc_test): Likewise.
8534 (exp_test): Likewise.
8535 (exp_test_tonearest): Likewise.
8536 (exp_test_towardzero): Likewise.
8537 (exp_test_downward): Likewise.
8538 (exp_test_upward): Likewise.
8539 (exp10_test): Likewise.
8540 (exp2_test): Likewise.
8541 (expm1_test): Likewise.
8542 (fmod_test): Likewise.
8543 (gamma_test): Likewise.
8544 (hypot_test): Likewise.
8545 (j0_test): Likewise.
8546 (j1_test): Likewise.
8547 (jn_test): Likewise.
8548 (lgamma_test): Likewise.
8549 (log_test): Likewise.
8550 (log10_test): Likewise.
8551 (log1p_test): Likewise.
8552 (log2_test): Likewise.
8553 (logb_test_downward): Likewise.
8554 (pow_test): Likewise.
8555 (pow_test_tonearest): Likewise.
8556 (pow_test_towardzero): Likewise.
8557 (pow_test_downward): Likewise.
8558 (pow_test_upward): Likewise.
8559 (remainder_test): Likewise.
8560 (remquo_test): Likewise.
8561 (sin_test): Likewise.
8562 (sin_test_tonearest): Likewise.
8563 (sin_test_towardzero): Likewise.
8564 (sin_test_downward): Likewise.
8565 (sin_test_upward): Likewise.
8566 (sincos_test): Likewise.
8567 (sinh_test): Likewise.
8568 (sinh_test_tonearest): Likewise.
8569 (sinh_test_towardzero): Likewise.
8570 (sinh_test_downward): Likewise.
8571 (sinh_test_upward): Likewise.
8572 (sqrt_test): Likewise.
8573 (tan_test): Likewise.
8574 (tan_test_tonearest): Likewise.
8575 (tan_test_towardzero): Likewise.
8576 (tan_test_downward): Likewise.
8577 (tan_test_upward): Likewise.
8578 (tanh_test): Likewise.
8579 (tgamma_test): Likewise.
8580 (y0_test): Likewise.
8581 (y1_test): Likewise.
8582 (yn_test): Likewise.
8584 * math/gen-libm-test.pl (adjust_arg): Remove function.
8585 (special_function): Remove argument $in_func. Only handle
8586 generating output for tables of tests, not inside functions.
8587 (parse_args): Likewise.
8588 (generate_testfile): Remove variable $in_func. Update call to
8590 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8591 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8592 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8593 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8594 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8595 (MAX_VALUE_INIT): Rename macro to max_value.
8596 (MIN_VALUE_INIT): Rename macro to min_value.
8597 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8598 (plus_zero): Remove variable.
8599 (minus_zero): Likewise.
8600 (plus_infty): Likewise.
8601 (minus_infty): Likewise.
8602 (qnan_value): Likewise.
8603 (max_value): Likewise.
8604 (min_value): Likewise.
8605 (min_subnorm_value): Likewise.
8607 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8609 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8610 uint64_t or uint32_t usage.
8611 * crypt/sha256-block.c: Likewise.
8612 * crypt/sha256-crypt.c: Likewise.
8613 * crypt/sha256.c: Likewise.
8614 * crypt/sha512-block.c: Likewise.
8615 * crypt/sha512-crypt.c: Likewise.
8616 * crypt/sha512.c: Likewise.
8617 * debug/backtrace-tst.c: Likewise.
8618 * debug/pcprofiledump.c: Likewise.
8619 * elf/cache.c: Likewise.
8620 * elf/dl-cache.c: Likewise.
8621 * elf/dl-misc.c: Likewise.
8622 * elf/dl-profile.c: Likewise.
8623 * elf/dl-support.c: Likewise.
8624 * elf/ldconfig.c: Likewise.
8625 * elf/sprof.c: Likewise.
8626 * iconv/dummy-repertoire.c: Likewise.
8627 * iconv/iconv_charmap.c: Likewise.
8628 * iconv/skeleton.c: Likewise.
8629 * iconvdata/8bit-generic.c: Likewise.
8630 * iconvdata/cp737.h: Likewise.
8631 * iconvdata/cp775.h: Likewise.
8632 * iconvdata/ibm1008.h: Likewise.
8633 * iconvdata/ibm1025.h: Likewise.
8634 * iconvdata/ibm1046.h: Likewise.
8635 * iconvdata/ibm1097.h: Likewise.
8636 * iconvdata/ibm1112.h: Likewise.
8637 * iconvdata/ibm1122.h: Likewise.
8638 * iconvdata/ibm1123.h: Likewise.
8639 * iconvdata/ibm1124.h: Likewise.
8640 * iconvdata/ibm1129.h: Likewise.
8641 * iconvdata/ibm1130.h: Likewise.
8642 * iconvdata/ibm1132.h: Likewise.
8643 * iconvdata/ibm1133.h: Likewise.
8644 * iconvdata/ibm1137.h: Likewise.
8645 * iconvdata/ibm1140.h: Likewise.
8646 * iconvdata/ibm1141.h: Likewise.
8647 * iconvdata/ibm1142.h: Likewise.
8648 * iconvdata/ibm1143.h: Likewise.
8649 * iconvdata/ibm1144.h: Likewise.
8650 * iconvdata/ibm1145.h: Likewise.
8651 * iconvdata/ibm1146.h: Likewise.
8652 * iconvdata/ibm1147.h: Likewise.
8653 * iconvdata/ibm1148.h: Likewise.
8654 * iconvdata/ibm1149.h: Likewise.
8655 * iconvdata/ibm1153.h: Likewise.
8656 * iconvdata/ibm1154.h: Likewise.
8657 * iconvdata/ibm1155.h: Likewise.
8658 * iconvdata/ibm1156.h: Likewise.
8659 * iconvdata/ibm1157.h: Likewise.
8660 * iconvdata/ibm1158.h: Likewise.
8661 * iconvdata/ibm1160.h: Likewise.
8662 * iconvdata/ibm1161.h: Likewise.
8663 * iconvdata/ibm1162.h: Likewise.
8664 * iconvdata/ibm1163.h: Likewise.
8665 * iconvdata/ibm1164.h: Likewise.
8666 * iconvdata/ibm1166.h: Likewise.
8667 * iconvdata/ibm1167.h: Likewise.
8668 * iconvdata/ibm12712.h: Likewise.
8669 * iconvdata/ibm1390.h: Likewise.
8670 * iconvdata/ibm1399.h: Likewise.
8671 * iconvdata/ibm16804.h: Likewise.
8672 * iconvdata/ibm4517.h: Likewise.
8673 * iconvdata/ibm4899.h: Likewise.
8674 * iconvdata/ibm4909.h: Likewise.
8675 * iconvdata/ibm4971.h: Likewise.
8676 * iconvdata/ibm5347.h: Likewise.
8677 * iconvdata/ibm803.h: Likewise.
8678 * iconvdata/ibm856.h: Likewise.
8679 * iconvdata/ibm901.h: Likewise.
8680 * iconvdata/ibm902.h: Likewise.
8681 * iconvdata/ibm9030.h: Likewise.
8682 * iconvdata/ibm9066.h: Likewise.
8683 * iconvdata/ibm921.h: Likewise.
8684 * iconvdata/ibm922.h: Likewise.
8685 * iconvdata/ibm9448.h: Likewise.
8686 * iconvdata/isiri-3342.h: Likewise.
8687 * iconvdata/jis0201.h: Likewise.
8688 * include/link.h: Likewise.
8689 * include/netdb.h: Likewise.
8690 * inet/check_native.c: Likewise.
8691 * inet/check_pf.c: Likewise.
8692 * inet/getipv4sourcefilter.c: Likewise.
8693 * inet/getnameinfo.c: Likewise.
8694 * inet/getsourcefilter.c: Likewise.
8695 * inet/htonl.c: Likewise.
8696 * inet/setipv4sourcefilter.c: Likewise.
8697 * inet/setsourcefilter.c: Likewise.
8698 * inet/test-inet6_opt.c: Likewise.
8699 * inet/tst-network.c: Likewise.
8700 * locale/C-collate.c: Likewise.
8701 * locale/C-ctype.c: Likewise.
8702 * locale/C-time.c: Likewise.
8703 * locale/C-translit.h: Likewise.
8704 * locale/loadarchive.c: Likewise.
8705 * locale/programs/3level.h: Likewise.
8706 * locale/programs/charmap.c: Likewise.
8707 * locale/programs/charmap.h: Likewise.
8708 * locale/programs/ld-address.c: Likewise.
8709 * locale/programs/ld-collate.c: Likewise.
8710 * locale/programs/ld-ctype.c: Likewise.
8711 * locale/programs/ld-identification.c: Likewise.
8712 * locale/programs/ld-measurement.c: Likewise.
8713 * locale/programs/ld-messages.c: Likewise.
8714 * locale/programs/ld-monetary.c: Likewise.
8715 * locale/programs/ld-name.c: Likewise.
8716 * locale/programs/ld-numeric.c: Likewise.
8717 * locale/programs/ld-paper.c: Likewise.
8718 * locale/programs/ld-telephone.c: Likewise.
8719 * locale/programs/ld-time.c: Likewise.
8720 * locale/programs/linereader.c: Likewise.
8721 * locale/programs/locale.c: Likewise.
8722 * locale/programs/locarchive.c: Likewise.
8723 * locale/programs/locfile.h: Likewise.
8724 * locale/programs/repertoire.c: Likewise.
8725 * locale/programs/simple-hash.c: Likewise.
8726 * locale/programs/simple-hash.h: Likewise.
8727 * malloc/memusage.c: Likewise.
8728 * malloc/memusagestat.c: Likewise.
8729 * nis/nis_defaults.c: Likewise.
8730 * nis/nis_hash.c: Likewise.
8731 * nis/nis_print.c: Likewise.
8732 * nis/nis_xdr.c: Likewise.
8733 * nscd/connections.c: Likewise.
8734 * nscd/hstcache.c: Likewise.
8735 * nscd/nscd_gethst_r.c: Likewise.
8736 * nscd/nscd_getserv_r.c: Likewise.
8737 * nscd/nscd_helper.c: Likewise.
8738 * nscd/servicescache.c: Likewise.
8739 * nss/makedb.c: Likewise.
8740 * nss/nss_db/db-XXX.c: Likewise.
8741 * nss/nss_db/db-initgroups.c: Likewise.
8742 * nss/nss_db/db-netgrp.c: Likewise.
8743 * nss/nss_files/files-network.c: Likewise.
8744 * nss/nss_files/files-parse.c: Likewise.
8745 * posix/bug-regex5.c: Likewise.
8746 * posix/fnmatch_loop.c: Likewise.
8747 * posix/regcomp.c: Likewise.
8748 * posix/regexec.c: Likewise.
8749 * posix/tst-rfc3484-2.c: Likewise.
8750 * posix/tst-rfc3484-3.c: Likewise.
8751 * posix/tst-rfc3484.c: Likewise.
8752 * resolv/nss_dns/dns-canon.c: Likewise.
8753 * resolv/nss_dns/dns-network.c: Likewise.
8754 * resolv/res_init.c: Likewise.
8755 * resolv/res_mkquery.c: Likewise.
8756 * resolv/tst-aton.c: Likewise.
8757 * stdlib/cxa_atexit.c: Likewise.
8758 * stdlib/cxa_finalize.c: Likewise.
8759 * stdlib/gen-fpioconst.c: Likewise.
8760 * stdlib/strtol_l.c: Likewise.
8761 * string/tst-endian.c: Likewise.
8762 * sunrpc/auth_des.c: Likewise.
8763 * sunrpc/clnt_udp.c: Likewise.
8764 * sunrpc/rtime.c: Likewise.
8765 * sunrpc/svcauth_des.c: Likewise.
8766 * sunrpc/xdr.c: Likewise.
8767 * sunrpc/xdr_intXX_t.c: Likewise.
8768 * sunrpc/xdr_rec.c: Likewise.
8769 * sysdeps/generic/ldconfig.h: Likewise.
8770 * sysdeps/generic/ldsodefs.h: Likewise.
8771 * sysdeps/generic/memusage.h: Likewise.
8772 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8782 * sysdeps/posix/getaddrinfo.c: Likewise.
8783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8785 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8786 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8787 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8788 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8789 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8790 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8791 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8792 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8793 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8794 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8795 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8796 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8798 * sysdeps/x86_64/dl-tls.h: Likewise.
8799 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8800 * time/alt_digit.c: Likewise.
8801 * time/era.c: Likewise.
8802 * wcsmbs/tst-c16c32-1.c: Likewise.
8804 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8806 * math/libm-test.inc (struct test_sincos_data): New type.
8807 (RUN_TEST_LOOP_sincos): New macro.
8808 (sincos_test_data): New variable.
8809 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8811 2013-05-16 Richard Henderson <rth@redhat.com>
8813 * math/atest-exp2.c (LIMB64): New macro.
8814 (CONSTSZ): New macro.
8815 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8817 (print_mpn_fp): ... to function scope.
8818 (read_mpn_hex): Remove.
8820 (exp2_mpn): Use mp_log2.
8821 (main): Use mp_exp1.
8823 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8825 * math/libm-test.inc: Remove comment about not testing "inexact"
8827 (INEXACT_EXCEPTION): New macro.
8828 (NO_INEXACT_EXCEPTION): Likewise.
8829 (INVALID_EXCEPTION_OK): Update value.
8830 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8831 (OVERFLOW_EXCEPTION_OK): Likewise.
8832 (UNDERFLOW_EXCEPTION_OK): Likewise.
8833 (IGNORE_ZERO_INF_SIGN): Likewise.
8834 (ERRNO_UNCHANGED): Likewise.
8835 (ERRNO_EDOM): Likewise.
8836 (ERRNO_ERANGE): Likewise.
8837 (test_exceptions): Handle testing "inexact" exceptions.
8838 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8839 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8840 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8841 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8843 (rint_towardzero_test_data): Likewise.
8844 (rint_downward_test_data): Likewise.
8845 (rint_upward_test_data): Likewise.
8847 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8848 with OVERFLOW_EXCEPTION.
8849 (exp10_test_data): Likewise.
8850 (exp2_test_data): Likewise.
8851 (expm1_test_data): Likewise.
8852 (lgamma_test_data): Likewise.
8853 (pow_test_data): Likewise.
8854 (tgamma_test_data): Likewise.
8855 (yn_test_data): Remove duplicate test of overflow.
8857 * math/libm-test.inc (struct test_cc_c_data): New type.
8858 (RUN_TEST_LOOP_cc_c): New macro.
8859 (cpow_test_data): New variable.
8860 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8862 * math/libm-test.inc (struct test_f_L_data): New type.
8863 (RUN_TEST_LOOP_f_L): New macro.
8864 (llrint_test_data): New variable.
8865 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8866 (llrint_tonearest_test_data): New variable.
8867 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8868 (llrint_towardzero_test_data): New variable.
8869 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8870 (llrint_downward_test_data): New variable.
8871 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8872 (llrint_upward_test_data): New variable.
8873 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8874 (llround_test_data): New variable.
8875 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8877 2013-05-13 Peter Collingbourne <pcc@google.com>
8879 * math/atest-exp2.c (get_log2): Remove const attribute.
8881 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8883 * math/libm-test.inc (struct test_f_l_data): New type.
8884 (RUN_TEST_LOOP_f_l): New macro.
8885 (lrint_test_data): New variable.
8886 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8887 (lrint_tonearest_test_data): New variable.
8888 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8889 (lrint_towardzero_test_data): New variable.
8890 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8891 (lrint_downward_test_data): New variable.
8892 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8893 (lrint_upward_test_data): New variable.
8894 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8895 (lround_test_data): New variable.
8896 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8898 2013-05-15 Peter Collingbourne <pcc@google.com>
8900 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8901 (EXTRACT_WORDS64) Use where appropriate.
8902 (INSERT_WORDS64) Likewise.
8904 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8905 constraints with x constraints.
8906 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8908 * malloc/obstack.c (_obstack_compat): Add initializer.
8910 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8913 si_trapno and add si_addr_lsb to _sifields.sigfault.
8914 (si_trapno): Remove macro.
8915 (si_addr_lsb): Define new macro.
8916 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8918 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8920 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8921 instead of TEST_f_l.
8922 (llrint_test_tonearest): Likewise.
8923 (llrint_test_towardzero): Likewise.
8924 (llrint_test_downward): Likewise.
8925 (llrint_test_upward): Likewise.
8926 (llround_test): Likewise.
8928 * math/libm-test.inc (struct test_f_i_data): Add comment.
8929 (RUN_TEST_LOOP_f_b): New macro.
8930 (RUN_TEST_LOOP_f_b_tg): Likewise.
8931 (finite_test_data): New variable.
8932 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8933 (isfinite_test_data): New variable.
8934 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8935 (isinf_test_data): New variable.
8936 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8937 (isnan_test_data): New variable.
8938 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8939 (isnormal_test_data): New variable.
8940 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8941 (issignaling_test_data): New variable.
8942 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8943 (signbit_test_data): New variable.
8944 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8946 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8947 with INVALID_EXCEPTION.
8948 (acosh_test_data): Likewise.
8949 (asin_test_data): Likewise.
8950 (atanh_test_data): Likewise.
8951 (fmod_test_data): Likewise.
8952 (log_test_data): Likewise.
8953 (log10_test_data): Likewise.
8954 (log2_test_data): Likewise.
8955 (pow_test_data): Likewise.
8956 (sqrt_test_data): Likewise.
8957 (y0_test_data): Likewise.
8958 (y1_test_data): Likewise.
8959 (yn_test_data): Likewise.
8961 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8964 * math/libm-test.inc (struct test_ff_i_data): New type.
8965 (RUN_TEST_LOOP_ff_i_tg): New macro.
8966 (isgreater_test_data): New variable.
8967 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8968 (isgreaterequal_test_data): New variable.
8969 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8970 (isless_test_data): New variable.
8971 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8972 (islessequal_test_data): New variable.
8973 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8974 (islessgreater_test_data): New variable.
8975 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8976 (isunordered_test_data): New variable.
8977 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8979 2013-05-14 David S. Miller <davem@davemloft.net>
8981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8983 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8985 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8987 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8989 (struct test_f_i_data): Change type of max_ulp to int.
8991 * math/libm-test.inc (test_ffI_f1_data): New type.
8992 (RUN_TEST_LOOP_ffI_f1): New macro.
8993 (remquo_test_data): New variable.
8994 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8996 * setjmp/tst-setjmp-fp.c: New file.
8997 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8998 (link-libm): New variable.
8999 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9001 * math/libm-test.inc (struct test_f_i_data): New type.
9002 (RUN_TEST_LOOP_f_i): New macro.
9003 (RUN_TEST_LOOP_f_i_tg): Likewise.
9004 (fpclassify_test_data): New variable.
9005 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9006 (ilogb_test_data): New variable.
9007 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9009 * math/libm-test.inc (scalbln_test): Correct function name in END
9012 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9013 (RUN_TEST_LOOP_fI_f1): New macro.
9014 (frexp_test_data): New variable.
9015 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9017 * math/libm-test.inc (struct test_fF_f1_data): New type.
9018 (RUN_TEST_LOOP_fF_f1): New macro.
9019 (modf_test_data): New variable.
9020 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9022 * math/libm-test.inc (struct test_f_f1_data): New type.
9023 (RUN_TEST_LOOP_f_f1): New macro.
9024 (gamma_test_data): New variable.
9025 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9026 (lgamma_test_data): New variable.
9027 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9029 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9031 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9032 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9033 (main): Comment "tls" pseudo-hwcap.
9035 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9037 * math/libm-test.inc (struct test_fl_f_data): New type.
9038 (RUN_TEST_LOOP_fl_f): New variable.
9039 (scalbln_test_data): New variable.
9040 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9042 * math/libm-test.inc (struct test_fi_f_data): New type.
9043 (RUN_TEST_LOOP_fi_f): New macro.
9044 (ldexp_test_data): New variable.
9045 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9046 (scalbn_test_data): New variable.
9047 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9049 * math/libm-test.inc (struct test_c_f_data): New type.
9050 (RUN_TEST_LOOP_c_f): New macro.
9051 (cabs_test_data): New variable.
9052 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9053 (carg_test_data): New variable.
9054 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9055 (cimag_test_data): New variable.
9056 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9057 (creal_test_data): New variable.
9058 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9060 * math/libm-test.inc (struct test_if_f_data): New type.
9061 (RUN_TEST_LOOP_if_f): New macro.
9062 (jn_test_data): New variable.
9063 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9064 (yn_test_data): New variable.
9065 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9067 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9069 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9071 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9072 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9074 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9076 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9077 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9078 (bench-deps): Add bench-timing.h.
9079 * benchtests-bench-skeleton.c: Include bench-timing.h.
9080 (main): Use TIMING_* macros instead of clock_gettime.
9081 * benchtests/bench-timing.h: New file.
9084 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9085 Renamed from _LIB_VERSION.
9086 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9088 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9090 * math/libm-test.inc (struct test_fff_f_data): New type.
9091 (RUN_TEST_LOOP_fff_f): New macro.
9092 (fma_test_data): New variable.
9093 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9094 (fma_towardzero_test_data): New variable.
9095 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9096 (fma_downward_test_data): New variable.
9097 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9098 (fma_upward_test_data): New variable.
9099 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9101 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9102 (struct test_c_c_data): New type.
9103 (RUN_TEST_LOOP_c_c): New macro.
9104 (cacos_test_data): New variable.
9105 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9106 (cacosh_test_data): New variable.
9107 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9108 (casin_test_data): New variable.
9109 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9110 (casinh_test_data): New variable.
9111 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9112 (catan_test_data): New variable.
9113 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9114 (catanh_test_data): New variable.
9115 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9116 (ccos_test_data): New variable.
9117 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9118 (ccosh_test_data): New variable.
9119 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9120 (cexp_test_data): New variable.
9121 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9122 (clog_test_data): New variable.
9123 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9124 (clog10_test_data): New variable.
9125 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9126 (conj_test_data): New variable.
9127 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9128 (cproj_test_data): New variable.
9129 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9130 (csin_test_data): New variable.
9131 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9132 (csinh_test_data): New variable.
9133 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9134 (csqrt_test_data): New variable.
9135 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9136 (ctan_test_data): New variable.
9137 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9138 (ctan_tonearest_test_data): New variable.
9139 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9140 (ctan_towardzero_test_data): New variable.
9141 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9142 (ctan_downward_test_data): New variable.
9143 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9144 (ctan_upward_test_data): New variable.
9145 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9146 (ctanh_test_data): New variable.
9147 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9148 (ctanh_tonearest_test_data): New variable.
9149 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9150 (ctanh_towardzero_test_data): New variable.
9151 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9152 (ctanh_downward_test_data): New variable.
9153 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9154 (ctanh_upward_test_data): New variable.
9155 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9156 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9159 * math/libm-test.inc (struct test_ff_f_data): New type.
9160 (struct test_ff_f_data_nexttoward): Likewise.
9161 (RUN_TEST_LOOP_2_f): New macro.
9162 (RUN_TEST_LOOP_ff_f): Likewise.
9163 (atan2_test_data): New variable.
9164 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9165 (copysign_test_data): New variable.
9166 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9167 (fdim_test_data): New variable.
9168 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9169 (fmax_test_data): New variable.
9170 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9171 (fmin_test_data): New variable.
9172 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9173 (fmod_test_data): New variable.
9174 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9175 (hypot_test_data): New variable.
9176 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9177 (nextafter_test_data): New variable.
9178 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9179 (nexttoward_test_data): New variable.
9180 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9181 (pow_test_data): New variable.
9182 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9183 (pow_tonearest_test_data): New variable.
9184 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9185 (pow_towardzero_test_data): New variable.
9186 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9187 (pow_downward_test_data): New variable.
9188 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9189 (pow_upward_test_data): New variable.
9190 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9191 (remainder_test_data): New variable.
9192 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9193 (scalb_test_data): New variable.
9194 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9195 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9199 * math/libm-test.inc (fma_test): Use max_value instead of local
9201 (nextafter_test): Likewise.
9203 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9204 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9205 (acos_downward_test_data): New variable.
9206 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9207 (acos_upward_test_data): New variable.
9208 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9209 (acosh_test_data): New variable.
9210 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9211 (asin_test_data): New variable.
9212 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9213 (asin_tonearest_test_data): New variable.
9214 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9215 (asin_towardzero_test_data): New variable.
9216 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9217 (asin_downward_test_data): New variable.
9218 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9219 (asin_upward_test_data): New variable.
9220 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9221 (asinh_test_data): New variable.
9222 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9223 (atan_test_data): New variable.
9224 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9225 (atanh_test_data): New variable.
9226 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9227 (cbrt_test_data): New variable.
9228 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9229 (ceil_test_data): New variable.
9230 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9231 (cos_test_data): New variable.
9232 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9233 (cos_tonearest_test_data): New variable.
9234 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9235 (cos_towardzero_test_data): New variable.
9236 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9237 (cos_downward_test_data): New variable.
9238 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9239 (cos_upward_test_data): New variable.
9240 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9241 (cosh_test_data): New variable.
9242 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9243 (cosh_tonearest_test_data): New variable.
9244 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9245 (cosh_towardzero_test_data): New variable.
9246 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9247 (cosh_downward_test_data): New variable.
9248 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9249 (cosh_upward_test_data): New variable.
9250 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9251 (erf_test_data): New variable.
9252 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9253 (erfc_test_data): New variable.
9254 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9255 (exp_test_data): New variable.
9256 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9257 (exp_tonearest_test_data): New variable.
9258 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9259 (exp_towardzero_test_data): New variable.
9260 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9261 (exp_downward_test_data): New variable.
9262 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9263 (exp_upward_test_data): New variable.
9264 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9265 (exp10_test_data): New variable.
9266 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9267 (exp2_test_data): New variable.
9268 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9269 (expm1_test_data): New variable.
9270 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9271 (fabs_test_data): New variable.
9272 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9273 (floor_test_data): New variable.
9274 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9275 (j0_test_data): New variable.
9276 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9277 (j1_test_data): New variable.
9278 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9279 (log_test_data): New variable.
9280 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9281 (log10_test_data): New variable.
9282 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9283 (log1p_test_data): New variable.
9284 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9285 (log2_test_data): New variable.
9286 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9287 (logb_test_data): New variable.
9288 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9289 (logb_downward_test_data): New variable.
9290 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9291 (nearbyint_test_data): New variable.
9292 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9293 (rint_test_data): New variable.
9294 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9295 (rint_tonearest_test_data): New variable.
9296 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9297 (rint_towardzero_test_data): New variable.
9298 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9299 (rint_downward_test_data): New variable.
9300 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9301 (rint_upward_test_data): New variable.
9302 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9303 (round_test_data): New variable.
9304 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9305 (sin_test_data): New variable.
9306 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9307 (sin_tonearest_test_data): New variable.
9308 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9309 (sin_towardzero_test_data): New variable.
9310 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9311 (sin_downward_test_data): New variable.
9312 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9313 (sin_upward_test_data): New variable.
9314 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9315 (sinh_test_data): New variable.
9316 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9317 (sinh_tonearest_test_data): New variable.
9318 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9319 (sinh_towardzero_test_data): New variable.
9320 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9321 (sinh_downward_test_data): New variable.
9322 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9323 (sinh_upward_test_data): New variable.
9324 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9325 (sqrt_test_data): New variable.
9326 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9327 (tan_test_data): New variable.
9328 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9329 (tan_tonearest_test_data): New variable.
9330 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9331 (tan_towardzero_test_data): New variable.
9332 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9333 (tan_downward_test_data): New variable.
9334 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9335 (tan_upward_test_data): New variable.
9336 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9337 (tanh_test_data): New variable.
9338 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9339 (tgamma_test_data): New variable.
9340 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9341 (trunc_test_data): New variable.
9342 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9343 (y0_test_data): New variable.
9344 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9345 (y1_test_data): New variable.
9346 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9347 (significand_test_data): New variable.
9348 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9350 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9353 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9355 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9357 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9359 2013-05-10 Andreas Jaeger <aj@suse.de>
9362 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9363 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9365 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9367 * math/gen-libm-test.pl (adjust_arg): New function.
9368 (special_functions): Handle generating output in both functions
9370 (parse_args): Likewise.
9371 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9372 $in_func argument to parse_args.
9373 * math/libm-test.inc (struct test_f_f_data): New type.
9374 (IF_ROUND_INIT_): New macro.
9375 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9376 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9377 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9378 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9379 (ROUND_RESTORE_): Likewise.
9380 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9381 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9382 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9383 (ROUND_RESTORE_FE_UPWARD): Likewise.
9384 (RUN_TEST_LOOP_f_f): New macro.
9385 (acos_test_data): New variable.
9386 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9387 (acos_tonearest_test_data): New variable.
9388 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9390 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9392 * benchtests/bench-skeleton.c (startup): Fix coding style.
9394 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9397 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9398 negative infinity argument.
9399 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9400 negative infinity argument.
9401 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9402 negative infinity argument.
9403 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9406 2013-05-10 Florian Weimer <fweimer@redhat.com>
9408 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9409 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9410 * iconv/iconv_prog.c (main): Likewise.
9411 * locale/programs/charmap-dir.c (charmap_readdir)
9412 (fopen_uncompressed): Likewise.
9413 * locale/programs/locfile.c (siblings_uncached)
9414 (write_locale_data): Use lstat64 instead of lstat.
9415 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9418 2013-05-10 Andreas Jaeger <aj@suse.de>
9421 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9425 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9427 * elf/dl-close.c (_dl_close_worker): Add comments.
9429 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9432 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9434 (__ieee754_rem_pio2l): Update comments.
9437 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9439 (__ieee754_rem_pio2l): Update comments.
9441 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9442 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9444 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9447 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9448 (M_PI_34_LOG10El): Likewise.
9449 (M_PI2_LOG10El): Likewise.
9450 (M_PI4_LOG10El): Likewise.
9451 (M_PI_LOG10El): Likewise.
9453 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9457 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9459 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9460 (MINUS_ZERO_INIT): Likewise.
9461 (PLUS_INFTY_INIT): Likewise.
9462 (MINUS_INFTY_INIT): Likewise.
9463 (QNAN_VALUE_INIT): Likewise.
9464 (MAX_VALUE_INIT): Likewise.
9465 (MIN_VALUE_INIT): Likewise.
9466 (MIN_SUBNORM_VALUE_INIT): Likewise.
9467 (plus_zero): Initialize with PLUS_ZERO_INIT.
9468 (minus_zero): Initialize with MINUS_ZERO_INIT.
9469 (plus_infty): Initialize with PLUS_INFTY_INIT.
9470 (minus_infty): Initialize with MINUS_INFTY_INIT.
9471 (qnan_value): Initialize with QNAN_VALUE_INIT.
9472 (max_value): Initialize with MAX_VALUE_INIT.
9473 (min_value): Initialize with MIN_VALUE_INIT.
9474 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9476 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9477 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9478 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9479 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9481 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9482 (RUN_TEST_2_f): Likewise.
9483 (RUN_TEST_ff_f): Likewise.
9484 (RUN_TEST_fi_f): Likewise.
9485 (RUN_TEST_fl_f): Likewise.
9486 (RUN_TEST_fff_f): Likewise.
9487 (RUN_TEST_c_f): Likewise.
9488 (RUN_TEST_f_f1): Likewise.
9489 (RUN_TEST_fF_f1): Likewise.
9490 (RUN_TEST_fI_f1): Likewise.
9491 (RUN_TEST_ffI_f1): Likewise.
9492 (RUN_TEST_c_c): Likewise.
9493 (RUN_TEST_cc_c): Likewise.
9494 (RUN_TEST_f_i): Likewise.
9495 (RUN_TEST_f_i_tg): Likewise.
9496 (RUN_TEST_ff_i_tg): Likewise.
9497 (RUN_TEST_f_b): Likewise.
9498 (RUN_TEST_f_b_tg): Likewise.
9499 (RUN_TEST_f_l): Likewise.
9500 (RUN_TEST_f_L): Likewise.
9501 (RUN_TEST_sincos): Likewise.
9502 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9503 whether to show exceptions. Do not include ");\n" in return
9505 (special_functions): Output call to RUN_TEST_sincos instead of
9506 check_float calls. Update calls to new_test.
9507 (parse_args): Output call to single RUN_TEST_* macro instead of
9508 check_* calls and other assignments. Update calls to new_test.
9514 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9515 input to result for tgamma overflow.
9516 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9517 (gamma_coeff): New variable.
9518 (NCOEFF): New macro.
9519 (gamma_positive): New function.
9520 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9521 underflow here. Use gamma_positive instead of exp (lgamma) for
9523 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9524 (gamma_coeff): New variable.
9525 (NCOEFF): New macro.
9526 (gammaf_positive): New function.
9527 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9528 underflow here. Use gamma_positive instead of exp (lgamma) for
9530 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9531 (gamma_coeff): New variable.
9532 (NCOEFF): New macro.
9533 (gammal_positive): New function.
9534 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9535 underflow here. Use gamma_positive instead of exp (lgamma) for
9537 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9538 (gamma_coeff): New variable.
9539 (NCOEFF): New macro.
9540 (gammal_positive): New function.
9541 (__ieee754_gammal_r): Handle positive infinity, overflow and
9542 underflow here. Handle NaN the same as positive infinity. Remove
9543 check x < 0xffffffff for negative integers. Use gamma_positive
9544 instead of exp (lgamma) for other arguments.
9545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9546 (gamma_coeff): New variable.
9547 (NCOEFF): New macro.
9548 (gammal_positive): New function.
9549 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9550 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9555 * sysdeps/generic/math_private.h (__gamma_productf): New
9557 (__gamma_product): Likewise.
9558 (__gamma_productl): Likewise.
9559 * math/Makefile (libm-calls): Add gamma_product.
9560 * math/libm-test.inc (tgamma_test): Add more tests.
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9566 * benchtests/bench-skeleton.c (main): Preheat CPU.
9568 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9570 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9572 2013-05-07 Roland McGrath <roland@hack.frob.com>
9574 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9575 and _dl_skip_args_internal.
9577 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9579 * manual/message.texi (Message Translation): Talk about users.
9580 Message to key mapping impacts design.
9582 2013-05-06 Roland McGrath <roland@hack.frob.com>
9584 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9586 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9588 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9589 * sysdeps/wordsize-64/glob64.c: ... here.
9591 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9592 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9595 * debug/getlogin_r_chk.c: Moved to ...
9596 * login/getlogin_r_chk.c: ... here.
9597 * debug/Makefile (routines): Move getlogin_r_chk to ...
9598 * login/Makefile (routines): ... here.
9599 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9600 * login/Versions (libc: GLIBC_2.4): ... here.
9602 * io/poll.c (__poll): Renamed from poll.
9603 Add libc_hidden_def.
9604 (poll): Define as weak alias.
9606 * debug/ptsname_r_chk.c: Moved to ...
9607 * login/ptsname_r_chk.c: ... here.
9608 * debug/Makefile (routines): Move ptsname_r_chk to ...
9609 * login/Makefile (routines): ... here.
9610 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9611 * login/Versions (libc: GLIBC_2.4): ... here.
9613 * posix/getlogin.c: Moved to ...
9614 * login/getlogin.c: ... here.
9615 * posix/getlogin_r.c: Moved to ...
9616 * login/getlogin_r.c: ... here.
9617 * posix/getlogin_r.c: Moved to ...
9618 * login/getlogin_r.c: ... here.
9619 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9620 * login/Makefile (routines): ... here.
9621 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9622 * login/Versions (libc: GLIBC_2.0): ... here.
9624 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9625 (setrlimit): Define as weak alias.
9627 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9628 Call __ names for open, ftruncate, and close.
9629 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9630 (truncate): Define as weak alias.
9632 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9634 * math/gen-libm-test.pl (parse_args): Initialize x before each
9635 test of frexp, modf and remquo.
9637 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9640 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9644 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9646 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9648 2013-05-06 Roland McGrath <roland@hack.frob.com>
9650 * elf/dl-writev.h: New file.
9651 * elf/dl-misc.c: Include it.
9652 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9653 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9655 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9657 * math/libm-test.inc (noXFails): Remove variable.
9658 (noXPasses): Likewise.
9659 (BUILD_COMPLEX_INT): Remove macro.
9660 (print_screen): Remove xfail argument.
9661 (print_screen_max_error): Likewise.
9662 (update_stats): Likewise.
9663 (print_max_error): Likewise. Update calls to other affected
9665 (print_complex_max_error): Likewise.
9666 (test_single_exception): Update calls to print_screen.
9667 (test_single_errno): Likewise.
9668 (check_float_internal): Remove xfail argument. Update calls to
9669 other affected functions.
9670 (check_float): Likewise.
9671 (check_complex): Likewise.
9672 (check_int): Likewise.
9673 (check_long): Likewise.
9674 (check_bool): Likewise.
9675 (check_longlong): Likewise.
9676 (main): Don't print noXFails and noXPasses.
9677 * math/gen-libm-test.pl (top level): Don't mention expected
9678 failure handling in comment.
9679 (new_test): Don't handle expected failures.
9680 (parse_args): Don't mention expected failure handling in comment.
9681 (generate_testfile): Don't handle expected failures.
9682 (parse_ulps): Likewise.
9683 (print_ulps_file): Likewise.
9684 (get_failure): Remove function.
9685 (output_test): Don't handle expected failures.
9686 * make/README.libm-test: Don't mention expected failure handling.
9688 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9689 (minus_zero): Likewise.
9690 (plus_infty): Likewise.
9691 (minus_infty): Likewise.
9692 (qnan_value): Likewise.
9693 (max_value): Likewise.
9694 (min_value): Likewise.
9695 (min_subnorm_value): Likewise.
9696 (initialize): Do not initialize those variables dynamically.
9698 2013-05-03 Roland McGrath <roland@hack.frob.com>
9700 * io/open.c (__open_2): Moved to ...
9701 * io/open_2.c: ... this new file.
9702 * io/open64.c (__open64_2): Moved to ...
9703 * io/open64_2.c: ... this new file.
9704 * io/openat.c (__openat_2): Moved to ...
9705 * io/openat_2.c: ... this new file.
9706 * io/openat64.c (__openat64_2): Moved to ...
9707 * io/openat64_2.c: ... this new file.
9708 * io/Makefile (routines): Add them.
9709 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9710 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9711 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9712 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9713 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9714 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9715 (__openat64): Add hidden_ver.
9716 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9717 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9719 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9720 Separately conditionalize setting of GLRO(dl_sysinfo) so
9721 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9722 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9724 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9726 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9727 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9729 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9730 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9731 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9732 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9733 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9735 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9737 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9740 * math/libm-test.inc (hypot_test): Do not use
9741 IGNORE_ZERO_INF_SIGN.
9743 2013-05-03 Andreas Jaeger <aj@suse.de>
9745 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9747 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9748 (PF_MAX): Adjust for VSOCK change.
9750 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9754 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9757 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9758 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9759 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9761 2013-05-02 David S. Miller <davem@davemloft.net>
9763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9765 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9767 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9769 2013-05-01 Roland McGrath <roland@hack.frob.com>
9771 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9773 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9776 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9777 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9778 Use __attribute__ ((__gnu_inline__)).
9779 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9780 Don't use __attribute__ ((__gnu_inline__)).
9782 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9785 * math/s_catan.c (__catan): Handle small real or imaginary part of
9786 input specially to avoid spurious underflow.
9787 * math/s_catanf.c (__catanf): Likewise.
9788 * math/s_catanh.c (__catanh): Likewise.
9789 * math/s_catanhf.c (__catanhf): Likewise.
9790 * math/s_catanhl.c (__catanhl): Likewise.
9791 * math/s_catanl.c (__catanl): Likewise.
9792 * math/libm-test.inc (catan_test): Add more tests.
9793 (catanh_test): Likewise.
9794 * sysdeps/i386/fpu/libm-test-ulps: Update.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9797 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9801 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9804 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9805 accurately for denominator in atan2.
9806 * math/s_catanf.c (__catanf): Likewise.
9807 * math/s_catanh.c (__catanh): Likewise.
9808 * math/s_catanhf.c (__catanhf): Likewise.
9809 * math/s_catanhl.c (__catanhl): Likewise.
9810 * math/s_catanl.c (__catanl): Likewise.
9811 * math/libm-test.inc (catan_test): Add more tests.
9812 (catanh_test): Likewise.
9813 * sysdeps/i386/fpu/libm-test-ulps: Update.
9814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9816 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9818 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9820 * benchtests/Makefile (bench): Remove slow benchmarks.
9821 * benchtests/atan-inputs: Add slow benchmark inputs.
9822 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9823 (BENCH_FUNC): Accept variant offset.
9825 * benchtests/bench-skeleton.c (main): Run benchmark for each
9827 * benchtests/cos-inputs: Add slow benchmark inputs.
9828 * benchtests/exp-inputs: Likewise.
9829 * benchtests/pow-inputs: Likewise.
9830 * benchtests/sin-inputs: Likewise.
9831 * benchtests/slowatan-inputs: Remove.
9832 * benchtests/slowatan.c: Remove.
9833 * benchtests/slowcos-inputs: Remove.
9834 * benchtests/slowcos.c: Remove.
9835 * benchtests/slowexp-inputs: Remove.
9836 * benchtests/slowexp.c: Remove.
9837 * benchtests/slowpow-inputs: Remove.
9838 * benchtests/slowpow.c: Remove.
9839 * benchtests/slowsin-inputs: Remove.
9840 * benchtests/slowsin.c: Remove.
9841 * benchtests/slowtan-inputs: Remove.
9842 * benchtests/slowtan.c: Remove.
9843 * benchtests/tan-inputs: Add slow benchmark inputs.
9844 * scripts/bench.pl: Parse comments and directives.
9846 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9848 ($(objpfx)bench-%.c): Remove *-ITER.
9849 * benchtests/bench-modf.c: Remove definition of ITER.
9850 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9851 (main): Loop for DURATION seconds instead of fixed number of
9853 * scripts/bench.pl: Don't expect iterations in parameters.
9855 2013-04-29 Roland McGrath <roland@hack.frob.com>
9857 * io/fchdir.c (__fchdir): Renamed from fchdir.
9858 (fchdir): Define as weak alias.
9860 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9862 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9863 (ERRNO_EDOM): Likewise.
9864 (ERRNO_ERANGE): Likewise.
9865 (noErrnoTests): New variable.
9866 (init_max_error): Set errno to 0.
9867 (test_single_errno): New function.
9868 (test_errno): Likewise.
9869 (check_float_internal): Call test_errno. Set errno to 0.
9870 (check_complex): Refer to errno tests in comment.
9871 (check_int): Call test_errno. Set errno to 0.
9872 (check_long): Likewise.
9873 (check_bool): Likewise.
9874 (check_longlong): Likewise.
9875 (cos_test): Use ERRNO_* flags for errno tests instead of
9877 (expm1_test): Likewise.
9878 (fmod_test): Likewise.
9879 (ilogb_test): Likewise.
9880 (lgamma_test): Likewise.
9881 (pow_test): Likewise.
9882 (remainder_test): Likewise.
9883 (sin_test): Likewise.
9884 (tan_test): Likewise.
9885 (yn_test): Likewise.
9886 (initialize): Set errno to 0.
9887 (main): Print number of errno tests.
9888 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9890 2013-04-29 Andreas Jaeger <aj@suse.de>
9893 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9897 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9898 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9902 * stdlib/random.c (__initstate): Return NULL if
9906 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9907 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9910 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9914 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9916 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9917 of individual tests.
9918 (casin_test): Likewise.
9919 (casinh_test): Likewise.
9921 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9924 * math/s_catan.c (__catan): Handle arguments with large real or
9925 imaginary part separately without squaring.
9926 * math/s_catanf.c (__catanf): Likewise.
9927 * math/s_catanh.c (__catanh): Likewise.
9928 * math/s_catanhf.c (__catanhf): Likewise.
9929 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9931 (__catanhl): Handle arguments with large real or imaginary part
9932 separately without squaring.
9933 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9935 (__catanl): Handle arguments with large real or imaginary part
9936 separately without squaring.
9937 * math/libm-test.inc (catan_test): Add more tests.
9938 (catanh_test): Likewise.
9939 * sysdeps/i386/fpu/libm-test-ulps: Update.
9940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9942 2013-04-27 Andreas Jaeger <aj@suse.de>
9945 * stdlib/stdlib.h: Update guards for qecvt.
9946 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9949 2013-04-27 Allan McRae <allan@archlinux.org>
9951 * sysdeps/i386/fpu/libm-test-ulps: Update.
9953 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9956 * math/s_catan.c: Include <float.h>.
9957 (__catan): Ensure underflow exception occurs for underflowed
9959 * math/s_catanf.c: Include <float.h>.
9960 (__catanf): Ensure underflow exception occurs for underflowed
9962 * math/s_catanh.c: Include <float.h>.
9963 (__catanh): Ensure underflow exception occurs for underflowed
9965 * math/s_catanhf.c: Include <float.h>.
9966 (__catanhf): Ensure underflow exception occurs for underflowed
9968 * math/s_catanhl.c: Include <float.h>.
9969 (__catanhl): Ensure underflow exception occurs for underflowed
9971 * math/s_catanl.c: Include <float.h>.
9972 (__catanl): Ensure underflow exception occurs for underflowed
9974 * math/libm-test.inc (catan_test): Add more tests.
9975 (catanh_test): Likewise.
9978 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9980 * math/s_ccoshf.c (__ccoshf): Likewise.
9981 * math/s_ccoshl.c (__ccoshl): Likewise.
9982 * math/s_csin.c (__csin): Likewise.
9983 * math/s_csinf.c (__csinf): Likewise.
9984 * math/s_csinh.c (__csinh): Likewise.
9985 * math/s_csinhf.c (__csinhf): Likewise.
9986 * math/s_csinhl.c (__csinhl): Likewise.
9987 * math/s_csinl.c (__csinl): Likewise.
9988 * math/libm-test.inc (ccos_test): Add more tests.
9989 (ccosh_test): Likewise.
9990 (csin_test): Likewise.
9991 (csinh_test): Likewise.
9993 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9995 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9996 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9997 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9998 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9999 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10000 powerpc/power5+/fpu folders.
10001 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10004 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10008 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10010 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10011 additions to variable.
10012 [$(config-machine) = x86_64] (modules-names): Likewise.
10013 ($(objpfx)tst-audit3): Remove dependency.
10014 ($(objpfx)tst-audit3.out): Likewise.
10015 ($(objpfx)tst-audit4): Likewise.
10016 ($(objpfx)tst-audit4.out): Likewise.
10017 ($(objpfx)tst-audit5): Likewise.
10018 ($(objpfx)tst-audit5.out): Likewise.
10019 ($(objpfx)tst-audit6): Likewise.
10020 ($(objpfx)tst-audit6.out): Likewise.
10021 ($(objpfx)tst-audit7): Likewise.
10022 ($(objpfx)tst-audit7.out): Likewise.
10023 (tst-audit3-ENV): Remove variable.
10024 (tst-audit4-ENV): Likewise.
10025 (tst-audit5-ENV): Likewise.
10026 (tst-audit6-ENV): Likewise.
10027 (tst-audit7-ENV): Likewise.
10028 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10029 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10030 addition to variable.
10031 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10032 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10033 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10034 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10035 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10036 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10037 tst-audit3, tst-audit4 and tst-audit5.
10038 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10039 tst-audit6 and tst-audit7.
10040 [$(subdir) = elf] (modules-names): Add audit modules for those
10042 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10043 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10044 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10045 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10046 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10047 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10048 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10049 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10050 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10051 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10052 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10053 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10054 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10055 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10056 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10057 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10059 [$(subdir) = elf && $(config-cflags-avx) = yes]
10060 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10061 [$(subdir) = elf && $(config-cflags-avx) = yes]
10062 (CFLAGS-tst-auditmod4a.c): Likewise.
10063 [$(subdir) = elf && $(config-cflags-avx) = yes]
10064 (CFLAGS-tst-auditmod4b.c): Likewise.
10065 [$(subdir) = elf && $(config-cflags-avx) = yes]
10066 (CFLAGS-tst-auditmod6b.c): Likewise.
10067 [$(subdir) = elf && $(config-cflags-avx) = yes]
10068 (CFLAGS-tst-auditmod6c.c): Likewise.
10069 [$(subdir) = elf && $(config-cflags-avx) = yes]
10070 (CFLAGS-tst-auditmod7b.c): Likewise.
10071 * elf/tst-audit3.c: Move to ...
10072 * sysdeps/x86_64/tst-audit3.c: ... here.
10073 * elf/tst-audit4.c: Move to ...
10074 * sysdeps/x86_64/tst-audit4.c: ... here.
10075 * elf/tst-audit5.c: Move to ...
10076 * sysdeps/x86_64/tst-audit5.c: ... here.
10077 * elf/tst-audit6.c: Move to ...
10078 * sysdeps/x86_64/tst-audit6.c: ... here.
10079 * elf/tst-audit7.c: Move to ...
10080 * sysdeps/x86_64/tst-audit7.c: ... here.
10081 * elf/tst-auditmod3a.c: Move to ...
10082 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10083 * elf/tst-auditmod3b.c: Move to ...
10084 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10085 * elf/tst-auditmod4a.c: Move to ...
10086 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10087 * elf/tst-auditmod4b.c: Move to ...
10088 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10089 * elf/tst-auditmod5a.c: Move to ...
10090 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10091 * elf/tst-auditmod5b.c: Move to ...
10092 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10093 * elf/tst-auditmod6a.c: Move to ...
10094 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10095 * elf/tst-auditmod6b.c: Move to ...
10096 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10097 * elf/tst-auditmod6c.c: Move to ...
10098 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10099 * elf/tst-auditmod7a.c: Move to ...
10100 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10101 * elf/tst-auditmod7b.c: Move to ...
10102 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10104 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10107 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10108 define unconditionally.
10109 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10110 define unconditionally.
10111 (INT8_C, INT16_C, etc.): Likewise.
10113 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10115 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10116 __ehdr_start with hidden visibility.
10118 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10120 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10122 * math/libm-test.inc (cos_test): Use accurate hex constants.
10123 (sincost_test): Likewise.
10125 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10127 * math/libm-test.inc (catan_test): Add more tests.
10128 (catanh_test): Likewise.
10130 * math/s_catanf.c (__catanf): Use suffixed floating-point
10132 * math/s_catanhf.c (__catanhf): Likewise.
10133 * math/s_catanhl.c (__catanhl): Likewise.
10134 * math/s_catanl.c (__catanl): Likewise.
10137 * math/s_catan.c (__catan): Calculate imaginary part of result
10138 with log1p not log unless computing log of number close to 0.
10139 * math/s_catanf.c (__catanf): Likewise.
10140 * math/s_catanl.c (__catanl): Likewise.
10141 * math/s_catanh.c (__catanh): Calculate real part of result with
10142 log1p not log unless computing log of number close to 0.
10143 * math/s_catanhf.c (__catanhf): Likewise.
10144 * math/s_catanhl.c (__catanhl): Likewise.
10145 * math/libm-test.inc (catan_test): Add more tests.
10146 (catanh_test): Likewise.
10147 * sysdeps/i386/fpu/libm-test-ulps: Update.
10148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10150 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10152 * benchtests/Makefile: Mention files in which fast and slow
10153 paths of math functions are implemented.
10155 2013-04-23 Roland McGrath <roland@hack.frob.com>
10157 * sysdeps/posix/timespec_get.c: New file.
10159 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10161 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10163 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10165 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10166 powerpc/power5/fpu folders.
10167 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10168 * benchtests/Makefile: Add modf testcase.
10169 * benchtests/bench-modf.c: New file: Benchmark test for mo
10171 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10174 * time/Makefile (tests): Add tst-strptime-whitespace.
10175 * time/strptime_l.c (get_number): Use ISSPACE.
10176 (__strptime_internal): Likewise.
10177 * time/tst-strptime-whitespace.c: New test case.
10179 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10181 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10183 (_nss_files_init): Set it here.
10185 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10187 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10188 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10191 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10193 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10195 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10197 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10200 2013-04-21 David S. Miller <davem@davemloft.net>
10202 * po/ru.po: Update Russion translation from translation project.
10204 2013-04-17 Adam Conrad <adconrad@0c3.net>
10206 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10209 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10211 * configure.in: Remove i386 configure warning. Remove i386 case.
10212 * configure: Regenerate.
10213 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10214 Add example to error message.
10215 * sysdeps/i386/configure: Regenerate.
10217 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10219 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10221 * benchtests/cos-inputs: New file.
10222 * benchtests/slowcos-inputs: New file.
10223 * benchtests/slowcos.c: New file.
10224 * benchtests/slowtan-inputs: New file.
10225 * benchtests/slowtan.c: New file.
10226 * benchtests/tan-inputs: New file.
10228 2013-04-16 Roland McGrath <roland@hack.frob.com>
10230 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10233 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10235 * benchtests/Makefile: Include cppflags-iterator.mk to add
10236 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10238 * Makefile.in (bench-clean): New target.
10239 * benchtests/Makefile (bench-clean): Likewise.
10241 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10243 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10245 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10247 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10249 2013-04-15 Andreas Schwab <schwab@suse.de>
10251 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10253 * nscd/pwdcache.c (cache_addpw): Likewise.
10254 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10257 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10259 * benchtests/Makefile (bench): Write all output to
10260 bench-out.tmp together.
10262 2013-04-15 Andreas Schwab <schwab@suse.de>
10264 * nscd/nscd.c (main): Don't fork again after closing files.
10266 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10268 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10270 * benchtests/Rules (bench-deps): Collect dependencies into a
10271 single variable. Add Makefile to dependencies.
10272 ($(objpfx)bench-%.c): Depend on bench-deps.
10274 2013-04-12 Roland McGrath <roland@hack.frob.com>
10275 Xavier Roche <roche+kml2@exalead.com>
10278 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10279 just that it's a file descriptor.
10280 * manual/llio.texi (Synchronizing AIO Operations): Update description
10281 for EBADF error from aio_fsync.
10283 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10285 * Rules (bench): Move target definition...
10286 * benchtests/Makefile: ... here.
10288 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10290 * math/libm-test.inc (cos_test): Fix PI/2 test.
10291 (sincos_test): Likewise.
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10293 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10295 2013-04-11 Andreas Schwab <schwab@suse.de>
10298 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10299 accept exponent character only when digits were seen.
10300 * stdio-common/Makefile (tests): Add bug26.
10301 * stdio-common/bug26.c: New file.
10304 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10307 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10309 * Makeconfig (rtld-prefix): Define built linker prefix.
10310 * Rules (run-bench): Use it.
10311 * math/Makefile (run-regen-ulps): Likewise.
10313 * Rules (bench): Remove eval.
10315 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10316 Roland McGrath <roland@hack.frob.com>
10317 Ondrej Bilka <neleai@seznam.cz>
10320 * time/getdate.c: Include ctype.h and alloca.h.
10321 (__getdate_r): Trim leading and trailing spaces of input.
10322 * time/tst-getdate.c (tests): Add tests with leading and
10325 2013-04-08 Roland McGrath <roland@hack.frob.com>
10328 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10329 when computing value.
10331 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10333 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10334 Use testrun.sh to run libm tests.
10337 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10339 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10342 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10344 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10346 * Makefile.in (regen-ulps): New target.
10347 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10348 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10349 [ifneq (no,$(PERL)] (regen-ulps): New target.
10350 [ifeq (no,$(PERL)] (regen-ulps): New target.
10351 * math/libm-test.inc (ulps_file_name): Define.
10352 (output_dir): New variable.
10353 (options): Add "output-dir" option.
10354 (parse_opt): Handle 'o' case.
10355 (main): If output_dir is non-NULL use it as a prefix
10357 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10359 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10361 [BZ #10060, #10062]
10362 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10363 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10364 fail configure if __sync_val_compare_and_swap is not inlined.
10365 * sysdeps/i386/configure: Regenerate.
10366 * configure.in: Build for i686 when configured for i386.
10367 * configure: Regenerate.
10368 * README: Remove i386 reference.
10370 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10372 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10373 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10375 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10377 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10378 (lmsnanval): New variables.
10379 (F): Add conversion tests.
10380 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10381 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10383 * stdio-common/tstdiomisc.c (F): Properly collect individual
10386 [BZ #14686, #15336]
10387 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10388 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10389 Instead, use input NaN values or generate a qNaN by arithmetic
10390 operation. Also fix bugs to comply with the standard.
10391 * math/libm-test.inc (remainder_test): Add more tests.
10393 [BZ #15335, #15342]
10394 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10396 input NaN values or generate a qNaN by arithmetic operation.
10398 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10401 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10404 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10407 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10408 underflowed result.
10409 * math/s_cexpf.c (__cexpf): Likewise.
10410 * math/s_cexpl.c (__cexpl): Likewise.
10411 * math/libm-test.inc (cexp_test): Add more tests.
10413 2013-04-03 Andreas Schwab <schwab@suse.de>
10416 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10417 order arrays from heap if bigger than alloca cutoff.
10419 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10421 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10422 (SNAN_TESTS_double): Refer to GCC PR56831.
10423 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10426 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10428 * Rules (bench): Move bench.out after the run is complete.
10430 * Rules (bench): Echo currently running benchmark.
10432 * benchtests/Makefile (bench): Add atan and slowatan.
10433 * benchtests/atan-inputs: New file.
10434 * benchtests/slowatan-inputs: New file.
10435 * benchtests/slowatan.c: New file.
10437 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10442 * sysdeps/unix/sysv/linux/kernel-features.h
10443 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10444 __ASSUME_XFS_RESTRICTED_CHOWN.
10445 * sysdeps/unix/sysv/linux/pathconf.c
10446 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10447 Save and restore errno.
10449 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10452 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10453 arguments using __kernel_casinh.
10454 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10455 arguments using __kernel_casinhf.
10456 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10457 arguments using __kernel_casinhl.
10458 * math/libm-test.inc (cacosh_test): Add more tests.
10459 * sysdeps/i386/fpu/libm-test-ulps: Update.
10460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10462 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10464 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10467 * bench/Makefile (bench): Add sin and slowsin.
10468 * benchtests/sin-inputs: New file.
10469 * benchtests/slowsin-inputs: New file.
10470 * benchtests/slowsin.c: New file.
10472 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10473 (bench): Add slowexp and slowpow.
10474 (exp-ITER): Increase iterations.
10475 (pow-ITER): Likewise.
10476 * benchtests/exp-inputs: Change input.
10477 * benchtests/pow-inputs: Likewise.
10478 * benchtests/slowexp-inputs: New file.
10479 * benchtests/slowexp.c: New file.
10480 * benchtests/slowpow-inputs: New file.
10481 * benchtests/slowpow.c: New file.
10483 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10485 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10487 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10488 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10489 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10490 * benchtests/Makefile: Add rint benchtest.
10491 * benchtests/rint-inputs: Input for rint benchtest.
10493 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10495 * Versions.def (libm): Add GLIBC_2.18.
10496 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10497 hidden libm prototypes.
10498 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10499 * math/Makefile (libm-calls): Add s_issignaling.
10500 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10501 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10502 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10504 * math/math.h [__USE_GNU] (issignaling): New macro.
10505 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10506 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10511 * manual/arith.texi (issignaling): New section.
10512 * manual/libm-err-tab.pl (@all_functions): Update comment.
10513 * math/gen-libm-test.pl (parse_args): Apply special handling for
10515 * math/libm-test.inc (print_float, issignaling_test): New
10517 (check_float_internal): Add issignaling checks.
10518 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10519 default definition.
10520 * sysdeps/powerpc/math-tests.h: New file.
10521 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10523 * math/test-snan.c (TEST_FUNC): Likewise.
10525 2013-03-30 David S. Miller <davem@davemloft.net>
10527 * po/de.po: Update from translation team.
10529 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10532 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10533 imaginary part less than 1.0 and real part less than 0.5
10535 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10536 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10537 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10538 (cacos_test): Add more tests.
10539 (casin_test): Likewise.
10540 (casinh_test): Likewise.
10541 * sysdeps/i386/fpu/libm-test-ulps: Update.
10542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10544 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10546 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10547 ONE with its value.
10549 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10550 (__pow_mp): Replace ONE and MONE with their values.
10551 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10552 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10553 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10554 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10555 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10556 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10558 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10560 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10561 (__pow_mp): Replace ZERO and MZERO with their values.
10562 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10563 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10564 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10566 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10567 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10570 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10572 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10574 2013-03-28 Roland McGrath <roland@hack.frob.com>
10576 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10577 Declare with __attribute__ ((weak)).
10578 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10579 Call __call_tls_dtors only if it's not NULL.
10581 2013-03-28 Roland McGrath <roland@hack.frob.com>
10583 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10584 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10585 magic __ehdr_start linker symbol if it's defined.
10586 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10587 them up here if it was already done.
10589 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10590 (_dl_aux_init): Use const in cast when setting it.
10591 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10592 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10593 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10595 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10597 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10598 * csu/libc-tls.c: Nor here.
10599 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10601 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10602 (__libc_message): Never call vsyslog.
10604 2013-03-28 Alan Modra <amodra@gmail.com>
10606 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10608 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10611 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10618 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10621 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10622 Don't add gid passed as argument.
10624 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10626 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10629 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10630 imaginary part between 1.0 and 1.5 and real part less than 0.5
10632 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10633 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10634 * math/libm-test.inc (cacos_test): Add more tests.
10635 (casin_test): Likewise.
10636 (casinh_test): Likewise.
10637 * sysdeps/i386/fpu/libm-test-ulps: Update.
10638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10642 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10645 (denorm): Likewise.
10646 (__dbl_mp): Likewise.
10647 (add_magnitudes): Likewise.
10648 (sub_magnitudes): Likewise.
10656 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10658 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10659 (__dubcos): Likewise.
10660 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10661 (__ieee754_acos): Likewise.
10662 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10663 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10664 (__exp1): Likewise.
10665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10668 (my_log2): Likewise.
10669 (checkint): Likewise.
10670 * sysdeps/ieee754/dbl-64/e_remainder.c
10671 (__ieee754_remainder): Likewise.
10672 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10674 (bsloww): Likewise.
10675 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10677 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10678 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10679 MANTISSA_STORE_T to store computations on mantissa. Use
10680 macros for rounding and division.
10681 (denorm): Likewise.
10682 (__dbl_mp): Likewise.
10683 (add_magnitudes): Likewise.
10684 (sub_magnitudes): Likewise.
10687 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10688 powers of two in terms of TWOPOW macro.
10689 (mp_no): Make type of mantissa as MANTISSA_T.
10690 [!RADIXI]: Define RADIXI.
10691 [!TWO52]: Define TWO52.
10692 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10694 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10697 llroundl symbol when building for PPC32.
10699 2013-03-24 Mark H Weaver <mhw@netris.org>
10701 * manual/arith.texi (Normalization Functions): Fix prototypes for
10702 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10704 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10708 high value to check if expl overflow.
10709 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10710 to check for underflow and overflow.
10711 * math/libm-test.inc: Add exp test.
10713 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10716 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10719 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10721 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10724 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10726 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10727 wrap blocks consisting of several statements.
10729 * sysdeps/generic/math-tests.h: New file.
10730 * sysdeps/i386/fpu/math-tests.h: Likewise.
10731 * math/test-snan.c: Include it.
10732 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10734 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10738 (__ieee754_j0l): Do not improve calculations using cos of twice
10739 input for inputs above LDBL_MAX / 2.0L.
10740 (__ieee754_y0l): Likewise.
10741 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10742 (__ieee754_j1l): Do not improve calculations using cos of twice
10743 input for inputs above LDBL_MAX / 2.0L.
10744 (__ieee754_y1l): Likewise.
10745 * math/libm-test.inc (j0_test): Add another test.
10746 (j1_test): Likewise.
10747 (y0_test): Likewise.
10748 (y1_test): Likewise.
10749 * sysdeps/i386/fpu/libm-test-ulps: Update.
10751 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10753 * Rules ($(objpfx)bench-%.c): Include code from a C source
10756 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10759 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10760 imaginary part 1.0 and real part less than 0.5 specially.
10761 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10762 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10763 * math/libm-test.inc (cacos_test): Add more tests.
10764 (casin_test): Likewise.
10765 (casinh_test): Likewise.
10766 * sysdeps/i386/fpu/libm-test-ulps: Update.
10767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10769 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10771 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10772 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10774 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10776 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10777 * config.make.in (config-cflags-sse4): Remove variable.
10778 (config-cflags-avx): Likewise.
10779 (config-cflags-sse2avx): Likewise.
10780 (config-cflags-novzeroupper): Likewise.
10781 (config-asflags-i686): Likewise.
10782 (have-mfma4): Likewise.
10783 (have-as-vis3): Likewise.
10785 * configure.in (MIG): Do not AC_SUBST.
10786 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10787 (libc_cv_cc_sse4): Do not AC_SUBST.
10788 (libc_cv_cc_avx): Likewise.
10789 (libc_cv_cc_sse2avx): Likewise.
10790 (libc_cv_cc_novzeroupper): Likewise.
10791 (libc_cv_cc_fma4): Likewise.
10792 (libc_cv_as_i686): Likewise.
10793 (libc_cv_sparc_as_vis3): Likewise.
10794 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10796 (config-asflags-i686): Likewise.
10797 (config-cflags-avx): Likewise.
10798 (config-cflags-sse2avx): Likewise.
10799 (have-mfma4): Likewise.
10800 (config-cflags-novzeroupper): Likewise.
10801 * sysdeps/mach/configure.in (MIG): Likewise.
10802 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10803 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10805 (config-cflags-avx): Likewise.
10806 (config-cflags-sse2avx): Likewise.
10807 (have-mfma4): Likewise.
10808 (config-cflags-novzeroupper): Likewise.
10809 * configure: Regenerated.
10810 * sysdeps/i386/configure: Likewise.
10811 * sysdeps/mach/configure: Likewise.
10812 * sysdeps/sparc/configure: Likewise.
10813 * sysdeps/x86_64/configure: Likewise.
10815 2013-03-20 Roland McGrath <roland@hack.frob.com>
10818 * locale/programs/localedef.c (options): Put N_ translation marker
10819 on argument names, not just descriptions.
10821 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10823 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10825 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10828 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10830 2013-03-19 Roland McGrath <roland@hack.frob.com>
10832 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10833 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10834 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10835 [!BEFORE_ABORT] (before_abort): New function.
10836 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10837 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10838 (writev_for_fatal): New function.
10839 (WRITEV_FOR_FATAL): New macro; call that.
10840 (backtrace_and_maps): New function.
10841 (BEFORE_ABORT): New macro; call that.
10842 (struct str_list): Type removed.
10843 (__libc_message, __libc_fatal): Functions removed.
10844 Include <sysdeps/posix/libc_fatal.c> instead.
10846 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10848 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10850 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10853 2013-03-19 Andreas Schwab <schwab@suse.de>
10855 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10856 * sysdeps/gnu/configure: Regenerate.
10858 * configure.in: Substitute libc_cv_rtlddir.
10859 * configure: Regenerate.
10860 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10861 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10862 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10863 * elf/Makefile (install-others, CFLAGS-interp.c)
10864 (ldso_install, common-ldd-rewrite): Likewise.
10865 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10866 $(inst_slibdir)/$(rtld-installed-name).
10867 * scripts/rellns-sh: Add -p option.
10868 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10871 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 * manual/nptl.texi: Renamed to ...
10874 * manual/threads.texi: ... this.
10875 * manual/Makefile (chapters): Update.
10877 2013-03-18 Roland McGrath <roland@hack.frob.com>
10880 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10881 on argument names, not just descriptions.
10882 * malloc/memusagestat.c (options): Likewise.
10883 * nss/getent.c (options): Likewise.
10885 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10888 * iconv/iconv_prog.c (options): Put N_ translation marker
10889 on argument names, not just descriptions.
10890 * iconv/iconvconfig.c (options): Likewise.
10892 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10894 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10895 implementation which is faster on all x86_64 architectures.
10896 Tested on AMD, Intel Nehalem, SNB, IVB.
10897 * sysdeps/x86_64/strnlen.S: Likewise.
10899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10900 Remove all multiarch strlen and strnlen versions.
10901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10902 Remove strlen and strnlen related parts.
10904 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10905 Inline strlen part.
10906 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10908 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10909 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10910 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10911 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10912 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10913 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10915 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10917 * manual/memory.texi (Malloc Tunable Parameters):
10918 Sort parameters alphabetically. Add comments for missing entries.
10920 2013-03-17 David S. Miller <davem@davemloft.net>
10922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10924 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10927 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10928 for arguments at most half maximum finite value.
10929 * math/libm-test.inc (j0_test): Add more tests.
10930 (j1_test): Likewise.
10931 (y0_test): Likewise.
10932 (y1_test): Likewise.
10933 * sysdeps/i386/fpu/libm-test-ulps: Update.
10934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10938 1 / x and functions P and Q for arguments above 0x1p256L.
10939 (__ieee754_y0l): Likewise.
10940 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10941 (__ieee754_y1l): Likewise.
10942 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10943 (j1_test): Likewise.
10944 (y0_test): Likewise.
10945 (y1_test): Likewise.
10947 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10949 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10952 2013-03-15 Roland McGrath <roland@hack.frob.com>
10954 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10955 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10956 zero since it's initialized to EXEC_PAGESIZE.
10958 * sysdeps/unix/sysv/linux/ldsodefs.h
10959 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10960 * sysdeps/generic/ldsodefs.h: ... here.
10962 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10964 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10966 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10968 * math/test-snan.c: Renamed from
10969 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10970 * math/Makefile (tests): Add test-snan.
10971 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10974 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10975 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10977 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10978 __builtin_nan family of functions.
10979 * math/libm-test.inc (initialize): Initialize qnan_value with
10980 __builtin_nan family of functions.
10981 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10983 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10985 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10986 storage class. Initialize qNaN_var and sNaN_var with
10987 __builtin_nan and __builtin_nans families of functions,
10990 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10991 (sqrt_test): Remove duplicate test with qNaN input.
10992 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10993 (round_test, signbit_test, significand_test): Note missing +/-Inf
10994 as well as qNaN tests.
10996 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10997 qNaN_var. Fix a few strings, too.
10998 * math/libm-test.inc (nan_value): Rename to qnan_value.
10999 * math/gen-libm-test.pl (%beautify): Adjust to that.
11000 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11001 * math/test-misc.c (main): Likewise.
11002 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11003 to __qnan_bytes, and __qnan_union, respectively.
11004 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11006 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11007 and lqnanval, respectively.
11008 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11009 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11010 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11011 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11013 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11014 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11017 * math/test-misc.c (main): Fix copy'n'pastos.
11018 * misc/tst-efgcvt.c (special): Likewise.
11020 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11021 Remove declarations.
11023 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11025 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11026 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11027 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11028 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11030 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11033 macro to return vdso values correctly in IFUNC implementations.
11034 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11035 Optimization by using IFUNC.
11037 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11038 Richard Henderson <rth@redhat.com>
11039 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11041 * Makefile.in (bench): New target.
11042 * NEWS: Mention the benchmark framework.
11043 * Rules (bench): Likewise.
11044 (binaries-bench): Generate binaries for functions to
11046 * benchtests/Makefile: New makefile for benchmark tests.
11047 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11049 * benchtests/exp-inputs: New input file for EXP function.
11050 * benchtests/pow-inputs: New input file for POW function.
11051 * scripts/bench.pl: New script to generate source files for
11052 benchmark programs.
11054 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11056 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11057 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11058 computations on mantissa. Use macros for rounding and
11060 (denorm): Likewise.
11061 (__dbl_mp): Likewise.
11062 (add_magnitudes): Likewise.
11063 (sub_magnitudes): Likewise.
11066 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11067 powers of two in terms of TWOPOW macro.
11068 (mp_no): Make type of mantissa as MANTISSA_T.
11069 [!RADIXI]: Define RADIXI.
11070 [!TWO52]: Define TWO52.
11071 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11073 * manual/nptl.texi (cindex): Modify threads to pthreads.
11075 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11077 * sysdeps/x86_64/preconfigure: Regenerated.
11079 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11082 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11084 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11085 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11087 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11088 * math/libm-test.inc (j0_test): Do not allow one spurious
11089 underflow exception.
11090 (y1_test): Likewise.
11092 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11094 * manual/Makefile (chapters): Add nptl.
11095 * manual/debug.texi (Debugging Support): Add link to Threads
11097 * manual/nptl.texi: New file.
11099 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11101 2013-03-14 Petr Baudis <pasky@ucw.cz>
11103 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11104 for non-NULL pointer before the memory validity test. Pointed
11105 out by Holger Brunck <holger.brunck@keymile.com>.
11107 2013-03-13 Andreas Schwab <schwab@suse.de>
11109 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11112 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11114 * timezone/zic.c: Update from tzcode 2013b.
11116 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11118 * manual/install.texi (Configuring and compiling):
11119 Mention i686 and i586.
11120 * INSTALL: Regenerate.
11122 2013-03-12 Roland McGrath <roland@hack.frob.com>
11124 * sysdeps/init_array/elf-init.c: New file.
11126 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11127 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11129 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11130 __gmon_start__ as global, but as static with a .preinit_array pointer.
11131 * sysdeps/init_array/gmon-start.c: New file. Use that.
11132 * sysdeps/init_array/crti.S: New file, empty except for comments.
11133 * sysdeps/init_array/crtn.S: Likewise.
11135 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11137 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11140 Remove Prefer_SSE_for_memop.
11141 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11142 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11143 HAS_PREFER_SSE_FOR_MEMOP.
11144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11147 Remove bzero, memset ifunc support.
11148 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11149 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11150 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11151 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11153 2013-03-11 Andreas Schwab <schwab@suse.de>
11156 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11159 (GLIBC_2.16): Remove pthread_atfork.
11161 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11163 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11164 (ptestcases.h): Likewise.
11166 2013-03-08 Roland McGrath <roland@hack.frob.com>
11168 * Makeconfig ($(common-objpfx)config.status): Depend on
11169 sysdeps/*/preconfigure{,.in} too.
11171 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11173 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11174 (__free_hook): Use void * instead of __malloc_ptr_t.
11175 (__malloc_hook): Likewise.
11176 (__realloc_hook): Likewise.
11177 (__memalign_hook): Likewise.
11178 (__after_morecore_hook): Likewise.
11179 * malloc/arena.c (save_malloc_hook): Likewise.
11180 (save_free_hook): Likewise.
11181 * malloc/hooks.c (malloc_hook_ini): Likewise.
11182 (realloc_hook_ini): Likewise.
11183 (memalign_hook_ini): Likewise.
11184 * malloc/malloc.c (malloc_hook_ini): Likewise.
11185 (realloc_hook_ini): Likewise.
11186 (memalign_hook_ini): Likewise.
11187 (__free_hook): Likewise.
11188 (__malloc_hook): Likewise.
11189 (__realloc_hook): Likewise.
11190 (__memalign_hook): Likewise.
11191 (__libc_malloc): Likewise.
11192 (__libc_free): Likewise.
11193 (__libc_realloc): Likewise.
11194 (__libc_memalign): Likewise.
11195 (__libc_valloc): Likewise.
11196 (__libc_pvalloc): Likewise.
11197 (__libc_calloc): Likewise.
11198 (__posix_memalign): Likewise.
11199 * malloc/morecore.c (__sbrk): Likewise.
11200 (__default_morecore): Likewise.
11202 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11204 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11205 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11206 __malloc_ptrdiff_t.
11208 * malloc/malloc.h (__malloc_size_t): Remove macro.
11209 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11211 (old_memalign_hook): Likewise.
11212 (old_realloc_hook): Likewise.
11213 (struct hdr): Likewise.
11215 (mallochook): Likewise.
11216 (memalignhook): Likewise.
11217 (reallochook): Likewise.
11218 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11219 (tr_old_realloc_hook): Likewise.
11220 (tr_old_memalign_hook): Likewise.
11221 (tr_mallochook): Likewise.
11222 (tr_reallochook): Likewise.
11223 (tr_memalignhook): Likewise.
11225 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11227 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11228 default_ldbl_pack and using as default implementation.
11229 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11231 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11232 redundant definition.
11233 (ldbl_insert_mantissa): Likewise.
11234 (ldbl_canonicalize): Likewise.
11235 (ldbl_nearbyint): Likewise.
11236 (ldbl_pack): Rename to ldbl_pack_ppc.
11237 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11238 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11239 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11241 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11244 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11245 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11246 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11248 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11249 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11250 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11252 2013-03-07 Andreas Jaeger <aj@suse.de>
11254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11257 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11259 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11260 Include mpa.h and declare __MPEXP.
11261 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11262 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11263 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11264 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11265 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11266 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11267 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11269 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11270 (__slowpow): Use long double EXPL and LOGL functions to
11272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11273 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11274 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11276 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11277 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11280 intermediate variable to calculate exponent.
11282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11286 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11287 [!NO__SQR]: Define __sqr.
11288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11289 and NO__SQR. Remove all code except __mul and __sqr. Include
11290 sysdeps/ieee754/dbl-64/mpa.c.
11291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11294 * posix/Makefile (tests): Add tst-pathconf.
11295 * posix/tst-pathconf.c: New test case.
11296 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11298 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11300 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11302 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11304 2013-03-06 Andreas Jaeger <aj@suse.de>
11306 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11307 definition via __MAP_ANONYMOUS.
11309 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11310 it's not part of Linux headers.
11312 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11313 (MAP_HUGE_MASK): Define.
11315 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11317 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11320 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11321 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11323 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11326 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11328 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11329 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11330 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11331 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11332 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11333 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11338 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11339 Handle f2fs and efivarfs.
11341 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11344 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11345 (EFIVARFS_MAGIC): Add.
11346 (F2FS_LINK_MAX): Add.
11348 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11350 * stdio-common/vfprintf.c: Replace __builtin_expect with
11353 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11356 * sysdeps/generic/bp-sym.h: Remove file.
11357 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11358 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11359 <bp-sym.h> and <bp-asm.h>.
11360 (__longjmp): Don't use BP_SYM.
11361 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11363 (memcpy): Don't use BP_SYM.
11364 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11365 <bp-sym.h> and <bp-asm.h>.
11366 (memcpy): Don't use BP_SYM.
11367 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11369 (memcpy): Don't use BP_SYM.
11370 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11372 (memset): Don't use BP_SYM.
11373 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11374 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11375 (__bzero): Don't use BP_SYM.
11376 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11377 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11379 <bp-sym.h> and <bp-asm.h>.
11380 (memcmp): Don't use BP_SYM. Remove comment about bounded
11382 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11383 <bp-sym.h> and <bp-asm.h>.
11384 (memcpy): Don't use BP_SYM.
11385 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11386 <bp-sym.h> and <bp-asm.h>.
11387 (memset): Don't use BP_SYM.
11388 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11389 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11390 (__bzero): Don't use BP_SYM.
11391 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11392 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11393 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11394 <bp-sym.h> and <bp-asm.h>.
11395 (strncmp): Don't use BP_SYM. Remove comment about bounded
11397 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11398 <bp-sym.h> and <bp-asm.h>.
11399 (memcpy): Don't use BP_SYM.
11400 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11401 <bp-sym.h> and <bp-asm.h>.
11402 (memset): Don't use BP_SYM.
11403 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11404 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11405 (__bzero): Don't use BP_SYM.
11406 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11407 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11409 <bp-sym.h> and <bp-asm.h>.
11410 (__memchr): Don't use BP_SYM.
11411 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11412 <bp-sym.h> and <bp-asm.h>.
11413 (memcmp): Don't use BP_SYM. Remove comment about bounded
11415 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11416 <bp-sym.h> and <bp-asm.h>.
11417 (memcpy): Don't use BP_SYM.
11418 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11419 <bp-sym.h> and <bp-asm.h>.
11420 (__mempcpy): Don't use BP_SYM.
11421 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11422 <bp-sym.h> and <bp-asm.h>.
11423 (__memrchr): Don't use BP_SYM.
11424 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11425 <bp-sym.h> and <bp-asm.h>.
11426 (memset): Don't use BP_SYM.
11427 (__bzero): Likewise.
11428 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11429 <bp-sym.h> and <bp-asm.h>.
11430 (__rawmemchr): Don't use BP_SYM.
11431 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11432 <bp-sym.h> and <bp-asm.h>.
11433 (__STRCMP): Don't use BP_SYM.
11434 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11435 <bp-sym.h> and <bp-asm.h>.
11436 (strchr): Don't use BP_SYM.
11437 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11438 <bp-sym.h> and <bp-asm.h>.
11439 (__strchrnul): Don't use BP_SYM.
11440 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11441 <bp-sym.h> and <bp-asm.h>.
11442 (strlen): Don't use BP_SYM.
11443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11444 <bp-sym.h> and <bp-asm.h>.
11445 (strncmp): Don't use BP_SYM. Remove comment about bounded
11447 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11448 <bp-sym.h> and <bp-asm.h>.
11449 (__strnlen): Don't use BP_SYM.
11450 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11451 <bp-sym.h> and <bp-asm.h>.
11452 (__GI__setjmp): Don't use BP_SYM.
11453 (_setjmp): Likewise.
11454 (__sigsetjmp): Likewise.
11455 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11456 (L(start_addresses)): Don't use BP_SYM.
11457 (_start): Likewise.
11458 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11460 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11461 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11462 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11463 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11464 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11466 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11467 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11468 about bounded pointers.
11469 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11470 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11471 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11473 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11474 about bounded pointers. Remove GKM FIXME comments.
11475 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11476 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11478 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11479 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11480 Remove GKM FIXME comments.
11481 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11482 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11483 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11485 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11486 about bounded pointers. Remove GKM FIXME comment.
11487 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11489 (strncmp): Don't use BP_SYM. Remove comment about bounded
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11492 <bp-sym.h> and <bp-asm.h>.
11493 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11495 <bp-sym.h> and <bp-asm.h>.
11496 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11499 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11501 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11504 2013-03-05 David S. Miller <davem@davemloft.net>
11506 * po/es.po: Update from translation team.
11508 2013-03-05 Andreas Jaeger <aj@suse.de>
11510 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11511 <bits/mman-linux.h>.
11512 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11515 <bits/mman-linux.h> to end of file.
11516 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11519 <bits/mman-linux.h> to end of file.
11520 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11522 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11523 <bits/mman-linux.h> to end of file.
11525 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11526 (MCL_CURRENT, MCL_FUTURE): Define here.
11528 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11531 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11533 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11535 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11537 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11538 fourth parameter needed for rt_sigprocmask syscall.
11539 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11540 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11541 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11542 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11543 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11544 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11546 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11549 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11550 comment about bounded pointers.
11551 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11552 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11554 2013-03-04 Andreas Jaeger <aj@suse.de>
11556 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11557 common definitions.
11559 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11560 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11561 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11566 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11570 __ieee754_sqrl instead of __sqrl.
11572 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11574 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11575 * sysdeps/powerpc/fpu_control.h: ... here.
11576 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11577 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11578 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11579 * sysdeps/powerpc/bits/mathinline.h: ... here.
11581 2013-03-01 Roland McGrath <roland@hack.frob.com>
11583 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11584 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11585 to just [NEED_DL_SYSINFO_DSO].
11586 * elf/dl-support.c: Likewise.
11587 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11588 * elf/rtld.c (dl_main): Likewise.
11589 * elf/setup-vdso.h (setup_vdso): Likewise.
11590 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11591 * sysdeps/unix/sysv/linux/dl-sysdep.c
11592 (_dl_discover_osversion): Likewise.
11594 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11596 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11597 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11599 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11601 * NEWS: Mention libm performance improvements and non-x86 PI
11604 * csu/libc-start.c (__pthread_initialize_minimal): Change
11605 function arguments.
11606 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11608 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11611 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11612 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11613 <bp-sym.h> and <bp-asm.h>.
11614 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11617 (memcpy): Don't use BP_SYM.
11618 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11620 (__mpn_add_n): Don't use BP_SYM.
11621 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11622 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11624 (__mpn_addmul_1): Don't use BP_SYM.
11625 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11626 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11628 (_setjmp): Don't use BP_SYM.
11629 (__novmx_setjmp): Likewise.
11630 (__GI__setjmp): Likewise.
11631 (__vmx_setjmp): Likewise.
11632 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11634 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11635 (__bzero): Don't use BP_SYM.
11636 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11637 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11638 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11639 <bp-sym.h> and <bp-asm.h>.
11640 (memcpy): Don't use BP_SYM.
11641 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11642 <bp-sym.h> and <bp-asm.h>.
11643 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11644 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11645 <bp-sym.h> and <bp-asm.h>.
11646 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11647 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11649 (__mpn_lshift): Don't use BP_SYM.
11650 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11651 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11653 (memset): Don't use BP_SYM.
11654 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11655 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11656 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11658 (__mpn_mul_1): Don't use BP_SYM.
11659 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11660 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11661 <bp-sym.h> and <bp-asm.h>.
11662 (memcmp): Don't use BP_SYM.
11663 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11664 <bp-sym.h> and <bp-asm.h>.
11665 (memcpy): Don't use BP_SYM.
11666 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11667 <bp-sym.h> and <bp-asm.h>.
11668 (memset): Don't use BP_SYM.
11669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11670 <bp-sym.h> and <bp-asm.h>.
11671 (strncmp): Don't use BP_SYM.
11672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11673 <bp-sym.h> and <bp-asm.h>.
11674 (memcpy): Don't use BP_SYM.
11675 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11676 <bp-sym.h> and <bp-asm.h>.
11677 (memset): Don't use BP_SYM.
11678 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11679 <bp-sym.h> and <bp-asm.h>.
11680 (__memchr): Don't use BP_SYM.
11681 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11682 <bp-sym.h> and <bp-asm.h>.
11683 (memcmp): Don't use BP_SYM.
11684 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11685 <bp-sym.h> and <bp-asm.h>.
11686 (memcpy): Don't use BP_SYM.
11687 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11688 <bp-sym.h> and <bp-asm.h>.
11689 (__mempcpy): Don't use BP_SYM.
11690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11691 <bp-sym.h> and <bp-asm.h>.
11692 (__memrchr): Don't use BP_SYM.
11693 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11694 <bp-sym.h> and <bp-asm.h>.
11695 (memset): Don't use BP_SYM.
11696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11697 <bp-sym.h> and <bp-asm.h>.
11698 (__rawmemchr): Don't use BP_SYM.
11699 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11700 <bp-sym.h> and <bp-asm.h>.
11701 (__STRCMP): Don't use BP_SYM.
11702 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11703 <bp-sym.h> and <bp-asm.h>.
11704 (strchr): Don't use BP_SYM.
11705 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11706 <bp-sym.h> and <bp-asm.h>.
11707 (__strchrnul): Don't use BP_SYM.
11708 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11709 <bp-sym.h> and <bp-asm.h>.
11710 (strlen): Don't use BP_SYM.
11711 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11712 <bp-sym.h> and <bp-asm.h>.
11713 (strncmp): Don't use BP_SYM.
11714 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11715 <bp-sym.h> and <bp-asm.h>.
11716 (__strnlen): Don't use BP_SYM.
11717 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11719 (__mpn_rshift): Don't use BP_SYM.
11720 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11721 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11722 <bp-sym.h> and <bp-asm.h>.
11723 (__sigsetjmp): Don't use BP_SYM.
11724 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11725 (L(start_addresses)): Don't use BP_SYM.
11726 (_start): Likewise.
11727 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11729 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11730 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11731 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11732 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11734 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11735 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11736 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11737 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11739 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11741 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11742 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11744 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11746 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11747 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11748 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11750 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11752 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11754 (strncmp): Don't use BP_SYM,
11755 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11757 (__mpn_sub_n): Don't use BP_SYM.
11758 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11759 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11761 (__mpn_submul_1): Don't use BP_SYM.
11762 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11764 <bp-sym.h> and <bp-asm.h>.
11765 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11767 <bp-sym.h> and <bp-asm.h>.
11768 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11771 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11774 Use ZK to minimize writes to Z.
11775 (sub_magnitudes): Simplify code a bit.
11776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11777 Use ZK to minimize writes to Z.
11778 (sub_magnitudes): Simplify code a bit.
11780 2013-02-27 Roland McGrath <roland@hack.frob.com>
11782 * csu/gmon-start.c: Add special exception to license text.
11784 2013-02-27 Richard Henderson <rth@redhat.com>
11786 * scripts/config.guess: Update from config.git.
11787 * scripts/config.sub: Likewise.
11789 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11791 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11793 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11795 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11797 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11799 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11801 2013-02-26 Roland McGrath <roland@hack.frob.com>
11803 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11804 [$(build-shared = yes].
11806 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11808 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11809 (__mul): Reduce iterations for calculating mantissa.
11811 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11813 (__mpranred): Likewise.
11816 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11817 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11819 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11821 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11822 Define __attribute__.
11824 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11826 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11828 * posix/regex_internal.h (__attribute): Remove.
11829 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11830 (re_string_context_at): Likewise.
11831 (bitset_not): Use __attribute__ and mark function as possibly
11833 (bitset_merge): Likewise.
11834 (bitset_mask): Likewise.
11835 (re_string_char_size_at): Likewise.
11836 (re_string_wchar_at): Likewise.
11837 (re_string_elem_size_at): Likewise.
11839 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11845 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11849 (denorm): Likewise.
11850 (__dbl_mp): Likewise.
11851 (add_magnitudes): Likewise.
11852 (sub_magnitudes): Likewise.
11856 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11859 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11862 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11866 up changes with default code.
11867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11870 2013-02-24 Allan McRae <allan@archlinux.org>
11872 * manual/socket.texi (The Internet Namespace): Order menu items
11873 to match that in the file.
11875 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11876 node listing of the info page menu.
11878 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/i386/bp-asm.h: Remove file.
11882 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11883 (PARMS): Do not use macros from bp-asm.h.
11887 (__mpn_add_n): Do not use BP_SYM
11888 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11890 (PARMS): Do not use macros from bp-asm.h.
11893 (__mpn_addmul_1): Do not use BP_SYM
11894 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11896 (PARMS): Do not use macros from bp-asm.h.
11897 (SIGMSK): Likewise.
11898 (_setjmp): Likewise. Do not use BP_SYM.
11899 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11901 (PARMS): Do not use macros from bp-asm.h.
11902 (SIGMSK): Likewise.
11903 (setjmp): Likewise. Do not use BP_SYM.
11904 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11906 (PARMS): Do not use macros from bp-asm.h.
11907 (__frexp): Do not use BP_SYM.
11909 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11911 (PARMS): Do not use macros from bp-asm.h.
11912 (__frexpf): Do not use BP_SYM.
11913 (frexpf): Likewise.
11914 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11916 (PARMS): Do not use macros from bp-asm.h.
11917 (__frexpl): Do not use BP_SYM.
11918 (frexpl): Likewise.
11919 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11921 (PARMS): Do not use macros from bp-asm.h.
11922 (__remquo): Do not use BP_SYM.
11923 (remquo): Likewise.
11924 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11926 (PARMS): Do not use macros from bp-asm.h.
11927 (__remquof): Do not use BP_SYM.
11928 (remquof): Likewise.
11929 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11931 (PARMS): Do not use macros from bp-asm.h.
11932 (__remquol): Do not use BP_SYM.
11933 (remquol): Likewise.
11934 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11936 (PARMS): Do not use macros from bp-asm.h.
11939 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11940 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11942 (PARMS): Do not use macros from bp-asm.h.
11943 (strlen): Do not use BP_SYM.
11944 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11946 (PARMS): Do not use macros from bp-asm.h.
11950 (__mpn_add_n): Do not use BP_SYM.
11951 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11953 (PARMS): Do not use macros from bp-asm.h.
11956 (__mpn_addmul_1): Do not use BP_SYM.
11957 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11960 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11962 (PARMS): Do not use macros from bp-asm.h.
11965 (__mpn_lshift): Do not use BP_SYM.
11966 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11968 (PARMS): Do not use macros from bp-asm.h.
11972 (memcpy): Likewise. Do not use BP_SYM.
11973 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11974 libc_hidden_def and weak_alias.
11975 (mempcpy): Do not use BP_SYM in weak_alias.
11976 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11978 (PARMS): Do not use macros from bp-asm.h.
11981 [!BZERO_P] (CHR): Likewise.
11982 (memset): Likewise. Do not use BP_SYM.
11983 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11985 (PARMS): Do not use macros from bp-asm.h.
11988 (__mpn_mul_1): Do not use BP_SYM.
11989 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11991 (PARMS): Do not use macros from bp-asm.h.
11994 (__mpn_rshift): Do not use BP_SYM.
11995 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11997 (PARMS): Do not use macros from bp-asm.h.
12000 (strchr): Likewise. Do not use BP_SYM.
12001 (index): Do not use BP_SYM in weak_alias.
12002 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12004 (PARMS): Do not use macros from bp-asm.h.
12007 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12008 * sysdeps/i386/i586/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/sub_n.S: Do not include "bp-sym.h" and
12014 (PARMS): Do not use macros from bp-asm.h.
12018 (__mpn_sub_n): Do not use BP_SYM.
12019 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12021 (PARMS): Do not use macros from bp-asm.h.
12024 (__mpn_submul_1): Do not use BP_SYM.
12025 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12027 (PARMS): Do not use macros from bp-asm.h.
12031 (__mpn_add_n): Do not use BP_SYM.
12032 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12035 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12037 (PARMS): Do not use macros from bp-asm.h.
12040 (memcmp): Do not use BP_SYM.
12041 (bcmp): Do not use BP_SYM in weak_alias.
12042 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12044 (PARMS): Do not use macros from bp-asm.h.
12048 (memcpy): Likewise. Do not use BP_SYM.
12049 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12051 (PARMS): Do not use macros from bp-asm.h.
12055 (memmove): Likewise. Do not use BP_SYM.
12056 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12058 (PARMS): Do not use macros from bp-asm.h.
12062 (__mempcpy): Likewise. Do not use BP_SYM.
12063 (mempcpy): Do not use BP_SYM in weak_alias.
12064 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12066 (PARMS): Do not use macros from bp-asm.h.
12069 [!BZERO_P] (CHR): Likewise.
12070 (memset): Likewise. Do not use BP_SYM.
12071 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12073 (PARMS): Do not use macros from bp-asm.h.
12075 (strcmp): Do not use BP_SYM.
12076 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12078 (PARMS): Do not use macros from bp-asm.h.
12081 [USE_AS_STRTOK_R] (SAVE): Likewise.
12082 (FUNCTION): Likewise. Do not use BP_SYM.
12083 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12085 (strtok_r): Likewise.
12086 (__GI___strtok_r): Likewise.
12087 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12088 (PARMS): Do not use macros from bp-asm.h.
12091 (__mpn_lshift): Do not use BP_SYM.
12092 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12093 (PARMS): Do not use macros from bp-asm.h.
12096 (__memchr): Do not use BP_SYM.
12097 (memchr): Do not use BP_SYM in weak_alias.
12098 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12099 (PARMS): Do not use macros from bp-asm.h.
12102 (memcmp): Do not use BP_SYM.
12103 (bcmp): Do not use BP_SYM in weak_alias.
12104 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12105 (PARMS): Do not use macros from bp-asm.h.
12108 (__mpn_mul_1): Do not use BP_SYM.
12109 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12111 (PARMS): Do not use macros from bp-asm.h.
12114 (__rawmemchr): Do not use BP_SYM.
12115 (rawmemchr): Do not use BP_SYM in weak_alias.
12116 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12117 (PARMS): Do not use macros from bp-asm.h.
12120 (__mpn_rshift): Do not use BP_SYM.
12121 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12122 (PARMS): Do not use macros from bp-asm.h.
12123 (SIGMSK): Likewise.
12124 (__sigsetjmp): Likewise. Do not use BP_SYM.
12125 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12126 (_start): Do not use BP_SYM.
12127 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12128 (PARMS): Do not use macros from bp-asm.h.
12131 (__stpcpy): Likewise. Do not use BP_SYM.
12132 (stpcpy): Do not use BP_SYM in weak_alias.
12133 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12135 (PARMS): Do not use macros from bp-asm.h.
12139 (__stpncpy): Likewise. Do not use BP_SYM.
12140 (stpncpy): Do not use BP_SYM in weak_alias.
12141 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12142 (PARMS): Do not use macros from bp-asm.h.
12145 (strchr): Likewise. Do not use BP_SYM.
12146 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12148 (PARMS): Do not use macros from bp-asm.h.
12151 (__strchrnul): Likewise. Do not use BP_SYM.
12152 (strchrnul): Do not use BP_SYM in weak_alias.
12153 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12155 (PARMS): Do not use macros from bp-asm.h.
12157 (strcspn): Do not use BP_SYM.
12158 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12160 (PARMS): Do not use macros from bp-asm.h.
12163 (strpbrk): Likewise. Do not use BP_SYM.
12164 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12166 (PARMS): Do not use macros from bp-asm.h.
12169 (strrchr): Likewise. Do not use BP_SYM.
12170 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12171 (PARMS): Do not use macros from bp-asm.h.
12173 (strspn): Do not use BP_SYM.
12174 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12175 (PARMS): Do not use macros from bp-asm.h.
12179 (FUNCTION): Likewise. Do not use BP_SYM.
12180 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12182 (strtok_r): Likewise.
12183 (__GI___strtok_r): Likewise.
12184 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12185 (PARMS): Do not use macros from bp-asm.h.
12189 (__mpn_sub_n): Do not use BP_SYM.
12190 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12192 (PARMS): Do not use macros from bp-asm.h.
12195 (__mpn_submul_1): Do not use BP_SYM.
12196 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12198 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12200 (PARMS): Do not use macros from bp-asm.h.
12205 (__clone): Do not use BP_SYM.
12206 (clone): Do not use BP_SYM in weak_alias.
12207 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12209 (PARMS): Do not use macros from bp-asm.h.
12211 (__mmap64): Do not use BP_SYM.
12212 (mmap64): Do not use BP_SYM in weak_alias.
12213 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12214 <bp-sym.h> and <bp-asm.h>.
12215 (PARMS): Do not use macros from bp-asm.h.
12216 (__posix_fadvise64_l64): Do not use BP_SYM.
12217 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12218 (PARMS): Do not use macros from bp-asm.h.
12220 (semtimedop): Do not use BP_SYM.
12221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12224 2013-02-21 Allan McRae <allan@archlinux.org>
12226 * manual/message.texi (Charset conversion in gettext):
12227 Move @end statement to beginning of line.
12229 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12236 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12237 (denorm): Likewise.
12238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12241 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12243 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12244 tail-call to the resolved function if pltexit isn't needed.
12246 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12249 or Y being zero as being unlikely.
12250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12253 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12255 * manual/nss.texi (System Databases and Name Service Switch):
12256 Remove frobnicate @pxref.
12258 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12260 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12261 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12263 2013-02-20 Petr Machata <pmachata@redhat.com>
12265 * elf/elf.h (R_ARM_TARGET1): New macro.
12266 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12267 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12268 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12269 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12270 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12271 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12272 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12273 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12274 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12275 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12276 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12277 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12278 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12279 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12280 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12281 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12282 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12283 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12284 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12285 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12286 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12287 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12288 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12289 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12290 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12291 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12292 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12293 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12294 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12295 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12296 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12297 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12298 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12299 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12300 (R_ARM_THM_GOT_BREL12): Likewise.
12301 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12302 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12303 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12304 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12305 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12306 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12307 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12308 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12309 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12311 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12313 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12314 __attribute_used__ to __attribute__ ((unused)).
12316 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12318 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12321 comment formatting.
12322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12324 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12327 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12329 (ENTER): Remove both macro definitions.
12331 (CHECK_BOUNDS_LOW): Likewise.
12332 (CHECK_BOUNDS_HIGH): Likewise.
12333 (CHECK_BOUNDS_BOTH): Likewise.
12334 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12335 (RETURN_BOUNDED_POINTER): Likewise.
12336 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12337 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12338 (POP_ERRNO_LOCATION_RETURN): Likewise.
12339 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12340 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12341 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12343 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12344 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12345 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12346 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12347 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12348 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12349 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12350 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12351 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12352 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12353 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12354 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12355 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12356 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12358 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12359 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12361 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12362 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12363 * sysdeps/i386/i586/memset.S (memset): Likewise.
12364 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12365 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12366 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12368 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12369 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12370 Change uses of L(2) to L(out).
12371 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12372 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12373 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12374 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12375 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12377 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12378 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12380 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12381 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12382 (RETURN): Do not use macro LEAVE.
12383 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12384 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12385 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12386 * sysdeps/i386/i686/memset.S (memset): Likewise.
12387 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12388 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12389 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12390 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12392 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12393 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12394 L(1_2) and L(1_3) into L(1).
12395 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12396 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12398 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12399 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12400 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12401 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12402 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12403 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12405 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12406 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12407 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12408 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12409 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12410 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12411 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12412 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12413 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12414 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12415 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12416 * sysdeps/i386/strspn.S (strspn): Likewise.
12417 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12419 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12420 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12421 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12422 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12423 L(1_3) into L(1_1).
12424 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12425 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12428 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12430 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12432 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12435 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12437 * math/atest-exp.c (exp_mpn): Remove ROUND.
12438 * math/atest-exp2.c (exp_mpn): Likewise.
12439 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12441 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12442 * stdlib/tst-tls-atexit-lib.c: Likewise.
12443 * stdlib/tst-tls-atexit.c: Likewise.
12445 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12447 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12448 and __attribute_alloc_size__.
12450 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12452 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12453 __attribute_alloc_size__.
12454 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12455 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12457 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12459 * include/programs/xmalloc.h: New file.
12460 * catgets/gencat.c: Include it.
12461 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12462 * elf/pldd.c: Likewise.
12463 * iconv/iconv_charmap.c: Likewise.
12464 * iconv/iconvconfig.c: Likewise.
12465 * iconv/strtab.c: Likewise.
12466 * locale/programs/locale.c: Likewise.
12467 * locale/programs/localedef.h: Likewise.
12468 * locale/programs/simple-hash.c: Likewise.
12469 * nscd/nscd.h: Likewise.
12470 * nss/makedb.c: Likewise.
12471 * sysdeps/generic/ldconfig.h: Likewise.
12473 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12475 * Versions.def: Add GLIBC_2.18.
12476 * include/link.h (struct link_map): New member l_tls_dtor_count.
12477 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12478 (__call_tls_dtors): Likewise.
12479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12480 __cxa_thread_atexit_impl.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12497 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12498 (tests): Add test case tst-tls-atexit.
12499 (modules-names): Add shared library for tst-tls-atexit.
12500 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12501 (GLIBC_PRIVATE): Add __call_tls_dtors.
12502 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12504 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12505 * stdlib/tst-tls-atexit.c: New test case.
12506 * stdlib/tst-tls-atexit-lib.c: New test case.
12508 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12510 * elf/Versions (ld): Add _dl_find_dso_for_object.
12511 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12512 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12513 (dl_open_worker): Use _dl_find_dso_for_object.
12514 * elf/dl-sym.c (do_sym): Likewise.
12515 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12517 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12519 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12520 Syntactic changes only.
12521 (_dl_runtime_profile): Do a tail-call to the resolved function.
12523 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12526 * sysdeps/x86_64/bp-asm.h: Remove file.
12527 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12528 <bp-sym.h> and <bp-asm.h>.
12529 (__clone): Do not use BP_SYM.
12530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12531 <bp-sym.h> and <bp-asm.h>.
12532 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12533 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12535 (_setjmp): Do not use BP_SYM.
12536 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12538 (setjmp): Do not use BP_SYM.
12539 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12541 (mempcpy): Do not use BP_SYM in weak_alias.
12542 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12544 (strchr): Do not use BP_SYM.
12545 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12547 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12548 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12549 (_start): Do not use BP_SYM.
12550 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12552 (strcat): Do not use BP_SYM.
12553 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12555 (STRCMP): Do not use BP_SYM.
12556 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12558 (STRCPY): Do not use BP_SYM.
12559 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12561 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12563 (FUNCTION): Do not use BP_SYM.
12564 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12566 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12568 2013-02-17 Andreas Jaeger <aj@suse.de>
12570 * time/Versions: Sort entries.
12571 * string/Versions: Likewise.
12572 * resolv/Versions: Likewise.
12573 * posix/Versions: Likewise.
12574 * iconv/Versions: Likewise.
12575 * elf/Versions: Likewise.
12576 * wcsmbs/Versions: Likewise.
12578 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12580 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12581 loop termination condition.
12583 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12584 variable to calculate EZ.
12587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12588 the lower precision input.
12590 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12593 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12594 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12595 (run-via-rtld-prefix): Do not handle %-bp tests.
12596 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12597 (all-object-suffixes): Remove .ob.
12598 (bppfx): Remove variable.
12599 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12600 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12601 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12602 [$(build-bounded) = yes] (libtype.ob): Likewise.
12603 * Makerules (elide-routines.ob): Remove variable.
12604 (do-tests-clean): Do not handle *-bp.out.
12605 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12606 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12607 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12608 (tests): Do not include $(tests-bp.out).
12609 (xtests): Do not include $(xtests-bp.out).
12610 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12611 [$(build-bounded) = yes] ($(addprefix
12612 $(objpfx),$(binaries-bounded))): Remove rule.
12613 ($(objpfx)%-bp.out): Remove rule.
12614 * config.make.in (build-bounded): Remove variable.
12615 * crypt/Makefile [$(build-bounded) = yes]
12616 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12617 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12618 append to variable.
12619 [$(build-bounded) = yes] (install-lib): Likewise.
12620 [$(build-bounded) = yes] (generated): Likewise.
12621 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12623 * intl/Makefile [$(build-bounded) = yes]
12624 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12625 * math/Makefile [$(build-bounded) = yes]
12626 ($(tests:%=$(objpfx)%-bp): Likewise.
12627 * misc/Makefile [$(build-bounded) = yes]
12628 ($(objpfx)tst-tsearch-bp): Likewise.
12629 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12630 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12632 * string/Makefile (o-objects.ob): Remove variable.
12633 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12634 (CFLAGS-.ob): Remove variable.
12635 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12636 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12637 both definitions of variable.
12638 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12639 (ASFLAGS-.ob): Remove variable.
12641 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12644 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12645 Remove __BOUNDED_POINTERS__ from condition.
12646 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12647 * string/bits/string2.h [!__NO_STRING_INLINES &&
12648 !__BOUNDED_POINTERS__]: Likewise.
12649 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12651 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12652 Remove conditional code.
12653 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12654 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12655 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12659 * csu/libc-start.c: Do not include <bp-sym.h>.
12660 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12661 * elf/dl-open.c: Do not include <bp-sym.h>.
12662 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12663 * math/fegetenv.c: Do not include <bp-sym.h>.
12664 (fegetenv): Do not use BP_SYM in versioned symbols.
12665 * nptl/sysdeps/pthread/bits/libc-lockP.h
12666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12669 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12671 (__pthread_mutex_destroy): Likewise.
12672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12673 (__pthread_mutex_lock): Likewise.
12674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12675 (__pthread_mutex_trylock): Likewise.
12676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12677 (__pthread_mutex_unlock): Likewise.
12678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12679 (__pthread_mutexattr_init): Likewise.
12680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12681 (__pthread_mutexattr_destroy): Likewise.
12682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12683 (__pthread_mutexattr_settype): Likewise.
12684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12685 (__pthread_rwlock_init): Likewise.
12686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12687 (__pthread_rwlock_destroy): Likewise.
12688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12689 (__pthread_rwlock_rdlock): Likewise.
12690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12691 (__pthread_rwlock_tryrdlock): Likewise.
12692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12693 (__pthread_rwlock_wrlock): Likewise.
12694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12695 (__pthread_rwlock_trywrlock): Likewise.
12696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12697 (__pthread_rwlock_unlock): Likewise.
12698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12699 (__pthread_key_create): Likewise.
12700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12701 (__pthread_setspecific): Likewise.
12702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12703 (__pthread_getspecific): Likewise.
12704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12707 (_pthread_cleanup_push_defer): Likewise.
12708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12709 (_pthread_cleanup_pop_restore): Likewise.
12710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12711 (pthread_setcancelstate): Likewise.
12712 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12714 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12715 (memchr): Do not use BP_SYM in weak_alias.
12716 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12717 (fegetenv): Do not use BP_SYM in versioned symbols.
12718 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12719 (fesetenv): Do not use BP_SYM in versioned symbols.
12720 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12721 (feupdateenv): Do not use BP_SYM in versioned symbols.
12722 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12723 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12724 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12725 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12726 (open64): Do not use BP_SYM in weak_alias.
12727 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12728 (fegetenv): Do not use BP_SYM in versioned symbols.
12729 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12730 (fesetenv): Do not use BP_SYM in versioned symbols.
12731 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12732 (feupdateenv): Do not use BP_SYM in versioned symbols.
12733 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12734 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12735 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12736 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12737 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12738 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12739 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12741 (__libc_start_main): Do not use BP_SYM.
12743 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12746 redundant return line.
12748 (denorm): Likewise.
12749 (dbl_mp): Likewise.
12750 (sub_magnitudes): Likewise.
12756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12758 (denorm): Likewise.
12759 (dbl_mp): Likewise.
12760 (sub_magnitudes): Likewise.
12767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12769 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12770 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12773 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12774 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12776 of __mul for squares.
12777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12781 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12782 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12784 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12787 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12789 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12790 prototype or function definition. Rename ubp_* variables and
12791 parameters. Remove argv definitions conditional on
12792 [__BOUNDED_POINTERS__].
12793 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12794 * elf/dl-runtime.c (_dl_fixup): Likewise.
12795 * include/set-hooks.h (RUN_HOOK): Likewise.
12796 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12798 * string/strcpy.c (strcpy): Do not use __unbounded.
12799 * sysdeps/generic/frame.h (struct layout): Likewise.
12800 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12801 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12802 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12803 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12804 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12805 (__backtrace): Likewise.
12806 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12808 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12809 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12810 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12812 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12813 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12814 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12815 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12816 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12817 Do not use __unbounded.
12818 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12819 Rename __unboundedrlimits parameter to rlimits in prototype.
12820 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12821 Do not use __unbounded.
12822 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12823 not use __ptrvalue.
12824 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12825 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12826 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12827 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12828 __ptrvalue or __unbounded.
12829 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12830 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12832 (__new_msgctl): Do not use __ptrvalue.
12833 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12835 (__libc_msgrcv): Do not use __ptrvalue.
12836 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12837 startup_info): Do not use __unbounded.
12838 (__libc_start_main): Likewise. Rename ubp_* variables and
12839 parameters. Remove argv definitions conditional on
12840 [__BOUNDED_POINTERS__].
12841 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12843 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12845 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12847 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12849 (__new_shmctl): Do not use __ptrvalue.
12850 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12851 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12853 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12854 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12855 (__libc_sigaction): Likewise.
12856 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12857 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12859 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12861 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12863 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12865 * string/mempcpy.c: Implement by calling memcpy.
12867 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12874 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12875 values in the mantissa.
12877 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12878 minimize writes to Z.
12879 (sub_magnitudes): Simplify code a bit.
12881 2013-02-12 Roland McGrath <roland@hack.frob.com>
12883 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12884 from the message. The linker prefixes all warnings with that already.
12886 2013-02-12 Andreas Schwab <schwab@suse.de>
12889 * posix/regexec.c (extend_buffers): Add parameter min_len.
12890 (check_matching): Pass minimum needed length.
12891 (clean_state_log_if_needed): Likewise.
12892 (get_subexp): Likewise.
12893 * posix/Makefile (tests): Add bug-regex34.
12894 (bug-regex34-ENV): Define.
12895 * posix/bug-regex34.c: New file.
12898 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12899 elements compare against the byte sequence of it, not its name.
12900 * posix/Makefile (tests): Add bug-regex35.
12901 (bug-regex35-ENV): Define.
12902 * posix/bug-regex35.c: New file.
12904 2013-02-11 Tom de Vries <tom@codesourcery.com>
12906 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12908 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12909 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12910 (CHECK_EOL): Add undef.
12912 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12914 * bits/stdlib-bsearch.h: New file.
12915 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12916 * stdlib/stdlib.h: Likewise.
12918 2013-02-11 Roland McGrath <roland@hack.frob.com>
12920 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12921 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12923 * manual/search.texi (Array Search Function): Add missing const in
12925 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12926 declaration to use rlim_t.
12927 (Basic Scheduling Functions): Remove erroneous const from
12928 sched_getparam prototype. Remove erroneous * from
12929 sched_get_priority_max and sched_get_priority_min prototypes.
12930 (Resource Usage): Fix summary @comment on vtimes to refer to
12931 sys/vtimes.h rather than vtimes.h.
12932 Add missing *s in vtimes prototype.
12933 (Limits on Resources): Fix ulimit prototype to return long int.
12934 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12935 prototypes to use long int rather than double.
12936 (BSD Random): Fix initstate and setstate to use char *, not void *.
12937 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12938 prototype to make second argument 'struct aiocb64 *const[]'.
12939 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12940 (Status of AIO Operations): Remove erroneous const in aio_return and
12941 aio_return64 prototypes.
12942 (Synchronizing I/O): Fix sync prototype to return void.
12943 * manual/startup.texi (Suboptions): Remove an erroneous const in
12944 getsubopt prototype.
12945 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12946 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12947 use size_t rather than int.
12948 (Scanning All Users): Likewise for getpwent_r.
12949 (Setting Groups): Add missing const to setgroups prototype.
12950 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12951 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12952 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12953 'const void *' rather than 'const char *'.
12954 (Host Address Functions): Likewise for inet_ntop.
12955 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12956 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12957 ssize_t for return value.
12958 (Sending Data): Likewise for send, sendto, sendmsg.
12959 (Socket Option Functions): Add a missing const in setsockopt prototype.
12960 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12961 use wchar_t for the argument.
12962 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12963 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12965 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12966 double/float/long double for second argument.
12967 Fix return types of significand, significandf, significandl.
12968 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12969 argument in fchmod prototype.
12970 (File Owner): Use uid_t and gid_t in fchown prototype.
12971 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12972 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12973 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12974 use 'const struct dirent **' as argument types to CMP function pointer
12976 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12977 (File Times): Fix summary magic @comment for struct utimbuf and utime
12978 to refer to utime.h, not time.h.
12979 * manual/string.texi (Argz Functions): Add missing const in
12980 argz_extract and argz_next prototypes.
12981 (Finding Tokens in a String): Likewise for basename.
12982 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12983 (Copying and Concatenation): Fix typo in wmemmove prototype.
12984 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12985 (Signal Stack): Remove erroneous const in sigstack prototype.
12986 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12988 (Simple Calendar Time): Likewise for stime.
12989 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12991 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12992 say sys/sysctl.h instead.
12993 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12994 and vsyslog prototypes.
12996 2013-02-11 Tom de Vries <tom@codesourcery.com>
12998 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13001 2013-02-11 Roland McGrath <roland@hack.frob.com>
13003 * misc/sys/mman.h: Fix typo in mremap comment.
13005 2013-02-08 Roland McGrath <roland@hack.frob.com>
13007 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13008 the '\0' terminator.
13010 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13013 * debug/segfault.c: Don't include <bp-checks.h>.
13014 * sysdeps/generic/bp-checks.h: Remove file.
13015 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13016 (__GETDENTS): Don't use CHECK_N.
13017 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13018 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13019 (__getgroups): Don't use CHECK_N.
13020 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13021 (setgroups): Don't use CHECK_N.
13022 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13023 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13024 (__libc_msgrcv): Don't use CHECK_N.
13025 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13026 (__libc_msgsnd): Don't use CHECK_N.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13029 (__libc_pread): Don't use CHECK_N.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13031 include <bp-checks.h>.
13032 (__libc_pread64): Don't use CHECK_N.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13034 include <bp-checks.h>.
13035 (__libc_pwrite): Don't use CHECK_N.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13037 include <bp-checks.h>.
13038 (__libc_pwrite64): Don't use CHECK_N.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13041 (__libc_pread): Don't use CHECK_N.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13043 include <bp-checks.h>.
13044 (__libc_pread64): Don't use CHECK_N.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13046 include <bp-checks.h>.
13047 (__libc_pwrite): Don't use CHECK_N.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13049 include <bp-checks.h>.
13050 (__libc_pwrite64): Don't use CHECK_N.
13051 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13052 (do_pread): Don't use CHECK_N.
13053 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13054 (do_pread64): Don't use CHECK_N.
13055 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13056 (do_pwrite): Don't use CHECK_N.
13057 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13058 (do_pwrite64): Don't use CHECK_N.
13059 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13060 (__libc_readv): Don't use CHECK_N.
13061 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13062 (semop): Don't use CHECK_N.
13063 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13065 (semtimedop): Don't use CHECK_N.
13066 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13067 (__libc_pread): Don't use CHECK_N.
13068 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13070 (__libc_pread64): Don't use CHECK_N.
13071 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13073 (__libc_pwrite): Don't use CHECK_N.
13074 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13076 (__libc_pwrite64): Don't use CHECK_N.
13077 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13079 (__libc_msgrcv): Don't use CHECK_N.
13080 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13081 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13082 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13083 (__libc_writev): Don't use CHECK_N.
13085 2013-02-08 Roland McGrath <roland@hack.frob.com>
13087 * string/strcpy.c: Removed unused variable.
13089 * Makeconfig (+sysdep-includes): Define with := rather than =.
13090 Use an existing include/ subdir of each sysdeps dir before it.
13092 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13094 * nscd/connection.c (register_traced_file): Comment function.
13095 [HAVE_INOTIFY] (union __inev): Define.
13096 [HAVE_INOTIFY] (inotify_check_files): New function.
13097 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13098 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13100 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13102 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13104 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13105 loaded if not already and that a failure is permanent.
13107 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13110 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13111 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13113 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13116 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13117 (CHECK_1_NULL_OK): Likewise.
13118 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13119 (__fxstat): Do not use CHECK_1.
13120 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13122 (___fxstat64): Do not use CHECK_1.
13123 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13125 (__fxstatat): Do not use CHECK_1.
13126 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13128 (__fxstatat64): Do not use CHECK_1.
13129 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13131 (__fxstat): Do not use CHECK_1.
13132 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13134 (__fxstatat): Do not use CHECK_1.
13135 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13137 (__getresgid): Do not use CHECK_1.
13138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13140 (__getresuid): Do not use CHECK_1.
13141 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13143 (__lxstat): Do not use CHECK_1.
13144 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13146 (__old_msgctl): Do not use CHECK_1.
13147 (__new_msgctl): Likewise.
13148 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13150 (__new_setrlimit): Do not use CHECK_1.
13151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13153 (__old_shmctl): Do not use CHECK_1.
13154 (__new_shmctl): Likewise.
13155 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13157 (__xstat): Do not use CHECK_1.
13158 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13159 (__lxstat): Do not use CHECK_1.
13160 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13162 (___lxstat64): Do not use CHECK_1.
13163 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13164 (__old_msgctl): Do not use CHECK_1.
13165 (__new_msgctl): Likewise.
13166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13168 (__gettimeofday): Do not use CHECK_1.
13169 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13170 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13171 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13173 (__gettimeofday): Do not use CHECK_1.
13174 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13175 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13176 (__new_shmctl): Do not use CHECK_1.
13177 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13179 (do_sigtimedwait): Do not use CHECK_1.
13180 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13182 (do_sigwaitinfo): Do not use CHECK_1.
13183 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13185 (msgctl): Do not use CHECK_1.
13186 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13188 (shmctl): Do not use CHECK_1.
13189 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13190 (ustat): Do not use CHECK_1.
13191 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13193 (__fxstat): Do not use CHECK_1.
13194 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13196 (__fxstatat): Do not use CHECK_1.
13197 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13199 (__lxstat): Do not use CHECK_1.
13200 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13202 (__xstat): Do not use CHECK_1.
13203 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13204 (__xstat): Do not use CHECK_1.
13205 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13206 (___xstat64): Do not use CHECK_1.
13209 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13211 (CHECK_BOUNDS_HIGH): Likewise.
13212 * string/strcpy.c: Do not include <bp-checks.h>.
13213 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13215 2013-02-07 Roland McGrath <roland@hack.frob.com>
13217 * nscd/nscd-client.h (__nscd_drop_map_ref):
13218 Add __attribute__ ((unused)).
13219 * nis/nss-nisplus.h (niserr2nss): Likewise.
13221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13222 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13224 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13225 Remove inline keyword.
13226 * include/rounding-mode.h (round_away): Likewise.
13227 * libio/wfileops.c (adjust_wide_data): Likewise.
13228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13229 (__m128i_strloadu_tolower): Likewise.
13230 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13231 (__m128i_strloadu_tolower): Likewise.
13232 * time/mktime.c (ydhms_diff): Likewise.
13233 * locale/elem-hash.h (elem_hash): Likewise.
13234 * locale/setlocale.c (setdata): Likewise.
13235 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13236 (re_string_wchar_at): Likewise.
13237 (bitset_not, bitset_merge, bitset_mask): Likewise.
13238 [!(__GNUC__ > 3)] (inline): Remove macro.
13239 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13240 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13241 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13242 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13243 * string/memcmp.c (memcmp_bytes): Likewise.
13244 * locale/programs/locarchive.c (compute_hashval): Likewise.
13245 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13246 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13247 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13248 * nss/getent.c (print_rpc, print_protocols): Likewise.
13249 (print_passwd, print_group, print_aliases): Likewise.
13250 * nis/nss-nisplus.h (niserr2nss): Likewise.
13251 * nscd/connections.c (restart_p): Likewise.
13252 Change return type to bool.
13254 2013-02-05 Roland McGrath <roland@hack.frob.com>
13256 * Makeconfig (all-Depend-files): Add existing
13257 $(sorted-subdirs:=/Depend) files.
13258 (all-subdirs): Remove nss.
13259 * sysdeps/unix/inet/Subdirs: Add it here instead.
13260 * hesiod/Depend: New file.
13262 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13263 instead of calling alloca.
13265 * io/lseek.c (__lseek): Rename to __libc_lseek.
13266 Define __lseek as an alias.
13268 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13270 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13272 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13273 else clause and remove check for non-standard endianness.
13275 2013-02-04 David S. Miller <davem@davemloft.net>
13277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13279 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13282 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13283 (__ubp_memchr): Remove prototype.
13284 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13285 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13286 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13287 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13288 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13290 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13291 (__ubp_memchr): Likewise.
13292 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13293 (__ubp_memchr): Likewise.
13294 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13295 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13296 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13297 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13299 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13300 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13301 (__getcwd): Do not use CHECK_STRING.
13302 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13304 (__real_chown): Do not use CHECK_STRING.
13305 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13307 (fchownat): Do not use CHECK_STRING.
13308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13310 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13312 (__lchown): Do not use CHECK_STRING.
13313 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13314 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13315 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13316 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13318 include <bp-checks.h>.
13319 (truncate64): Do not use CHECK_STRING.
13320 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13322 (__real_chown): Do not use CHECK_STRING.
13323 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13325 (__lchown): Do not use CHECK_STRING.
13326 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13328 (__chown): Do not use CHECK_STRING.
13329 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13331 (truncate64): Do not use CHECK_STRING.
13332 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13334 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13335 (__xmknod): Do not use CHECK_STRING.
13336 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13338 (__xmknodat): Do not use CHECK_STRING.
13339 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13340 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13342 2013-02-04 Andreas Schwab <schwab@suse.de>
13345 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13346 * include/netdb.h: Likewise for h_errno.
13347 * elf/tst-stackguard1.c: Include <tls.h>.
13349 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13351 * elf/link.h (struct link_map): Extend the l_addr comment.
13352 * include/link.h (struct link_map): Likewise.
13354 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13357 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13358 (BOUNDED_1): Remove macro.
13359 * debug/backtrace.c: Don't include <bp-checks.h>.
13360 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13361 (__backtrace): Likewise.
13362 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13364 (__backtrace): Don't use BOUNDED_1.
13365 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13367 (__backtrace): Don't use BOUNDED_1.
13368 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13369 (__backtrace): Don't use BOUNDED_1.
13370 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13371 (shmat): Don't use BOUNDED_N.
13373 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13376 * sysdeps/generic/bp-start.h: Remove file.
13377 * csu/libc-start.c: Don't include <bp-start.h>.
13378 (LIBC_START_MAIN): Set up __environ directly instead of using
13379 INIT_ARGV_and_ENVIRON.
13380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13384 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13386 (CHECK_FCNTL): Likewise.
13387 (CHECK_N_PAGES): Likewise.
13390 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13392 (CHECK_SIGSET_NULL_OK): Likewise.
13393 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13395 (sigpending): Don't use CHECK_SIGSET.
13396 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13398 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13399 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13401 (do_sigsuspend): Don't use CHECK_SIGSET.
13402 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13404 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13405 (do_sigwait): Don't use CHECK_SIGSET.
13406 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13409 include <bp-checks.h>.
13410 (sigpending): Don't use CHECK_SIGSET.
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13412 include <bp-checks.h>.
13413 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13414 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13416 (sigpending): Don't use CHECK_SIGSET.
13417 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13422 * sysdeps/generic/bp-semctl.h: Remove file.
13423 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13424 <bp-checks.h> and <bp-semctl.h>.
13425 (__old_semctl): Don't use CHECK_SEMCTL.
13426 (__new_semctl): Likewise.
13427 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13429 (__old_semctl): Don't use CHECK_SEMCTL.
13430 (__new_semctl): Likewise.
13431 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13432 <bp-checks.h> and <bp-semctl.h>.
13433 (__old_semctl): Don't use CHECK_SEMCTL.
13434 (__new_semctl): Likewise.
13435 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13436 <bp-checks.h> and <bp-semctl.h>.
13437 (semctl): Don't use CHECK_SEMCTL.
13440 * Makerules (elide-bp-thunks): Remove variable.
13441 (elide-routines.oS): Don't use $(elide-bp-thunks).
13442 (elide-routines.os): Likewise.
13443 (elide-routines.o): Likewise.
13444 (elide-routines.op): Likewise.
13445 (elide-routines.og): Likewise.
13446 (objects): Don't use $(bp-thunks).
13447 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13449 (common-generated): Do not add s-proto-bp.d.
13450 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13453 Do not generate makefile rules for bounded-pointer thunks.
13454 * sysdeps/generic/bp-thunks.h: Remove file.
13455 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13456 * sysdeps/unix/s-proto-bp.S: Likewise.
13459 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13460 parts of result separately when argument is not close to line from
13461 -i to i and one part of argument is small.
13462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13464 * math/libm-test.inc (cacos_test): Add more tests.
13465 (casin_test): Likewise.
13466 (casinh_test): Likewise.
13467 * sysdeps/i386/fpu/libm-test-ulps: Update.
13468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470 2013-01-31 David S. Miller <davem@davemloft.net>
13472 * po/de.po: Update from translation team.
13474 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13476 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13478 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13480 * configure.in (_AC_PROG_CC_C89): New definition.
13481 * configure: Regenerate.
13483 * configure.in (AC_PROG_CPP): New definition.
13484 * configure: Regenerate.
13486 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13488 * debug/tst-backtrace.h: New file.
13489 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13490 (ret): Remove variable.
13492 (FAIL): Remove macro.
13493 (NO_INLINE): Likewise.
13494 (fn1): Use match function instead of strstr.
13495 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13496 (ret): Remove variable.
13498 (FAIL): Remove macro.
13499 (NO_INLINE): Likewise.
13500 (fn): Use match function instead of strstr.
13501 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13502 (ret): Remove variable.
13504 (FAIL): Remove macro.
13505 (NO_INLINE): Likewise.
13506 (handle_signal): Use match function instead of strstr.
13507 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13508 (ret): Remove variable.
13510 (FAIL): Remove macro.
13511 (NO_INLINE): Likewise.
13512 (handle_signal): Use match function instead of strstr.
13514 2013-01-23 Roland McGrath <roland@hack.frob.com>
13516 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13518 2013-01-23 David S. Miller <davem@davemloft.net>
13520 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13521 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13522 argument of CAS if possible.
13523 * sysdeps/sparc/sparc64/bits/atomic.h
13524 (__arch_compare_and_exchange_val_32_acq): Likewise.
13525 (__arch_compare_and_exchange_val_64_acq): Likewise.
13527 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13529 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13530 * sysdeps/posix/ulimit.c: ... this.
13531 Include <limits.h>.
13532 * sysdeps/unix/bsd/ulimit.c: Remove file.
13534 2013-01-23 Adam Conrad <adconrad@0c3.net>
13536 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13537 (LDFLAGS-tst-array5): Likewise.
13539 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13542 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13543 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13544 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13545 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13547 2013-01-21 David S. Miller <davem@davemloft.net>
13549 * sysdeps/sparc/backtrace.c: New file.
13550 * sysdeps/sparc/sparc32/backtrace.h: New file.
13551 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13552 * sysdeps/sparc/sparc64/backtrace.h: New file.
13553 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13554 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13557 2013-01-21 Andreas Schwab <schwab@suse.de>
13560 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13563 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13569 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13570 Mark Mitchell <mark@codesourcery.com>
13571 Tom de Vries <tom@codesourcery.com>
13572 Paul Pluzhnikov <ppluzhnikov@google.com>
13574 * debug/tst-backtrace2.c: New file.
13575 * debug/tst-backtrace3.c: Likewise.
13576 * debug/tst-backtrace4.c: Likewise.
13577 * debug/tst-backtrace5.c: Likewise.
13578 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13579 (CFLAGS-tst-backtrace3.c): Likewise.
13580 (CFLAGS-tst-backtrace4.c): Likewise.
13581 (CFLAGS-tst-backtrace5.c): Likewise.
13582 (LDFLAGS-tst-backtrace2): Likewise.
13583 (LDFLAGS-tst-backtrace3): Likewise.
13584 (LDFLAGS-tst-backtrace4): Likewise.
13585 (LDFLAGS-tst-backtrace5): Likewise.
13586 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13587 tst-backtrace4 and tst-backtrace5.
13589 2013-01-18 Anton Blanchard <anton@samba.org>
13590 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13592 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13593 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13594 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13595 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13597 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13598 "+r" and remove output regs list as redundant. Add explicit inline
13599 asm to specify register of return val to work around compiler codegen
13600 bug. Remove (int) cast on return value. Add return type parameter to
13601 use in macro so that this macro does not truncate return value for
13603 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13604 pass to INTERNAL_VSYSCALL_NCS.
13605 (INLINE_VSYSCALL): Add 'long int' as return type to
13606 INTERNAL_VSYSCALL_NCS macro invocation.
13607 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13608 INTERNAL_VSYSCALL_NCS macro invocation.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13611 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13614 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13615 Fix application of SIMD FP exception mask.
13617 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13618 mp_no from a power of two.
13619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13620 __mpexp_twomm1. Use __pow_mp.
13622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13625 2013-01-17 David S. Miller <davem@davemloft.net>
13627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13629 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13632 * include/complex.h: Condition contents on [!_COMPLEX_H].
13633 (__kernel_casinhf): New prototype.
13634 (__kernel_casinh): Likewise.
13635 (__kernel_casinhl): Likewise.
13636 * math/Makefile (libm_calls): Add k_casinh.
13637 * math/k_casinh.c: New file.
13638 * math/k_casinhf.c: Likewise.
13639 * math/k_casinhl.c: Likewise.
13640 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13641 finite nonzero arguments.
13642 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13643 finite nonzero arguments.
13644 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13645 finite nonzero arguments.
13646 * math/s_casinh.c: Do not include <float.h>.
13647 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13648 * math/s_casinhf.c: Do not include <float.h>.
13649 (__casinhf): Move code for finite nonzero arguments to
13651 * math/s_casinhl.c: Do not include <float.h>.
13652 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13654 (__casinhl): Move code for finite nonzero arguments to
13656 * math/libm-test.inc (cacos_test): Add more tests.
13657 * sysdeps/i386/fpu/libm-test-ulps: Update.
13658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13660 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13662 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13663 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13664 [!HAVE_MREMAP]: Remove [defined linux] case.
13665 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13667 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13669 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13671 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13673 * elf/elf.h (R_386_SIZE32): New relocation.
13674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13676 (elf_machine_rela): Likewise.
13677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13678 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13680 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13682 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13683 (FP_FAST_FMA): Do not define.
13684 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13685 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13686 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13687 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13688 !_SOFT_FLOAT]: Likewise.
13689 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13690 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13692 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13693 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13694 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13695 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13696 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13697 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13700 2013-01-16 Andreas Schwab <schwab@suse.de>
13703 * include/stdlib.h (__mktemp): Add declaration.
13704 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13705 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13707 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13709 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13711 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13712 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13713 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13715 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13716 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13718 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13720 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13721 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13724 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13725 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13727 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13729 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13731 2013-01-15 David S. Miller <davem@davemloft.net>
13733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13734 trunc{,f} to libm-sysdep_routes.
13735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13746 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13747 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13748 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13749 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13750 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13753 nearbyint{,f} to libm-sysdep_routes.
13754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13768 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13771 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13772 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13774 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13775 libc_feholdexcept and libc_fesetenv.
13777 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13779 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13781 2013-01-14 David S. Miller <davem@davemloft.net>
13783 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13784 (SPARC_ASM_VIS2_IFUNC): Likewise.
13785 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13787 use of 'siam' instruction.
13788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13821 routines to libm-sysdep_routines.
13822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13825 fdim/fdimf to libm-sysdep_routines.
13826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13834 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13835 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13839 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13842 to optimize copies.
13844 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13849 local variable MPTWO.
13850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13853 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13855 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13858 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13860 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13862 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13864 * manual/pattern.texi (glob_t): Document gl_flags.
13865 (glob64_t): Likewise.
13867 2013-01-11 David S. Miller <davem@davemloft.net>
13869 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13870 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13871 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13872 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13873 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13874 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13875 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13876 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13877 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13878 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13879 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13880 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13881 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13883 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13884 sparc V9 rather than using V8 code.
13885 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13886 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13890 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13893 2013-01-11 Roland McGrath <roland@hack.frob.com>
13895 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13896 not in the main loop.
13897 * configure: Regenerated.
13899 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13901 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13902 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13904 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13905 [!__GLIBC_HAVE_LONG_LONG] case.
13906 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13907 condition to just #else.
13908 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13909 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13910 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13911 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13913 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13914 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13915 #elif condition to just #else.
13916 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13917 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13918 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13919 #elif condition to just #else.
13921 2013-01-11 Steve Ellcey <sellcey@mips.com>
13923 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13924 (EF_MIPS_ARCH_64): Fix value.
13925 (EF_MIPS_ARCH_32R2): New.
13926 (EF_MIPS_ARCH_64R2): New.
13928 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13930 * Makeconfig (+link-pie-before-libc): New.
13931 (+link-pie-after-libc): Likewise.
13932 (+link-pie-tests): Likewise.
13933 (+link-pie): Rewritten.
13934 (link-before-libc): Remove $(config-LDFLAGS).
13935 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13936 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13937 (config-LDFLAGS): Renamed to ...
13938 (rtld-LDFLAGS): This.
13939 (rtld-tests-LDFLAGS): New macro.
13940 (link-libc-rpath-link): Likewise.
13941 (link-libc-tests-rpath-link): Likewise.
13942 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13943 (link-libc): Prepand $(link-libc-rpath-link).
13944 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13945 (test-program-prefix): New macro.
13946 (test-via-rtld-prefix): Likewise.
13947 (test-program-cmd): Likewise.
13948 (host-test-program-cmd): Likewise.
13949 * Makefile ($(common-objpfx)testrun.sh): Replace
13950 $(run-program-prefix) with $(test-program-prefix).
13951 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13953 ($(common-objpfx)shlib.lds): Likewise.
13954 (build-module-helper): Likewise.
13955 ($(common-objpfx)format.lds): Likewise.
13956 * Rules (binaries-pie-tests): New.
13957 (binaries-pie-notests): Likewise.
13958 (binaries-pie): Rewritten.
13959 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13960 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13961 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13962 (make-test-out): Replace $(host-built-program-cmd) with
13963 $(host-test-program-cmd).
13964 * config.make.in (build-hardcoded-path-in-tests): New variable.
13965 * configure.in (--enable-hardcoded-path-in-tests): New configure
13967 (hardcoded_path_in_tests): New AC_SUBST.
13968 * configure: Regenerated.
13969 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13970 $(built-program-cmd) with $(test-program-cmd).
13971 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13972 (test_program_cmd): This.
13973 * elf/Makefile ($(objpfx)order.out): Run test with
13974 $(test-program-prefix).
13975 ($(objpfx)order2.out): Likewise.
13976 ($(objpfx)tst-initorder.out): Likewise.
13977 ($(objpfx)tst-initorder2.out): Likewise.
13978 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13979 $(test-program-cmd).
13980 ($(objpfx)tst-array1-static.out): Likewise.
13981 ($(objpfx)tst-array2.out): Likewise.
13982 ($(objpfx)tst-array3.out): Likewise.
13983 ($(objpfx)tst-array4.out): Likewise.
13984 ($(objpfx)tst-array5.out): Likewise.
13985 ($(objpfx)tst-array5-static.out): Likewise.
13986 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13987 $(test-program-cmd).
13988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13989 $(run-program-prefix) with $(test-program-prefix).
13990 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13991 (test_program_prefix): This.
13992 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13993 $(run-program-prefix) with $(test-program-prefix).
13994 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13995 (test_program_prefix): This.
13996 * iconvdata/tst-tables.sh: Likewise.
13997 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13998 $(run-program-prefix) with $(test-program-prefix).
13999 ($(objpfx)tst-translit.out): Likewise.
14000 ($(objpfx)tst-gettext2.out): Likewise.
14001 ($(objpfx)tst-gettext4.out): Likewise.
14002 ($(objpfx)tst-gettext6.out): Likewise.
14003 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14004 (test_program_prefix): This.
14005 * intl/tst-gettext2.sh: Likewise.
14006 * intl/tst-gettext4.sh Likewise.
14007 * intl/tst-gettext6.sh: Likewise.
14008 * intl/tst-translit.sh: Likewise.
14009 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14010 with $(test-program-cmd).
14011 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14012 $(run-program-prefix) with $(test-program-prefix).
14013 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14014 (test_program_prefix): This.
14015 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14016 $(run-program-prefix) with $(test-program-prefix).
14017 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14018 (test_program_prefix): This.
14019 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14020 * posix/Makefile ($(objpfx)globtest.out): Replace
14021 $(run-via-rtld-prefix) and $(test-wrapper) with
14022 $(test-program-prefix) and $(test-via-rtld-prefix).
14023 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14024 $(test-program-prefix).
14025 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14026 $(host-test-program-cmd).
14027 (tst-spawn-ARGS): Likewise.
14028 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14029 $(test-program-prefix).
14030 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14031 (test_via_rtld_prefix): This.
14032 (test_wrapper): Renamed to ...
14033 (test_program_prefix): This.
14034 (run_program_prefix): Replaced by test_program_prefix.
14035 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14036 (test_program_prefix): This.
14037 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14038 with $(host-test-program-cmd).
14039 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14040 $(run-program-prefix) with $(test-program-prefix).
14041 ($(objpfx)tst-printf.out): Likewise.
14042 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14043 $(test-program-cmd).
14044 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14045 (test_program_prefix): This.
14046 * stdio-common/tst-unbputc.sh: Likewise.
14047 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14048 $(run-program-prefix) with $(test-program-prefix).
14049 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14050 (test_program_prefix): This.
14051 * string/Makefile ($(objpfx)tst-svc.out): Replace
14052 $(built-program-cmd) with $(test-program-cmd).
14054 2013-01-11 Andreas Jaeger <aj@suse.de>
14057 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14058 value. Sync with Linux 3.7.
14060 2013-01-10 David S. Miller <davem@davemloft.net>
14062 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14063 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14064 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14066 2013-01-10 Roland McGrath <roland@hack.frob.com>
14068 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14070 * configure: Regenerated.
14072 2013-01-10 David S. Miller <davem@davemloft.net>
14074 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14075 sparc V9 rather than using V8 code.
14076 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14077 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14079 2013-01-10 Roland McGrath <roland@hack.frob.com>
14081 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14082 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14083 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14084 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14085 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14086 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14087 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14088 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14089 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14090 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14091 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14092 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14093 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14094 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14095 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14096 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14097 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14098 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14099 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14100 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14101 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14102 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14103 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14104 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14105 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14106 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14107 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14109 2013-01-10 David S. Miller <davem@davemloft.net>
14111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14113 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14115 * posix/Makefile (tests-static): New variable.
14116 (tests): Add $(tests-static).
14117 (tst-exec-static-ARGS): New variable.
14118 (tst-spawn-static-ARGS): Likewise.
14119 * posix/tst-exec-static.c: New file.
14120 * posix/tst-spawn-static.c: Likewise.
14121 * posix/tst-exec.c: Support run directly.
14122 * posix/tst-spawn.c: Likewise.
14124 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14126 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14128 * math/bits/mathcalls.h (llrint): Likewise.
14129 (llround): Likewise.
14130 * stdlib/stdlib.h (struct drand48_data): Likewise.
14131 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14132 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14133 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14135 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14138 (elf_greg_t): Likewise.
14139 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14140 (__jmp_buf): Likewise.
14141 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14143 (llrint): Likewise, for all definitions.
14144 (llrintl): Likewise.
14146 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14147 Remove [__GNUC__] condition.
14148 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14149 condition to just [__USE_ISOC99].
14150 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14152 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14155 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14156 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14158 (_POSIX_V6_ILP32_OFF32): Likewise.
14159 (_XBS5_ILP32_OFF32): Likewise.
14160 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14161 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14163 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14165 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14168 doubles __mpexp_twomm1. Adjust usage.
14169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14172 2013-01-10 Andreas Schwab <schwab@suse.de>
14175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14176 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14178 2013-01-09 David S. Miller <davem@davemloft.net>
14181 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14182 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14183 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14184 TCP_FASTOPEN): Define.
14185 (tcp_repair_opt): New structure.
14186 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14188 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14189 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14190 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14191 (tcp_cookie_transactions): New structure.
14193 2013-01-09 Anton Blanchard <anton@samba.org>
14195 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14198 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14200 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14202 * include/features.h (__USE_ANSI): Remove.
14204 2013-01-09 Roland McGrath <roland@hack.frob.com>
14206 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14208 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14210 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14212 * sysdeps/s390/fpu/libm-test-ulps: Update.
14214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14216 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14220 (denorm): Likewise.
14221 (__mp_dbl): Likewise.
14222 (__dbl_mp): Likewise.
14223 (add_magnitudes): Likewise.
14224 (sub_magnitudes): Likewise.
14230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14234 (denorm): Likewise.
14235 (__mp_dbl): Likewise.
14236 (__dbl_mp): Likewise.
14237 (add_magnitudes): Likewise.
14238 (sub_magnitudes): Likewise.
14244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14248 (denorm): Likewise.
14249 (__mp_dbl): Likewise.
14250 (__dbl_mp): Likewise.
14251 (add_magnitudes): Likewise.
14252 (sub_magnitudes): Likewise.
14259 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14261 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14262 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14263 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14264 2 && __USE_EXTERN_INLINES]: Likewise.
14266 2013-01-08 Andreas Jaeger <aj@suse.de>
14269 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14271 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14272 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14274 2013-01-07 Anton Blanchard <anton@samba.org>
14276 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14277 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14278 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14279 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14280 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14281 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14282 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14283 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14287 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14288 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14289 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14290 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14292 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14294 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14296 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14299 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14300 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14301 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14303 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14305 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14306 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14308 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14309 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14310 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14312 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14313 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14314 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14316 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14318 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14320 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14322 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14323 (__MALLOC_PMT): Likewise.
14324 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14325 [__GNUC__], only on [_LIBC].
14326 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14327 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14328 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14329 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14330 forward declaration.
14331 (realloc_hook_ini): Likewise.
14332 (memalign_hook_ini): Likewise.
14333 (__libc_memalign): Do not use __MALLOC_PMT in variable
14335 (__libc_valloc): Likewise.
14336 (__libc_pvalloc): Likewise.
14337 (__libc_calloc): Likewise.
14338 (__posix_memalign): Likewise.
14341 * math/s_casinh.c: Include <float.h>.
14342 (__casinh): Do not do computation with squaring and square root
14343 for large arguments.
14344 * math/s_casinhf.c: Include <float.h>.
14345 (__casinhf): Do not do computation with squaring and square root
14346 for large arguments.
14347 * math/s_casinhl.c: Include <float.h>.
14348 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14349 (__casinhl): Do not do computation with squaring and square root
14350 for large arguments.
14351 * math/libm-test.inc (casin_test): Add more tests.
14352 (casinh_test): Likewise.
14353 * sysdeps/i386/fpu/libm-test-ulps: Update.
14354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14358 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14359 (__x86_64_raw_data_cache_size): Likewise.
14360 (__x86_64_data_cache_size_half): Likewise.
14361 (__x86_64_raw_data_cache_size_half): Likewise.
14362 (__x86_64_shared_cache_size): Likewise.
14363 (__x86_64_raw_shared_cache_size): Likewise.
14364 (__x86_64_shared_cache_size_half): Likewise.
14365 (__x86_64_raw_shared_cache_size_half): Likewise.
14366 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14368 (__x86_data_cache_size): This.
14369 (__x86_64_raw_data_cache_size): Renamed to ...
14370 (__x86_raw_data_cache_size): This.
14371 (__x86_64_data_cache_size_half): Renamed to ...
14372 (__x86_data_cache_size_half): This.
14373 (__x86_64_raw_data_cache_size_half): Renamed to ...
14374 (__x86_raw_data_cache_size_half): This.
14375 (__x86_64_shared_cache_size): Renamed to ...
14376 (__x86_shared_cache_size): This.
14377 (__x86_64_raw_shared_cache_size): Renamed to ...
14378 (__x86_raw_shared_cache_size): This.
14379 (__x86_64_shared_cache_size_half): Renamed to ...
14380 (__x86_shared_cache_size_half): This.
14381 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14382 (__x86_raw_shared_cache_size_half): This.
14383 * sysdeps/x86_64/memcpy.S: Updated.
14384 * sysdeps/x86_64/memset.S: Likewise.
14385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14389 2013-01-04 David S. Miller <davem@davemloft.net>
14391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14393 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14396 1 to avoid redefinition warning.
14397 (__USE_GNU): Don't define.
14398 (init_signaling_nan): Protoize.
14400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14402 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14404 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14406 (__cpymn): Likewise.
14407 (norm): Remove commented code.
14408 (denorm): Likewise.
14409 (__mp_dbl): Likewise.
14411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14412 (__cpymn): Likewise.
14413 (norm): Remove commented code.
14414 (denorm): Likewise.
14415 (__mp_dbl): Likewise.
14418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14419 mp_no value for 1.0 and 2.0.
14420 (norm): Use RADIXI instead of radixi.d.
14421 (denorm): Likewise.
14422 (__mul): Use 0.0 instead of zero.d.
14423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14424 mp_no value for 1.0 and 2.0.
14425 (norm): Use RADIXI instead of radixi.d.
14426 (denorm): Likewise.
14427 (__mul): Use 0.0 instead of zero.d.
14429 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14432 * math/s_casinh.c (__casinh): Reduce finite argument to first
14433 quadrant then set signs of results at the end.
14434 * math/s_casinhf.c (__casinhf): Likewise.
14435 * math/s_casinhl.c (__casinhl): Likewise.
14436 * math/libm-test.inc (casin_test): Add more tests.
14437 (casinh_test): Likewise.
14438 * sysdeps/i386/fpu/libm-test-ulps: Update.
14439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14443 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14445 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14447 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14449 (denorm): Likewise.
14450 (__mp_dbl): Likewise.
14453 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14454 and adjust the header comment.
14456 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14457 variable name from declaration.
14459 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14462 Initialize COMMON_CPUID_INDEX_7 element.
14463 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14464 (CPUID_RTM): Likewise.
14465 (HAS_RTM): Likewise.
14466 (COMMON_CPUID_INDEX_7): New enum.
14468 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14471 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14472 size is zero, record memory as freed.
14474 2013-01-03 Andreas Jaeger <aj@suse.de>
14476 * po/ia.po: Add new Interlingua translation.
14478 2012-01-03 Allan McRae <allan@archlinux.org>
14480 * locale/programs/localedef.c: Fix description of '--posix' flag.
14482 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14484 * NEWS: Update dates in second copyright notice.
14485 * README: Update copyright dates in example.
14486 * manual/libc.texinfo: Update copyright dates.
14487 * scripts/test-installation.pl: Update copyright date in --version
14490 * hurd/ctty-input.c: Fix copyright notice formatting.
14491 * hurd/ctty-output.c: Likewise.
14492 * hurd/dtable.c: Likewise.
14493 * hurd/hurd-raise.c: Likewise.
14494 * hurd/hurdprio.c: Likewise.
14495 * hurd/msgportdemux.c: Likewise.
14496 * misc/sys/file.h: Likewise.
14497 * misc/sys/ioctl.h: Likewise.
14498 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14499 * sysdeps/mach/hurd/chdir.c: Likewise.
14500 * sysdeps/mach/hurd/fchdir.c: Likewise.
14501 * sysdeps/mach/hurd/rename.c: Likewise.
14502 * sysdeps/mach/hurd/rmdir.c: Likewise.
14503 * sysdeps/mach/hurd/seekdir.c: Likewise.
14504 * sysdeps/mach/hurd/setsid.c: Likewise.
14505 * sysdeps/posix/wait3.c: Likewise.
14507 * All files with FSF copyright notices: Update copyright dates
14508 using scripts/update-copyrights.
14509 * intl/plural.c: Regenerated.
14510 * locale/programs/charmap-kw.h: Likewise.
14511 * locale/programs/locfile-kw.h: Likewise.
14513 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14515 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14518 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14519 calculation loop and add branch prediction.
14521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14522 check access beyond bounds of m1np.
14524 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14526 (__inv): Remove local variable MPTWO to use the global
14528 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14532 MP3HALFS static const.
14534 2013-01-01 David S. Miller <davem@davemloft.net>
14536 * po/ca.po: Update from translation team.
14538 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14540 * scripts/update-copyrights: New file.
14541 * Makeconfig: Reformat copyright notice.
14542 * ctype/ctype.h: Likewise.
14543 * debug/swprintf_chk.c: Likewise.
14544 * elf/dl-cache.c: Likewise.
14545 * elf/dl-debug.c: Likewise.
14546 * elf/dl-object.c: Likewise.
14547 * grp/initgroups.c: Likewise.
14548 * hurd/Makefile: Likewise.
14549 * hurd/hurd/signal.h: Likewise.
14550 * hurd/hurdfault.c: Likewise.
14551 * hurd/hurdioctl.c: Likewise.
14552 * hurd/hurdlookup.c: Likewise.
14553 * hurd/intr-msg.c: Likewise.
14554 * iconv/gconv_open.c: Likewise.
14555 * libio/swprintf.c: Likewise.
14556 * locale/lc-ctype.c: Likewise.
14557 * locale/nl_langinfo.c: Likewise.
14558 * mach/Machrules: Likewise.
14559 * mach/Makefile: Likewise.
14560 * malloc/obstack.h: Likewise.
14561 * manual/Makefile: Likewise.
14562 * manual/tsort.awk: Likewise.
14563 * misc/bits/stab.def: Likewise.
14564 * nis/nis_print_group_entry.c: Likewise.
14565 * nis/nis_table.c: Likewise.
14566 * nis/nss_compat/compat-pwd.c: Likewise.
14567 * nis/nss_compat/compat-spwd.c: Likewise.
14568 * po/Makefile: Likewise.
14569 * posix/fnmatch.c: Likewise.
14570 * posix/regex.h: Likewise.
14571 * resolv/Makefile: Likewise.
14572 * resolv/nss_dns/dns-network.c: Likewise.
14573 * resolv/res_hconf.c: Likewise.
14574 * scripts/gen-sorted.awk: Likewise.
14575 * soft-fp/soft-fp.h: Likewise.
14576 * stdio-common/printf.h: Likewise.
14577 * stdlib/monetary.h: Likewise.
14578 * stdlib/random.c: Likewise.
14579 * stdlib/random_r.c: Likewise.
14580 * sysdeps/generic/Makefile: Likewise.
14581 * sysdeps/gnu/Makefile: Likewise.
14582 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14596 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14606 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14610 * sysdeps/mach/hurd/errnos.awk: Likewise.
14611 * sysdeps/mach/hurd/fork.c: Likewise.
14612 * sysdeps/mach/hurd/getcwd.c: Likewise.
14613 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14614 * sysdeps/mach/hurd/mmap.c: Likewise.
14615 * sysdeps/mach/hurd/utimes.c: Likewise.
14616 * sysdeps/mach/hurd/xmknod.c: Likewise.
14617 * sysdeps/posix/profil.c: Likewise.
14618 * sysdeps/posix/readdir_r.c: Likewise.
14619 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14620 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14621 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14622 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14624 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14625 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14628 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14629 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14630 * sysdeps/pthread/lio_listio.c: Likewise.
14631 * sysdeps/sparc/dl-procinfo.h: Likewise.
14632 * sysdeps/unix/i386/sysdep.S: Likewise.
14633 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14634 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14636 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14638 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14639 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14640 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14641 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14642 * sysdeps/wordsize-32/divdi3.c: Likewise.
14643 * time/sys/time.h: Likewise.
14644 * wcsmbs/Makefile: Likewise.
14646 2013-01-01 David S. Miller <davem@davemloft.net>
14648 * po/fr.po: Update from translation team.
14650 * catgets/gencat.c: Update copyright year.
14651 * csu/version.c: Likewise.
14652 * debug/catchsegv.sh: Likewise.
14653 * debug/pcprofiledump.c: Likewise.
14654 * debug/xtrace.sh: Likewise.
14655 * elf/ldconfig.c: Likewise.
14656 * elf/ldd.bash.in: Likewise.
14657 * elf/pldd.c: Likewise.
14658 * elf/sotruss.ksh: Likewise.
14659 * elf/sprof.c: Likewise.
14660 * iconv/iconv_prog.c: Likewise.
14661 * iconv/iconvconfig.c: Likewise.
14662 * locale/programs/locale.c: Likewise.
14663 * locale/programs/localedef.c: Likewise.
14664 * login/programs/pt_chown.c: Likewise.
14665 * malloc/memusage.sh: Likewise.
14666 * malloc/memusagestat.c: Likewise.
14667 * malloc/mtrace.pl: Likewise.
14668 * nscd/nscd.c: Likewise.
14669 * nss/getent.c: Likewise.
14670 * nss/makedb.c: Likewise.
14671 * posix/getconf.c: Likewise.
14673 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14675 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14678 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14680 * math/bits/mathcalls.h (modf): Use __nonnull.
14682 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14684 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14685 (split): Use macro CN instead of the bare value.
14686 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14689 instead of the bare value.
14690 (power1): Likewise.
14692 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14694 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14696 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14698 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14700 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14702 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14703 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14705 2012-12-28 Andreas Jaeger <aj@suse.de>
14707 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14708 values are from Linux 3.7.
14710 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14711 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14713 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14715 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14718 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14720 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14721 variables with preprocessor constants.
14722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14723 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14726 2012-12-27 Bruno Haible <bruno@clisp.org>
14729 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14732 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14735 and use variable directly.
14736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14738 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14740 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14745 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14746 include directive. Remove local variable MPONE.
14747 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14751 2012-12-25 David S. Miller <davem@davemloft.net>
14753 * version.h (RELEASE): Set to "development".
14754 (VERSION): Set to "2.17.90".
14755 * NEWS: Add 2.18 section.
14757 2012-12-21 David S. Miller <davem@davemloft.net>
14759 * po/hr.po: Update from translation team.
14761 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14763 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14765 2012-12-19 Steve Ellcey <sellcey@mips.com>
14767 * NEWS: Mention new memcpy for MIPS.
14769 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14771 * manual/contrib.texi (Contributors): Spelling correction.
14773 2012-12-15 David S. Miller <davem@davemloft.net>
14775 * po/ru.po: Update from translation team.
14777 2012-12-13 David S. Miller <davem@davemloft.net>
14779 * NEWS: Mention IFUNC testsuite enhancements.
14781 * po/pl.po: Update from translation team.
14782 * po/bg.po: Likewise.
14784 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14785 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14787 2012-12-11 David S. Miller <davem@davemloft.net>
14789 * po/sv.po: Update from translation team.
14791 * po/vi.po: Update from translation team.
14793 * po/cs.po: Update from translation team.
14795 * po/de.po: Update from translation team.
14796 * po/eo.po: Likewise.
14797 * po/nl.po: Likewise.
14799 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14802 * manual/argp.texi (Argp Helper Functions): Move node to follow
14803 Argp Parsing State.
14806 * manual/conf.texi (Limits on File System Capacity): Mention if
14807 terminating null is included in the max size.
14809 2012-12-10 Andreas Jaeger <aj@suse.de>
14811 * po/cs.po: Update from translation team.
14813 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14815 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14816 void pointer and cast to uintptr_t.
14817 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14819 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14820 * sysdeps/s390/s390-64/memset.S: Likewise.
14822 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14825 * menual/message.texi (Message Translation): Fix typos.
14826 (Helper programs for gettext): Likewise.
14828 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14831 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14834 2012-12-07 David S. Miller <davem@davemloft.net>
14836 * po/libc.pot: Update.
14838 2012-12-07 Richard Henderson <rth@redhat.com>
14841 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14842 normal/normal case to before the switch.
14843 (_FP_DIV): Likewise.
14845 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14846 Mike Frysinger <vapier@gentoo.org>
14848 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14849 check for __NR_fadvise64_64.
14851 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14853 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14854 0, not just to plain "0" as a statement.
14855 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14858 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14860 * NEWS: Use sourceware.org in Bugzilla URL.
14862 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14865 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14867 * stdio-common/tst-put-error.c (do_test): Add newline to the
14868 padded test to ensure flush.
14870 2012-12-05 Jeff Law <law@redhat.com>
14872 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14874 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14876 * README: Don't refer to ports add-on as distributed separately.
14877 Mention AArch64 in list of systems supported in the ports add-on.
14879 * LICENSES: Add more non-FSF copyright and license notices.
14881 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14884 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14886 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14887 10000 as width of padded output.
14889 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14891 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14893 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14894 variable LX with __attribute__ ((unused)).
14895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14897 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14900 with __attribute__ ((unused)).
14902 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14904 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14906 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14908 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14909 (CFLAGS-nldbl-acos.c): New variable.
14910 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14911 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14912 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14913 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14914 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14915 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14916 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14917 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14918 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14919 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14920 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14921 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14922 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14923 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14924 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14925 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14926 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14927 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14928 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14929 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14930 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14931 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14932 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14933 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14934 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14935 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14936 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14937 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14938 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14939 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14940 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14941 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14942 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14943 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14944 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14945 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14946 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14947 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14948 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14949 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14950 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14951 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14952 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14953 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14954 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14955 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14956 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14957 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14958 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14959 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14960 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14961 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14962 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14963 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14964 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14965 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14966 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14967 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14968 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14969 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14970 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14971 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14972 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14973 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14974 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14975 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14976 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14977 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14978 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14980 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14981 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14986 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14987 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14988 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14989 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14990 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14991 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14992 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14993 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14994 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14995 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14996 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14997 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14998 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14999 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15000 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15001 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15002 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15003 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15004 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15005 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15006 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15009 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15013 whole low double instead of just low 47 bits when splitting values
15016 2012-12-03 Allan McRae <allan@archlinux.org>
15018 * manual/stdio.texi (Predefined Printf Handlers): Remove
15019 @hsep and @vsep usage.
15021 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15023 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15024 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15026 2012-12-03 Jeff Law <law@redhat.com>
15028 * time/sys/time.h (settimeofday): Do not mark TV argument
15031 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15033 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15034 when currently writing and seek to current position when not.
15035 * libio/Makefile (tests): Remove bug-fclose1.
15036 * libio/bug-fclose1.c: Delete.
15038 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15040 * manual/arith.texi (feenableexcept): Fix typo.
15041 (fedisableexcept): Likewise.
15043 2012-11-30 Roland McGrath <roland@hack.frob.com>
15045 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15046 second, differently-typed declaration, rather than a cast.
15048 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15050 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15051 * include/rpc/svc.h: ... here.
15053 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15056 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15057 depending n and resplen2 to catch cases where answer
15060 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15062 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15063 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15065 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15069 2012-11-29 Roland McGrath <roland@hack.frob.com>
15071 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15073 2012-11-28 Jeff Law <law@redhat.com>
15076 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15077 dataset_temporary. Track alloca usage into alloca_used.
15078 If dataset is large allocate and release it via malloc/free.
15080 2012-06-04 Florian Weimer <fweimer@redhat.com>
15083 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15085 2012-11-28 David S. Miller <davem@davemloft.net>
15087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15089 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15092 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15093 of pi/2 rounded to nearest to 64 bits.
15094 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15095 nearest to 64 bits.
15096 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15099 2012-11-28 Jeff Law <law@redhat.com>
15100 Martin Osvald <mosvald@redhat.com>
15103 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15104 * sunrpc/svc.c: Include time.h.
15105 (__svc_accept_failed): New function.
15106 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15107 any reason other than EINTR, call __svc_accept_failed.
15108 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15109 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15111 2012-11-28 Andreas Schwab <schwab@suse.de>
15113 * scripts/abilist.awk: Also handle indirect functions in .opd
15116 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15119 * sysdeps/x86/fpu/powl_helper.c: New file.
15120 * sysdeps/x86/fpu/Makefile: Likewise.
15121 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15123 (__ieee754_powl): Use __powl_helper for finite arguments except
15124 integer exponents below 8.
15125 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15127 (__ieee754_powl): Use __powl_helper for finite arguments except
15128 integer exponents below 8.
15129 * math/libm-test.inc (pow_test): Add more tests and enable some
15130 previously disabled tests.
15131 * sysdeps/i386/fpu/libm-test-ulps: Update.
15132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15134 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15135 Carlos O'Donell <carlos_odonell@mentor.com>
15137 * nss/makedb.c (is_prime): Assert that input is odd and greater
15138 than 4. Note that fact in a comment too.
15139 (next_prime): Add 4 to input.
15141 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15144 * libio/Makefile (tests): Add test case tst-fwrite-error.
15145 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15146 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15147 * libio/tst-fwrite-error.c: New test case.
15149 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15151 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15152 before casting to void *.
15153 * include/libc-internal.h (__pointer_type): New macro.
15154 (__integer_if_pointer_type_sub): Likewise.
15155 (__integer_if_pointer_type): Likewise.
15156 (cast_to_integer): Likewise.
15157 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15158 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15159 before casting to atomic64_t.
15160 (atomic_exchange_acq): Likewise.
15161 (__arch_exchange_and_add_body): Likewise.
15162 (__arch_add_body): Likewise.
15163 (atomic_add_negative): Likewise.
15164 (atomic_add_zero): Likewise.
15166 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15168 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15169 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15170 (add_fdes): Likewise.
15171 (linear_search_fdes): Likewise.
15172 (binary_search_unencoded_fdes): Likewise.
15174 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15176 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15178 2012-11-24 Adam Conrad <adconrad@0c3.net>
15180 * configure.in: Autodetect C++ header directories.
15181 * configure: Regenerated.
15183 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15185 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15187 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15191 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15193 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15194 LDBL_MANT_DIG == 106]: Disable some tests.
15195 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15197 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15202 input for small inputs. Return +/- pi/2 for large inputs.
15203 * math/libm-test.inc (atan_test): Add more tests.
15205 * sysdeps/generic/unwind-dw2-fde-glibc.c
15206 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15207 __attribute__ ((unused)).
15210 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15211 x * y if x and y are nonzero and z is zero.
15214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15215 nonzero exponents with absolute value below 0x1p-117 to +/-
15219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15220 up arguments below 2**-450, not just those below 2**-500.
15221 * math/libm-test.inc (hypot_test): Add another test.
15224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15225 Return a+b for ratio over 2**120, not 2**60.
15226 * math/libm-test.inc (hypot_test): Add another test.
15228 * math/libm-test.inc (clog_test): Use
15229 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15230 (clog10_test): Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15235 2012-11-22 Andreas Schwab <schwab@suse.de>
15237 * sysdeps/i386/fpu/libm-test-ulps: Update.
15239 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15241 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15242 printf output with newline.
15244 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15247 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15248 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15249 -z nodlopen, -z initfirst and -z execstack support.
15250 * configure: Regenerated.
15252 * elf/elf.h (DF_1_NODIRECT): New macro.
15253 (DF_1_IGNMULDEF): Likewise.
15254 (DF_1_NOKSYMS): Likewise.
15255 (DF_1_NOHDR): Likewise.
15256 (DF_1_EDITED): Likewise.
15257 (DF_1_NORELOC): Likewise.
15258 (DF_1_SYMINTPOSE): Likewise.
15259 (DF_1_GLOBAUDIT): Likewise.
15260 (DF_1_SINGLETON): Likewise.
15261 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15262 DT_1_SUPPORTED_MASK bits.
15263 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15265 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15267 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15269 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15271 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15274 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15275 (sendmmsg): Move declarations...
15276 * socket/sys/socket.h: ... here.
15277 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15278 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15280 * socket/recvmmsg.c: ... this new file.
15281 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15282 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15283 definition of __sendmmsg hidden.
15284 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15285 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15286 Move ENOSYS stub into and include it from...
15287 * socket/sendmmsg.c: ... this new file.
15288 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15289 (sysdep_routines): Move recvmmsg and sendmmsg...
15290 * socket/Makefile (routines): ... here.
15291 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15292 (GLIBC_PRIVATE): Add __sendmmsg.
15293 * include/sys/socket.h (__sendmmsg): Add declarations.
15294 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15297 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15300 variable I1 with __attribute__ ((unused)).
15301 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15303 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15305 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15306 DUMMY variables with __attribute__ ((unused)).
15308 * bits/byteswap.h: Include <bits/types.h>.
15309 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15311 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15313 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15314 string_t. Do not manually set errno.
15315 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15316 length with __strnlen. Make sure to both set errno and return it on
15319 2012-11-19 David S. Miller <davem@davemloft.net>
15321 With help from Joseph Myers.
15322 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15323 very large arguments properly.
15324 * math/libm-test.inc (atan_test): New tests.
15325 (atan2_test): New tests.
15326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15329 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15332 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15335 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15336 [POSIX] (EADDRNOTAVAIL): Likewise.
15337 [POSIX] (EAFNOSUPPORT): Likewise.
15338 [POSIX] (EALREADY): Likewise.
15339 [POSIX] (ECONNABORTED): Likewise.
15340 [POSIX] (ECONNREFUSED): Likewise.
15341 [POSIX] (ECONNRESET): Likewise.
15342 [POSIX] (EDESTADDRREQ): Likewise.
15343 [POSIX] (EDQUOT): Likewise.
15344 [POSIX] (EHOSTUNREACH): Likewise.
15345 [POSIX] (EIDRM): Likewise.
15346 [POSIX] (EISCONN): Likewise.
15347 [POSIX] (ELOOP): Likewise.
15348 [POSIX] (EMULTIHOP): Likewise.
15349 [POSIX] (ENETDOWN): Likewise.
15350 [POSIX] (ENETUNREACH): Likewise.
15351 [POSIX] (ENOBUFS): Likewise.
15352 [POSIX] (ENODATA): Likewise.
15353 [POSIX] (ENOLINK): Likewise.
15354 [POSIX] (ENOMSG): Likewise.
15355 [POSIX] (ENOPROTOOPT): Likewise.
15356 [POSIX] (ENOSR): Likewise.
15357 [POSIX] (ENOSTR): Likewise.
15358 [POSIX] (ENOTCONN): Likewise.
15359 [POSIX] (ENOTSOCK): Likewise.
15360 [POSIX] (EOPNOTSUPP): Likewise.
15361 [POSIX] (EOVERFLOW): Likewise.
15362 [POSIX] (EPROTO): Likewise.
15363 [POSIX] (EPROTONOSUPPORT): Likewise.
15364 [POSIX] (EPROTOTYPE): Likewise.
15365 [POSIX] (ESTALE): Likewise.
15366 [POSIX] (ETIME): Likewise.
15367 [POSIX] (ETXTBSY): Likewise.
15368 [POSIX] (EWOULDBLOCK): Likewise.
15369 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15370 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15371 [POSIX] (SEEK_CUR): Likewise.
15372 [POSIX] (SEEK_END): Likewise.
15373 [POSIX || UNIX98] (mode_t): Do not require.
15374 [POSIX] (off_t): Likewise.
15375 [POSIX] (pid_t): Likewise.
15376 [POSIX] (sys/stat.h): Do not allow header.
15377 [POSIX] (unistd.h): Likewise.
15378 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15379 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15380 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15381 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15383 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15384 sigevent): Specify elements.
15385 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15387 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15388 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15390 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15391 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15392 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15393 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15394 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15395 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15396 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15397 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15398 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15399 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15400 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15401 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15402 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15407 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15409 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15411 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15412 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15413 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15414 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15415 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15416 Specify lower bound on value.
15417 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15418 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15419 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15420 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15421 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15422 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15423 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15424 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15426 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15428 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15429 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15430 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15431 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15432 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15433 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15434 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15435 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15436 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15437 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15438 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15439 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15440 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15441 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15442 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15443 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15445 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15447 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15448 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15449 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15450 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15451 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15452 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15454 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15455 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15456 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15457 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15458 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15459 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15462 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15463 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15464 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15465 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15466 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15467 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15468 specify as optional.
15469 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15470 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15471 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15472 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15473 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15474 [XPG3] (NL_LANGMAX): Likewise.
15475 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15476 [POSIX || XPG3] (NL_NMAX): Likewise.
15477 [POSIX || XPG3] (NL_SETMAX): Likewise.
15478 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15479 [XPG3] (NZERO): Likewise.
15480 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15481 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15482 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15483 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15484 (REG_ERANGE): Expect.
15485 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15487 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15488 Use (void) in prototype.
15489 [POSIX] (*_t): Allow.
15490 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15491 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15492 (WRDE_BADVAL): Expect.
15494 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15496 [XPG3 || XPG4] (O_RSYNC): Likewise.
15497 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15499 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15500 [XPG3 || XPG4] (sigqueue): Likewise.
15501 [XPG3 || XPG4] (sigtimedwait): Likewise.
15502 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15503 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15504 [XPG3 || XPG4] (vsnprintf): Likewise.
15505 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15507 [XPG3 || XPG4] (blksize_t): Likewise.
15508 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15510 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15511 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15512 [XPG3 || XPG4] (struct itimerspec): Likewise.
15513 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15514 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15515 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15516 [XPG3 || XPG4] (clockid_t): Likewise.
15517 [XPG3 || XPG4] (timer_t): Likewise.
15518 [XPG3 || XPG4] (clock_getres): Likewise.
15519 [XPG3 || XPG4] (clock_gettime): Likewise.
15520 [XPG3 || XPG4] (clock_settime): Likewise.
15521 [XPG3 || XPG4] (nanosleep): Likewise.
15522 [XPG3 || XPG4] (timer_create): Likewise.
15523 [XPG3 || XPG4] (timer_delete): Likewise.
15524 [XPG3 || XPG4] (timer_gettime): Likewise.
15525 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15526 [XPG3 || XPG4] (timer_settime): Likewise.
15527 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15528 [XPG3 || XPG4] (getlogin_r): Likewise.
15529 [XPG3 || XPG4] (pread): Likewise.
15530 [XPG3 || XPG4] (pthread_atfork): Likewise.
15531 [XPG3 || XPG4] (pwrite): Likewise.
15534 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15537 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15539 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15540 finalizing MALLSTREAM.
15542 * sysdeps/mach/hurd/syncfs.c: New file.
15544 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15547 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15548 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15550 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15551 (_nss_dns_gethostbyname4_r): Likewise.
15552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15553 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15555 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15558 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15560 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15562 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15563 * elf/cache.c (print_entry): Print ",AArch64" for
15566 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15567 * elf/cache.c (print_entry): Print ",hard-float" for
15570 2012-11-18 David S. Miller <davem@davemloft.net>
15572 With help from Joseph Myers.
15573 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15575 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15577 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15578 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15580 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15581 * math/libm-test.inc (y0_test): New tests.
15582 (y1_test): New tests.
15583 * sysdeps/i386/fpu/libm-test-ulps: Update.
15584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15587 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15589 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15591 * configure: Regenerated.
15593 2012-11-17 David S. Miller <davem@davemloft.net>
15596 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15597 nonzero exponents with absolute value below 0x1p-128 to +/-
15600 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15602 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15604 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15606 * posix/getconf-speclist.c: New file.
15607 * posix/posix-envs.def: Likewise.
15608 * posix/confstr.c (START_ENV_GROUP): New macro.
15609 (END_ENV_GROUP): Likewise.
15610 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15611 (KNOWN_PRESENT_ENV_STRING): Likewise.
15612 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15613 (UNKNOWN_ENVIRONMENT): Likewise.
15614 (confstr): Include posix-envs.def instead of handling
15615 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15616 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15617 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15618 (END_ENV_GROUP): Likewise.
15619 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15620 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15621 (UNKNOWN_ENVIRONMENT): Likewise.
15622 (__sysconf): Include posix-envs.def instead of handling associated
15623 cases directly here.
15624 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15625 preprocessing getconf-speclist.c rather than running getconf or
15626 generating empty file.
15628 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15630 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15632 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15635 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15637 2012-11-16 David S. Miller <davem@davemloft.net>
15639 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15640 smaller than LDBL_EPSILON/2.0L, just return xm1.
15642 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15644 * elf/tst-array1.c (init): Set constructor priority to 1000.
15645 (fini): Set destructor priority to 1000.
15646 * elf/tst-array2dep.c: Likewise.
15648 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15651 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15652 (_IO_new_file_xsputn): Also return EOF if none of the input
15653 data was written when overflow failed.
15654 * libio/iopadn.c (_IO_padn): Likewise.
15655 * libio/iowpadn.c (_IO_wpadn): Likewise.
15656 * stdio-common/tst-put-error.c: Add copyright notice.
15657 (do_test): Add case for printing padded string.
15658 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15659 _IO_padn returned error.
15660 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15661 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15664 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15666 * libio/libioP.h: Add comment note that the references to C++
15667 bits are now obsolete.
15669 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15671 * math/libm-test.inc (check_complex): Use asprintf.
15673 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15675 * debug/pcprofiledump.c (print_version): Update copyright year.
15676 * malloc/memusagestat.c (print_version): Likewise.
15678 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15681 * elf/Makefile (tests): Add tst-audit8.
15682 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15683 ($(objpfx)tst-audit8.out): New target.
15684 (tst-audit8-ENV): New variable.
15685 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15686 audit if l_reloc_result is NULL.
15687 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15688 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15689 * elf/tst-audit8.c: New file.
15691 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15693 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15694 * misc/Makefile (CFLAGS-select.c): Define.
15695 * posix/Makefile (CFLAGS-pause.c): Define.
15697 2012-11-13 David S. Miller <davem@davemloft.net>
15699 * crypt/Makefile: Move test targets after toplevel Rules
15700 inclusion. Grab any necessary sysdep routines when linking.
15701 * crypt/md5.c (md5_process_block): Remove define, we will always
15702 name it __md5_process_block.
15703 (md5_finish_ctx): Update md5_process_block call.
15704 (md5_stream): Likewise.
15705 (md5_process_bytes): Likewise.
15706 (md5_process_block): Rename to __md5_process_block and move to ...
15707 * crypt/md5-block.c: ... here.
15708 * crypt/sha256.c (sha256_process_block): Move to ...
15709 * crypt/sha256-block.c: ... here.
15710 * crypt/sha512.c (sha512_process_block): Move to ...
15711 * crypt/sha512-block.c: ... here.
15712 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15714 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15715 * sysdeps/sparc/sparc64/multiarch/Makefile
15716 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15718 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15721 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15722 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15723 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15724 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15725 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15726 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15727 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15728 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15729 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15732 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15734 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15736 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15738 * timezone/tzselect.ksh: Update from tzcode git revision
15739 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15740 * timezone/zdump.c: Likewise.
15741 * timezone/zic.c: Likewise.
15742 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15743 in TZVERSION setting, not $(PKGVERSION).
15744 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15745 REPORT_BUGS_TO settings.
15748 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15751 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15753 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15754 detection to immediately after _FP_ROUND().
15755 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15758 2012-11-11 David S. Miller <davem@davemloft.net>
15760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15762 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15763 __close rather than their public counterparts.
15765 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15767 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15769 [UNIX98] (sem_timedwait): Do not expect.
15770 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15771 [XPG4 || UNIX98] (sockatmark): Do not expect.
15772 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15773 (clock_getcpuclockid): Do not expect.
15774 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15775 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15777 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15778 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15779 [UNIX98] (vwscanf): Likewise.
15780 [UNIX98] (vswscanf): Likewise.
15782 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15784 * timezone/version.h: Remove file.
15785 * timezone/README: Do not refer to version.h.
15786 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15787 $(objpfx)version.h.
15788 ($(objpfx)zdump.o): Likewise.
15789 ($(objpfx)version.h): New target.
15791 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15793 * timezone/README: Don't mention modification to tzselect.ksh.
15794 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15795 work on unmodified tzselect.ksh. Substitute version numbers in
15798 * Makefile (format-me): Remove.
15799 (INSTALL): Adjust indentation. Use commands directly instead of
15800 using $(format-me).
15802 * aclocal.m4 (ACX_PKGVERSION): New macro.
15803 (ACX_BUGURL): Likewise.
15804 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15805 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15806 (REPORT_BUGS_TO): Likewise.
15807 * configure: Regenerated.
15808 * config.h.in (PKGVERSION): New macro.
15809 (REPORT_BUGS_TO): Likewise.
15810 * config.make.in (PKGVERSION): New variable.
15811 (PKGVERSION_TEXI): Likewise.
15812 (REPORT_BUGS_TO): Likewise.
15813 (REPORT_BUGS_TEXI): Likewise.
15814 * Makefile (format-me): Use -I$(common-objpfx)manual.
15815 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15816 ($(common-objpfx)manual/%): New target.
15817 (manual/%): Remove target.
15818 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15819 (print_version): Use PKGVERSION.
15820 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15821 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15822 and REPORT_BUGS_TO.
15823 ($(objpfx)xtrace): Likewise.
15824 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15825 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15826 (print_version): Use PKGVERSION.
15827 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15828 (do_version): Use PKGVERSION.
15829 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15831 (common-ldd-rewrite): Likewise.
15832 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15833 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15834 (print_version): Use PKGVERSION.
15835 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15836 * elf/pldd.c (argp_program_bug_address): Remove variable.
15837 (more_help): New function.
15838 (argp): Use more_help.
15839 (print_version): Use PKGVERSION.
15840 * elf/sln.c (main): Use PKGVERSION.
15841 (usage): Use REPORT_BUGS_TO.
15842 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15843 (top level): Use PKGVERSION.
15844 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15845 (print_version): Use PKGVERSION.
15846 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15847 (print_version): Use PKGVERSION.
15848 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15849 (print_version): Use PKGVERSION.
15850 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15851 (print_version): Use PKGVERSION.
15852 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15853 (print_version): Use PKGVERSION.
15854 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15855 (print_version): Use PKGVERSION.
15856 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15858 ($(objpfx)memusage): Likewise.
15859 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15860 (do_version): Use PKGVERSION.
15861 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15862 (print_version): Use PKGVERSION.
15863 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15864 ($PKGVERSION): New variable.
15865 ($REPORT_BUGS_TO): Likewise.
15866 (usage): Use $REPORT_BUGS_TO.
15867 (top level): Use $PKGVERSION.
15868 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15869 ($(objpfx)pkgvers.texi): New rule.
15870 ($(objpfx)stamp-pkgvers): Likewise.
15871 * manual/install.texi: Include pkgvers.texi.
15872 (--with-pkgversion): Document new configure option.
15873 (--with-bugurl): Likewise.
15874 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15875 than necessarily for this particular distribution. Use
15876 REPORT_BUGS_TO for where to report bugs.
15877 * INSTALL: Regenerated.
15878 * manual/libc.texinfo: Include pkgvers.texi.
15879 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15880 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15881 (print_version): Use PKGVERSION.
15882 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15883 (print_version): Use PKGVERSION.
15884 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15885 (print_version): Use PKGVERSION.
15886 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15887 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15889 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15890 (print_version): Use PKGVERSION.
15891 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15892 (print_version): Use PKGVERSION.
15893 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15896 * timezone/checktab.awk: Update from tzcode 2012i.
15897 * timezone/ialloc.c: Likewise.
15898 * timezone/private.h: Likewise.
15899 * timezone/scheck.c: Likewise.
15900 * timezone/tzfile.h: Likewise.
15901 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15902 (TZVERSION): Hardcode tzcode version number.
15903 * timezone/zdump.c: Update from tzcode 2012i.
15904 * timezone/zic.c: Likewise.
15905 * timezone/version.h: New file.
15906 * timezone/README: Describe version.h. Update upstream location.
15909 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15910 (mktemp): Enable declaration.
15911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15928 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15929 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15930 for copies of such integer values.
15931 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15932 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15934 2012-11-09 Andreas Jaeger <aj@suse.de>
15936 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15937 definitions and declarations that are provided by
15938 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15940 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15942 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15943 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15944 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15947 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15949 * elf/elf.h: Update comment before AArch64 relocations.
15951 2012-11-07 David S. Miller <davem@davemloft.net>
15953 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15954 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15955 (__start_context): Declare.
15956 (__makecontext_ret): Delete.
15957 (__makecontext): Hook up __start_context instead of
15959 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15960 (sysdep_routines): Add __start_context when in stdlib.
15962 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15964 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15965 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15966 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15968 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15969 (READELF): New variable. Use it instead of hardcoded "readelf".
15971 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15973 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15974 * sysdeps/x86/Makefile: Here.
15975 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15976 * sysdeps/x86/tst-xmmymm.sh: This.
15978 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15980 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15982 [UNIX98] (pthread_barrier_t): Do not expect.
15983 [UNIX98] (pthread_barrierattr_t): Likewise.
15984 [UNIX98] (pthread_spinlock_t): Likewise.
15985 [UNIX98] (pthread_barrier_destroy): Likewise.
15986 [UNIX98] (pthread_barrier_init): Likewise.
15987 [UNIX98] (pthread_barrier_wait): Likewise.
15988 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15989 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15990 [UNIX98] (pthread_barrierattr_init): Likewise.
15991 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15992 [UNIX98] (pthread_getcpuclockid): Likewise.
15993 [UNIX98] (pthread_mutex_timedlock): Likewise.
15994 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15995 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15996 [UNIX98] (pthread_sigmask): Likewise.
15997 [UNIX98] (pthread_spin_destroy): Likewise.
15998 [UNIX98] (pthread_spin_init): Likewise.
15999 [UNIX98] (pthread_spin_lock): Likewise.
16000 [UNIX98] (pthread_spin_trylock): Likewise.
16001 [UNIX98] (pthread_spin_unlock): Likewise.
16002 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16004 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16006 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16007 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16008 [XPG3 || XPG4] (pthread_key_t): Likewise.
16009 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16010 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16011 [XPG3 || XPG4] (pthread_once_t): Likewise.
16012 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16013 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16015 [XPG3 || XPG4] (pthread_t): Likewise.
16017 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16019 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16021 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16022 Change function return type to int.
16024 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16025 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16026 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16027 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16028 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16029 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16030 [!POSIX] (posix_madvise): Likewise.
16031 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16033 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16034 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16035 (mode_t): Likewise.
16036 (posix_mem_offset): Likewise.
16037 (posix_typed_mem_get_info): Likewise.
16038 (posix_typed_mem_open): Likewise.
16040 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16041 Change condition to [XOPEN2K8].
16043 * conform/conformtest.pl: Preprocess allow-header data with -x c
16044 instead of from stdin.
16045 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16046 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16047 [C99-based standards] (cerfc): Likewise.
16048 [C99-based standards] (cexp2): Likewise.
16049 [C99-based standards] (cexpm1): Likewise.
16050 [C99-based standards] (clog10): Likewise.
16051 [C99-based standards] (clog1p): Likewise.
16052 [C99-based standards] (clog2): Likewise.
16053 [C99-based standards] (clgamma): Likewise.
16054 [C99-based standards] (ctgamma): Likewise.
16055 [C99-based standards] (cerff): Likewise.
16056 [C99-based standards] (cerfcf): Likewise.
16057 [C99-based standards] (cexp2f): Likewise.
16058 [C99-based standards] (cexpm1f): Likewise.
16059 [C99-based standards] (clog10f): Likewise.
16060 [C99-based standards] (clog1pf): Likewise.
16061 [C99-based standards] (clog2f): Likewise.
16062 [C99-based standards] (clgammaf): Likewise.
16063 [C99-based standards] (ctgammaf): Likewise.
16064 [C99-based standards] (cerfl): Likewise.
16065 [C99-based standards] (cerfcl): Likewise.
16066 [C99-based standards] (cexp2l): Likewise.
16067 [C99-based standards] (cexpm1l): Likewise.
16068 [C99-based standards] (clog10l): Likewise.
16069 [C99-based standards] (clog1pl): Likewise.
16070 [C99-based standards] (clog2l): Likewise.
16071 [C99-based standards] (clgammal): Likewise.
16072 [C99-based standards] (ctgammal): Likewise.
16073 * conform/data/inttypes.h-data [C99-based standards]: Include
16074 stdint.h-data. Remove all expectations for stdint.h contents.
16075 [C99-based standards] (PRI*): Do not allow.
16076 [C99-based standards] (SCN*): Likewise.
16077 [C99-based standards] (*_t): Likewise.
16078 [C99-based-standards] (PRId8): Expect macro.
16079 [C99-based-standards] (PRIi8): Likewise.
16080 [C99-based-standards] (PRIo8): Likewise.
16081 [C99-based-standards] (PRIu8): Likewise.
16082 [C99-based-standards] (PRIx8): Likewise.
16083 [C99-based-standards] (PRIX8): Likewise.
16084 [C99-based-standards] (SCNd8): Likewise.
16085 [C99-based-standards] (SCNi8): Likewise.
16086 [C99-based-standards] (SCNo8): Likewise.
16087 [C99-based-standards] (SCNu8): Likewise.
16088 [C99-based-standards] (SCNx8): Likewise.
16089 [C99-based-standards] (PRIdLEAST8): Likewise.
16090 [C99-based-standards] (PRIiLEAST8): Likewise.
16091 [C99-based-standards] (PRIoLEAST8): Likewise.
16092 [C99-based-standards] (PRIuLEAST8): Likewise.
16093 [C99-based-standards] (PRIxLEAST8): Likewise.
16094 [C99-based-standards] (PRIXLEAST8): Likewise.
16095 [C99-based-standards] (SCNdLEAST8): Likewise.
16096 [C99-based-standards] (SCNiLEAST8): Likewise.
16097 [C99-based-standards] (SCNoLEAST8): Likewise.
16098 [C99-based-standards] (SCNuLEAST8): Likewise.
16099 [C99-based-standards] (SCNxLEAST8): Likewise.
16100 [C99-based-standards] (PRIdFAST8): Likewise.
16101 [C99-based-standards] (PRIiFAST8): Likewise.
16102 [C99-based-standards] (PRIoFAST8): Likewise.
16103 [C99-based-standards] (PRIuFAST8): Likewise.
16104 [C99-based-standards] (PRIxFAST8): Likewise.
16105 [C99-based-standards] (PRIXFAST8): Likewise.
16106 [C99-based-standards] (SCNdFAST8): Likewise.
16107 [C99-based-standards] (SCNiFAST8): Likewise.
16108 [C99-based-standards] (SCNoFAST8): Likewise.
16109 [C99-based-standards] (SCNuFAST8): Likewise.
16110 [C99-based-standards] (SCNxFAST8): Likewise.
16111 [C99-based-standards] (PRId16): Likewise.
16112 [C99-based-standards] (PRIi16): Likewise.
16113 [C99-based-standards] (PRIo16): Likewise.
16114 [C99-based-standards] (PRIu16): Likewise.
16115 [C99-based-standards] (PRIx16): Likewise.
16116 [C99-based-standards] (PRIX16): Likewise.
16117 [C99-based-standards] (SCNd16): Likewise.
16118 [C99-based-standards] (SCNi16): Likewise.
16119 [C99-based-standards] (SCNo16): Likewise.
16120 [C99-based-standards] (SCNu16): Likewise.
16121 [C99-based-standards] (SCNx16): Likewise.
16122 [C99-based-standards] (PRIdLEAST16): Likewise.
16123 [C99-based-standards] (PRIiLEAST16): Likewise.
16124 [C99-based-standards] (PRIoLEAST16): Likewise.
16125 [C99-based-standards] (PRIuLEAST16): Likewise.
16126 [C99-based-standards] (PRIxLEAST16): Likewise.
16127 [C99-based-standards] (PRIXLEAST16): Likewise.
16128 [C99-based-standards] (SCNdLEAST16): Likewise.
16129 [C99-based-standards] (SCNiLEAST16): Likewise.
16130 [C99-based-standards] (SCNoLEAST16): Likewise.
16131 [C99-based-standards] (SCNuLEAST16): Likewise.
16132 [C99-based-standards] (SCNxLEAST16): Likewise.
16133 [C99-based-standards] (PRIdFAST16): Likewise.
16134 [C99-based-standards] (PRIiFAST16): Likewise.
16135 [C99-based-standards] (PRIoFAST16): Likewise.
16136 [C99-based-standards] (PRIuFAST16): Likewise.
16137 [C99-based-standards] (PRIxFAST16): Likewise.
16138 [C99-based-standards] (PRIXFAST16): Likewise.
16139 [C99-based-standards] (SCNdFAST16): Likewise.
16140 [C99-based-standards] (SCNiFAST16): Likewise.
16141 [C99-based-standards] (SCNoFAST16): Likewise.
16142 [C99-based-standards] (SCNuFAST16): Likewise.
16143 [C99-based-standards] (SCNxFAST16): Likewise.
16144 [C99-based-standards] (PRId32): Likewise.
16145 [C99-based-standards] (PRIi32): Likewise.
16146 [C99-based-standards] (PRIo32): Likewise.
16147 [C99-based-standards] (PRIu32): Likewise.
16148 [C99-based-standards] (PRIx32): Likewise.
16149 [C99-based-standards] (PRIX32): Likewise.
16150 [C99-based-standards] (SCNd32): Likewise.
16151 [C99-based-standards] (SCNi32): Likewise.
16152 [C99-based-standards] (SCNo32): Likewise.
16153 [C99-based-standards] (SCNu32): Likewise.
16154 [C99-based-standards] (SCNx32): Likewise.
16155 [C99-based-standards] (PRIdLEAST32): Likewise.
16156 [C99-based-standards] (PRIiLEAST32): Likewise.
16157 [C99-based-standards] (PRIoLEAST32): Likewise.
16158 [C99-based-standards] (PRIuLEAST32): Likewise.
16159 [C99-based-standards] (PRIxLEAST32): Likewise.
16160 [C99-based-standards] (PRIXLEAST32): Likewise.
16161 [C99-based-standards] (SCNdLEAST32): Likewise.
16162 [C99-based-standards] (SCNiLEAST32): Likewise.
16163 [C99-based-standards] (SCNoLEAST32): Likewise.
16164 [C99-based-standards] (SCNuLEAST32): Likewise.
16165 [C99-based-standards] (SCNxLEAST32): Likewise.
16166 [C99-based-standards] (PRIdFAST32): Likewise.
16167 [C99-based-standards] (PRIiFAST32): Likewise.
16168 [C99-based-standards] (PRIoFAST32): Likewise.
16169 [C99-based-standards] (PRIuFAST32): Likewise.
16170 [C99-based-standards] (PRIxFAST32): Likewise.
16171 [C99-based-standards] (PRIXFAST32): Likewise.
16172 [C99-based-standards] (SCNdFAST32): Likewise.
16173 [C99-based-standards] (SCNiFAST32): Likewise.
16174 [C99-based-standards] (SCNoFAST32): Likewise.
16175 [C99-based-standards] (SCNuFAST32): Likewise.
16176 [C99-based-standards] (SCNxFAST32): Likewise.
16177 [C99-based-standards] (PRId64): Likewise.
16178 [C99-based-standards] (PRIi64): Likewise.
16179 [C99-based-standards] (PRIo64): Likewise.
16180 [C99-based-standards] (PRIu64): Likewise.
16181 [C99-based-standards] (PRIx64): Likewise.
16182 [C99-based-standards] (PRIX64): Likewise.
16183 [C99-based-standards] (SCNd64): Likewise.
16184 [C99-based-standards] (SCNi64): Likewise.
16185 [C99-based-standards] (SCNo64): Likewise.
16186 [C99-based-standards] (SCNu64): Likewise.
16187 [C99-based-standards] (SCNx64): Likewise.
16188 [C99-based-standards] (PRIdLEAST64): Likewise.
16189 [C99-based-standards] (PRIiLEAST64): Likewise.
16190 [C99-based-standards] (PRIoLEAST64): Likewise.
16191 [C99-based-standards] (PRIuLEAST64): Likewise.
16192 [C99-based-standards] (PRIxLEAST64): Likewise.
16193 [C99-based-standards] (PRIXLEAST64): Likewise.
16194 [C99-based-standards] (SCNdLEAST64): Likewise.
16195 [C99-based-standards] (SCNiLEAST64): Likewise.
16196 [C99-based-standards] (SCNoLEAST64): Likewise.
16197 [C99-based-standards] (SCNuLEAST64): Likewise.
16198 [C99-based-standards] (SCNxLEAST64): Likewise.
16199 [C99-based-standards] (PRIdFAST64): Likewise.
16200 [C99-based-standards] (PRIiFAST64): Likewise.
16201 [C99-based-standards] (PRIoFAST64): Likewise.
16202 [C99-based-standards] (PRIuFAST64): Likewise.
16203 [C99-based-standards] (PRIxFAST64): Likewise.
16204 [C99-based-standards] (PRIXFAST64): Likewise.
16205 [C99-based-standards] (SCNdFAST64): Likewise.
16206 [C99-based-standards] (SCNiFAST64): Likewise.
16207 [C99-based-standards] (SCNoFAST64): Likewise.
16208 [C99-based-standards] (SCNuFAST64): Likewise.
16209 [C99-based-standards] (SCNxFAST64): Likewise.
16210 [C99-based-standards] (PRIdMAX): Likewise.
16211 [C99-based-standards] (PRIiMAX): Likewise.
16212 [C99-based-standards] (PRIoMAX): Likewise.
16213 [C99-based-standards] (PRIuMAX): Likewise.
16214 [C99-based-standards] (PRIxMAX): Likewise.
16215 [C99-based-standards] (PRIXMAX): Likewise.
16216 [C99-based-standards] (SCNdMAX): Likewise.
16217 [C99-based-standards] (SCNiMAX): Likewise.
16218 [C99-based-standards] (SCNoMAX): Likewise.
16219 [C99-based-standards] (SCNuMAX): Likewise.
16220 [C99-based-standards] (SCNxMAX): Likewise.
16221 [C99-based-standards] (PRIdPTR): Likewise.
16222 [C99-based-standards] (PRIiPTR): Likewise.
16223 [C99-based-standards] (PRIoPTR): Likewise.
16224 [C99-based-standards] (PRIuPTR): Likewise.
16225 [C99-based-standards] (PRIxPTR): Likewise.
16226 [C99-based-standards] (PRIXPTR): Likewise.
16227 [C99-based-standards] (SCNdPTR): Likewise.
16228 [C99-based-standards] (SCNiPTR): Likewise.
16229 [C99-based-standards] (SCNoPTR): Likewise.
16230 [C99-based-standards] (SCNuPTR): Likewise.
16231 [C99-based-standards] (SCNxPTR): Likewise.
16232 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16234 * conform/data/stdint.h-data: Update comments to clarify
16236 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16238 [C99-based standards] (INT8_MAX): Likewise.
16239 [C99-based standards] (INT16_MIN): Likewise.
16240 [C99-based standards] (INT16_MAX): Likewise.
16241 [C99-based standards] (INT32_MIN): Likewise.
16242 [C99-based standards] (INT32_MAX): Likewise.
16243 [C99-based standards] (INT64_MIN): Likewise.
16244 [C99-based standards] (INT64_MAX): Likewise.
16245 [C99-based standards] (UINT8_MAX): Likewise.
16246 [C99-based standards] (UINT16_MAX): Likewise.
16247 [C99-based standards] (UINT32_MAX): Likewise.
16248 [C99-based standards] (UINT64_MAX): Likewise.
16249 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16250 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16251 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16252 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16253 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16254 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16255 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16256 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16257 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16258 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16259 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16260 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16261 [C99-based standards] (INT_FAST8_MIN): Likewise.
16262 [C99-based standards] (INT_FAST8_MAX): Likewise.
16263 [C99-based standards] (INT_FAST16_MIN): Likewise.
16264 [C99-based standards] (INT_FAST16_MAX): Likewise.
16265 [C99-based standards] (INT_FAST32_MIN): Likewise.
16266 [C99-based standards] (INT_FAST32_MAX): Likewise.
16267 [C99-based standards] (INT_FAST64_MIN): Likewise.
16268 [C99-based standards] (INT_FAST64_MAX): Likewise.
16269 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16270 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16271 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16272 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16273 [C99-based standards] (INTPTR_MIN): Likewise.
16274 [C99-based standards] (INTPTR_MAX): Likewise.
16275 [C99-based standards] (UINTPTR_MAX): Likewise.
16276 [C99-based standards] (INTMAX_MIN): Likewise.
16277 [C99-based standards] (INTMAX_MAX): Likewise.
16278 [C99-based standards] (UINTMAX_MAX): Likewise.
16279 [C99-based standards] (PTRDIFF_MIN): Likewise.
16280 [C99-based standards] (PTRDIFF_MAX): Likewise.
16281 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16282 [C99-based standards] (SIZE_MAX): Likewise.
16283 [C99-based standards] (WCHAR_MAX): Likewise.
16284 [C99-based standards] (WINT_MAX): Likewise.
16285 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16286 constraint on value.
16287 [C99-based standards] (WCHAR_MIN): Likewise.
16288 [C99-based standards] (WINT_MIN): Likewise.
16289 [C99-based standards] (*_t): Allow.
16290 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16291 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16292 Include math.h-data and complex.h-data. Remove all expectations
16293 of math.h and complex.h contents.
16294 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16296 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16297 (struct tm): Expect tag.
16298 [C99-based-standards] (wcstof): Expect function.
16299 [C99-based-standards] (wcstold): Likewise.
16300 [C99-based-standards] (wcstoll): Likewise.
16301 [C99-based-standards] (wcstoull): Likewise.
16302 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16303 macro-int-constant. Specify type.
16304 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16305 constraint on value.
16306 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16308 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16310 [ISO C standards]: Do not allow headers.
16311 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16312 wcs[abcdefghijklmnopqrstuvwxyz]*.
16313 [ISO C standards] (*_t): Do not allow.
16314 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16316 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16317 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16319 [ISO C standards]: Do not allow headers.
16320 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16321 is[abcdefghijklmnopqrstuvwxyz]*.
16322 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16323 to[abcdefghijklmnopqrstuvwxyz]*.
16324 [ISO C standards] (*_t): Do not allow.
16325 * conform/data/stdalign.h-data: New file.
16326 * conform/data/stdbool.h-data: Likewise.
16327 * conform/data/stdnoreturn.h-data: Likewise.
16329 2012-11-07 Roland McGrath <roland@hack.frob.com>
16332 * manual/filesys.texi (Directory Entries): Typo fix.
16333 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16335 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16337 * elf/elf.h (EM_AARCH64): New macro.
16338 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16339 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16340 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16341 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16342 (R_AARCH64_TLSDESC): Likewise.
16343 (NT_ARM_TLS): Likewise.
16344 (NT_ARM_HW_BREAK): Likewise.
16345 (NT_ARM_HW_WATCH): Likewise.
16347 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16350 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16351 (__ieee754_powl): Saturate nonzero exponents with absolute value
16352 below 0x1p-79 to +/- 0x1p-79.
16353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16354 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16355 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16356 nonzero exponents with absolute value below 0x1p-32 to +/-
16358 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16359 (__ieee754_powl): Saturate nonzero exponents with absolute value
16360 below 0x1p-79 to +/- 0x1p-79.
16361 * math/libm-test.inc (pow_test): Add more tests.
16363 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16365 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16366 _dl_s390_cap_flags with kernel. Increase string length.
16367 (_dl_s390_platforms): Add z196 and zEC12.
16369 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16371 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16372 Change XOPEN21K to XOPEN2K.
16374 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16376 * string/memmove.c: Use memcpy when possible.
16378 2012-11-06 Andreas Jaeger <aj@suse.de>
16380 * po/eo.po: Update from translation team.
16382 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16386 exponent and small x and y exponents, scale x or y up. Increase
16387 by 2 the exponent used in scaling up.
16388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16390 * math/libm-test.inc (fma_test): Add more tests.
16391 (fma_test_towardzero): Likewise.
16392 (fma_test_downward): Likewise.
16393 (fma_test_upward): Likewise.
16395 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16402 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16403 namespace for names of struct fields.
16404 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16406 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16407 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16409 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16412 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16414 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16416 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16423 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16427 definitely overflow as x * y not x * y + z.
16428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16430 * math/libm-test.inc (fma_test): Add more tests.
16431 (fma_test_towardzero): Likewise.
16432 (fma_test_downward): Likewise.
16433 (fma_test_upward): Likewise.
16435 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16439 * include/stub-tag.h: Remove file.
16440 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16442 * manual/maint.texi (Porting): Don't reference it.
16443 * Makerules ($(objpfx)stubs): Likewise.
16444 * dirent/closedir.c: Don't include <stub-tag.h>.
16445 * dirent/dirfd.c: Likewise.
16446 * dirent/fdopendir.c: Likewise.
16447 * dirent/getdents.c: Likewise.
16448 * dirent/getdents64.c: Likewise.
16449 * dirent/opendir.c: Likewise.
16450 * dirent/readdir.c: Likewise.
16451 * dirent/readdir64.c: Likewise.
16452 * dirent/readdir64_r.c: Likewise.
16453 * dirent/readdir_r.c: Likewise.
16454 * dirent/rewinddir.c: Likewise.
16455 * dirent/seekdir.c: Likewise.
16456 * dirent/telldir.c: Likewise.
16457 * gmon/profil.c: Likewise.
16458 * grp/setgroups.c: Likewise.
16459 * inet/if_index.c: Likewise.
16460 * io/access.c: Likewise.
16461 * io/chdir.c: Likewise.
16462 * io/chmod.c: Likewise.
16463 * io/chown.c: Likewise.
16464 * io/close.c: Likewise.
16465 * io/dup.c: Likewise.
16466 * io/dup2.c: Likewise.
16467 * io/dup3.c: Likewise.
16468 * io/euidaccess.c: Likewise.
16469 * io/faccessat.c: Likewise.
16470 * io/fchdir.c: Likewise.
16471 * io/fchmod.c: Likewise.
16472 * io/fchmodat.c: Likewise.
16473 * io/fchown.c: Likewise.
16474 * io/fchownat.c: Likewise.
16475 * io/fcntl.c: Likewise.
16476 * io/flock.c: Likewise.
16477 * io/fstatfs.c: Likewise.
16478 * io/fstatfs64.c: Likewise.
16479 * io/fstatvfs.c: Likewise.
16480 * io/fstatvfs64.c: Likewise.
16481 * io/futimens.c: Likewise.
16482 * io/fxstat.c: Likewise.
16483 * io/fxstat64.c: Likewise.
16484 * io/fxstatat.c: Likewise.
16485 * io/fxstatat64.c: Likewise.
16486 * io/getcwd.c: Likewise.
16487 * io/isatty.c: Likewise.
16488 * io/lchmod.c: Likewise.
16489 * io/lchown.c: Likewise.
16490 * io/link.c: Likewise.
16491 * io/linkat.c: Likewise.
16492 * io/lseek.c: Likewise.
16493 * io/lseek64.c: Likewise.
16494 * io/lxstat64.c: Likewise.
16495 * io/mkdir.c: Likewise.
16496 * io/mkdirat.c: Likewise.
16497 * io/mkfifo.c: Likewise.
16498 * io/mkfifoat.c: Likewise.
16499 * io/open.c: Likewise.
16500 * io/open64.c: Likewise.
16501 * io/openat.c: Likewise.
16502 * io/openat64.c: Likewise.
16503 * io/pipe.c: Likewise.
16504 * io/pipe2.c: Likewise.
16505 * io/poll.c: Likewise.
16506 * io/posix_fadvise.c: Likewise.
16507 * io/posix_fadvise64.c: Likewise.
16508 * io/posix_fallocate.c: Likewise.
16509 * io/posix_fallocate64.c: Likewise.
16510 * io/read.c: Likewise.
16511 * io/readlink.c: Likewise.
16512 * io/readlinkat.c: Likewise.
16513 * io/rmdir.c: Likewise.
16514 * io/sendfile.c: Likewise.
16515 * io/sendfile64.c: Likewise.
16516 * io/statfs.c: Likewise.
16517 * io/statfs64.c: Likewise.
16518 * io/statvfs.c: Likewise.
16519 * io/statvfs64.c: Likewise.
16520 * io/symlink.c: Likewise.
16521 * io/symlinkat.c: Likewise.
16522 * io/ttyname.c: Likewise.
16523 * io/ttyname_r.c: Likewise.
16524 * io/umask.c: Likewise.
16525 * io/unlink.c: Likewise.
16526 * io/unlinkat.c: Likewise.
16527 * io/utime.c: Likewise.
16528 * io/utimensat.c: Likewise.
16529 * io/write.c: Likewise.
16530 * io/xmknod.c: Likewise.
16531 * io/xmknodat.c: Likewise.
16532 * io/xstat.c: Likewise.
16533 * io/xstat64.c: Likewise.
16534 * login/getpt.c: Likewise.
16535 * login/grantpt.c: Likewise.
16536 * login/unlockpt.c: Likewise.
16537 * math/e_acoshl.c: Likewise.
16538 * math/e_acosl.c: Likewise.
16539 * math/e_asinl.c: Likewise.
16540 * math/e_atan2l.c: Likewise.
16541 * math/e_atanhl.c: Likewise.
16542 * math/e_coshl.c: Likewise.
16543 * math/e_expl.c: Likewise.
16544 * math/e_fmodl.c: Likewise.
16545 * math/e_gammal_r.c: Likewise.
16546 * math/e_hypotl.c: Likewise.
16547 * math/e_j0l.c: Likewise.
16548 * math/e_j1l.c: Likewise.
16549 * math/e_jnl.c: Likewise.
16550 * math/e_lgammal_r.c: Likewise.
16551 * math/e_log10l.c: Likewise.
16552 * math/e_log2l.c: Likewise.
16553 * math/e_logl.c: Likewise.
16554 * math/e_powl.c: Likewise.
16555 * math/e_rem_pio2l.c: Likewise.
16556 * math/e_sinhl.c: Likewise.
16557 * math/e_sqrtl.c: Likewise.
16558 * math/fclrexcpt.c: Likewise.
16559 * math/fedisblxcpt.c: Likewise.
16560 * math/feenablxcpt.c: Likewise.
16561 * math/fegetenv.c: Likewise.
16562 * math/fegetexcept.c: Likewise.
16563 * math/fegetround.c: Likewise.
16564 * math/feholdexcpt.c: Likewise.
16565 * math/fesetenv.c: Likewise.
16566 * math/fesetround.c: Likewise.
16567 * math/feupdateenv.c: Likewise.
16568 * math/fgetexcptflg.c: Likewise.
16569 * math/fraiseexcpt.c: Likewise.
16570 * math/fsetexcptflg.c: Likewise.
16571 * math/ftestexcept.c: Likewise.
16572 * math/k_cosl.c: Likewise.
16573 * math/k_rem_pio2l.c: Likewise.
16574 * math/k_sinl.c: Likewise.
16575 * math/k_tanl.c: Likewise.
16576 * math/s_asinhl.c: Likewise.
16577 * math/s_atanl.c: Likewise.
16578 * math/s_cbrtl.c: Likewise.
16579 * math/s_erfl.c: Likewise.
16580 * math/s_expm1l.c: Likewise.
16581 * math/s_log1pl.c: Likewise.
16582 * math/s_tanhl.c: Likewise.
16583 * misc/acct.c: Likewise.
16584 * misc/brk.c: Likewise.
16585 * misc/chflags.c: Likewise.
16586 * misc/chroot.c: Likewise.
16587 * misc/fchflags.c: Likewise.
16588 * misc/fgetxattr.c: Likewise.
16589 * misc/flistxattr.c: Likewise.
16590 * misc/fremovexattr.c: Likewise.
16591 * misc/fsetxattr.c: Likewise.
16592 * misc/fsync.c: Likewise.
16593 * misc/ftruncate.c: Likewise.
16594 * misc/futimes.c: Likewise.
16595 * misc/futimesat.c: Likewise.
16596 * misc/getdomain.c: Likewise.
16597 * misc/getdtsz.c: Likewise.
16598 * misc/gethostid.c: Likewise.
16599 * misc/gethostname.c: Likewise.
16600 * misc/getloadavg.c: Likewise.
16601 * misc/getpagesize.c: Likewise.
16602 * misc/getsysstats.c: Likewise.
16603 * misc/getxattr.c: Likewise.
16604 * misc/gtty.c: Likewise.
16605 * misc/ioctl.c: Likewise.
16606 * misc/lgetxattr.c: Likewise.
16607 * misc/listxattr.c: Likewise.
16608 * misc/llistxattr.c: Likewise.
16609 * misc/lremovexattr.c: Likewise.
16610 * misc/lsetxattr.c: Likewise.
16611 * misc/lutimes.c: Likewise.
16612 * misc/madvise.c: Likewise.
16613 * misc/mincore.c: Likewise.
16614 * misc/mlock.c: Likewise.
16615 * misc/mlockall.c: Likewise.
16616 * misc/mmap.c: Likewise.
16617 * misc/mprotect.c: Likewise.
16618 * misc/msync.c: Likewise.
16619 * misc/munlock.c: Likewise.
16620 * misc/munlockall.c: Likewise.
16621 * misc/munmap.c: Likewise.
16622 * misc/preadv.c: Likewise.
16623 * misc/preadv64.c: Likewise.
16624 * misc/ptrace.c: Likewise.
16625 * misc/pwritev.c: Likewise.
16626 * misc/pwritev64.c: Likewise.
16627 * misc/readv.c: Likewise.
16628 * misc/reboot.c: Likewise.
16629 * misc/remap_file_pages.c: Likewise.
16630 * misc/removexattr.c: Likewise.
16631 * misc/revoke.c: Likewise.
16632 * misc/select.c: Likewise.
16633 * misc/setdomain.c: Likewise.
16634 * misc/setegid.c: Likewise.
16635 * misc/seteuid.c: Likewise.
16636 * misc/sethostid.c: Likewise.
16637 * misc/sethostname.c: Likewise.
16638 * misc/setregid.c: Likewise.
16639 * misc/setreuid.c: Likewise.
16640 * misc/setxattr.c: Likewise.
16641 * misc/sstk.c: Likewise.
16642 * misc/stty.c: Likewise.
16643 * misc/swapoff.c: Likewise.
16644 * misc/swapon.c: Likewise.
16645 * misc/sync.c: Likewise.
16646 * misc/syncfs.c: Likewise.
16647 * misc/syscall.c: Likewise.
16648 * misc/truncate.c: Likewise.
16649 * misc/ualarm.c: Likewise.
16650 * misc/usleep.c: Likewise.
16651 * misc/ustat.c: Likewise.
16652 * misc/utimes.c: Likewise.
16653 * misc/vhangup.c: Likewise.
16654 * misc/writev.c: Likewise.
16655 * posix/_exit.c: Likewise.
16656 * posix/alarm.c: Likewise.
16657 * posix/execve.c: Likewise.
16658 * posix/fexecve.c: Likewise.
16659 * posix/fork.c: Likewise.
16660 * posix/fpathconf.c: Likewise.
16661 * posix/getaddrinfo.c: Likewise.
16662 * posix/getegid.c: Likewise.
16663 * posix/geteuid.c: Likewise.
16664 * posix/getgid.c: Likewise.
16665 * posix/getgroups.c: Likewise.
16666 * posix/getlogin.c: Likewise.
16667 * posix/getlogin_r.c: Likewise.
16668 * posix/getpgid.c: Likewise.
16669 * posix/getpid.c: Likewise.
16670 * posix/getppid.c: Likewise.
16671 * posix/getresgid.c: Likewise.
16672 * posix/getresuid.c: Likewise.
16673 * posix/getsid.c: Likewise.
16674 * posix/getuid.c: Likewise.
16675 * posix/glob64.c: Likewise.
16676 * posix/nanosleep.c: Likewise.
16677 * posix/pathconf.c: Likewise.
16678 * posix/pause.c: Likewise.
16679 * posix/posix_madvise.c: Likewise.
16680 * posix/pread.c: Likewise.
16681 * posix/pread64.c: Likewise.
16682 * posix/pwrite.c: Likewise.
16683 * posix/pwrite64.c: Likewise.
16684 * posix/sched_getaffinity.c: Likewise.
16685 * posix/sched_getp.c: Likewise.
16686 * posix/sched_gets.c: Likewise.
16687 * posix/sched_primax.c: Likewise.
16688 * posix/sched_primin.c: Likewise.
16689 * posix/sched_rr_gi.c: Likewise.
16690 * posix/sched_setaffinity.c: Likewise.
16691 * posix/sched_setp.c: Likewise.
16692 * posix/sched_sets.c: Likewise.
16693 * posix/sched_yield.c: Likewise.
16694 * posix/setgid.c: Likewise.
16695 * posix/setlogin.c: Likewise.
16696 * posix/setpgid.c: Likewise.
16697 * posix/setresgid.c: Likewise.
16698 * posix/setresuid.c: Likewise.
16699 * posix/setsid.c: Likewise.
16700 * posix/setuid.c: Likewise.
16701 * posix/sleep.c: Likewise.
16702 * posix/spawni.c: Likewise.
16703 * posix/sysconf.c: Likewise.
16704 * posix/times.c: Likewise.
16705 * posix/wait.c: Likewise.
16706 * posix/wait3.c: Likewise.
16707 * posix/wait4.c: Likewise.
16708 * posix/waitpid.c: Likewise.
16709 * resolv/gai_sigqueue.c: Likewise.
16710 * resource/getpriority.c: Likewise.
16711 * resource/getrlimit.c: Likewise.
16712 * resource/getrusage.c: Likewise.
16713 * resource/nice.c: Likewise.
16714 * resource/setpriority.c: Likewise.
16715 * resource/setrlimit.c: Likewise.
16716 * resource/ulimit.c: Likewise.
16717 * rt/aio_cancel.c: Likewise.
16718 * rt/aio_fsync.c: Likewise.
16719 * rt/aio_read.c: Likewise.
16720 * rt/aio_sigqueue.c: Likewise.
16721 * rt/aio_suspend.c: Likewise.
16722 * rt/aio_write.c: Likewise.
16723 * rt/clock_getres.c: Likewise.
16724 * rt/clock_gettime.c: Likewise.
16725 * rt/clock_nanosleep.c: Likewise.
16726 * rt/clock_settime.c: Likewise.
16727 * rt/lio_listio.c: Likewise.
16728 * rt/mq_close.c: Likewise.
16729 * rt/mq_getattr.c: Likewise.
16730 * rt/mq_notify.c: Likewise.
16731 * rt/mq_open.c: Likewise.
16732 * rt/mq_receive.c: Likewise.
16733 * rt/mq_send.c: Likewise.
16734 * rt/mq_setattr.c: Likewise.
16735 * rt/mq_timedreceive.c: Likewise.
16736 * rt/mq_timedsend.c: Likewise.
16737 * rt/mq_unlink.c: Likewise.
16738 * rt/shm_open.c: Likewise.
16739 * rt/shm_unlink.c: Likewise.
16740 * rt/timer_create.c: Likewise.
16741 * rt/timer_delete.c: Likewise.
16742 * rt/timer_getoverr.c: Likewise.
16743 * rt/timer_gettime.c: Likewise.
16744 * rt/timer_settime.c: Likewise.
16745 * setjmp/__longjmp.c: Likewise.
16746 * setjmp/setjmp.c: Likewise.
16747 * signal/kill.c: Likewise.
16748 * signal/killpg.c: Likewise.
16749 * signal/raise.c: Likewise.
16750 * signal/sigaction.c: Likewise.
16751 * signal/sigaltstack.c: Likewise.
16752 * signal/sigblock.c: Likewise.
16753 * signal/sigignore.c: Likewise.
16754 * signal/sigintr.c: Likewise.
16755 * signal/signal.c: Likewise.
16756 * signal/sigpause.c: Likewise.
16757 * signal/sigpending.c: Likewise.
16758 * signal/sigqueue.c: Likewise.
16759 * signal/sigreturn.c: Likewise.
16760 * signal/sigset.c: Likewise.
16761 * signal/sigsetmask.c: Likewise.
16762 * signal/sigstack.c: Likewise.
16763 * signal/sigsuspend.c: Likewise.
16764 * signal/sigtimedwait.c: Likewise.
16765 * signal/sigvec.c: Likewise.
16766 * signal/sigwait.c: Likewise.
16767 * signal/sigwaitinfo.c: Likewise.
16768 * signal/sysv_signal.c: Likewise.
16769 * socket/accept.c: Likewise.
16770 * socket/accept4.c: Likewise.
16771 * socket/bind.c: Likewise.
16772 * socket/connect.c: Likewise.
16773 * socket/getpeername.c: Likewise.
16774 * socket/getsockname.c: Likewise.
16775 * socket/getsockopt.c: Likewise.
16776 * socket/isfdtype.c: Likewise.
16777 * socket/listen.c: Likewise.
16778 * socket/recv.c: Likewise.
16779 * socket/recvfrom.c: Likewise.
16780 * socket/recvmsg.c: Likewise.
16781 * socket/send.c: Likewise.
16782 * socket/sendmsg.c: Likewise.
16783 * socket/sendto.c: Likewise.
16784 * socket/setsockopt.c: Likewise.
16785 * socket/shutdown.c: Likewise.
16786 * socket/sockatmark.c: Likewise.
16787 * socket/socket.c: Likewise.
16788 * socket/socketpair.c: Likewise.
16789 * stdio-common/ctermid.c: Likewise.
16790 * stdio-common/cuserid.c: Likewise.
16791 * stdio-common/remove.c: Likewise.
16792 * stdio-common/rename.c: Likewise.
16793 * stdio-common/renameat.c: Likewise.
16794 * stdio-common/tempname.c: Likewise.
16795 * stdlib/getcontext.c: Likewise.
16796 * stdlib/makecontext.c: Likewise.
16797 * stdlib/setcontext.c: Likewise.
16798 * stdlib/swapcontext.c: Likewise.
16799 * stdlib/system.c: Likewise.
16800 * streams/fattach.c: Likewise.
16801 * streams/fdetach.c: Likewise.
16802 * streams/getmsg.c: Likewise.
16803 * streams/getpmsg.c: Likewise.
16804 * streams/putmsg.c: Likewise.
16805 * streams/putpmsg.c: Likewise.
16806 * sysdeps/unix/bsd/getpt.c: Likewise.
16807 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16808 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16812 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16813 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16814 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16815 * sysvipc/msgctl.c: Likewise.
16816 * sysvipc/msgget.c: Likewise.
16817 * sysvipc/msgrcv.c: Likewise.
16818 * sysvipc/msgsnd.c: Likewise.
16819 * sysvipc/semctl.c: Likewise.
16820 * sysvipc/semget.c: Likewise.
16821 * sysvipc/semop.c: Likewise.
16822 * sysvipc/semtimedop.c: Likewise.
16823 * sysvipc/shmat.c: Likewise.
16824 * sysvipc/shmctl.c: Likewise.
16825 * sysvipc/shmdt.c: Likewise.
16826 * sysvipc/shmget.c: Likewise.
16827 * termios/tcdrain.c: Likewise.
16828 * termios/tcflow.c: Likewise.
16829 * termios/tcflush.c: Likewise.
16830 * termios/tcgetattr.c: Likewise.
16831 * termios/tcgetpgrp.c: Likewise.
16832 * termios/tcsendbrk.c: Likewise.
16833 * termios/tcsetattr.c: Likewise.
16834 * termios/tcsetpgrp.c: Likewise.
16835 * time/adjtime.c: Likewise.
16836 * time/clock.c: Likewise.
16837 * time/getitimer.c: Likewise.
16838 * time/gettimeofday.c: Likewise.
16839 * time/setitimer.c: Likewise.
16840 * time/settimeofday.c: Likewise.
16841 * time/stime.c: Likewise.
16842 * time/time.c: Likewise.
16844 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16846 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16849 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16851 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16853 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16857 FE_TONEAREST before applying Dekker multiplication and Knuth
16858 addition. Clear inexact exceptions and check for exact zero
16859 results afterwards.
16860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16863 * math/libm-test.inc (fma_test): Add more tests.
16864 (fma_test_towardzero): Likewise.
16865 (fma_test_downward): Likewise.
16866 (fma_test_upward): Likewise.
16867 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16869 (libc_fesetround): New macro.
16870 (libc_fesetroundf): Likewise.
16871 (libc_fesetroundl): Likewise.
16872 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16874 (libc_fesetround_387): Likewise.
16875 (libc_fesetroundf): New macro.
16876 (libc_fesetround): Likewise.
16877 (libc_fesetroundl): Likewise.
16878 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16880 (libc_fesetroundf): New macro.
16881 (libc_fesetround): Likewise.
16882 (libc_fesetroundl): Likewise.
16883 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16884 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16885 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16887 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16888 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16890 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16891 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16893 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16897 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16898 integer constant usable in #if and use that to give value to enum
16900 (FE_DIVBYZERO): Likewise.
16901 (FE_UNDERFLOW): Likewise.
16902 (FE_OVERFLOW): Likewise.
16903 (FE_INVALID): Likewise.
16904 (FE_INVALID_SNAN): Likewise.
16905 (FE_INVALID_ISI): Likewise.
16906 (FE_INVALID_IDI): Likewise.
16907 (FE_INVALID_ZDZ): Likewise.
16908 (FE_INVALID_IMZ): Likewise.
16909 (FE_INVALID_COMPARE): Likewise.
16910 (FE_INVALID_SOFTWARE): Likewise.
16911 (FE_INVALID_SQRT): Likewise.
16912 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16913 (FE_TONEAREST): Likewise.
16914 (FE_TOWARDZERO): Likewise.
16915 (FE_UPWARD): Likewise.
16916 (FE_DOWNWARD): Likewise.
16917 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16918 (FE_DIVBYZERO): Likewise.
16919 (FE_OVERFLOW): Likewise.
16920 (FE_UNDERFLOW): Likewise.
16921 (FE_INEXACT): Likewise.
16922 (FE_TONEAREST): Likewise.
16923 (FE_DOWNWARD): Likewise.
16924 (FE_UPWARD): Likewise.
16925 (FE_TOWARDZERO): Likewise.
16926 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16927 (FE_UNDERFLOW): Likewise.
16928 (FE_OVERFLOW): Likewise.
16929 (FE_DIVBYZERO): Likewise.
16930 (FE_INVALID): Likewise.
16931 (FE_TONEAREST): Likewise.
16932 (FE_TOWARDZERO): Likewise.
16933 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16934 (FE_OVERFLOW): Likewise.
16935 (FE_UNDERFLOW): Likewise.
16936 (FE_DIVBYZERO): Likewise.
16937 (FE_INEXACT): Likewise.
16938 (FE_TONEAREST): Likewise.
16939 (FE_TOWARDZERO): Likewise.
16940 (FE_UPWARD): Likewise.
16941 (FE_DOWNWARD): Likewise.
16942 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16943 (FE_DIVBYZERO): Likewise.
16944 (FE_OVERFLOW): Likewise.
16945 (FE_UNDERFLOW): Likewise.
16946 (FE_INEXACT): Likewise.
16947 (FE_TONEAREST): Likewise.
16948 (FE_DOWNWARD): Likewise.
16949 (FE_UPWARD): Likewise.
16950 (FE_TOWARDZERO): Likewise.
16952 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16954 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16956 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16958 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16959 commands. Quote $PWD.
16960 (blacklist_exports): Don't use remove_newlines. Replace "declare
16962 (remove_newlines): Remove.
16964 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16966 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16967 * stdlib/stdlib.h (atof): Moved to ...
16968 * include/bits/stdlib-float.h: Here. New file.
16969 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16970 * stdlib/bits/stdlib-float.h: New file.
16971 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16976 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16978 * conform/conformtest.pl (@headers): Add fenv.h.
16979 * conform/data/fenv.h-data: New file.
16980 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16981 include of <math/fenv.h>.
16983 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16984 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16985 && !UNIX98]. Enables tests for XOPEN2K8.
16986 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16987 POSIX2008]: Likewise.
16989 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16990 (struct rusage): Do not expect type or its members.
16993 * math/math.h (FP_NAN): Define macro to integer constant usable in
16994 #if and use that to give value to enum constant.
16995 (FP_INFINITE): Likewise.
16996 (FP_ZERO): Likewise.
16997 (FP_SUBNORMAL): Likewise.
16998 (FP_NORMAL): Likewise.
17000 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17002 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17003 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17006 2012-11-02 Roland McGrath <roland@hack.frob.com>
17008 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17009 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17010 autoconf-time if not.
17011 * configure.in: Remove AC_PREREQ.
17013 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17015 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17016 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17017 of the internal implementation.
17019 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17021 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17022 except include of <misc/sys/syslog.h>.
17024 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17027 function returns with a NULL context exit with zero.
17029 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17031 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17033 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17035 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17036 (run_program_cmd): This.
17037 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17038 (tst_langinfo): New variable. Use it.
17040 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17042 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17043 floating point opcodes.
17045 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17047 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17050 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17052 * sysdeps/mach/hurd/powerpc: Remove directory.
17053 * sysdeps/mach/powerpc: Likewise.
17055 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17057 * scripts/check-local-headers.sh: Ignore c++ headers.
17059 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17061 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17062 __libc_cleanup_region_start argument.
17064 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17069 x * y using scaling, not as x * y + z.
17070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17072 * math/libm-test.inc (fma_test): Add more tests.
17073 (fma_test_towardzero): Likewise.
17074 (fma_test_downward): Likewise.
17075 (fma_test_upward): Likewise.
17077 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17079 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17081 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17083 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17086 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17088 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17090 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17097 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17100 Fix the order of the list for glibc 2.17.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17104 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17108 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17111 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17112 for low part of x being zero before using __atanl (y).
17113 * math/libm-test.inc (atan2_test): Add another test.
17115 * manual/install.texi (Configuring and compiling): Document
17116 general use of test-wrapper and test-wrapper-env.
17117 * INSTALL: Regenerated.
17119 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17120 (__fma): Do not extract and scale down low bits on after-rounding
17121 systems when result rounded to normal precision would have normal
17123 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17124 (__fmal): Do not extract and scale down low bits on after-rounding
17125 systems when result rounded to normal precision would have normal
17127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17128 (__fmal): Do not extract and scale down low bits on after-rounding
17129 systems when result rounded to normal precision would have normal
17131 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17133 (fma_test): Add more tests.
17134 (fma_test_towardzero): Likewise.
17135 (fma_test_downward): Likewise.
17136 (fma_test_upward): Likewise.
17138 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17140 * sysdeps/i386/tininess.h: Renamed to ...
17141 * sysdeps/x86/tininess.h: This.
17142 * sysdeps/x86_64/tininess.h: Removed.
17144 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17146 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17147 input. Use $(build-program-cmd).
17148 ($(objpfx)tst-array1-static.out): Likewise.
17149 ($(objpfx)tst-array2.out): Likewise.
17150 ($(objpfx)tst-array3.out): Likewise.
17151 ($(objpfx)tst-array4.out): Likewise.
17152 ($(objpfx)tst-array5.out): Likewise.
17153 ($(objpfx)tst-array5-static.out): Likewise.
17155 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17157 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17160 * nss/nsswitch.h (nss_interface_function): Provide new
17161 macro for use with NSS functions.
17162 * grp/initgroups.c: Use new macro.
17163 * nss/getXXbyYY.c: Likewise.
17164 * nss/getXXbyYY_r.c: Likewise.
17165 * nss/getXXent.c: Likewise.
17166 * nss/getXXent_r.c: Likewise.
17167 * sysdeps/posix/getaddrinfo.c: Likewise.
17169 2012-10-30 Andreas Jaeger <aj@suse.de>
17171 * po/ru.po: Update Russion translation from translation project.
17173 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17178 result and shift together with sticky bit instead of replicating
17179 round-to-nearest rounding.
17180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17182 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17183 missing underflow exceptions.
17184 (fma_test_towardzero): Add more tests.
17185 (fma_test_downward): Likewise.
17186 (fma_test_upward): Likewise.
17189 * sysdeps/generic/tininess.h: New file.
17190 * sysdeps/i386/tininess.h: Likewise.
17191 * sysdeps/sh/tininess.h: Likewise.
17192 * sysdeps/x86_64/tininess.h: Likewise.
17193 * stdlib/tst-strtod-underflow.c: Likewise.
17194 * stdlib/tst-tininess.c: Likewise.
17195 * stdlib/strtod_l.c: Include <tininess.h>.
17196 (round_and_return): Do not set errno for exact underflow cases.
17197 Force an underflow exception when setting errno for underflow.
17198 Determine underflow based on rounding to normal precision if
17199 TININESS_AFTER_ROUNDING.
17200 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17201 ERANGE for exact underflow cases.
17202 * stdlib/Makefile (tests): Add tst-tininess and
17203 tst-strtod-underflow.
17204 ($(objpfx)tst-tininess): Use $(link-libm).
17205 ($(objpfx)tst-strtod-underflow): Likewise.
17207 2012-10-30 Andreas Jaeger <aj@suse.de>
17210 * elf/Makefile (tests): Remove conditional for have-initfini-array
17211 since this is now always required and the variable does not exist
17213 (tests-static): Likewise.
17214 (modules-names): Likewise.
17216 * po/eo.po: Add Esperanto translation from translation project.
17218 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17219 merged with constructor/destructor.
17220 (init_array): Likewise.
17221 * elf/tst-array2dep.c (fini_array): Likewise.
17222 (init_array): Likewise.
17224 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17226 * manual/message.texi: Delete @cartouche tags.
17228 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17230 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17232 * sysdeps/mach/hurd/fsync.c: Likewise.
17234 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17235 [_POSIX_REALTIME_SIGNALS]: Change condition to
17236 [_POSIX_REALTIME_SIGNALS > 0].
17238 2012-10-27 Andreas Jaeger <aj@suse.de>
17240 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17241 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17243 [__WORDSIZE != 64]: Likewise.
17245 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17247 * iconvdata/tst-table.sh: Remove ${SHELL}.
17248 * iconvdata/tst-tables.sh: Likewise.
17250 2012-10-25 David S. Miller <davem@davemloft.net>
17252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17253 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17259 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17260 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17263 2012-10-25 Roland McGrath <roland@hack.frob.com>
17265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17266 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17269 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17270 Jim Blandy <jimb@codesourcery.com>
17272 * scripts/cross-test-ssh.sh: New file.
17273 * manual/install.texi (Configuring and compiling): Document use of
17275 * INSTALL: Regenerated.
17277 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17279 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17282 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17284 * Makeconfig (run-program-prefix): Fix comment.
17286 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17287 Jim Blandy <jimb@codesourcery.com>
17289 * Makeconfig (test-wrapper): New variable,
17290 (test-wrapper-env): Likewise.
17291 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17292 (run-built-tests): Define to yes.
17293 (run-program-prefix): Use $(test-wrapper).
17294 (built-program-cmd): Likewise.
17295 * Rules (make-test-out): Use $(test-wrapper-env) and
17296 $(host-built-program-cmd).
17297 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17298 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17300 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17301 $(test-wrapper-env) to tst-rtld-load-self.sh.
17302 ($(objpfx)order2.out): Use $(test-wrapper).
17303 ($(objpfx)tst-initorder.out): Likewise.
17304 ($(objpfx)tst-initorder2.out): Likewise.
17305 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17306 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17307 (test_wrapper_env): New variable. Use it to run ld.so.
17308 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17309 Use it to run ld.so.
17310 (test_wrapper_env): Likewise.
17311 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17312 $(test-wrapper) to run-iconv-test.sh.
17313 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17314 (ICONV): Use $test_wrapper.
17315 * posix/Makefile ($(objpfx)globtest.out): Pass
17316 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17317 globtest.sh, not $(run-program-prefix).
17318 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17319 (test_wrapper): Likewise.
17320 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17321 set together with run_via_rtld_prefix.
17322 (run_program_prefix): Define in terms of test_wrapper and
17323 run_via_rtld_prefix.
17325 2012-10-24 Roland McGrath <roland@hack.frob.com>
17327 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17328 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17332 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17333 Declare __clock_getres, __clock_gettime, __clock_settime,
17334 __clock_nanosleep, and __clock_getcpuclockid.
17335 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17336 Remove librt_hidden_def (clock_gettime).
17337 * sysdeps/unix/clock_gettime.c: Likewise.
17338 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17340 * rt/clock_getres.c: Define __clock_getres as an alias.
17341 * sysdeps/posix/clock_getres.c: Likewise.
17342 * rt/clock_settime.c: Define __clock_settime as an alias.
17343 * sysdeps/unix/clock_settime.c: Likewise.
17344 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17345 * sysdeps/unix/clock_nanosleep.c: Likewise.
17346 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17347 * rt/clock-compat.c: New file.
17348 * rt/Makefile (librt-routines): Add clock-compat and move
17349 $(clock-routines) to ...
17350 (routines): ... here, new variable.
17351 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17352 Don't add get_clockfreq here.
17353 * rt/Versions (libc: GLIBC_2.17): New version set.
17354 Add clock_* symbols here.
17355 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17356 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17357 (GLIBC_2.17): Add clock_* symbols.
17358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17369 * NEWS: Mention the move.
17371 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17372 Use __open, __read, __close rather than their public counterparts.
17373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17374 (__get_clockfreq_via_cpuinfo): Likewise.
17375 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17376 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17378 * config.h.in (HAVE_IFUNC): New #undef.
17379 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17381 * configure: Regenerated.
17383 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17385 * configure.in: Move READELF check to start of file.
17386 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17387 libc_cv_asm_gnu_indirect_function in the process.
17388 * configure: Regenerated.
17390 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17392 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17393 send the output to /dev/null.
17394 (libc_cv_cc_with_libunwind): Likewise.
17395 (libc_cv_as_noexecstack): Likewise.
17396 * configure: Regenerate.
17398 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17400 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17402 * posix/globtest.sh (TMPDIR): Do not set.
17403 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17404 (testout): Likewise.
17406 2012-10-24 Andreas Jaeger <aj@suse.de>
17408 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17409 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17410 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17411 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17412 posix_fadvise64, posix_fallocate64.
17414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17415 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17416 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17418 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17420 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17423 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17424 <bits/fcntl-linux.h>.
17425 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17428 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17429 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17430 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17431 [__WORDSIZE != 64]: Likewise.
17433 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17435 * Makeconfig (run-built-tests): New variable.
17436 * Rules [$(cross-compiling) = yes]: Change condition to
17437 [$(run-built-tests) = no].
17438 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17439 to [$(run-built-tests) = yes].
17440 * elf/Makefile [$(cross-compiling) = no]: Likewise
17441 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17442 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17443 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17444 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17445 * io/Makefile [$(cross-compiling) = no]: Likewise.
17446 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17447 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17448 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17449 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17450 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17451 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17452 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17453 * string/Makefile [$(cross-compiling) = no]: Likewise.
17455 * posix/Makefile ($(objpfx)globtest.out): Pass
17456 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17457 $(rtld-installed-name).
17458 * posix/globtest.sh (elf_objpfx): Remove variable.
17459 (rtld_installed_name): Likewise.
17460 (library_path): Likewise.
17461 (run_program_prefix): New variable. Use for running globtest
17464 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17465 Joseph Myers <joseph@codesourcery.com>
17467 * Makeconfig (host-built-program-cmd): New variable.
17468 * elf/Makefile (tst-stackguard1-ARGS): Use
17469 $(host-built-program-cmd).
17470 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17471 (tst-spawn-ARGS): Likewise.
17472 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17474 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17475 Jim Blandy <jimb@codesourcery.com>
17477 * Makeconfig (run-via-rtld-prefix): New variable.
17478 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17479 (built-program-cmd): Likewise.
17481 2012-10-22 Andreas Jaeger <aj@suse.de>
17483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17484 __O_RSYNC if it exists, otherwise to O_SYNC.
17486 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17487 Joseph Myers <joseph@codesourcery.com>
17489 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17491 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17493 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17496 2012-10-22 Andreas Jaeger <aj@suse.de>
17498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17503 bits/fcntl-linux.h.
17505 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17506 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17513 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17514 Joseph Myers <joseph@codesourcery.com>
17516 * config.make.in (NM): New variable.
17518 2012-10-21 Andreas Jaeger <aj@suse.de>
17520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17521 definitions and declarations that are provided by
17522 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17524 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17527 * elf/Makefile (tests-static): Add tst-leaks1-static.
17528 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17529 ($(objpfx)tst-leaks1-static): New rule.
17530 ($(objpfx)tst-leaks1-static-mem): Likewise.
17531 (tst-leaks1-static-ENV): New macro.
17532 * elf/dl-open.c (dl_open_worker): Check the main application
17533 only if SHARED is defined.
17534 * elf/tst-leaks1-static.c: New file.
17536 2012-10-20 Andreas Jaeger <aj@suse.de>
17538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17539 generic values for Linux.
17540 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17541 and declarations that are provided by <bits/fcntl-linux.h> and
17542 include <bits/fcntl-linux.h>.
17543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17546 2012-10-20 Roland McGrath <roland@hack.frob.com>
17548 * io/fcntl.h: Move include of <bits/types.h> to the top and
17549 include it unconditionally.
17551 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17553 * wcsmbs/Makefile (tests-ifunc): New variable.
17554 (tests): Add $(tests-ifunc).
17555 * wcsmbs/test-wcschr-ifunc.c: New file.
17556 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17557 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17558 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17559 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17560 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17562 * string/Makefile (tests-ifunc): New variable.
17563 (tests): Add $(tests-ifunc).
17564 * string/test-memccpy.c (TEST_NAME): New macro.
17565 * string/test-memchr.c (TEST_NAME): Likewise.
17566 * string/test-memcmp.c (TEST_NAME): Likewise.
17567 * string/test-memcpy.c (TEST_NAME): Likewise.
17568 * string/test-memmem.c (TEST_NAME): Likewise.
17569 * string/test-memmove.c (TEST_NAME): Likewise.
17570 * string/test-memset.c (TEST_NAME): Likewise.
17571 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17572 * string/test-stpcpy.c (TEST_NAME): Likewise.
17573 * string/test-stpncpy.c (TEST_NAME): Likewise.
17574 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17575 * string/test-strcasestr.c (TEST_NAME): Likewise.
17576 * string/test-strcat.c (TEST_NAME): Likewise.
17577 * string/test-strchr.c (TEST_NAME): Likewise.
17578 * string/test-strcmp.c(TEST_NAME): Likewise.
17579 * string/test-strcpy.c (TEST_NAME): Likewise.
17580 * string/test-strcspn.c (TEST_NAME): Likewise.
17581 * string/test-strlen.c (TEST_NAME): Likewise.
17582 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17583 * string/test-strncmp.c (TEST_NAME): Likewise.
17584 * string/test-strncpy.c (TEST_NAME): Likewise.
17585 * string/test-strnlen.c (TEST_NAME): Likewise.
17586 * string/test-strpbrk.c (TEST_NAME): Likewise.
17587 * string/test-strrchr.c (TEST_NAME): Likewise.
17588 * string/test-strspn.c (TEST_NAME): Likewise.
17589 * string/test-strstr.c (TEST_NAME): Likewise.
17590 * string/test-bcopy-ifunc.c: New file.
17591 * string/test-bzero-ifunc.c: Likewise.
17592 * string/test-memccpy-ifunc.c: Likewise.
17593 * string/test-memchr-ifunc.c: Likewise.
17594 * string/test-memcmp-ifunc.c: Likewise.
17595 * string/test-memcpy-ifunc.c: Likewise.
17596 * string/test-memmem-ifunc.c: Likewise.
17597 * string/test-memmove-ifunc.c: Likewise.
17598 * string/test-mempcpy-ifunc.c: Likewise.
17599 * string/test-memset-ifunc.c: Likewise.
17600 * string/test-rawmemchr-ifunc.c: Likewise.
17601 * string/test-stpcpy-ifunc.c: Likewise.
17602 * string/test-stpncpy-ifunc.c: Likewise.
17603 * string/test-strcasecmp-ifunc.c: Likewise.
17604 * string/test-strcasestr-ifunc.c: Likewise.
17605 * string/test-strcat-ifunc.c: Likewise.
17606 * string/test-strchr-ifunc.c: Likewise.
17607 * string/test-strchrnul-ifunc.c: Likewise.
17608 * string/test-strcmp-ifunc.c: Likewise.
17609 * string/test-strcpy-ifunc.c: Likewise.
17610 * string/test-strcspn-ifunc.c: Likewise.
17611 * string/test-strlen-ifunc.c: Likewise.
17612 * string/test-strncasecmp-ifunc.c: Likewise.
17613 * string/test-strncat-ifunc.c: Likewise.
17614 * string/test-strncmp-ifunc.c: Likewise.
17615 * string/test-strncpy-ifunc.c: Likewise.
17616 * string/test-strnlen-ifunc.c: Likewise.
17617 * string/test-strpbrk-ifunc.c: Likewise.
17618 * string/test-strrchr-ifunc.c: Likewise.
17619 * string/test-strspn-ifunc.c: Likewise.
17620 * string/test-strstr-ifunc.c: Likewise.
17622 * debug/Makefile (tests-ifunc): New variable.
17623 (tests): Add $(tests-ifunc).
17624 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17625 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17626 * debug/test-stpcpy_chk-ifunc.c: New file.
17627 * debug/test-strcpy_chk-ifunc.c: Likewise.
17629 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17632 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17633 header is not read in.
17635 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17637 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17638 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17639 directly. Pass built executable to script as
17640 $(built-program-cmd).
17641 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17642 $testprogram without using LD_LIBRARY_PATH and $ldso.
17644 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17645 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17646 $(rtld-installed-name).
17647 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17648 (rtld_installed_name): Likewise.
17649 (library_path): Likewise.
17650 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17651 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17652 $(run-program-prefix) to tst-tables.sh.
17653 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17654 it to run tst-table-from and tst-table-to.
17655 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17656 Pass it to tst-table.sh.
17657 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17658 $(run-program-prefix) to tst-gettext.sh.
17659 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17661 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17663 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17664 to run tst-gettext.
17665 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17666 to run tst-gettext2.
17667 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17668 to run tst-translit.
17669 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17670 $(run-program-prefix) to tst-mtrace.sh.
17671 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17673 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17674 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17675 $(rtld-installed-name).
17676 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17677 (rtld_installed_name): Likewise.
17678 (run_program_prefix): New variable. Use it to run wordexp-test.
17680 * Makeconfig (ARCH): Remove all definitions.
17681 (machine): Likewise.
17682 [ARCH]: Remove conditional code.
17683 [!objdir]: Give error.
17684 [!objdir] (objpfx): Remove.
17685 [!objdir] (common-objpfx): Likewise.
17686 [!objdir] (common-objdir): Likewise.
17687 * configure.in (config_makefile): Remove. Hardcode Makefile in
17688 AC_CONFIG_FILES call.
17689 * configure: Regenerated.
17692 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17694 (testout): Likewise.
17696 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17697 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17698 $(rtld-installed-name).
17699 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17700 (rtld_installed_name): Likwise.
17701 (runit): Remove function.
17702 (run_getconf): New variable, Use it for running getconf binary.
17704 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17707 * string/test-memmem.c (check_result): New function.
17708 (do_one_test): Use it.
17709 (check1): New function.
17710 (test_main): Use it.
17712 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17714 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17716 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17718 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17719 (_G_LSEEK64): Likewise.
17720 (_G_MMAP64): Likewise.
17721 (_G_FSTAT64): Likewise.
17722 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17723 (_G_LSEEK64): Likewise.
17724 (_G_MMAP64): Likewise.
17725 (_G_FSTAT64): Likewise.
17726 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17727 unconditional. Call __mmap64 directly.
17728 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17729 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17730 __lseek64 directly.
17731 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17732 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17734 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17735 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17736 __lseek64 directly.
17737 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17738 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17739 __lseek64 directly.
17740 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17741 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17742 __lseek64 directly.
17743 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17744 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17745 __fxstat64 directly.
17746 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17747 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17749 (freopen64) [!_G_OPEN64]: Remove conditional code.
17750 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17752 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17753 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17755 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17756 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17758 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17759 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17761 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17762 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17764 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17765 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17767 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17768 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17770 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17772 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17775 * manual/memory.texi (Malloc Tunable Parameters): Add note
17776 about free list pointers overwriting some perturb bytes.
17777 Wording suggested by Roland McGrath.
17779 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17781 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17782 (lgamma_test): Likewise.
17783 (tgamma_test): Likewise.
17785 2012-10-16 Florian Weimer <fweimer@redhat.com>
17788 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17789 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17791 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17793 * NEWS: Mention BZ #14716.
17794 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17795 when removing AVAILABLE1_USES_J macro.
17797 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17799 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17800 (__bswap_64): __uint64_t for unsigned 64-bit int.
17802 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17804 * include/string.h (memmem): Declare libc hidden alias.
17805 * string/memmem.c (memmem): Define libc hidden alias.
17806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17807 __read, __close instead of open, read, close.
17809 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17812 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17814 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17815 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17816 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17818 (__rawmemchr_sse2): Likewise.
17819 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17820 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17821 (__strchr_sse2): Likewise.
17822 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17823 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17824 (__strcasecmp_sse2): Likewise.
17825 (__strncasecmp_sse2): Likewise.
17826 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17827 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17828 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17829 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17830 (__strrchr_sse2): Likewise.
17831 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17833 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17834 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17835 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17837 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17838 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17839 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17840 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17841 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17842 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17843 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17845 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17846 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17847 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17848 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17849 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17850 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17851 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17852 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17853 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17854 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17855 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17856 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17857 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17858 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17859 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17860 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17861 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17862 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17864 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17866 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17867 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17868 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17869 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17871 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17873 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17874 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17875 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17876 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17878 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17879 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17881 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17882 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17883 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17884 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17885 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17886 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17887 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17888 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17889 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17890 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17891 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17892 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17894 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17896 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17900 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17901 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17903 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17904 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17908 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17909 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17910 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17911 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17912 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17913 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17914 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17920 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17921 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17922 * include/ifunc-impl-list.h: New file.
17923 * misc/ifunc-impl-list.c: Likewise.
17924 * misc/Makefile (routines): Add ifunc-impl-list.
17925 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17926 * string/test-string.h: Include <ifunc-impl-list.h>.
17927 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17928 impl_array): New variables.
17929 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17931 (test_init): Call __libc_ifunc_impl_list to initialize
17932 func_list if TEST_IFUNC and TEST_NAME are defined.
17934 * string/Makefile (strop-tests): Add bcopy and bzero.
17935 * string/test-bcopy.c: New file.
17936 * string/test-bzero.c: Likewise.
17937 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17939 * string/test-memset.c: Support bzero test if TEST_BZERO is
17941 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17943 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17945 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17948 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17950 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17951 * configure: Regenerated.
17953 * Makeconfig (+link-static-before-libc): Don't include
17954 $(link-static-libc).
17956 * libio/libio.h (_IO_pos_t): Remove.
17958 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17960 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17963 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17965 * crypt/crypt-entry.c: Include fips-private.h.
17966 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17967 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17968 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17969 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17971 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17973 * crypt/crypt-private.h: Include stdbool.h.
17974 (_ufc_setup_salt_r): Return bool.
17975 * crypt/crypt-entry.c: Include errno.h.
17976 (__crypt_r): Return NULL with EINVAL for bad salt.
17977 * crypt/crypt_util.c (bad_for_salt): New.
17978 (_ufc_setup_salt_r): Check that salt is long enough and within
17979 the specified alphabet.
17980 * crypt/badsalttest.c: New file.
17981 * crypt/Makefile (tests): Add it.
17982 ($(objpfx)badsalttest): New.
17984 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17986 * NEWS: Add entry for BZ #14602.
17988 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17990 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17992 * math/libm-test.inc: Update comment listing what functions and
17994 (isgreater_test): New function.
17995 (isgreaterequal_test): Likewise.
17996 (isless_test): Likewise.
17997 (islessequal_test): Likewise.
17998 (islessgreater_test): Likewise.
17999 (isunordered_test): Likewise.
18000 (main): Call the new functions.
18002 2012-10-09 Roland McGrath <roland@hack.frob.com>
18004 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18005 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18006 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18007 * sysdeps/i386/configure: Regenerated.
18008 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18009 * sysdeps/mach/configure: Regenerated.
18010 * sysdeps/mach/hurd/configure: Regenerated.
18011 * sysdeps/powerpc/configure: Regenerated.
18012 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18013 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18014 * sysdeps/s390/s390-32/configure: Regenerated.
18015 * sysdeps/s390/s390-64/configure: Regenerated.
18016 * sysdeps/sh/configure: Regenerated.
18017 * sysdeps/sparc/configure: Regenerated.
18018 * sysdeps/unix/sysv/linux/configure: Regenerated.
18019 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18020 * sysdeps/x86_64/configure: Regenerated.
18022 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18023 defined. Don't check if MAP is NULL.
18025 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18027 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18028 (_G_stat64): Likewise.
18029 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18030 (_G_stat64): Likewise.
18031 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18032 instead of struct _G_stat64.
18033 * libio/fileops.c (mmap_remap_check): Likewise.
18034 (decide_maybe_mmap): Likewise.
18035 (_IO_new_file_seekoff): Likewise.
18036 (_IO_file_stat): Likewise.
18037 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18039 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18040 instead of struct _G_stat64.
18041 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18043 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18046 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18048 (CHECK_EOL): New macro.
18049 (two_way_short_needle): Check beginning of haystack for EOL. Use
18051 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18052 Replace with CHECK_EOL.
18053 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18054 Replace with CHECK_EOL.
18056 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18058 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18060 * math/libm-test.inc: Update comment listing what functions and
18062 (finite_test): New function.
18063 (isinf_test): Likewise.
18064 (isnan_test): Likewise.
18065 (fpclassify_test): Test subnormal input.
18066 (isfinite_test): Likewise.
18067 (isnormal_test): Likewise.
18068 (main): Call the new functions.
18070 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18073 * Makerules (%.dynsym): Force C locale when running
18074 $(OBJDUMP) --dynamic-syms.
18076 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18078 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18081 2012-10-06 David S. Miller <davem@davemloft.net>
18083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18084 upper 32-bits of the length value in %o2 since we use branch-on-register
18085 tests which consider the entire 64-bit register.
18087 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18089 * string/test-strstr.c (check2): Add a test for page boundary.
18091 2012-10-05 David S. Miller <davem@davemloft.net>
18093 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18094 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18096 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18099 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18100 and bzero when HWCAP_SPARC_CRYPTO is present.
18102 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18105 * string/test-strstr.c (check2): New function.
18106 (test_main): Call check2.
18108 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18110 * string/bug-strcasestr1.c (do_test): Moved to ...
18111 * string/test-strcasestr.c (check1): Here. New function.
18112 (do_one_test): Break out result checking code into ...
18113 (check_result): This. New function.
18114 (do_one_test): Call check_result.
18115 (test_main): Call check1.
18116 * string/bug-strchr1.c (do_test): Moved to ...
18117 * string/test-strchr.c (check1): Here. New function.
18118 (do_one_test): Break out result checking code into ...
18119 (check_result): This. New function.
18120 (do_one_test): Call check_result.
18121 (test_main): Call check1.
18122 * string/bug-strstr1.c (main): Moved to ...
18123 * string/test-strstr.c (check1): Here. New function.
18124 (do_one_test): Break out result checking code into ...
18125 (check_result): This. New function.
18126 (do_one_test): Call check_result.
18127 (test_main): Call check1.
18128 * string/bug-strcasestr1.c: Removed.
18129 * string/bug-strchr1.c: Likewise.
18130 * string/bug-strstr1.c: Likewise.
18132 * elf/Makefile (dl-routines): Add hwcaps.
18133 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18134 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18135 (_dl_important_hwcaps): Moved to ...
18136 * elf/dl-hwcaps.c: Here. New file.
18137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18140 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18141 if IS_IN_rtld isn't defined.
18143 * elf/dl-support.c (_dl_sysinfo_map): New.
18144 Include "get-dynamic-info.h" and "setup-vdso.h".
18145 (_dl_non_dynamic_init): Call setup_vdso.
18146 * elf/dynamic-link.h: Don't include <assert.h>.
18147 (elf_get_dynamic_info): Moved to ...
18148 * elf/get-dynamic-info.h: Here. New file.
18149 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18150 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18151 * elf/setup-vdso.h: Here. New file.
18152 * elf/rtld.c: Include "setup-vdso.h".
18153 (dl_main): Call setup_vdso.
18155 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18157 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18158 creal in comment listing functions tested. List finite, isinf,
18159 isnan, isless, islessequal, isgreater, isgreaterequal,
18160 islessgreater, isunordered, lgamma_r and pow10 as functions and
18161 macros not tested. Mention which functions not tested are aliases
18162 for other functions. Fix typo. Note that signs of NaNs are not
18165 * scripts/config.guess: Update from config.git.
18166 * scripts/config.sub: Likewise.
18168 2012-10-04 Roland McGrath <roland@hack.frob.com>
18170 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18171 * misc/madvise.c (madvise): Renamed to __madvise.
18172 Make madvise a weak alias.
18173 * include/sys/mman.h: Declare __madvise.
18174 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18175 * sysdeps/unix/syscalls.list
18176 (madvise): Make __madvise the strong name, and madvise a weak alias.
18177 * sysdeps/unix/sysv/linux/syscalls.list
18178 (madvise, mmap): Remove redundant entries.
18179 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18180 * malloc/malloc.c (mtrim): Likewise.
18181 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18183 2012-10-03 Roland McGrath <roland@hack.frob.com>
18185 * sysdeps/mach/hurd/dl-cache.c: File removed.
18186 * config.h.in (USE_LDCONFIG): New #undef.
18187 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18188 * configure: Regenerated.
18189 * elf/Makefile (dl-routines): Add dl-cache only under
18190 [$(use-ldconfig) = yes].
18191 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18192 cache on [USE_LDCONFIG].
18193 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18195 * elf/rtld.c (dl_main): Likewise.
18197 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18199 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18200 _SC_LEVEL4_CACHE_LINESIZE.
18202 2012-10-03 Roland McGrath <roland@hack.frob.com>
18204 * sysdeps/unix/bsd/confstr.h: File removed.
18206 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18208 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18211 2012-10-02 Roland McGrath <roland@hack.frob.com>
18213 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18214 Make 'mapoff' field ElfW(Off) rather than off_t.
18216 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18218 * nscd/Makefile: Remove nscd-cflags and all its users.
18219 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18220 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18223 * malloc.c (malloc_printerr): Clarify error message.
18225 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18229 Set bit_FMA_Usable if FMA is supported.
18230 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18232 (bit_FMA4_Usable): Updated.
18233 (index_FMA_Usable): New macro.
18234 (CPUID_FMA): Likewise
18235 (HAS_FMA): Defined with bit_FMA_Usable.
18237 2012-10-01 Roland McGrath <roland@hack.frob.com>
18239 * bits/types.h (__swblk_t): Type removed.
18240 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18241 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18243 (__SWBLK_T_TYPE): Likewise.
18244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18245 (__SWBLK_T_TYPE): Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18247 (__SWBLK_T_TYPE): Likewise.
18248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18249 (__SWBLK_T_TYPE): Likewise.
18251 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18252 Honza Horak <hhorak@redhat.com>
18254 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18255 (xdr_mapname): Use YPMAXMAP as maxsize.
18256 (xdr_peername): Use YPMAXPEER as maxsize.
18257 (xdr_keydat): Use YPAXRECORD as maxsize.
18258 (xdr_valdat): Use YPMAXRECORD as maxsize.
18260 2012-10-01 Roland McGrath <roland@hack.frob.com>
18262 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18264 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18265 * csu/init-first.c: ... here.
18266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18267 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18270 * sysdeps/i386/init-first.c: File removed.
18271 * sysdeps/sh/init-first.c: File removed.
18273 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18277 if x * y might underflow to zero and z is zero.
18278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18280 * math/libm-test.inc (min_subnorm_value): New variable.
18281 (fma_test): Add more tests.
18282 (fma_test_towardzero): Likewise.
18283 (fma_test_downward): Likewise
18284 (fma_test_upward): Likewise.
18285 (initialize): Set min_subnorm_value.
18287 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18293 mode for addition resulting in exact zero.
18294 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18299 * math/libm-test.inc (fma_test): Add more tests.
18300 (fma_test_towardzero): New function.
18301 (fma_test_downward): Likewise.
18302 (fma_test_upward): Likewise.
18303 (main): Call the new functions.
18305 2012-09-28 David S. Miller <davem@davemloft.net>
18307 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18309 2012-09-28 Roland McGrath <roland@hack.frob.com>
18311 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18312 instead of SIGALRM.
18314 * sysdeps/gnu/_G_config.h: Moved to ...
18315 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18316 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18317 * sysdeps/generic/_G_config.h: ... here.
18319 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18321 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18323 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18324 Conditionalize target on [libnss_test1.so-version].
18326 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18328 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18329 (elfobjdir): Move out of conditionals.
18331 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18332 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18333 (__nss_lookup_function): Conditionalize label remove_from_tree on
18334 [!DO_STATIC_NSS || SHARED], matching its only use.
18336 2012-09-28 David S. Miller <davem@davemloft.net>
18338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18339 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18341 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18343 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18345 when HWCAP_SPARC_CRYPTO is present.
18347 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18349 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18351 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18354 * stdio-common/vfprintf.c (process_string_arg): Revert
18357 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18359 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18361 * stdio-common/tst-sprintf.c: Include <locale.h>
18362 (main): Test sprintf's handling of incomplete multibyte
18365 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18367 * elf/dl-runtime.c (VERSYMIDX): Removed.
18368 * elf/dl-version.c (VERSYMIDX): Likewise.
18369 * elf/do-rel.h (VERSYMIDX): Likewise.
18370 (VALIDX): Likewise.
18371 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18372 * elf/rtld.c (VALIDX): Likewise.
18373 (ADDRIDX): Likewise.
18374 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18375 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18376 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18377 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18378 (VALIDX): Likewise.
18379 (ADDRIDX): Likewise.
18381 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18383 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18385 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18388 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18390 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18391 addresses are in the same scope as 192.0.2/24.
18392 * posix/gai.conf: Document new scope table defaults.
18394 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18397 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18398 for ftell. Compute offsets from write pointers instead.
18399 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18401 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18404 * libio/Makefile (tests): New test case tst-fseek.
18405 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18406 combination works in wide mode.
18407 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18408 state when the external buffer state changes.
18410 2012-09-27 David S. Miller <davem@davemloft.net>
18413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18414 pass reloc->r_addend in as the 'high' argument to
18415 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18419 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18421 * rt/tst-aio2.c: Include <pthread.h>.
18422 * rt/tst-aio3.c: Likewise.
18424 2012-09-27 Steve Ellcey <sellcey@mips.com>
18426 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18428 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18430 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18431 contents on [SHARED].
18433 2012-09-26 Marek Polacek <polacek@redhat.com>
18437 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18438 for C++ and GCC <4.3 as well as for non GCC compilers.
18440 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18444 2012-09-25 Roland McGrath <roland@hack.frob.com>
18446 * Makefile.in (all, install): Declare with .PHONY.
18447 Reported by Michael Hope <michael.hope@linaro.org>.
18449 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18451 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18452 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18454 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18456 (sydep_routines): Add the new and the internal functions.
18457 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18458 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18460 (GLIBC_2.17): Add the new function.
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18462 (GLIBC_2.17): Likewise.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18464 (GLIBC_2.17): Likewise.
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18466 (GLIBC_2.17): Likewise.
18467 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18469 2012-09-25 Alan Modra <amodra@gmail.com>
18471 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18472 Add release barrier before setting once_control to say
18473 initialisation is done. Add hints on lwarx. Use macro in
18475 (clear_once_control): Add release barrier.
18477 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18480 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18482 * math/s_clog10.c (__clog10): Likewise.
18483 * math/s_clog10f.c (__clog10f): Likewise.
18484 * math/s_clog10l.c (__clog10l): Likewise.
18485 * math/s_clogf.c (__clogf): Likewise.
18486 * math/s_clogl.c (__clogl): Likewise.
18487 * math/Makefile (libm-calls): Add x2y2m1.
18488 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18489 (__x2y2m1): Likewise.
18490 (__x2y2m1l): Likewise.
18491 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18492 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18493 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18495 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18496 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18497 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18498 * sysdeps/i386/fpu/libm-test-ulps: Update.
18499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18503 int as type of variable DEPTH.
18504 (glob): Use size_t instead of int as type of variables NEWCOUNT
18507 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18509 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18510 Add s_sincosf-sse2.
18511 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18512 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18513 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18514 macros for using routine as __sincosf_ia32.
18515 Use macro for function declaration and weak_alias.
18516 * sysdeps/i386/fpu/libm-test-ulps: Update.
18518 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18521 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18522 subnormal argument.
18523 * math/s_cexpf.c (__cexpf): Likewise.
18524 * math/s_csinf.c (__csinf): Likewise.
18525 * math/s_csinhf.c (__csinhf): Likewise.
18526 * math/s_ctanf.c (__ctanf): Likewise.
18527 * math/s_ctanhf.c (__ctanhf): Likewise.
18528 * math/s_ccosh.c (__ccoshf): Likewise.
18529 * math/s_cexp.c (__cexpl): Likewise.
18530 * math/s_csin.c (__csin): Likewise.
18531 * math/s_csinh.c (__csinh): Likewise.
18532 * math/s_ctan.c (__ctan): Likewise.
18533 * math/s_ctanh.c (ctanh): Likewise.
18534 * math/s_ccoshl.c (__ccoshl): Likewise.
18535 * math/s_cexpl.c (__cexpl): Likewise.
18536 * math/s_csinl.c (__csinl): Likewise.
18537 * math/s_csinhl.c (__csinhl): Likewise.
18538 * math/s_ctanl.c (__ctanl): Likewise.
18539 * math/s_ctanhl.c (__ctanhl): Likewise.
18541 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18543 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18544 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18545 (_IO_off_t): Define to __off_t, not _G_off_t.
18546 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18547 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18548 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18549 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18550 type of __dummy and __dummy2 fields.
18551 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18552 (_G_ssize_t): Likewise.
18553 (_G_off_t): Likewise.
18554 (_G_pid_t): Likewise.
18555 (_G_uid_t): Likewise.
18556 (_G_wchar_t): Likewise.
18557 (_G_wint_t): Likewise.
18558 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18559 (_G_ssize_t): Likewise.
18560 (_G_off_t): Likewise.
18561 (_G_pid_t): Likewise.
18562 (_G_uid_t): Likewise.
18563 (_G_wchar_t): Likewise.
18564 (_G_wint_t): Likewise.
18565 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18566 (_G_ssize_t): Likewise.
18567 (_G_off_t): Likewise.
18568 (_G_pid_t): Likewise.
18569 (_G_uid_t): Likewise.
18570 (_G_wchar_t): Likewise.
18571 (_G_wint_t): Likewise.
18573 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18575 * malloc/arena.c: Include malloc-sysdep.h.
18576 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18577 is sufficient to shrink the heap or an unmap is needed.
18578 * sysdeps/generic/malloc-sysdep.h: New file. Define
18579 new function check_may_shrink_heap.
18580 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18581 new function check_may_shrink_heap.
18583 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18585 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18588 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18590 * catgets/test-gencat.sh: Add "set -e".
18591 * elf/tst-pathopt.sh: Likewise.
18592 * grp/tst_fgetgrent.sh: Likewise.
18593 * iconvdata/run-iconv-test.sh: Likewise.
18594 * intl/tst-gettext.sh: Likewise.
18595 * intl/tst-gettext2.sh: Likewise.
18596 * intl/tst-gettext4.sh: Likewise.
18597 * intl/tst-gettext6.sh: Likewise.
18598 * intl/tst-translit.sh: Likewise.
18599 * io/ftwtest-sh: Likewise.
18600 * libio/test-freopen.sh: Likewise.
18601 * malloc/tst-mtrace.sh: Likewise.
18602 * posix/globtest.sh: Likewise.
18603 * posix/tst-getconf.sh: Likewise.
18604 * posix/wordexp-tst.sh: Likewise.
18605 * stdio-common/tst-printf.sh: Likewise.
18606 * stdio-common/tst-unbputc.sh: Likewise.
18607 * stdlib/tst-fmtmsg.sh: Likewise.
18608 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18609 * catgets/Makefile: Do not specify -e option when running
18610 testsuite shell scripts.
18611 * elf/Makefile: Likewise.
18612 * grp/Makefile: Likewise.
18613 * iconvdata/Makefile: Likewise.
18614 * intl/Makefile: Likewise.
18615 * io/Makefile: Likewise.
18616 * libio/Makefile: Likewise.
18617 * malloc/Makefile: Likewise.
18618 * posix/Makefile: Likewise.
18619 * stdio-common/Makefile: Likewise.
18620 * stdlib/Makefile: Likewise.
18621 * sysdeps/x86_64/Makefile: Likewise.
18623 * io/ftwtest-sh: Add copyright header.
18624 * posix/globtest.sh: Likewise.
18625 * posix/tst-getconf.sh: Likewise.
18626 * posix/wordexp-tst.sh: Likewise.
18627 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18629 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18632 * Makeconfig (+link): Defined as $(+link-static) if
18633 $(build-shared) isn't yes.
18634 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18636 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18638 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18641 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18642 new chunk size with MALLOC_ALIGN_MASK.
18644 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18647 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18649 (__printf_fphex): Determine rounding using get_rounding_mode and
18651 * stdio-common/tst-printf-round.c (struct hex_test): New
18653 (hex_tests): New variable.
18654 (test_hex_in_one_mode): New function.
18655 (do_test): Also run tests for hex float output.
18657 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18659 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18660 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18661 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18662 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18663 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18664 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18665 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18666 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18668 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18670 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18671 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18672 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18673 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18675 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18678 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18680 * elf/tst-rtld-load-self.sh: New test.
18681 * elf/Makefile: Run it.
18683 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18685 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18686 (tst-writev-ENV): Remove.
18687 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18689 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18691 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18693 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18695 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18697 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18699 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18700 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18701 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18704 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18707 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18708 * config.make.in (have-cpp-asm-debuginfo): Removed.
18709 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18710 * configure: Regenerated.
18712 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18715 * stdio-common/printf_fp.c: Include <stdbool.h> and
18717 (___printf_fp): Determine rounding using get_rounding_mode and
18719 * stdio-common/tst-printf-round.c: New file.
18720 * stdio-common/Makefile (tests): Add tst-printf-round.
18721 (link-libm): New variable.
18722 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18724 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18727 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18728 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18730 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18733 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18735 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18736 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18737 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18738 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18740 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18743 * include/rounding-mode.h: New file.
18744 * sysdeps/generic/get-rounding-mode.h: Likewise.
18745 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18746 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18747 (MAX_VALUE): New macro.
18748 (MIN_VALUE): Likewise.
18749 (overflow_value): New function.
18750 (underflow_value): Likewise.
18751 (round_and_return): Use overflow_value and underflow_value to
18752 determine return values in overflow and underflow cases. Use
18753 round_away to determine rounding depending on rounding mode.
18754 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18755 determine return values in overflow and underflow cases.
18756 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18757 (struct test_results): New structure.
18758 (struct test): Use struct test_results to store expected results
18759 for all rounding modes.
18760 (TEST): Include expected results for all rounding modes.
18761 (test_in_one_mode): New function.
18762 (do_test): Use test_in_one_mode to compute and check results.
18763 Check results for all rounding modes.
18764 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18767 2012-12-09 Allan McRae <allan@archlinux.org>
18769 * sysdeps/i386/fpu/libm-test-ulps: Update
18771 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18773 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18774 (_G_int32_t): Likewise.
18775 (_G_uint16_t): Likewise.
18776 (_G_uint32_t): Likewise.
18777 (_G_HAVE_BOOL): Likewise.
18778 (_G_HAVE_ATEXIT): Likewise.
18779 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18780 (_G_HAVE_IO_FILE_OPEN): Likewise.
18781 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18782 (_G_int32_t): Likewise.
18783 (_G_uint16_t): Likewise.
18784 (_G_uint32_t): Likewise.
18785 (_G_HAVE_BOOL): Likewise.
18786 (_G_HAVE_ATEXIT): Likewise.
18787 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18788 (_G_HAVE_IO_FILE_OPEN): Likewise.
18789 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18790 (_G_int32_t): Likewise.
18791 (_G_uint16_t): Likewise.
18792 (_G_uint32_t): Likewise.
18793 (_G_HAVE_BOOL): Likewise.
18794 (_G_HAVE_ATEXIT): Likewise.
18795 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18796 (_G_HAVE_IO_FILE_OPEN): Likewise.
18798 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18800 * csu/libc-tls.c: Update copyright years.
18802 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18804 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18805 [!_G_USING_THUNKS]: Remove conditional code.
18806 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18807 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18809 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18810 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18811 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18812 (_G_VTABLE_LABEL_PREFIX): Likewise.
18813 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18814 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18815 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18816 (_G_VTABLE_LABEL_PREFIX): Likewise.
18817 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18818 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18819 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18820 (_G_VTABLE_LABEL_PREFIX): Likewise.
18821 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18823 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18825 * libio/Makefile: Include ../Makeconfig before tests.
18826 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18827 only if $(build-shared) is yes.
18829 * iconv/gconv_db.c: Update copyright years.
18831 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18833 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18834 unwind info if defined PIC. Fix special cases description.
18835 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18837 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18839 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18841 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18843 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18845 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18848 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18849 (LDLIBS-tst-chk4): This.
18850 (LDFLAGS-tst-chk5): Renamed to ...
18851 (LDLIBS-tst-chk5): This.
18852 (LDFLAGS-tst-chk6): Renamed to ...
18853 (LDLIBS-tst-chk6): This.
18854 (LDFLAGS-tst-lfschk4): Renamed to ...
18855 (LDLIBS-tst-lfschk4): This.
18856 (LDFLAGS-tst-lfschk5): Renamed to ...
18857 (LDLIBS-tst-lfschk5): This.
18858 (LDFLAGS-tst-lfschk6): Renamed to ...
18859 (LDLIBS-tst-lfschk6): This.
18861 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18862 on $(common-objpfx)soversions.mk.
18864 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18867 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18870 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18872 * malloc/arena.c (arena_get_retry): New function that gets
18873 another arena for the caller to try its request on.
18874 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18875 current arena cannot fulfill the request.
18876 (__libc_memalign): Likewise.
18877 (__libc_memalign): Likewise.
18878 (__libc_pvalloc): Likewise.
18879 (__libc_calloc): Likewise.
18881 2012-09-05 John Tobey <john.tobey@gmail.com>
18884 * manual/arith.texi (Operations on Complex): Fix description
18885 of carg branch cut.
18887 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18890 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18894 * manual/memory.texi (Memory): Make order of menu items match
18897 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18899 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18900 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18901 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18905 * csu/libc-tls.c (static_dtv): Renamed to ...
18906 (_dl_static_dtv): This. Make it global.
18907 (_dl_initial_dtv): Removed.
18908 (__libc_setup_tls): Updated.
18909 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18910 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18913 2012-09-06 Petr Machata <pmachata@redhat.com>
18915 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18916 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18917 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18918 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18920 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18923 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18924 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18927 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18930 * Makeconfig (link-static-before-libc): Replace $(+prector)
18932 (link-static-after-libc): Replace $(+postctor) with
18934 (link-bounded): Replace $(+prector)/$(+postctor) with
18935 $(+prectorT)/$(+postctorT).
18936 (+prectorT): New macro.
18937 (+postctorT): Likewise.
18939 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18941 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18942 (round_str): Handle values above the maximum for IBM long double
18944 * stdlib/tst-strtod-round.c (tests): Regenerated.
18946 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18948 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18950 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18951 zarch_nohighgprs around the zarch optimized routines.
18952 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18953 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18957 2012-09-05 David S. Miller <davem@davemloft.net>
18959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18961 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18962 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18963 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18964 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18967 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18969 * malloc/arena.c: Fold copyright years.
18970 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18972 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18974 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18976 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18978 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18980 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18982 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18983 change internal state upon failure.
18985 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18987 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18988 * malloc/memusage.c (mmap): Likewise.
18989 (mmap64, mremap): Likewise. Adjust name in comment.
18991 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18993 * libio/fileops.c: Fix typos in comments.
18994 * libio/oldfileops.c: Likewise.
18995 * libio/wfileops.c: Likewise.
18997 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19000 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19001 (tst-malloc-usable-ENV): Set environment for test case.
19002 * malloc/hooks.c (malloc_check_get_size): New function to get
19004 * malloc/malloc.c (musable): Use malloc_check_get_size.
19005 * malloc/tst-malloc-usable.c: New test case.
19007 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19009 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19011 2012-09-05 Allan McRae <allan@archlinux.org>
19014 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19015 determine header location.
19016 * configure: Regenerated.
19018 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19020 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19022 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19023 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19025 (test): Regenerate.
19027 2012-09-04 David S. Miller <davem@davemloft.net>
19029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19033 2012-09-04 Florian Weimer <fweimer@redhat.com>
19035 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19038 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19040 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19043 * libio/iogetdelim.c: Include <limits.h>.
19044 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19045 + len + 1 would overflow.
19047 2012-09-03 Andreas Jaeger <aj@suse.de>
19049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19050 * sysdeps/i386/fpu/libm-test-ulps: Update.
19052 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19054 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19055 Add s_sinf-sse2, s_conf-sse2.
19057 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19058 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19059 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19060 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19062 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19063 for using routine as __sinf_ia32.
19064 Use macro for function declaration and weak_alias.
19065 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19066 for using routine as __cosf_ia32.
19067 Use macro for function declaration and weak_alias.
19069 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19070 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19072 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19073 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19076 * math/libm-test.inc (cos_test): Add more test cases.
19077 (sin_test): Likewise.
19078 (sincos_test): Likewise.
19080 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19082 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19083 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19087 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19090 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19091 first element of the GOT.
19092 (elf_machine_load_address): Return the difference between
19093 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19095 2012-09-01 Allan McRae <allan@archlinux.org>
19098 * configure.in (AWK): Require gawk version 3.0 or later.
19099 * configure: Regenerated.
19101 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19103 * sysdeps/unix/sysv/linux/kernel-features.h
19104 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19106 [__NR_clock_getres]: Make code unconditional.
19107 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19108 (clock_getcpuclockid): Remove code left unreachable by removal of
19110 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19111 code unconditional.
19112 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19114 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19115 Make code unconditional.
19116 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19117 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19118 * sysdeps/unix/sysv/linux/clock_settime.c
19119 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19121 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19122 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19124 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19127 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19128 scripts/test-installation.pl.
19130 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19131 and $ld_so_version if it is set.
19133 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19137 failure if reading from procfs failed.
19138 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19140 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19142 * sysdeps/unix/sysv/linux/kernel-features.h
19143 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19144 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19145 Remove conditional code.
19146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19147 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19148 Remove conditional code.
19149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19150 * sysdeps/unix/sysv/linux/i386/fxstat.c
19151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19153 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19154 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19156 * sysdeps/unix/sysv/linux/i386/lxstat.c
19157 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19159 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19160 Remove conditional code.
19161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19162 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19163 Remove conditional code.
19164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19165 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19166 <kernel-features.h>.
19167 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19169 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19170 Remove conditional code.
19171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19172 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19173 Remove conditional.
19175 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19178 * NEWS: Add fixed bug number.
19180 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19183 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19184 underflowing exponent in case of negative sign.
19185 * stdlib/tst-strtod-round-data: Add more tests.
19186 * stdlib/tst-strtod-round.c (tests): Regenerated.
19189 * stdlib/strtod_l.c (NDIG): Remove.
19190 (HEXNDIG): Likewise.
19191 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19192 smallest representable value.
19193 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19194 lie within an exact representation of 1/2 ulp of the result.
19195 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19197 (TENS_P9_IDX): Define unconditionally.
19198 (TENS_P9_SIZE): Likewise.
19199 (TENS_P10_IDX): Likewise.
19200 (TENS_P10_SIZE): Likewise.
19201 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19202 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19203 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19204 entries for 10^2^13 and 10^2^14.
19205 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19206 (TENS_P13_IDX): Define.
19207 (TENS_P13_SIZE): Likewise.
19208 (TENS_P14_IDX): Likewise.
19209 (TENS_P14_SIZE): Likewise.
19210 (_fpioconst_pow10): Change array size to
19211 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19213 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19214 1024]: Add entries for 10^2^13 and 10^2^14.
19215 [LAST_POW10 > _LAST_POW10]: Remove #error.
19216 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19217 (_fpioconst_pow10): Change array size to
19218 FPIOCONST_POW10_ARRAY_SIZE.
19219 * stdlib/gen-fpioconst.c: New file.
19220 * stdlib/gen-tst-strtod-round.c: Likewise.
19221 * stdlib/tst-strtod-round-data: Likewise.
19222 * stdlib/tst-strtod-round.c: Likewise.
19223 * stdlib/Makefile (tests): Add tst-strtod-round.
19226 * stdlib/strtod_l.c: Include <stdint.h>.
19227 (NDEBUG): Do not define.
19228 (round_and_return): Change EXPONENT parameter to type intmax_t.
19229 Rearrange calculations to avoid internal overflow possibilities.
19230 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19231 Rearrange calculations to avoid internal overflow possibilities.
19232 Assert that number fits inside MPNSIZE limbs.
19233 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19234 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19235 calculations and add assertions to avoid internal overflow
19236 possibilities. Add casts to avoid signed/unsigned operations.
19237 * stdlib/tst-strtod-overflow.c: New file.
19238 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19240 2012-08-25 Marek Polacek <polacek@redhat.com>
19242 * time/time.h: Fix some typos in comments.
19244 2012-08-23 Roland McGrath <roland@hack.frob.com>
19246 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19247 * posix/tst-rfc3484-2.c: Likewise.
19248 * posix/tst-rfc3484-3.c: Likewise.
19250 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19252 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19253 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19255 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19257 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19258 #include of fxstatat64.c.
19260 2012-08-22 Roland McGrath <roland@hack.frob.com>
19262 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19263 * shadow/getspent_r.c: Likewise.
19264 * shadow/getspnam.c: Likewise.
19265 * shadow/getspnam_r.c: Likewise.
19266 * gshadow/getsgent.c: Likewise.
19267 * gshadow/getsgent_r.c: Likewise.
19268 * gshadow/getsgnam.c: Likewise.
19269 * gshadow/getsgnam_r.c: Likewise.
19270 * inet/getnetbyad.c: Likewise.
19271 * inet/getnetbyad_r.c: Likewise.
19272 * inet/getnetbynm.c: Likewise.
19273 * inet/getnetbynm_r.c: Likewise.
19274 * inet/getnetent.c: Likewise.
19275 * inet/getnetent_r.c: Likewise.
19276 * inet/getproto.c: Likewise.
19277 * inet/getproto_r.c: Likewise.
19278 * inet/getprtent.c: Likewise.
19279 * inet/getprtent_r.c: Likewise.
19280 * inet/getprtname.c: Likewise.
19281 * inet/getprtname_r.c: Likewise.
19282 * inet/getrpcbyname.c: Likewise.
19283 * inet/getrpcbyname_r.c: Likewise.
19284 * inet/getrpcbynumber.c: Likewise.
19285 * inet/getrpcbynumber_r.c: Likewise.
19286 * inet/getrpcent.c: Likewise.
19287 * inet/getrpcent_r.c: Likewise.
19288 * inet/getaliasent.c: Likewise.
19289 * inet/getaliasent_r.c: Likewise.
19290 * inet/getaliasname.c: Likewise.
19291 * inet/getaliasname_r.c: Likewise.
19292 * nscd/getgrgid_r.c: Likewise.
19293 * nscd/getgrnam_r.c: Likewise.
19294 * nscd/gethstbyad_r.c: Likewise.
19295 * nscd/gethstbynm3_r.c: Likewise.
19296 * nscd/getpwnam_r.c: Likewise.
19297 * nscd/getpwuid_r.c: Likewise.
19298 * nscd/getsrvbynm_r.c: Likewise.
19299 * nscd/getsrvbypt_r.c: Likewise.
19300 * nscd/gai.c: Likewise.
19302 * configure.in (build_nscd): New substituted variable, set
19303 by --disable-build-nscd and defaults to $use_nscd.
19304 * configure: Regenerated.
19305 * config.make.in (build-nscd): New substituted variable.
19306 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19307 Change conditional to require [$(build-nscd) = yes] as well.
19308 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19311 * configure.in (use_nscd): New substituted variable, set by
19312 --disable-nscd. If enabled, define USE_NSCD.
19313 * configure: Regenerated.
19314 * config.h.in: Add USE_NSCD.
19315 * config.make.in (use-nscd): New substituted variable.
19316 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19317 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19318 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19319 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19320 (CFLAGS-getgrnam_r.c): Likewise.
19321 (CFLAGS-initgroups.c): Likewise.
19322 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19323 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19325 * inet/getnetgrent_r.c
19326 (nscd_setnetgrent): New function, broken out of ...
19327 (setnetgrent): ... here. Call it.
19328 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19329 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19330 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19331 * nscd/Makefile (routines, aux): Move definitions after include of
19332 Makeconfig. Conditionalize on [$(use-nscd) != no].
19333 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19334 Conditionalize on [USE_NSCD].
19335 (is_nscd, nscd_init_cb): Likewise.
19336 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19337 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19338 * nss/nss_db/db-init.c: Likewise.
19339 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19341 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19342 (make_request): Use it.
19343 (cache_valid_p): New function.
19344 (__check_pf): Use it.
19345 * NEWS: Add item for --disable-nscd.
19347 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19349 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19350 to support sed >= 4.2.1-20-ga9bf076.
19351 * configure: Regenerated.
19353 2012-08-22 Roland McGrath <roland@hack.frob.com>
19355 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19356 Conditionalize whole body on [IREL].
19358 2012-08-22 Jeff Law <law@redhat.com>
19361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19362 if the family is PF_UNSPEC.
19364 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19366 * Makerules (lib-version): Rename from V.
19367 (install-lib-nosubdir): Change V to lib-version.
19369 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19372 * powerpc32/power6/wcschr.c: New file.
19373 * powerpc32/power6/wcscpy.c: New file.
19374 * powerpc32/power6/wcsrchr.c: New file.
19375 * powerpc64/power6/wcschr.c: New file.
19376 * powerpc64/power6/wcscpy.c: New file.
19377 * powerpc64/power6/wcsrchr.c: New file.
19379 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19381 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19382 (two_way_short_needle): Use it.
19383 * string/strstr.c (AVAILABLE1_USES_J): Define.
19384 * string/strcasestr.c: Likewise.
19386 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19388 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19391 * NEWS: Add an entry.
19392 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19393 define their defaults.
19394 (two_way_short_needle): Detect end-of-string on-the-fly.
19395 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19396 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19397 * string/bug-strcasestr1.c: New test.
19398 * string/Makefile: Run it.
19400 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19403 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19404 the first character.
19406 2012-08-21 Roland McGrath <roland@hack.frob.com>
19408 * csu/elf-init.c (__libc_csu_irel): Function removed.
19409 * csu/libc-start.c (apply_irel): New function.
19410 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19412 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19414 * sysdeps/unix/sysv/linux/kernel-features.h
19415 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19416 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19417 <kernel-features.h>.
19418 [__NR_fadvise64_64]: Make code unconditional.
19419 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19420 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19421 !__NR_fadvise64_64)]: Likewise.
19422 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19423 !__NR_fadvise64_64))]: Likewise.
19424 [__NR_fadvise64]: Make code unconditional.
19425 [!__NR_fadvise64]: Remove conditional code.
19426 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19427 <kernel-features.h>.
19428 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19430 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19433 not include <kernel-features.h>.
19434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19438 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19439 include <kernel-features.h>.
19440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19445 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19448 slight instruction rearrangements per scrollpipe analysis.
19449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19451 2012-08-20 Roland McGrath <roland@hack.frob.com>
19453 * manual/syslog.texi (syslog; vsyslog, closelog):
19454 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19455 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19457 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19458 DSOCAPS to match condition on defining it.
19460 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19462 * sysdeps/unix/sysv/linux/kernel-features.h
19463 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19468 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19469 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19471 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19472 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19474 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19475 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19477 * sysdeps/unix/sysv/linux/kernel-features.h
19478 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19479 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19481 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19482 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19483 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19484 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19485 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19486 Make code unconditional.
19487 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19488 (__mmap64) [!__NR_mmap2]: Likewise.
19489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19490 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19491 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19492 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19493 [__NR_mmap2]: Make code unconditional.
19494 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19495 (__mmap64) [!__NR_mmap2]: Likewise.
19497 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19499 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19501 2012-08-18 Andreas Jaeger <aj@suse.de>
19503 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19505 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19507 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19508 * include/unistd.h (__have_sock_cloexec): Likewise.
19509 (__have_pipe2): Likewise.
19510 (__have_dup3): Likewise.
19512 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19515 * include/unistd.h (__have_pipe2): Change define into an extern int.
19516 (__have_dup3): Likewise.
19517 * socket/have_sock_cloexec.c: Include fcntl.h.
19518 (__have_pipe2): New variable.
19519 (__have_dup3): Likewise.
19521 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19523 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19525 2012-08-17 Marek Polacek <polacek@redhat.com>
19527 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19528 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19530 2012-08-17 Roland McGrath <roland@hack.frob.com>
19532 * configure.in: Add AC_SUBST for sysheaders.
19533 * configure: Regenerated.
19534 * config.make.in (sysheaders): New substituted variable.
19536 * sysdeps/unix/mkfifo.c: Moved ...
19537 * sysdeps/posix/mkfifo.c: ... here.
19538 * sysdeps/unix/mkfifoat.c: Moved ...
19539 * sysdeps/posix/mkfifoat.c: ... here.
19541 * sysdeps/unix/utime.c: Moved ...
19542 * sysdeps/posix/utime.c: ... here.
19544 * sysdeps/unix/time.c: Moved ...
19545 * sysdeps/posix/time.c: ... here.
19546 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19547 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19549 * sysdeps/unix/nice.c: Moved ...
19550 * sysdeps/posix/nice.c: ... here.
19552 * sysdeps/unix/alarm.c: Moved ...
19553 * sysdeps/posix/alarm.c: ... here.
19555 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19557 2012-08-17 Jeff Law <law@redhat.com>
19559 * intl/Makefile (codeset_mo): New variable.
19560 ($(codeset_mo)): New target.
19561 (tst-codeset.out): Depend on that. Remove explicit rule.
19562 (tst-gettext3.out, tst-gettext5.out): Likewise.
19563 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19564 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19565 * intl/tst-codeset.sh: Remove.
19566 * intl/tst-gettext3.sh: Likewise.
19567 * intl/tst-gettext5.sh: Likewise.
19569 2012-08-17 Roland McGrath <roland@hack.frob.com>
19571 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19572 * sysdeps/unix/syscalls.list: ... here.
19574 * sysdeps/posix/getaddrinfo.c
19575 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19576 (gaiconf_init, gaiconf_reload): Use them.
19577 [!_STATBUF_ST_NSEC]
19578 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19579 Define using time_t rather than struct timespec.
19581 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19582 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19584 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19586 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19587 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19590 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19591 __libc_cleanup_push argument.
19593 * bits/param.h: New file.
19594 * misc/sys/param.h: New file.
19595 * include/sys/param.h: New file.
19596 * misc/Makefile (headers): Add bits/param.h.
19597 * sysdeps/generic/sys/param.h: File removed.
19598 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19599 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19600 * sysdeps/mach/hurd/bits/param.h: New file.
19601 * sysdeps/mach/hurd/sys/param.h: File removed.
19603 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19606 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19608 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19609 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19612 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19613 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19614 rather than -D_IO_MTSAFE_IO conditionally.
19615 * stdio-common/Makefile (CPPFLAGS): Likewise.
19616 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19617 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19618 Use $(libio-mtsafe).
19619 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19620 of -D_IO_MTSAFE_IO.
19621 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19622 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19623 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19624 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19625 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19626 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19627 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19628 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19629 (CFLAGS-fread_u_chk.c): Likewise.
19630 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19631 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19632 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19633 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19634 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19635 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19636 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19637 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19638 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19640 * libio/Makefile: Test [$(libc-reentrant) = yes]
19641 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19644 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19645 * sysdeps/pthread/configure: File removed.
19646 * sysdeps/pthread/Makeconfig: New file.
19647 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19648 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19650 2012-08-16 Gary Benson <gbenson@redhat.com>
19652 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19653 unmapping the first object in a namespace.
19655 2012-08-16 Roland McGrath <roland@hack.frob.com>
19657 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19658 (__internal_setnetgrent): ... this. Add internal_function to
19659 definition. Add libc_hidden_def.
19660 (setnetgrent): Update caller.
19661 (internal_endnetgrent): Renamed to ...
19662 (__internal_endnetgrent): ... this. Add internal_function to
19663 definition. Add libc_hidden_def.
19664 (endnetgrent): Update caller.
19665 (internal_getnetgrent_r): Renamed to ...
19666 (__internal_getnetgrent_r): ... this. Add internal_function to
19667 definition. Add libc_hidden_def.
19668 (__getnetgrent_r): Update caller.
19669 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19671 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19673 * stdlib/longlong.h: Update from GCC.
19675 2012-08-16 Roland McGrath <roland@hack.frob.com>
19677 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19678 on _QL, which is set by umul_ppmm but never used.
19679 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19680 variables, which are set by GMP macros but never used.
19681 * stdio-common/_itowa.c (_itowa): Likewise.
19682 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19683 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19685 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19687 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19688 struct La_sh_regs is not constant.
19689 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19690 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19691 and struct La_sparc64_regs are not constant.
19693 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19695 * sysdeps/unix/sysv/linux/kernel-features.h
19696 (__ASSUME_POSIX_TIMERS): Remove.
19697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19699 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19700 Make code unconditional.
19701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19702 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19703 Make code unconditional.
19704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19705 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19706 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19708 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19709 Make code unconditional.
19710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19711 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19712 (__libc_missing_posix_timers): Remove.
19714 2012-08-15 Roland McGrath <roland@hack.frob.com>
19716 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19717 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19719 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19721 * elf/dl-sym.c: Include <stdlib.h>.
19723 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19724 constants, which avoids warnings in 32-bit builds.
19726 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19727 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19729 * misc/lseek.c: File moved to ...
19730 * io/lseek.c: ... here.
19732 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19734 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19735 shifting LEN more than 31 bits at once.
19737 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19740 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19741 segmentation fault for a case of two empty input strings.
19742 * string/test-strncasecmp.c (check1): Renamed to...
19743 (bz12205): ...this.
19744 (bz14195): Add new testcase for two empty input strings and N > 0.
19745 (test_main): Call new testcase, adapt for renamed function.
19747 2012-08-15 Andreas Jaeger <aj@suse.de>
19750 * crypt/md5test2.c: New test, based on test supplied by Serge
19751 Belyshev <belyshev@depni.sinp.msu.ru>.
19752 * crypt/Makefile (xtests): Add md5test-giant..
19753 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19755 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19758 * crypt/md5.c (md5_process_block): Don't assume the buffer
19759 length is less than 2**32.
19760 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19761 length is less than 2**64.
19763 2012-08-15 Roland McGrath <roland@hack.frob.com>
19765 * string/str-two-way.h: Include <sys/param.h>.
19766 (MAX): Macro removed.
19768 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19769 Move #define and #undef of memmove to just before and after
19770 including <string.h>.
19772 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19773 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19774 and after including <string.h>. Move declarations of
19775 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19776 to before #include "string/memmove.c".
19778 * include/dirent.h: Declare __getdirentries.
19780 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19781 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19783 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19785 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19786 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19787 * sysdeps/i386/configure: Regenerated.
19788 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19789 STABS_CURRENT_FILE, and STABS_FUN.
19790 (END): Remove call to STABS_FUN_END.
19791 (STABS_CURRENT_FILE1): Delete.
19792 (STABS_CURRENT_FILE): Likewise.
19793 (STABS_FUN): Likewise.
19794 (STABS_FUN_END): Likewise.
19795 (STABS_FUN2): Likewise.
19796 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19797 * sysdeps/x86_64/configure: Regenerated.
19799 2012-08-14 Roland McGrath <roland@hack.frob.com>
19801 * elf/dl-open.c: Include <atomic.h>.
19802 * elf/dl-lookup.c: Likewise.
19804 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19806 * sysdeps/unix/sysv/linux/kernel-features.h
19807 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19808 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19810 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19812 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19813 condition on __ASSUME_CLONE_THREAD_FLAGS.
19815 2012-08-14 Andreas Jaeger <aj@suse.de>
19817 * sysdeps/i386/fpu/libm-test-ulps: Update.
19819 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19821 * include/atomic.h (atomic_exchange_and_add): Split into ...
19822 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19825 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19829 2012-08-13 Jeff Law <law@redhat.com>
19831 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19832 null byte in the output string.
19834 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19836 * sysdeps/unix/sysv/linux/kernel-features.h
19837 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19838 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19839 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19840 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19841 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19842 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19843 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19845 2012-08-09 Jeff Law <law@redhat.com>
19848 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19849 When avoid_arena is set, don't retry in the that arena. Pick the
19850 next one, whatever it might be.
19851 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19852 (arena_lock): Pass in new parameter to arena_get2.
19853 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19855 (__libc_malloc): Unify retrying after main arena failure with
19856 __libc_memalign version.
19857 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19859 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19862 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19863 to __redirect_strstr.
19864 (__strstr_sse42): Use typeof __redirect_strstr.
19865 (__strstr_ia32): Likewise.
19866 (__libc_strstr): New prototype.
19867 (strstr): Renamed to ...
19868 (__libc_strstr): This.
19869 (strstr): New strong alias of __libc_strstr.
19870 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19871 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19874 (__libc_time): New prototype.
19875 (time_ifunc): Replace time with __libc_time.
19876 (time): New strong alias and hidden definition of __libc_time.
19877 (__GI_time): Remove strong alias.
19878 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19879 Include <stddef.h>.
19880 (memmove): Redefined to __redirect_memmove.
19881 (__memmove_sse2): Use typeof __redirect_memmove.
19882 (__memmove_ssse3): Likewise.
19883 (__memmove_ssse3_back): Likewise.
19884 (__libc_memmove): New prototype.
19885 (memmove): Renamed to ...
19886 (__libc_memmove): This.
19887 (memmove): New strong alias of __libc_memmove.
19889 2012-08-08 Mark Salter <msalter@redhat.com>
19892 (R_MN10300_TLS_GD): Define.
19893 (R_MN10300_TLS_LD): Likewise.
19894 (R_MN10300_TLS_LDO): Likewise.
19895 (R_MN10300_TLS_GOTIE): Likewise.
19896 (R_MN10300_TLS_IE): Likewise.
19897 (R_MN10300_TLS_LE): Likewise.
19898 (R_MN10300_TLS_DTPMOD): Likewise.
19899 (R_MN10300_TLS_DTPOFF): Likewise.
19900 (R_MN10300_TLS_TPOFF): Likewise.
19901 (R_MN10300_SYM_DIFF): Likewise.
19902 (R_MN10300_ALIGN): Likewise.
19903 (R_MN10300_NUM): Update.
19905 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19910 2012-08-08 Roland McGrath <roland@hack.frob.com>
19912 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19914 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19915 sysdeps/unix -> sysdeps/posix move.
19916 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19918 2012-08-07 Allan McRae <allan@archlinux.org>
19921 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19922 (SUNOS_CPP): Likewise.
19923 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19925 (open_input): Call CPP using execvp.
19927 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19929 * sysdeps/unix/sysv/linux/kernel-features.h
19930 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19931 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19932 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19933 (__ASSUME_WAITID_SYSCALL): Likewise.
19934 * sysdeps/unix/sysv/linux/dl-execstack.c
19935 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19936 code unconditional.
19937 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19939 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19940 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19941 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19943 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19945 [__ASSUME_WAITID_SYSCALL]: Likewise.
19946 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19948 2012-08-07 Roland McGrath <roland@hack.frob.com>
19950 * sysdeps/unix/closedir.c: Renamed to ...
19951 * sysdeps/posix/closedir.c: ... here.
19952 * sysdeps/unix/dirfd.c: Renamed to ...
19953 * sysdeps/posix/dirfd.c: ... here.
19954 * sysdeps/unix/dirstream.h: Renamed to ...
19955 * sysdeps/posix/dirstream.h: ... here.
19956 * sysdeps/unix/fdopendir.c: Renamed to ...
19957 * sysdeps/posix/fdopendir.c: ... here.
19958 * sysdeps/unix/opendir.c: Renamed to ...
19959 * sysdeps/posix/opendir.c: ... here.
19960 * sysdeps/unix/readdir.c: Renamed to ...
19961 * sysdeps/posix/readdir.c: ... here.
19962 * sysdeps/unix/readdir_r.c: Renamed to ...
19963 * sysdeps/posix/readdir_r.c: ... here.
19964 * sysdeps/unix/rewinddir.c: Renamed to ...
19965 * sysdeps/posix/rewinddir.c: ... here.
19966 * sysdeps/unix/seekdir.c: Renamed to ...
19967 * sysdeps/posix/seekdir.c: ... here.
19968 * sysdeps/unix/telldir.c: Renamed to ...
19969 * sysdeps/posix/telldir.c: ... here.
19970 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19971 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19972 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19973 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19975 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19976 * bits/fcntl.h: ... here.
19978 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19980 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19981 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19982 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19983 (struct flock): Move l_start, l_len to the beginning.
19984 Use __pid_t for l_pid.
19985 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19986 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19987 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19988 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19989 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19990 [__USE_LARGEFILE64] (struct flock64): New type.
19991 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19993 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19994 * bits/dirent.h: ... here.
19996 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19997 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19999 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20002 Change from 2.6.0 to 2.6.16.
20003 * sysdeps/unix/sysv/linux/configure: Regenerated.
20004 * sysdeps/unix/sysv/linux/kernel-features.h
20005 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20006 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20008 (__ASSUME_UTIMES): Likewise.
20009 (__ASSUME_CLONE_STOPPED): Remove.
20010 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20011 architectures, not kernel version.
20012 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20013 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20014 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20015 (__ASSUME_WAITID_SYSCALL): Likewise.
20016 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20017 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20018 * README: State 2.6.16 as minimum Linux kernel version. Do not
20019 refer to older versions.
20021 2012-08-06 Roland McGrath <roland@hack.frob.com>
20023 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20024 Define alphasort64 as an alias.
20025 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20026 Define versionsort64 as an alias.
20027 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20028 Define scandir64 as an alias.
20029 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20030 Define scandirat64 as an alias.
20031 * dirent/alphasort64.c (alphasort64):
20032 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20033 * dirent/versionsort64.c: Likewise.
20034 * dirent/scandir64.c: Likewise.
20035 * dirent/scandirat64.c: Likewise.
20036 * sysdeps/wordsize-64/alphasort.c: File removed.
20037 * sysdeps/wordsize-64/alphasort64.c: File removed.
20038 * sysdeps/wordsize-64/scandir.c: File removed.
20039 * sysdeps/wordsize-64/scandir64.c: File removed.
20040 * sysdeps/wordsize-64/scandirat.c: File removed.
20041 * sysdeps/wordsize-64/scandirat64.c: File removed.
20042 * sysdeps/wordsize-64/versionsort.c: File removed.
20043 * sysdeps/wordsize-64/versionsort64.c: File removed.
20044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20046 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20048 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20051 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20053 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20055 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20057 [defined __arch64__ || defined __sparcv9]
20058 (__INO_T_MATCHES_INO64_T): New macro.
20059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20060 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20061 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20062 * sysdeps/unix/sysv/linux/bits/dirent.h
20063 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20064 (_DIRENT_MATCHES_DIRENT64): New macro.
20066 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20067 Define lockf64 as an alias.
20068 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20069 Define fseeko64 as an alias.
20070 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20071 Define ftello64 as an alias.
20072 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20073 Define _IO_fgetpos64 and fgetpos64 as aliases.
20074 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20075 Define _IO_fsetpos64 and fsetpos64 as aliases.
20076 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20077 Conditionalize body on this.
20078 * libio/fseeko64.c: Likewise.
20079 * libio/ftello64.c: Likewise.
20080 * libio/iofgetpos64.c: Likewise.
20081 * libio/iofsetpos64.c: Likewise.
20082 * sysdeps/wordsize-64/lockf.c: File removed.
20083 * sysdeps/wordsize-64/lockf64.c: File removed.
20084 * sysdeps/wordsize-64/fseeko.c: File removed.
20085 * sysdeps/wordsize-64/fseeko64.c: File removed.
20086 * sysdeps/wordsize-64/ftello.c: File removed.
20087 * sysdeps/wordsize-64/ftello64.c: File removed.
20088 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20089 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20090 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20091 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20103 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20105 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20107 [defined __arch64__ || defined __sparcv9]
20108 (__OFF_T_MATCHES_OFF64_T): New macro.
20109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20110 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20112 (__OFF_T_MATCHES_OFF64_T): New macro.
20114 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20116 * stdlib/secure-getenv.c (__secure_getenv): Replace
20117 GLIBC_2_16 with GLIBC_2_17.
20119 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20122 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20124 2012-08-03 David S. Miller <davem@davemloft.net>
20126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20128 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20132 (__ASSUME_CORRECT_SI_PID): Likewise.
20133 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20134 (__ASSUME_TMPFS_NAME): Likewise.
20135 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20136 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20137 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20138 (HAVE_AUX_SECURE): Make definition unconditional.
20139 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20140 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20142 2012-08-03 Roland McGrath <roland@hack.frob.com>
20144 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20145 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20146 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20147 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20148 __eloop_threshold instead of SYMLOOP_MAX.
20150 * sysdeps/generic/eloop-threshold.h: New file.
20151 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20153 * elf/chroot_canon.c (chroot_canon): Likewise.
20155 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20159 Change to 2.6.0 everywhere.
20160 * sysdeps/unix/sysv/linux/configure: Regenerated.
20161 * sysdeps/unix/sysv/linux/kernel-features.h
20162 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20163 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20165 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20166 (__ASSUME_FUTEX_REQUEUE): Remove.
20167 (__ASSUME_STATFS64): Define unconditionally.
20168 (__ASSUME_AT_SECURE): Likewise.
20169 (__ASSUME_CORRECT_SI_PID): Likewise.
20170 (__ASSUME_TGKILL): Define without depending on kernel version for
20172 (__ASSUME_UTIMES): Likewise.
20173 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20175 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20176 (__ASSUME_TMPFS_NAME): Likewise.
20177 * README: Update reference to Linux kernel versions.
20179 2012-08-02 Marek Polacek <polacek@redhat.com>
20182 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20183 libc_cv_asm_type_prefix with %.
20184 * configure: Regenerated.
20185 * include/libc-symbols.h: Remove comment about
20186 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20187 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20188 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20189 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20190 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20191 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20192 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20193 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20194 * elf/tst-unique2mod1.c: Likewise.
20195 * elf/tst-unique1mod2.c: Likewise.
20196 * elf/tst-unique1mod1.c: Likewise.
20197 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20198 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20199 Replace ASM_TYPE_DIRECTIVE with .type.
20200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20201 * sysdeps/i386/sysdep.h: Likewise.
20202 * sysdeps/x86_64/sysdep.h: Likewise.
20203 * sysdeps/sh/sysdep.h: Likewise.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20205 Do not define ASM_TYPE_DIRECTIVE.
20206 * sysdeps/powerpc/sysdep.h: Likewise.
20207 * sysdeps/powerpc/powerpc32/sysdep.h:
20208 Replace ASM_TYPE_DIRECTIVE with .type.
20209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20211 * sysdeps/i386/fpu/e_powf.S: Likewise.
20212 * sysdeps/i386/fpu/e_expl.S: Likewise.
20213 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20214 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20215 * sysdeps/i386/fpu/e_pow.S: Likewise.
20216 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20217 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20218 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20219 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20220 * sysdeps/i386/fpu/e_log2.S: Likewise.
20221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20222 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20223 * sysdeps/i386/fpu/e_powl.S: Likewise.
20224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20225 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20226 * sysdeps/i386/fpu/e_logl.S: Likewise.
20227 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20232 * sysdeps/i386/fpu/e_log.S: Likewise.
20233 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20234 * sysdeps/i386/fpu/e_logf.S: Likewise.
20235 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20236 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20237 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20238 * sysdeps/i386/fpu/e_log10.S: Likewise.
20239 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20241 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20242 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20243 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20244 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20245 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20246 * sysdeps/i386/i686/strtok.S: Likewise.
20247 * sysdeps/i386/i386-mcount.S: Likewise.
20248 * sysdeps/i386/strtok.S: Likewise.
20249 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20253 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20255 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20256 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20258 * sysdeps/x86_64/_mcount.S: Likewise.
20259 * sysdeps/x86_64/strtok.S: Likewise.
20260 * sysdeps/sh/_mcount.S: Likewise.
20262 2012-08-01 Roland McGrath <roland@hack.frob.com>
20264 * libio/iofopen.c: Include <fcntl.h>.
20265 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20266 (_IO_fopen64, fopen64): Define as aliases.
20267 * libio/iofopen64.c: Include <fcntl.h>.
20268 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20269 Conditionalize body on this.
20270 * sysdeps/wordsize-64/iofopen.c: File removed.
20271 * sysdeps/wordsize-64/iofopen64.c: File removed.
20273 2012-08-01 Marek Polacek <polacek@redhat.com>
20275 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20276 Use dlfcn directly instead of a variable.
20277 (binfmt-subdir): Do not define.
20280 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20283 Remove all definitions.
20284 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20285 <kernel-features.h>.
20286 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20287 (miss_F_GETOWN_EX): Remove all definitions.
20288 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20290 [!__ASSUME_FCNTL64]: Remove conditional code.
20291 [__ASSUME_FCNTL64]: Make code unconditional.
20292 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20293 <kernel-features.h>.
20294 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20295 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20296 (lockf64) [__NR_fcntl64]: Make code unconditional.
20297 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20299 * sysdeps/unix/sysv/linux/kernel-features.h
20300 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20301 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20302 Make code unconditional.
20303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20306 [__NR_vfork]: Make code unconditional.
20307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20310 [__NR_vfork]: Make code unconditional.
20311 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20312 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20314 2012-08-01 Roland McGrath <roland@hack.frob.com>
20316 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20317 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20319 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20320 Define mkstemp64 as an alias.
20321 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20322 Define mkstemps64 as an alias.
20323 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20324 Define mkostemp64 as an alias.
20325 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20326 Define mkostemps64 as an alias.
20327 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20328 Conditionalize body on this.
20329 * misc/mkostemp64.c: Likewise.
20330 * misc/mkostemps64.c: Likewise.
20331 * misc/mkstemps64.c: Likewise.
20332 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20333 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20334 * sysdeps/wordsize-64/mkostemp.c: File removed.
20335 * sysdeps/wordsize-64/mkstemp.c: File removed.
20336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20337 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20339 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20342 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20344 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20345 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20347 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20348 compat_symbol macros from <shlib-compat.h> rather than the underlying
20349 default_symbol_version and symbol_version macros, so that DEFAULT
20350 lines in shlib-versions are respected.
20351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20353 2012-08-01 Florian Weimer <fweimer@redhat.com>
20355 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20356 Declare with warn_unused_result.
20357 (setgid, setregid, setegid, setresgid): Likewise.
20358 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20360 * WUR-REPORT: Remove set*id functions.
20362 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20364 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20366 2012-07-31 Roland McGrath <roland@hack.frob.com>
20369 * include/sys/socket.h (__libc_accept, __libc_accept4):
20370 Add attribute_hidden.
20371 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20373 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20375 * inet/getnetgrent_r.c (setup): Likewise.
20377 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20379 2012-07-31 David S. Miller <davem@davemloft.net>
20381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20383 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20386 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20387 value between 1.0 and 2.0 and smaller part has absolute value less
20389 * math/s_clog10.c (__clog10): Likewise.
20390 * math/s_clog10f.c (__clog10f): Likewise.
20391 * math/s_clog10l.c (__clog10l): Likewise.
20392 * math/s_clogf.c (__clogf): Likewise.
20393 * math/s_clogl.c (__clogl): Likewise.
20394 * math/libm-test.inc (clog_test): Add more tests.
20395 (clog10_test): Likewise.
20396 * sysdeps/i386/fpu/libm-test-ulps: Update.
20397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399 2012-07-31 Florian Weimer <fweimer@redhat.com>
20401 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20402 Exit with zero in case no suitable GID is found, and write a
20403 message to standard error.
20405 2012-07-30 Roland McGrath <roland@hack.frob.com>
20407 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20409 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20410 (MAXPATHLEN): Removed.
20411 (NOGROUP, NODEV): New macros.
20412 (setbit, clrbit, isset, isclr): New macros.
20413 (howmany, roundup, powerof2): New macros.
20414 (DEV_BSIZE): New macro.
20416 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20417 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20419 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20420 definition on [!__NO_LONG_DOUBLE_MATH].
20422 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20423 PTR_MANGLE and PTR_DEMANGLE.
20425 * socket/accept4.c (accept4): Rename to __libc_accept4.
20426 Define accept4 as a weak alias.
20428 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20429 on [_DIRENT_HAVE_D_TYPE].
20430 * io/ftw.c (ftw_dir): Likewise.
20432 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20434 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20436 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20437 Use the BSD numbers rather than the arbitrary ones we had.
20438 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20439 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20440 (SIGXCPU, SIGXFSZ): New macros.
20443 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20444 initializer on [_LIBC_REENTRANT].
20446 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20447 definitions inside [_POSIX_MAPPED_FILES].
20449 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20451 * dirent/opendir.c: Include <fcntl.h>.
20453 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20454 (__libc_getspecific): Likewise.
20455 (__libc_key_create): Likewise.
20457 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20458 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20459 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20460 (tmpfile64): Define as alias.
20461 * sysdeps/wordsize-64/tmpfile.c: File removed.
20462 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20464 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20466 * stdio-common/vfscanf.c: Include <stdbool.h>.
20467 * nss/makedb.c: Likewise.
20468 * stdio-common/_i18n_number.h: Likewise.
20469 * argp/argp-help.c: Likewise.
20470 * posix/wordexp.c: Likewise.
20471 * sysdeps/posix/spawni.c: Likewise.
20472 * nss/nss_files/files-initgroups.c: Likewise.
20473 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20474 * nss/nss_files/files-initgroups.c: Likewise.
20475 * nss/nss_db/db-netgrp.c: Likewise.
20476 * nss/nss_db/db-initgroups.c: Likewise.
20477 * io/fchmodat.c: Include <sys/stat.h>.
20479 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20480 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20482 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20485 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20486 Add multiple inclusion protection.
20488 2012-07-27 David S. Miller <davem@davemloft.net>
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20492 2012-07-27 Gary Benson <gbenson@redhat.com>
20495 * elf/rtld.c: Include <stap-probe.h>.
20496 (dl_main): Added static probes "init_start" and "init_complete".
20497 * elf/dl-load.c: Include <stap-probe.h>.
20498 (lose): Take new parameter "nsid".
20499 Added static probe "map_failed".
20500 (_dl_map_object_from_fd): Pass namespace id to lose.
20501 Added static probe "map_start".
20502 (open_verify): Pass namespace id to lose.
20503 * elf/dl-open.c: Include <stap-probe.h>.
20504 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20505 and "reloc_complete".
20506 * elf/dl-close.c: Include <stap-probe.h>.
20507 (_dl_close_worker): Added static probes "unmap_start" and
20509 * elf/rtld-debugger-interface.txt: New file documenting the above.
20511 2012-07-26 Roland McGrath <roland@hack.frob.com>
20513 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20514 rather than a string variable.
20515 * sunrpc/rpc_main.c (h_output): Likewise.
20516 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20518 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20520 * inet/check_native.c: New file.
20522 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20525 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20526 if larger part has absolute value 1.0.
20527 * math/s_clog10.c (__clog10): Likewise.
20528 * math/s_clog10f.c (__clog10f): Likewise.
20529 * math/s_clog10l.c (__clog10l): Likewise.
20530 * math/s_clogf.c (__clogf): Likewise.
20531 * math/s_clogl.c (__clogl): Likewise.
20532 * math/libm-test.inc (clog_test): Add more tests.
20533 (clog10_test): Likewise.
20534 * sysdeps/i386/fpu/libm-test-ulps: Update.
20535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20537 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20538 (pltexit): Likewise.
20539 (La_regs): Likewise.
20540 (La_retval): Likewise.
20541 (int_retval): Likewise.
20542 Update #error for removed macros to refer only to definitions in
20544 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20546 (pltexit): Likewise.
20547 (La_regs): Likewise.
20548 (La_retval): Likewise.
20549 (int_retval): Likewise.
20550 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20552 (pltexit): Likewise.
20553 (La_regs): Likewise.
20554 (La_retval): Likewise.
20555 (int_retval): Likewise.
20556 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20558 (pltexit): Likewise.
20559 (La_regs): Likewise.
20560 (La_retval): Likewise.
20561 (int_retval): Likewise.
20562 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20564 (pltexit): Likewise.
20565 (La_regs): Likewise.
20566 (La_retval): Likewise.
20567 (int_retval): Likewise.
20568 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20570 (pltexit): Likewise.
20571 (La_regs): Likewise.
20572 (La_retval): Likewise.
20573 (int_retval): Likewise.
20574 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20576 (pltexit): Likewise.
20577 (La_regs): Likewise.
20578 (La_retval): Likewise.
20579 (int_retval): Likewise.
20580 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20581 macro definitions in tst-audit.h.
20582 * sysdeps/i386/tst-audit.h: New file.
20583 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20584 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20585 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20586 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20587 * sysdeps/sh/tst-audit.h: Likewise.
20588 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20589 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20590 * sysdeps/x86_64/tst-audit.h: Likewise.
20592 2012-07-26 Andreas Jaeger <aj@suse.de>
20594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20597 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20598 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20599 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20601 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20602 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20603 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20605 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20608 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20610 (si_call_addr, si_syscall, si_arch): Define new macro.
20611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20613 (si_call_addr, si_syscall, si_arch): Define new marcro.
20614 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20616 (si_call_addr, si_syscall, si_arch): Define new macro.
20617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20619 (si_call_addr, si_syscall, si_arch): Define new macro.
20621 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20625 Change to 2.4.21 where previously 2.4.1.
20626 * sysdeps/unix/sysv/linux/configure: Regenerated.
20627 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20628 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20629 Linux kernel version.
20630 (__ASSUME_STD_AUXV): Remove.
20631 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20633 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20634 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20635 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20636 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20637 (__ASSUME_NETLINK_SUPPORT): Likewise.
20638 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20639 (__no_netlink_support): Remove conditional definition.
20640 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20642 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20643 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20644 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20645 (if_nameindex_ioctl): Remove.
20646 (if_nameindex_netlink): Do not handle __no_netlink_support.
20647 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20649 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20650 Remove conditional code.
20651 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20653 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20655 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20656 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20657 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20659 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20660 [!__ASSUME_STD_AUXV]: Remove conditional code.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20662 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20663 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20665 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20666 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20668 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20670 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20671 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20673 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20675 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20678 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20681 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20682 code unconditional.
20683 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20685 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20687 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20690 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20692 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20695 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20696 code unconditional.
20697 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20699 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20701 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20704 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20705 code unconditional.
20706 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20708 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20710 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20713 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20715 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20716 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20717 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20718 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20719 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20720 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20721 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20722 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20723 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20724 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20725 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20726 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20727 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20728 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20729 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20730 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20731 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20733 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20735 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20736 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20737 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20739 2012-07-25 Florian Weimer <fweimer@redhat.com>
20741 * Versions.def: Add GLIBC_2.17.
20742 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20743 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20744 Introduce __libc_secure_getenv.
20745 * stdlib/Versions (2.17): Add secure_getenv
20746 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20747 * stdlib/secure-getenv.c: Rename __secure_getenv to
20748 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20749 symbol __secure_getenv for GLIBC_2.0.
20750 * stdlib/tst-secure-getenv.c: New.
20751 * stdlib/Makefile (tests): Add testcase.
20752 * manual/startup.texi (Environment Access): Document
20754 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20755 __libc_secure_getenv.
20756 * inet/ruserpass.c (ruserpass): Likewise.
20757 * malloc/mtrace.c (mtrace): Likewise.
20758 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20759 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20760 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20761 * sysdeps/posix/tempname.c: Likewise. Evaluate
20762 HAVE_SECURE_GETENV.
20763 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20764 __secure_getenv to __libc_secure_getenv.
20765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20778 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20780 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20781 (struct La_i86_retval): Likewise.
20782 (struct La_x86_64_regs): Likewise.
20783 (struct La_x86_64_retval): Likewise.
20784 (struct La_x32_regs): Likewise.
20785 (struct La_x32_retval): Likewise.
20786 (struct La_ppc32_regs): Likewise.
20787 (struct La_ppc32_retval): Likewise.
20788 (struct La_ppc64_regs): Likewise.
20789 (struct La_ppc64_retval): Likewise.
20790 (struct La_sh_regs): Likewise.
20791 (struct La_sh_retval): Likewise.
20792 (struct La_s390_32_regs): Likewise.
20793 (struct La_s390_32_retval): Likewise.
20794 (struct La_s390_64_regs): Likewise.
20795 (struct La_s390_64_retval): Likewise.
20796 (struct La_sparc32_regs): Likewise.
20797 (struct La_sparc32_retval): Likewise.
20798 (struct La_sparc64_regs): Likewise.
20799 (struct La_sparc64_retval): Likewise.
20800 (struct audit_ifaces): Remove architecture-specific pltenter and
20802 * sysdeps/i386/ldsodefs.h: New file.
20803 * sysdeps/powerpc/ldsodefs.h: Likewise.
20804 * sysdeps/s390/ldsodefs.h: Likewise.
20805 * sysdeps/sh/ldsodefs.h: Likewise.
20806 * sysdeps/sparc/ldsodefs.h: Likewise.
20807 * sysdeps/x86_64/ldsodefs.h: Likewise.
20809 2012-07-25 Marek Polacek <polacek@redhat.com>
20812 * math/libm-test.inc (yn_test): Add another test.
20813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20814 to ERANGE when the result is +-Inf.
20815 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20816 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20817 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20818 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20820 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20822 * conform/data/time.h-data (NULL): Use macro-constant. Require
20824 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20826 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20828 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20830 * configure.in <sysdeps resolving>: Correct printing
20832 * configure: Regenerate.
20834 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20836 * math/w_ilogb.c: Include <limits.h>.
20837 * math/w_ilogbl.c: Likewise.
20839 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20841 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20842 va_copy. Document allowing for unavailable va_copy only as
20843 pre-C99 compatibility.
20844 * manual/string.texi (Copying and Concatenation): Use va_copy
20845 instead of __va_copy in concat example.
20847 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20849 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20850 (__sendto): Use create_address_port. Initialize APORT and deallocate
20853 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20854 with O_NOLINK passed to __file_name_lookup.
20856 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20857 with O_NOLINK passed to __file_name_lookup.
20859 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20860 negative N or less than NGIDS.
20862 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20863 type to string_t. Set ERANGE as errno and return it if NAME is not big
20864 enough. Use memcpy instead of strncpy.
20866 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20868 * elf/Makefile (check-data): Remove.
20869 (localplt.data): New vpath directive.
20870 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20871 instead of $(check-data).
20872 * scripts/data/localplt-generic.data: Move to ...
20873 * sysdeps/generic/localplt.data: ... here.
20874 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20875 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20876 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20879 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20882 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20885 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20888 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20891 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20895 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20897 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20898 PPC32 and PPC64 files.
20899 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20900 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20902 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20904 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20905 __makecontext_ret to ...
20906 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20907 ... here and call exit if uc_link is NULL. New file.
20908 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20909 __makecontext_ret.S.
20910 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20911 __makecontext_ret to ...
20912 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20913 ... here and call exit if uc_link is NULL. New file.
20914 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20915 __makecontext_ret.S.
20917 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20919 * elf/elf.h (R_390_IRELATIVE): New definition.
20920 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20921 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20922 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20924 (elf_machine_lazy_rel): Likewise.
20925 * sysdeps/s390/dl-irel.h: New file.
20926 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20927 * sysdeps/s390/s390-64/memset.S: New asm code.
20928 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20929 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20930 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20931 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20932 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20933 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20934 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20935 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20936 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20937 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20938 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20939 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20940 * sysdeps/s390/s390-32/memset.S: New asm code.
20941 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20943 2012-07-17 Marek Polacek <polacek@redhat.com>
20946 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20947 * sysdeps/s390/s390-64/configure.in: Likewise.
20948 * sysdeps/sparc/configure.in: Likewise.
20949 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20950 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20951 * sysdeps/i386/configure.in: Likewise.
20952 * sysdeps/x86_64/configure.in: Likewise.
20953 * sysdeps/sh/configure.in: Likewise.
20954 * sysdeps/s390/s390-32/configure: Regenerated.
20955 * sysdeps/s390/s390-64/configure: Likewise.
20956 * sysdeps/x86_64/configure: Likewise.
20957 * sysdeps/sh/configure: Likewise.
20958 * sysdeps/powerpc/powerpc64/configure: Likewise.
20959 * sysdeps/powerpc/powerpc32/configure: Likewise.
20960 * sysdeps/sparc/configure: Likwise.
20961 * sysdeps/i386/configure: Likewise.
20963 * elf/dl-open.c: Comment fixes.
20965 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20967 * Makefile [CXX] (check-data): Remove.
20968 [CXX] (c++-types.data): New vpath directive.
20969 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20970 vpath. Do not allow for C++ type data being missing.
20971 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20972 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20973 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20974 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20975 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20976 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20977 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20980 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20983 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20986 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20989 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20992 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20995 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20998 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21001 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21002 definitions to architecture-specific files.
21003 (TLS_IE): Likewise.
21004 (TLS_LD): Likewise.
21005 (TLS_GD): Likewise.
21006 * sysdeps/i386/tls-macros.h: New file.
21007 * sysdeps/powerpc/tls-macros.h: Likewise.
21008 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21009 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21010 * sysdeps/sh/tls-macros.h: Likewise.
21011 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21012 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21013 * sysdeps/x86_64/tls-macros.h: Likewise.
21015 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21018 zero value for regular exit case.
21020 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21021 (__start_context): Preserve zero value for regular exit case.
21023 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21024 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21026 * manual/setjmp.texi (setcontext): Clarify normal process
21027 termination when uc_link is the null pointer.
21028 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21031 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21033 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21034 preprocessor. Test for each exception mask separately.
21036 2012-07-16 Andreas Jaeger <aj@suse.de>
21038 * po/ru.po: Update from translation team.
21040 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21042 * conform/data/string.h-data (NULL): Use macro-constant. Require
21044 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21045 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21046 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21047 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21050 2012-07-13 Andreas Jaeger <aj@suse.de>
21052 * po/fr.po: Update from translation team.
21054 2012-07-12 Marek Polacek <polacek@redhat.com>
21057 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21061 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21065 Change to 2.4.1 where previously 2.4.0.
21066 * sysdeps/unix/sysv/linux/configure: Regenerated.
21067 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21068 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21070 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21071 (__ASSUME_AT_CLKTCK): Remove.
21072 (__ASSUME_AT_PAGESIZE): Likewise.
21073 (__ASSUME_AT_XID): Likewise.
21074 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21075 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21076 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21078 (HAVE_AUX_PAGESIZE): Likewise.
21079 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21080 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21081 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21083 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21087 the temporary buffer used to invoke __gethostbyname2_r,
21088 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21089 host_data / struct gaih_addrtuple.
21090 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21091 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21092 header file nss/nsswitch.h.
21093 * nss/nsswitch.h (global scope): Add definition of implementation
21094 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21095 resolv/nss_dns/dns-host.c).
21097 2012-07-11 Andreas Jaeger <aj@suse.de>
21099 * po/fr.po: Update from translation team.
21101 * po/sv.po: Update from translation team
21102 * po/fr.po: Another update from translation team.
21104 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21106 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21107 for subnormals or multiply small sinh result by itself.
21108 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21111 2012-07-11 David S. Miller <davem@davemloft.net>
21113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21115 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21118 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21119 (INTERNAL_MARK): Shift it here.
21121 2012-07-10 Marek Polacek <polacek@redhat.com>
21124 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21125 libc_cv_asm_global_directive with .globl.
21126 * configure: Regenerated.
21127 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21129 * sysdeps/i386/configure: Regenerated.
21130 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21132 * sysdeps/x86_64/configure: Regenerated.
21133 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21134 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21135 * elf/tst-unique2mod2.c: Likewise.
21136 * elf/tst-unique2mod1.c: Likewise.
21137 * elf/tst-unique1mod2.c: Likewise.
21138 * elf/tst-unique1mod1.c: Likewise.
21139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21140 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21142 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21143 * sysdeps/mach/sysdep.h: Likewise.
21144 * sysdeps/i386/sysdep.h: Likewise.
21145 * sysdeps/i386/i386-mcount.S: Likewise.
21146 * sysdeps/x86_64/_mcount.S: Likewise.
21147 * sysdeps/x86_64/sysdep.h: Likewise.
21148 * sysdeps/sh/_mcount.S: Likewise.
21149 * sysdeps/sh/sysdep.h: Likewise.
21150 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21151 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21152 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21154 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21155 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21156 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21157 * locale/localeinfo.h: Likewise.
21158 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21159 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21161 2012-07-09 Roland McGrath <roland@hack.frob.com>
21164 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21166 * manual/message.texi (The Uniforum approach): Likewise.
21167 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21168 (glibc iconv Implementation): Likewise.
21170 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21173 * math/s_clog.c (__clog): Avoid scaling a value down where that
21174 could result in underflow.
21175 * math/s_clog10.c (__clog10): Likewise.
21176 * math/s_clog10f.c (__clog10f): Likewise.
21177 * math/s_clog10l.c (__clog10l): Likewise.
21178 * math/s_clogf.c (__clogf): Likewise.
21179 * math/s_clogl.c (__clogl): Likewise.
21180 * math/libm-test.inc (clog_test): Add more tests.
21181 (clog10_test): Likewise.
21182 * sysdeps/i386/fpu/libm-test-ulps: Update.
21183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21185 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21189 by 7 not 8 to examine high bit of fractional part.
21192 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21193 for call to __mcount_internal.
21194 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21195 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21196 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21198 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21201 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21202 approximation for values within 0x1p-13f of an odd multiple of
21204 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21205 exception. Add more tests.
21206 * sysdeps/i386/fpu/libm-test-ulps: Update.
21209 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21210 inputs and return -1 for them. Do not check for +Inf in case not
21211 reachable for +Inf.
21212 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21213 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21214 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21215 and return -1 for them. Do not check for +Inf in case not
21216 reachable for +Inf.
21217 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21219 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21220 and return -1 for them. Do not check for +Inf in case not
21221 reachable for +Inf.
21222 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21223 spurious underflow.
21224 * sysdeps/i386/fpu/libm-test-ulps: Update.
21225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21227 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21229 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21231 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21235 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21236 could result in spurious underflow. Scale down values above
21237 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21238 * math/s_csqrtf.c (__csqrtf): Likewise.
21239 * math/s_csqrtl.c (__csqrtl): Likewise.
21240 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21241 spurious underflow.
21242 * sysdeps/i386/fpu/libm-test-ulps: Update.
21243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21245 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21247 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21249 * catgets/xopen-msg.awk: New file.
21250 * catgets/xopen-msg.sed: Removed.
21252 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21254 * intl/po2test.awk: New file.
21255 * intl/po2test.sed: Removed.
21257 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21260 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21261 or multiply small sinh result by itself.
21262 * math/s_ctanf.c (__ctanf): Likewise.
21263 * math/s_ctanh.c (__ctanh): Likewise.
21264 * math/s_ctanhf.c (__ctanhf): Likewise.
21265 * math/s_ctanhl.c (__ctanhl): Likewise.
21266 * math/s_ctanl.c (__ctanl): Likewise.
21267 * math/libm-test.inc (ctan_test_tonearest): New function.
21268 (ctan_test_towardzero): Likewise.
21269 (ctan_test_downward): Likewise.
21270 (ctan_test_upward): Likewise.
21271 (ctanh_test_tonearest): Likewise.
21272 (ctanh_test_towardzero): Likewise.
21273 (ctanh_test_downward): Likewise.
21274 (ctanh_test_upward): Likewise.
21275 (main): Call these new functions.
21276 * sysdeps/i386/fpu/libm-test-ulps: Update.
21277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21279 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21281 * .gitignore: Delete /ports entry.
21283 2012-07-03 Andreas Jaeger <aj@suse.de>
21285 * po/bg.po: Update from translation team.
21286 * po/cs.po: Likewise.
21287 * po/de.po: Likewise.
21288 * po/hr.po: Likewise.
21289 * po/nl.pl: Likewise.
21290 * po/pl.po: Likewise.
21291 * po/vi.po: Likewise.
21293 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21295 * Makeconfig [!+link] (+link-before-libc): New variable.
21296 [!+link] (+link-after-libc): Likewise.
21297 [!+link] (+link-tests): Likewise.
21298 [!+link] (+link): Define in terms of $(+link-before-libc) and
21299 $(+link-after-libc).
21300 [!+link-static] (+link-static-before-libc): New variable.
21301 [!+link-static] (+link-static-after-libc): Likewise.
21302 [!+link-static] (+link-static-tests): Likewise.
21303 [!+link-static] (+link-static): Define in terms of
21304 $(+link-static-before-libc) and $(+link-static-after-libc).
21305 [build-shared] (link-libc-before-gnulib): New variable.
21306 [build-shared] (link-libc-tests): Likewise.
21307 [build-shared] (link-libc): Define in terms of
21308 $(link-libc-before-gnulib).
21309 [!build-shared] (link-libc-tests): New variable.
21310 (link-libc-static-tests): New variable.
21311 [!gnulib] (gnulib-arch): New variable.
21312 [!gnulib] (gnulib-tests): Likewise.
21313 [!gnulib] (static-gnulib-arch): Likewise.
21314 [!gnulib] (static-gnulib-tests): Likewise.
21315 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21316 Define with "=" instead of ":=".
21317 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21318 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21319 * Rules (binaries-all-notests): New variable.
21320 (binaries-all-tests): Likewise.
21321 (binaries-static-notests): Likewise.
21322 (binaries-static-tests): Likewise.
21323 (binaries-all): Define using $(binaries-all-notests) and
21324 $(binaries-all-tests).
21325 (binaries-static): Define using $(binaries-static-notests) and
21326 $(binaries-static-tests).
21327 (binaries-shared-tests): New variable.
21328 (binaries-shared-notests): Likewise.
21329 (binaries-shared): Remove variable.
21330 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21331 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21332 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21333 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21334 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21335 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21336 * elf/Makefile (sln-modules): New variable.
21337 (extra-objs): Add $(sln-modules:=.o).
21338 (ldconfig-modules): Add static-stubs.
21339 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21340 * elf/static-stubs.c: New file.
21343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21344 by 7 not 8 to examine high bit of fractional part. Use volatile
21345 variables when splitting into final array of floats if
21346 __FLT_EVAL_METHOD__ != 0.
21347 * math/libm-test.inc (cos_test): Add another test.
21348 (sin_test): Likewise.
21349 * sysdeps/i386/fpu/libm-test-ulps: Update.
21352 * math/libm-test.inc (cosh_test): Add more tests.
21354 * version.h (RELEASE): Set to "development".
21355 (VERSION): Set to "2.16.90".
21357 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21359 * NEWS: Update copyright. Remove last-updated date.
21360 Mention math library bug fixes and timezone data changes.
21361 * README: Mention GNU/Hurd, x32, and HPPA support status.
21363 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21365 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21367 2012-06-27 Andreas Jaeger <aj@suse.de>
21369 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21371 2012-06-25 Andreas Jaeger <aj@suse.de>
21373 * sysdeps/s390/fpu/libm-test-ulps: Update.
21375 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21376 Thomas Schwinge <thomas@codesourcery.com>
21378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21379 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21383 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21385 * sysdeps/mach/start.c: Remove file.
21386 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21387 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21388 * sysdeps/sh/init-first.c: Likewise.
21390 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21391 registers for frame unwinding purposes, add CFI directives.
21392 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21394 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21397 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21398 __fortify_fail returning.
21399 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21402 sysdeps/sh/____longjmp_chk.S.
21403 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21404 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21405 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21406 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21408 * sysdeps/sh/abort-instr.h: New file.
21409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21410 process in case exit returns.
21412 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21413 initialize the GOT register before use.
21415 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21416 calculation of ARGC > 4.
21418 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21419 meaningful names to some local labels.
21421 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21422 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21424 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21425 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21426 (__arch_compare_and_exchange_val_16_acq): Likewise.
21427 (__arch_compare_and_exchange_val_32_acq): Likewise.
21428 (atomic_exchange_and_add): Fix gUSA sequence.
21429 (atomic_add): Likewise.
21430 (atomic_add_negative): Likewise.
21431 (atomic_add_zero): Likewise.
21432 (atomic_bit_test_set): Likewise.
21434 2012-06-22 Andreas Schwab <schwab@redhat.com>
21437 * include/link.h (struct link_map): Add l_free_initfini.
21438 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21440 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21441 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21442 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21445 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21447 * configure.in: Use AC_LANG_SOURCE.
21448 * configure: Regenerate.
21450 2012-06-22 Roland McGrath <roland@hack.frob.com>
21452 * configure.in (libc_cv_localstatedir): New substituted variable.
21453 * configure: Regenerated.
21454 * config.make.in (localstatedir): New variable, substituted from
21455 libc_cv_localstatedir.
21456 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21457 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21458 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21459 * sysdeps/gnu/configure: Regenerated.
21461 2012-06-21 Jeff Law <law@redhat.com>
21464 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21465 free. Simplify list management for _LIBC case.
21467 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21470 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21471 Clear sign bit of 64-bit integer value before comparing against
21474 * sysdeps/mach/configure: Regenerated.
21476 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21479 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21481 2012-06-21 Jeff Law <law@redhat.com>
21484 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21485 uint16_t for elements in the "seen" array to avoid char overflows.
21486 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21487 * elf/dl-open.c (dl_open_worker): Likewise.
21489 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21491 * scripts/list-sources.sh: Scan PORTS for translations.
21492 * po/libc.pot: Regenerated.
21494 2012-06-21 Andreas Jaeger <aj@suse.de>
21497 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21499 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21500 * bits/byteswap-16.h (__bswap_16): Likewise.
21501 * bits/byteswap.h (__bswap_constant_16): Likewise.
21503 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21506 * sysdeps/i386/fpu_control.h: Removed.
21507 * sysdeps/x86_64/fpu_control.h: Moved to ...
21508 * sysdeps/x86/fpu_control.h: Here.
21510 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21511 (_FPU_SETCW): Likewise.
21513 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21516 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21517 * sysdeps/x86/fpu/bits/mathinline.h: This.
21518 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21522 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21523 functions if __x86_64__ is defined.
21525 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21527 * string/endian.h: Add !__ASSEMBLER__ condition for including
21528 conversion interfaces.
21530 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21534 of ABS(x) in calculating zero to negative powers other than odd
21536 * math/libm-test.inc (pow_test): Add more tests.
21538 2012-06-15 Andreas Jaeger <aj@suse.de>
21540 * manual/contrib.texi (Contributors): Update entry of Liubov
21541 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21544 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21546 * string/string.h: Add __wur to GNU version of strerror_r.
21548 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21551 * string/Makefile (tests): Add tst-strtok_r.
21552 * string/tst-strtok_r.c: New file.
21553 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21554 RAX_LP/RDX_LP on SAVE_PTR.
21556 2012-06-14 Roland McGrath <roland@hack.frob.com>
21558 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21560 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21562 * libm_test.inc (csqrt_test): Allow more spurious underflow
21564 (j0_test): Likewise.
21565 (j1_test): Likewise.
21566 (y0_test): Likewise.
21567 (y1_test): Likewise.
21569 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21571 * po/Makefile (libc.pot): Use UTF-8 charset.
21573 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21576 Suppress sign-conversion warning from FD_SET.
21577 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21578 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21579 not unsigned long int.
21580 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21582 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21586 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21587 __extern_always_inline instead of __extern_inline.
21588 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21589 (__signbit): Likewise.
21590 (__signbitl): Support C++ namespace.
21591 (lrintf): New inline function.
21593 (llrintf): Likewise.
21594 (llrint): Likewise.
21604 (floorf): Likewise.
21605 (nearbyint): Likewise.
21606 (nearbyintf): Likewise.
21608 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21611 non-default versions.
21613 2012-06-11 Roland McGrath <roland@hack.frob.com>
21616 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21618 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21620 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21621 (FE_UPWARD, FE_DOWNWARD): Don't define.
21622 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21623 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21625 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21628 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21630 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21632 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21634 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21635 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21637 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21640 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21641 * sysdeps/i386/fpu/Implies: New file.
21642 * sysdeps/x86_64/fpu/Implies: Likewise.
21643 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21644 * sysdeps/x86/fpu/bits/fenv.h: This.
21646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21649 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21652 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21653 character 0xffff that matches the last element of the
21656 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21661 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21664 values higher than 25.6283.
21666 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21669 subnormal exponent extraction and add some __builtin_expect.
21670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21671 Fix for subnormal mantissa calculation.
21673 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21675 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21676 cpu2 is -1 and errno is not ENOSYS.
21678 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21681 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21682 * sysdeps/x86/bits/string.h: This.
21683 * sysdeps/x86_64/bits/string.h: Removed.
21685 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21686 if not compiling for x86-64, but compiling for >= i486.
21688 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21689 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21691 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21692 New macro from Linux kernel 3.4.0.
21693 (FP_XSTATE_MAGIC2): Likewise.
21694 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21695 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21696 (struct _fpx_sw_bytes): New struct.
21697 (struct _xsave_hdr): Likewise.
21698 (struct _ymmh_state): Likewise.
21699 (struct _xstate): Likewise.
21701 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21702 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21704 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21705 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21706 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21708 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21709 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21710 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21711 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21712 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21713 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21715 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21718 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21719 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21720 (sysdep_headers): Include sys/platform/ppc.h.
21721 * sysdeps/powerpc/test-gettimebase.c: Test for
21722 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21723 * manual/Makefile (appendices): Include platform.texi.
21724 * manual/contrib.texi (Contributors): Update @node pointers.
21725 * manual/maint.texi (Maintenance): Likewise.
21726 (Platform): New node.
21727 * manual/platform.texi: New file. Document the new features.
21729 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21730 Jakub Jelinek <jakub@redhat.com>
21733 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21734 where __builtin_expect is unavailable.
21736 2012-06-03 David S. Miller <davem@davemloft.net>
21738 * stdlib/longlong.h: Updated from GCC.
21740 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21743 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21744 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21747 (GLIBC_2.16): Likewise.
21749 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21751 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21753 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21756 (default-abi): New variable.
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21758 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21760 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21762 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21764 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21767 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21768 definition. Document in comment.
21770 2012-06-01 David S. Miller <davem@davemloft.net>
21772 * stdlib/longlong.h: Updated from GCC.
21774 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21777 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21778 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21779 sys/debugreg.h sys/io.h here.
21780 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21781 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21783 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21784 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21785 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21786 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21787 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21788 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21791 Define only if __x86_64__ is defined.
21793 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21797 Use int64_t for variable i.
21798 * math/libm-test.inc (fmod_test): Add more tests.
21800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21801 z computation is not scheduled after fetestexcept.
21802 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21803 Use math_force_eval instead of asm to ensure calculation scheduled
21804 before exception test.
21805 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21806 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21808 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21811 computation is not scheduled after fetestexcept.
21813 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21816 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21817 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21819 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21821 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21824 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21827 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21829 (__WCHAR_MIN): Support __WORDSIZE == 64.
21830 (__WCHAR_MAX): Likewise.
21832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21837 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21840 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21841 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21844 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21846 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21847 Defined to 1 if __x86_64__ isn't defined.
21848 (_STAT_VER_LINUX_OLD): New.
21849 (st_atime): Remove duplicate.
21850 (st_mtime): Likewise.
21851 (st_ctime): Likewise.
21853 2012-05-31 David S. Miller <davem@davemloft.net>
21855 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21858 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21860 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21864 * elf/dl-reloc.c: Include <_itoa.h>.
21865 (_dl_reloc_bad_type): Remove use of INTUSE.
21866 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21867 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21868 * stdio-common/psiginfo.c (psiginfo): Likewise.
21869 * stdio-common/psignal.c (psignal): Likewise.
21870 * string/strsignal.c (strsignal): Likewise.
21871 * include/signal.h (_sys_siglist): Declare hidden proto.
21872 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21873 INTVARDEF with libc_hidden_data_def.
21874 * stdio-common/itoa-udigits.c: Likewise.
21875 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21876 (_itoa_lower_digits_internal): Remove declaration.
21877 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21878 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21879 (_sys_sigabbrev_internal): Remove aliases.
21880 (_sys_siglist): Define hidden alias.
21882 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21887 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21890 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21891 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21893 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21894 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21895 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21896 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21898 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21900 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21901 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21902 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21904 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21914 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21916 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21917 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21918 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21919 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21921 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21923 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21924 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21927 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21931 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21933 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21934 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21936 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21938 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21939 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21940 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21942 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21944 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21946 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21948 * math/math.h (M_El): Use two more decimal places.
21949 (M_LOG2El): Likewise.
21950 (M_LOG10El): Likewise.
21951 (M_LN2l): Likewise.
21952 (M_LN10l): Likewise.
21954 (M_PI_2l): Likewise.
21955 (M_PI_4l): Likewise.
21956 (M_1_PIl): Likewise.
21957 (M_2_PIl): Likewise.
21958 (M_2_SQRTPIl): Likewise.
21959 (M_SQRT2l): Likewise.
21960 (M_SQRT1_2l): Likewise.
21962 2012-05-31 David S. Miller <davem@davemloft.net>
21964 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21965 values between float registers.
21966 * sysdeps/sparc/sparc64/memset.S: Likewise.
21967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21969 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21971 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21972 -D_FORTIFY_SOURCE=1.
21973 (CPPFLAGS-tst-longjmp_chk.c): Define.
21974 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21975 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21976 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21977 CFLAGS-tst-wchar-h.c.
21979 2012-05-31 Marek Polacek <polacek@redhat.com>
21982 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21983 __endmntent_internal): Remove declaration.
21984 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21985 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21986 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21988 2012-05-30 David S. Miller <davem@davemloft.net>
21990 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21991 (___Q_simulate_exceptions): Use real FP ops rather than writing
21993 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21996 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21999 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22000 * sysdeps/x86/bits/xtitypes.h: This.
22002 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22003 * sysdeps/x86/bits/wordsize.h: This.
22005 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22006 * sysdeps/x86/bits/huge_vall.h: This.
22008 * sysdeps/i386/bits/select.h: Removed.
22009 * sysdeps/x86_64/bits/select.h: Renamed to ...
22010 * sysdeps/x86/bits/select.h: This.
22012 * sysdeps/i386/bits/setjmp.h: Removed.
22013 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22014 * sysdeps/x86/bits/setjmp.h: This.
22016 * sysdeps/i386/bits/mathdef.h: Removed.
22017 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22018 * sysdeps/x86/bits/mathdef.h: This.
22020 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22023 * include/sys/socket.h (__connect_internal)
22024 (__libc_sa_len_internal): Remove declaration.
22025 (__connect, __libc_sa_len): Declare hidden_proto.
22026 (SA_LEN): Remove use of INTUSE.
22027 * socket/connect.c: Add libc_hidden_def.
22028 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22029 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22030 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22032 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22033 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22034 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22035 of adding _internal alias.
22037 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22040 * sysdeps/i386/bits/link.h: Removed.
22041 * sysdeps/i386/bits/linkmap.h: Likewise.
22042 * sysdeps/x86_64/bits/link.h: Renamed to ...
22043 * sysdeps/x86/bits/link.h: This.
22044 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22045 * sysdeps/x86/bits/linkmap.h: This.
22047 * sysdeps/i386/bits/endian.h: Removed.
22048 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22049 * sysdeps/x86/bits/endian.h: This.
22051 * sysdeps/i386/bits/byteswap.h: Removed.
22052 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22053 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22054 * sysdeps/x86/bits/byteswap.h: This.
22055 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22056 * sysdeps/x86/bits/byteswap-16.h: This.
22057 * sysdeps/i386/Implies: Add x86.
22058 * sysdeps/x86_64/Implies: Likewise.
22060 2012-05-30 David S. Miller <davem@davemloft.net>
22062 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22063 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22065 (FP_TRAPPING_EXCEPTIONS): Define.
22066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22067 (FP_TRAPPING_EXCEPTIONS): Define.
22068 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22069 subnormals only when inexact has been signalled or underflow
22070 exceptions are enabled.
22071 (_FP_PACK_CANONICAL): Likewise.
22073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22077 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22079 2012-05-30 Richard Henderson <rth@twiddle.net>
22081 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22082 with #ifndef NOT_IN_libc.
22084 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22085 marked to avoid plt entry.
22087 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22090 * Makeconfig (default-abi): New macro.
22091 (abi-includes): Likewise.
22092 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22093 $(abi-$(default-abi)-lib-soname) for soname if defined.
22094 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22096 * Makefile (installed-stubs): Likewise.
22097 * include/stubs-biarch.h: Removed.
22098 * scripts/lib-names.awk: Only handle one library at a time.
22099 * scripts/soversions.awk: Remove WORDSIZE support.
22100 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22102 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22104 (syscall-list-default-condition): Likewise.
22105 (syscall-list-default-condition): Likewise.
22106 (syscall-list-includes): Likewise.
22107 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22108 syscall-list-* with abi-*. Handle undefined abi-variants.
22109 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22110 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22111 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22112 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22113 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22114 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22116 (syscall-list-32-options): Likewise.
22117 (syscall-list-32-condition): Likewise.
22118 (syscall-list-64-options): Likewise.
22119 (syscall-list-64-condition): Likewise.
22120 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22122 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22125 (abi-64-ld-soname): New macro.
22126 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22127 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22130 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22131 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22133 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22135 * sysdeps/unix/sysv/linux/kernel-features.h
22136 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22137 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22138 include <kernel-features.h>.
22139 [!__NR_ftruncate64]: Remove conditional code.
22140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22141 [__NR_ftruncate64]: Make code unconditional.
22142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22143 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22144 include <kernel-features.h>.
22145 [!__NR_ftruncate64]: Remove conditional code.
22146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22147 [__NR_ftruncate64]: Make code unconditional.
22148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22150 include <kernel-features.h>.
22151 [!__NR_ftruncate64]: Remove conditional code.
22152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22153 [__NR_ftruncate64]: Make code unconditional.
22154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22156 include <kernel-features.h>.
22157 [!__NR_ftruncate64]: Remove conditional code.
22158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22159 [__NR_ftruncate64]: Make code unconditional.
22160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22162 * configure.in (libc_cv_fpie): Weaken to a compile test using
22163 LIBC_TRY_CC_OPTION.
22164 * configure: Regenerated.
22166 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22181 2012-05-27 David S. Miller <davem@davemloft.net>
22183 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22185 (__Q_simulate_exceptions): Return void. Change to simulate
22186 exceptions by writing into the %fsr.
22187 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22188 (__Qp_handle_exceptions): Likewise.
22190 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22191 __Qp_handle_exceptions.
22192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22193 __Qp_handle_exceptions.
22194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22195 as unused and give dummy FP_RND_NEAREST initializer.
22196 (FP_INHIBIT_RESULTS): Define.
22197 (___Q_simulate_exceptions): Update declaration.
22198 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22201 as unused and give dummy FP_RND_NEAREST initializer.
22202 (__Qp_handle_exceptions): Update declaration.
22203 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22206 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22208 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22209 the temporary FPU control word.
22210 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22211 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22213 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22214 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22215 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22216 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22218 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22219 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22220 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22222 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22224 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22227 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22229 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22230 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22231 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22232 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22234 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22235 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22238 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22240 * po/h.po: Update from translation team.
22242 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22244 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22246 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22247 handling of denormals.
22248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22249 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22250 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22251 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22257 2012-05-26 Marek Polacek <polacek@redhat.com>
22260 * math/libm-test.inc (fma_test): Don't always expect underflow
22263 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22266 * elf/tst-execstack.c: Include stackinfo.h.
22267 (do_test): Adjust test case to ensure that pthread_getattr_np
22268 behaviour remains the same after marking stack executable.
22270 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22272 * sysdeps/unix/sysv/linux/kernel-features.h
22273 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22274 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22276 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22277 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22278 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22280 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22281 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22283 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22285 * configure.in: Define the default includes to being none.
22286 * configure: Regenerated.
22288 2012-05-25 Roland McGrath <roland@hack.frob.com>
22290 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22291 * sysdeps/x86_64/setjmp.S: Likewise.
22292 * sysdeps/i386/bsd-setjmp.S: Likewise.
22293 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22294 * sysdeps/i386/setjmp.S: Likewise.
22295 * sysdeps/i386/__longjmp.S: Likewise.
22296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22297 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22299 * include/stap-probe.h: New file.
22300 * configure.in: Handle --enable-systemtap.
22301 * configure: Regenerated.
22302 * config.h.in (USE_STAP_PROBE): New #undef.
22303 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22304 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22305 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22307 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22310 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22311 to 2.4.0 where earlier.
22312 * sysdeps/unix/sysv/linux/configure: Regenerated.
22313 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22314 <kernel-features.h>.
22315 [__ASSUME_32BITUIDS]: Make code unconditional.
22316 [!__ASSUME_32BITUIDS]: Remove conditional code.
22317 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22318 <kernel-features.h>.
22319 [__ASSUME_32BITUIDS]: Make code unconditional.
22320 [!__ASSUME_32BITUIDS]: Remove conditional code.
22321 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22322 [__ASSUME_32BITUIDS]: Make code unconditional.
22323 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22324 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22325 <kernel-features.h>.
22326 [__ASSUME_32BITUIDS]: Make code unconditional.
22327 [!__ASSUME_32BITUIDS]: Remove conditional code.
22328 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22329 <kernel-features.h>.
22330 [__ASSUME_32BITUIDS]: Make code unconditional.
22331 [!__ASSUME_32BITUIDS]: Remove conditional code.
22332 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22333 <kernel-features.h>.
22334 [__ASSUME_32BITUIDS]: Make code unconditional.
22335 [!__ASSUME_32BITUIDS]: Remove conditional code.
22336 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22337 <kernel-features.h>.
22338 [__ASSUME_32BITUIDS]: Make code unconditional.
22339 [!__ASSUME_32BITUIDS]: Remove conditional code.
22340 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22341 <kernel-features.h>.
22342 [__ASSUME_32BITUIDS]: Make code unconditional.
22343 [!__ASSUME_32BITUIDS]: Remove conditional code.
22344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22345 <kernel-features.h>.
22346 [__ASSUME_32BITUIDS]: Make code unconditional.
22347 [!__ASSUME_32BITUIDS]: Remove conditional code.
22348 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22349 <kernel-features.h>.
22350 [__ASSUME_32BITUIDS]: Make code unconditional.
22351 [!__ASSUME_32BITUIDS]: Remove conditional code.
22352 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22353 <kernel-features.h>.
22354 [__ASSUME_32BITUIDS]: Make code unconditional.
22355 [!__ASSUME_32BITUIDS]: Remove conditional code.
22356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22357 <kernel-features.h>.
22358 [__ASSUME_32BITUIDS]: Make code unconditional.
22359 [!__ASSUME_32BITUIDS]: Remove conditional code.
22360 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22361 <kernel-features.h>.
22362 [__ASSUME_32BITUIDS]: Make code unconditional.
22363 [!__ASSUME_32BITUIDS]: Remove conditional code.
22364 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22365 <kernel-features.h>.
22366 [__NR_setresgid] (__setresgid): Do not declare.
22367 [__ASSUME_32BITUIDS]: Make code unconditional.
22368 [!__ASSUME_32BITUIDS]: Remove conditional code.
22369 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22370 <kernel-features.h>.
22371 [__NR_setresuid] (__setresuid): Do not declare.
22372 [__ASSUME_32BITUIDS]: Make code unconditional.
22373 [!__ASSUME_32BITUIDS]: Remove conditional code.
22374 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22375 <kernel-features.h>.
22376 [__ASSUME_32BITUIDS]: Make code unconditional.
22377 [!__ASSUME_32BITUIDS]: Remove conditional code.
22378 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22379 <kernel-features.h>.
22380 [__ASSUME_32BITUIDS]: Make code unconditional.
22381 [!__ASSUME_32BITUIDS]: Remove conditional code.
22382 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22383 <kernel-features.h>.
22384 [__ASSUME_32BITUIDS]: Make code unconditional.
22385 [!__ASSUME_32BITUIDS]: Remove conditional code.
22386 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22387 <kernel-features.h>.
22388 [__ASSUME_32BITUIDS]: Make code unconditional.
22389 [!__ASSUME_32BITUIDS]: Remove conditional code.
22390 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22391 <kernel-features.h>.
22392 [__ASSUME_32BITUIDS]: Make code unconditional.
22393 [!__ASSUME_32BITUIDS]: Remove conditional code.
22394 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22395 <kernel-features.h>.
22396 [__ASSUME_32BITUIDS]: Make code unconditional.
22397 [!__ASSUME_32BITUIDS]: Remove conditional code.
22398 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22399 <kernel-features.h>.
22400 [__ASSUME_32BITUIDS]: Make code unconditional.
22401 [!__ASSUME_32BITUIDS]: Remove conditional code.
22402 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22403 <kernel-features.h>.
22404 [__ASSUME_32BITUIDS]: Make code unconditional.
22405 [!__ASSUME_32BITUIDS]: Remove conditional code.
22406 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22407 <kernel-features.h>.
22408 [__ASSUME_32BITUIDS]: Make code unconditional.
22409 [!__ASSUME_32BITUIDS]: Remove conditional code.
22410 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22411 <kernel-features.h>.
22412 [__ASSUME_32BITUIDS]: Make code unconditional.
22413 [!__ASSUME_32BITUIDS]: Remove conditional code.
22414 * sysdeps/unix/sysv/linux/kernel-features.h
22415 (__ASSUME_SETRESUID_SYSCALL): Remove.
22416 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22417 (__ASSUME_32BITUIDS): Likewise.
22418 (__ASSUME_LDT_WORKS): Likewise.
22419 (__ASSUME_O_DIRECTORY): Likewise.
22420 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22421 architecture but not kernel version.
22422 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22423 (__ASSUME_MMAP2_SYSCALL): Likewise.
22424 (__ASSUME_STAT64_SYSCALL): Likewise.
22425 (__ASSUME_IPC64): Likewise.
22426 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22427 <kernel-features.h>.
22428 [__ASSUME_32BITUIDS]: Make code unconditional.
22429 [!__ASSUME_32BITUIDS]: Remove conditional code.
22430 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22431 <kernel-features.h>.
22432 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22433 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22434 132096]: Remove conditional code.
22435 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22436 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22437 <kernel-features.h>.
22438 [__ASSUME_32BITUIDS]: Make code unconditional.
22439 [!__ASSUME_32BITUIDS]: Remove conditional code.
22440 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22441 <kernel-features.h>.
22442 [__ASSUME_32BITUIDS]: Make code unconditional.
22443 [!__ASSUME_32BITUIDS]: Remove conditional code.
22444 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22445 <kernel-features.h>.
22446 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22448 (__setresgid): Do not declare.
22449 [__ASSUME_32BITUIDS]: Make code unconditional.
22450 [!__ASSUME_32BITUIDS]: Remove conditional code.
22451 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22452 <kernel-features.h>.
22453 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22455 (__setresuid): Do not declare.
22456 [__ASSUME_32BITUIDS]: Make code unconditional.
22457 [!__ASSUME_32BITUIDS]: Remove conditional code.
22458 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
22463 <kernel-features.h>.
22464 [__ASSUME_32BITUIDS]: Make code unconditional.
22465 [!__ASSUME_32BITUIDS]: Remove conditional code.
22467 2012-05-25 Richard Henderson <rth@twiddle.net>
22469 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22470 dl_hwcap to ifunc resolver.
22471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22473 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22474 dl_hwcap to ifunc resolver.
22475 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22477 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22480 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22481 for |x| <= 2**-26, not 2**-57.
22482 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22485 2012-05-24 Jeff Law <law@redhat.com>
22487 * stdio-common/Makefile (tests): Add bug25.
22488 * stdio-common/bug25.c: New test.
22490 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22493 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22494 multiple of MALLOC_ALIGNMENT in size.
22495 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22497 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22499 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22501 (FILENAME_MAX): Use macro-int-constant.
22502 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22503 (_IOFBF): Use macro-int-constant.
22504 (_IOLBF): Likewise.
22505 (_IONBF): Likewise.
22506 (SEEK_CUR): Likewise.
22507 (SEEK_END): Likewise.
22508 (SEEK_SET): Likewise.
22509 (TMP_MAX): Likewise.
22510 (EOF): Use macro-int-constant. Require < 0.
22511 (NULL): Use macro-constant. Require == 0.
22512 (stdin): Require type to be FILE *.
22513 (stdout): Likewise.
22514 (stderr): Likewise.
22515 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22516 macro-int-constant.
22517 (EXIT_SUCCESS): Likewise.
22518 (NULL): Use macro-constant. Require == 0.
22519 (RAND_MAX): Use macro-int-constant.
22520 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22521 [C99-based standards] (strtof): Require function.
22522 [C99-based standards] (strtold): Likewise.
22523 [C99-based standards] (strtoll): Likewise.
22524 [C99-based standards] (strtoull): Likewise.
22525 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22526 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22527 [ISO || ISO99 || ISO11] (math.h): Likewise.
22528 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22529 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22532 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22535 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22536 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22537 * intl/dgettext.c (DCGETTEXT): Likewise.
22538 * intl/gettext.c (DCGETTEXT): Likewise.
22539 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22540 * posix/regex_internal.h (gettext): Likewise.
22541 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22542 Remove declaration.
22543 * include/argz.h (__argz_count_internal)
22544 (__argz_stringify_internal): Remove declaration.
22545 (__argz_count, __argz_stringify): Declare hidden proto.
22546 * intl/dcgettext.c: Remove use of INTDEF.
22547 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22548 * string/argz-stringify.c: Likewise.
22549 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22550 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22551 Declare hidden proto.
22552 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22553 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22554 Declare hidden proto.
22555 * include/stdio.h (__asprintf_internal): Don't declare.
22556 (__asprintf): Don't define as macro. Declare hidden proto.
22557 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22558 (__fsetlocking): Declare hidden proto.
22559 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22560 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22562 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22563 (_IO_setlinebuf): Remove use of INTUSE.
22564 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22565 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22566 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22567 Remove declaration.
22568 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22569 (_IO_do_flush): Remove use of INTUSE.
22570 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22571 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22572 (_IO_adjust_column, _IO_least_wmarker)
22573 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22574 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22575 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22576 (_IO_default_doallocate, _IO_wdefault_doallocate)
22577 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22578 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22579 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22580 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22581 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22582 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22583 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22584 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22585 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22586 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22587 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22588 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22589 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22591 (_IO_flush_all_internal, _IO_adjust_column_internal)
22592 (_IO_default_uflow_internal, _IO_default_finish_internal)
22593 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22594 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22595 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22596 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22597 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22598 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22599 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22600 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22601 (_IO_file_close_internal, _IO_file_close_it_internal)
22602 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22603 (_IO_file_init_internal, _IO_file_attach_internal)
22604 (_IO_file_fopen_internal, _IO_file_read_internal)
22605 (_IO_file_sync_internal, _IO_file_seek_internal)
22606 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22607 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22608 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22609 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22610 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22611 (_IO_list_all_internal, _IO_link_in_internal)
22612 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22613 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22614 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22615 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22616 (_IO_do_write_internal, _IO_padn_internal)
22617 (_IO_getline_info_internal, _IO_getline_internal)
22618 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22619 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22620 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22621 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22622 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22623 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22624 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22625 with libc_hidden_ver, remove use of INTUSE.
22626 * libio/genops.c: Likewise.
22627 * libio/freopen.c: Likewise.
22628 * libio/freopen64.c: Likewise.
22629 * libio/iofclose.c: Likewise.
22630 * libio/iofdopen.c: Likewise.
22631 * libio/iofflush.c: Likewise.
22632 * libio/iofflush_u.c: Likewise.
22633 * libio/iofgets.c: Likewise.
22634 * libio/iofgets_u.c: Likewise.
22635 * libio/iofopen.c: Likewise.
22636 * libio/iofopncook.c: Likewise.
22637 * libio/iofread.c: Likewise.
22638 * libio/iofread_u.c: Likewise.
22639 * libio/ioftell.c: Likewise.
22640 * libio/iofwrite.c: Likewise.
22641 * libio/iogetline.c: Likewise.
22642 * libio/iogets.c: Likewise.
22643 * libio/iogetwline.c: Likewise.
22644 * libio/iopadn.c: Likewise.
22645 * libio/iopopen.c: Likewise.
22646 * libio/ioseekoff.c: Likewise.
22647 * libio/ioseekpos.c: Likewise.
22648 * libio/iosetbuffer.c: Likewise.
22649 * libio/iosetvbuf.c: Likewise.
22650 * libio/ioungetc.c: Likewise.
22651 * libio/ioungetwc.c: Likewise.
22652 * libio/iovdprintf.c: Likewise.
22653 * libio/iovsprintf.c: Likewise.
22654 * libio/iovsscanf.c: Likewise.
22655 * libio/memstream.c: Likewise.
22656 * libio/obprintf.c: Likewise.
22657 * libio/oldfileops.c: Likewise.
22658 * libio/oldiofclose.c: Likewise.
22659 * libio/oldiofdopen.c: Likewise.
22660 * libio/oldiofopen.c: Likewise.
22661 * libio/oldiopopen.c: Likewise.
22662 * libio/oldstdfiles.c: Likewise.
22663 * libio/putc.c: Likewise.
22664 * libio/setbuf.c: Likewise.
22665 * libio/setlinebuf.c: Likewise.
22666 * libio/stdfiles.c: Likewise.
22667 * libio/strops.c: Likewise.
22668 * libio/vasprintf.c: Likewise.
22669 * libio/vscanf.c: Likewise.
22670 * libio/vsnprintf.c: Likewise.
22671 * libio/vswprintf.c: Likewise.
22672 * libio/wfiledoalloc.c: Likewise.
22673 * libio/wfileops.c: Likewise.
22674 * libio/wgenops.c: Likewise.
22675 * libio/wmemstream.c: Likewise.
22676 * libio/wstrops.c: Likewise.
22677 * libio/__fpurge.c: Likewise.
22678 * libio/__fsetlocking.c: Likewise.
22679 * assert/assert.c: Likewise.
22680 * debug/fgets_chk.c: Likewise.
22681 * debug/fgets_u_chk.c: Likewise.
22682 * debug/fread_chk.c: Likewise.
22683 * debug/fread_u_chk.c: Likewise.
22684 * debug/gets_chk.c: Likewise.
22685 * debug/obprintf_chk.c: Likewise.
22686 * debug/vasprintf_chk.c: Likewise.
22687 * debug/vdprintf_chk.c: Likewise.
22688 * debug/vsnprintf_chk.c: Likewise.
22689 * debug/vsprintf_chk.c: Likewise.
22690 * malloc/mtrace.c: Likewise.
22691 * misc/error.c: Likewise.
22692 * misc/syslog.c: Likewise.
22693 * stdio-common/asprintf.c: Likewise.
22694 * stdio-common/fxprintf.c: Likewise.
22695 * stdio-common/getw.c: Likewise.
22696 * stdio-common/isoc99_fscanf.c: Likewise.
22697 * stdio-common/isoc99_scanf.c: Likewise.
22698 * stdio-common/isoc99_vfscanf.c: Likewise.
22699 * stdio-common/isoc99_vscanf.c: Likewise.
22700 * stdio-common/isoc99_vsscanf.c: Likewise.
22701 * stdio-common/printf-prs.c: Likewise.
22702 * stdio-common/printf_fp.c: Likewise.
22703 * stdio-common/printf_fphex.c: Likewise.
22704 * stdio-common/printf_size.c: Likewise.
22705 * stdio-common/putw.c: Likewise.
22706 * stdio-common/scanf.c: Likewise.
22707 * stdio-common/sprintf.c: Likewise.
22708 * stdio-common/tmpfile.c: Likewise.
22709 * stdio-common/vfprintf.c: Likewise.
22710 * stdio-common/vfscanf.c: Likewise.
22711 * stdlib/strfmon_l.c: Likewise.
22712 * sunrpc/openchild.c: Likewise.
22713 * sunrpc/xdr_stdio.c: Likewise.
22714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22715 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22717 2012-05-24 Roland McGrath <roland@hack.frob.com>
22719 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22721 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22722 in the third column, to generate for the shared library an IFUNC
22723 that uses _dl_vdso_vsym.
22724 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22725 * Makeconfig (object-suffixes-noshared): New variable.
22727 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22728 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22729 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22730 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22733 * include/sys/time.h (__gettimeofday): Remove macro.
22734 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22735 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22737 (__gettimeofday): Add libc_hidden_def.
22738 (gettimeofday): Add libc_hidden_weak.
22739 * sysdeps/mach/gettimeofday.c: Likewise.
22740 * sysdeps/posix/gettimeofday.c: Likewise.
22741 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22742 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22744 (__gettimeofday_internal): Remove strong_alias.
22745 (__gettimeofday): Add libc_hidden_def.
22746 (gettimeofday): Add libc_hidden_weak.
22747 * sysdeps/unix/syscalls.list (gettimeofday):
22748 Remove __gettimeofday_internal alias.
22750 2012-05-24 Daniel Jacobowitz <drow@false.org>
22751 H.J. Lu <hongjiu.lu@intel.com>
22754 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22755 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22756 (largebin_index_32_big): New.
22757 (largebin_index): Use it for 16-byte alignment.
22758 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22759 correction with front_misalign.
22761 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22789 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22790 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22792 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22796 * math/libm-test.inc (exp_test): Add test from bug 14036.
22797 (pow_test): Add test from bug 10846.
22799 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22801 (special_function): Do not include flags in test name.
22802 (parse_args): Likewise.
22803 * sysdeps/i386/fpu/libm-test-ulps: Update.
22804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22805 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22806 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22809 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22811 * math/libm-test.inc ("Philosophy"): Update comment about
22813 (UNDERFLOW_EXCEPTION): New macro.
22814 (UNDERFLOW_EXCEPTION_OK): Likewise.
22815 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22816 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22817 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22818 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22819 (INVALID_EXCEPTION_OK): Update value.
22820 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22821 (OVERFLOW_EXCEPTION_OK): Likewise.
22822 (IGNORE_ZERO_INF_SIGN): Likewise.
22823 (test_exceptions): Handle underflow exceptions.
22824 (acos_test): Update for underflow exception expectations.
22825 (cexp_test): Likewise.
22826 (clog_test): Likewise.
22827 (clog10_test): Likewise.
22828 (csqrt_test): Likewise.
22829 (ctan_test): Likewise.
22830 (ctanh_test): Likewise.
22831 (exp_test): Likewise.
22832 (exp10_test): Likewise.
22833 (exp2_test): Likewise.
22834 (expm1_test): Likewise.
22835 (fma_test): Likewise.
22836 (j0_test): Likewise.
22837 (jn_test): Likewise.
22838 (nexttoward_test): Likewise.
22839 (pow_test): Likewise.
22840 (scalbn_test): Likewise.
22841 (scalbln_test): Likewise.
22842 (tan_test): Likewise.
22843 (y1_test): Likewise.
22844 * sysdeps/i386/fpu/libm-test-ulps: Update.
22845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22847 2012-05-23 David S. Miller <davem@davemloft.net>
22849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22850 (__libc_sigaction): Remove unused local variables.
22852 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22854 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22856 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22858 mktime: avoid signed integer overflow
22859 * time/mktime.c (__mktime_internal): Do not mishandle the case
22860 where diff == INT_MIN.
22862 mktime: simplify computation of average
22863 * time/mktime.c (ranged_convert): Use new time_t_avg function
22864 instead of rolling our own (probably-slower) code.
22866 mktime: do not assume signed right shift propagates sign bit
22867 * time/mktime.c (isdst_differ): New static function.
22868 (__mktime_internal): No need to normalize tm_isdst now.
22869 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22872 mktime: merge another wrapv change from gnulib
22873 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22874 from some compilers.
22876 mktime: remove incorrect attempt at unusual arithmetics
22877 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22878 The code didn't really work on such machines anyway.
22879 (TYPE_MINIMUM): Assume two's complement.
22880 (twos_complement_arithmetic): Verify that long_int and time_t
22881 are two's complement (or unsigned, in the latter case).
22883 mktime: check signed shifts on long_int and time_t, too
22884 * time/mktime.c (SHR): Check that shifts work as desired
22885 on the types long_int and time_t too, as SHR is used on
22888 mktime: do not assume 'long' is wide enough
22889 * time/mktime.c (verify): Move decl up.
22890 (long_int): New type.
22891 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22892 to remove assumption in the code that 'long' is wide enough to
22893 store year values. This assumption is not true on x32 and on
22894 some non-glibc platforms.
22896 mktime: merge wrapv change from gnulib
22897 * time/mktime.c (WRAPV): New macro.
22898 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22899 (guess_time_tm, __mktime_internal): Do not assume that signed
22900 integer overflow wraps around; modern compilers generate code
22901 where this assumption is no longer valid.
22903 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22905 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22906 Replace "jmp L(pseudo_end)" with "ret".
22907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22910 2012-05-23 Andreas Jaeger <aj@suse.de>
22912 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22913 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22915 2012-05-23 Andreas Jaeger <aj@suse.de>
22916 Maximilian Attems <max@stro.at>
22918 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22921 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22924 code so that pseudo_end is just ret and the stack pointer is
22925 correct also for static library in error case.
22927 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22929 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22930 move to syscalls.list.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22936 * manual/install.texi (Running make install): Do not mention Linux
22937 kernel version for which pt_chown is not needed.
22938 (Linux): Do not mention problems with nscd with 2.0 kernels.
22939 * INSTALL: Regenerated.
22941 2012-05-23 Andreas Jaeger <aj@suse.de>
22943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22944 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22946 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22948 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22950 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22952 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22954 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22955 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22956 * sysdeps/unix/sysv/linux/bits/in.h
22957 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22959 2012-05-22 Roland McGrath <roland@hack.frob.com>
22961 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22962 (PREPARE_VERSION): Just use assert instead, it will be elided
22963 under [NDEBUG] anyway.
22965 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22967 * sysdeps/unix/sysv/linux/Makefile: Include
22968 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22969 (sysdep_routines): Remove sysctl.
22970 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22971 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22972 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22973 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22974 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22976 2012-05-22 Andreas Jaeger <aj@suse.de>
22978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22979 that pseudo_end is just ret and the stack pointer is correct also
22980 for static library in error case.
22982 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22985 * nss/nsswitch.c (defconfig_entries): New variable.
22986 (__nss_database_lookup): Don't leak defconfig entries.
22987 (nss_parse_service_list): Don't leak on error paths.
22988 (free_database_entries): New function.
22989 (free_defconfig): New function.
22990 (free_mem): Move common code to free_database_entries.
22992 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22996 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22998 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22999 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23002 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23003 (INTERNAL_SYSCALL_TYPES): Likewise.
23004 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23005 (LOAD_REGS_TYPES_[1-6]): Likewise.
23006 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23007 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23009 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23012 copysignl for GLIBC_2_0.
23013 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23014 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23016 logbl for GLIBC_2_0.
23017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23018 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23020 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23022 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23023 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23025 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23028 * time/mktime.c: Update copyright years.
23030 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23032 mktime: merge comment-quoting-style change from gnulib
23033 * time/mktime.c: Quote 'like this' in comments.
23034 The GNU coding standards suggest that we no longer quote `like this',
23035 as "`" and "'" are typically rendered asymmetrically nowadays.
23036 The typical gnulib style is to quote 'like this' when quoting
23037 code, and "like this" when quoting English.
23039 * time/mktime.c (compile-command): Add "-I.".
23041 mktime: merge mktime-internal.h change from gnulib
23042 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23044 mktime: merge time_r change from gnulib
23045 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23047 mktime: merge DEBUG change from gnulib
23048 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23049 case system <time.h> has a #define.
23051 mktime: merge <sys/types.h> change from gnulib
23052 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23053 since <time.t> is now guaranteed to define time_t.
23055 mktime: merge HAVE_CONFIG_H change from gnulib
23056 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23058 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23063 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23065 (struct rusage): Use anonymous union to pad each field to
23068 2012-05-21 David S. Miller <davem@davemloft.net>
23070 * Makefules (o-iterator): Remove .s cases.
23071 (compile-command.s): Delete.
23072 (COMPILE.s): Delete.
23073 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23075 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23077 * configure.in (libc_cv_predef_stack_protector): Only consider
23078 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23079 * configure: Regenerated.
23081 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23084 New macro. Use R*LP on int and pointer.
23085 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23086 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23087 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23088 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23090 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23091 [__WORDSIZE_TIME64_COMPAT32] instead of
23092 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23093 (struct utmp): Likewise.
23094 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23095 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23097 (__WORDSIZE_TIME64_COMPAT32): This.
23098 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23099 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23100 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23101 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23102 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23103 (__WORDSIZE_TIME64_COMPAT32): New macro.
23105 2012-05-21 Andreas Jaeger <aj@suse.de>
23107 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23108 only if [SHARED]. Add prototype for __wcschr_ia32.
23110 2012-05-21 Roland McGrath <roland@hack.frob.com>
23112 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23113 of %rbp unmolested in the jmp_buf while mangling the low bits.
23114 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23115 unmolested high bits of %rbp while demangling the low bits.
23116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23118 2012-05-21 Andreas Jaeger <aj@suse.de>
23120 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23121 * sunrpc/svc_simple.c: Use it for registerrpc.
23122 * sunrpc/xcrypt.c: Use it for passwd2des.
23124 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23126 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23128 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23129 Don't define if [__SYSCALL_WORDSIZE != 32].
23130 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23133 2012-05-21 Bruno Haible <bruno@clisp.org>
23134 Andreas Jaeger <aj@suse.de>
23136 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23137 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23138 inptr and inend for must_buffer_ch.
23139 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23140 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23141 * stdio-common/Makefile (tests): Remove bug15.
23142 (bug15-ENV): Remove macro.
23143 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23146 2012-05-19 Andreas Jaeger <aj@suse.de>
23147 Roland McGrath <roland@hack.frob.com>
23149 * manual/contrib.texi: Completely rewritten. It contains now an
23150 alphabetical list of contributors and their contributions.
23152 2012-05-21 Richard Henderson <rth@twiddle.net>
23154 * misc/getauxval.c (__getauxval): Use unsigned long int.
23155 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23156 (getauxval): Use unsigned long int.
23158 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23160 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23162 2012-05-21 Roland McGrath <roland@hack.frob.com>
23164 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23165 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23166 __alignof__ (long double).
23168 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23172 2012-05-20 Richard Henderson <rth@twiddle.net>
23174 * misc/getauxval.c: New file.
23175 * misc/sys/auxv.h: New file.
23176 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23177 (routines): Add getauxval.
23178 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23180 * elf/dl-sysdep.c (_dl_auxv): Remove.
23181 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23182 * elf/dl-support.c (_dl_auxv): New variable.
23183 (_dl_aux_init): Initialize it.
23184 * manual/startup.texi (Auxiliary Vector): New node.
23185 * sysdeps/generic/bits/hwcap.h: New file.
23186 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23187 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23188 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23189 * sysdeps/sparc/sysdep.h: ... here. Include it.
23190 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23203 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23207 2012-05-19 David S. Miller <davem@davemloft.net>
23209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23211 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23214 * math/s_ccosh.c: Include <float.h>
23215 (__ccosh): Avoid internal overflow calculating sinh and cosh
23216 values before multiplying by sin and cos values.
23217 * math/s_ccoshf.c: Likewise.
23218 * math/s_ccoshl.c: Likewise.
23219 * math/s_csin.c: Likewise.
23220 * math/s_csinf.c: Likewise.
23221 * math/s_csinl.c: Likewise.
23222 * math/s_csinh.c: Likewise.
23223 * math/s_csinhf.c: Likewise.
23224 * math/s_csinhl.c: Likewise.
23225 * math/libm-test.inc (ccos_test): Add more tests.
23226 (ccosh_test): Likewise.
23227 (csin_test): Likewise.
23228 (csinh_test): Likewise.
23229 * sysdeps/i386/fpu/libm-test-ulps: Update.
23230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23232 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23234 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23235 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23237 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23239 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23241 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23242 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23243 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23244 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23245 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23246 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23247 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23248 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23249 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23250 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23251 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23252 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23253 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23254 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23255 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23256 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23257 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23258 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23259 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23260 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23261 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23262 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23263 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23264 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23265 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23266 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23267 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23268 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23269 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23270 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23271 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23273 2012-05-18 Andreas Jaeger <aj@suse.de>
23275 * csu/.gitignore: Delete.
23277 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23279 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23280 (timex): Use __syscall_slong_t.
23282 2012-05-18 Andreas Jaeger <aj@suse.de>
23283 Carlos O'Donell <carlos_odonell@mentor.com>
23285 * manual/install.texi (Configuring and compiling): Update
23286 description about files modified in the source directory.
23287 * INSTALL: Regenerated.
23289 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23291 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23292 value. Use "or" to set return value to -1.
23293 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23294 negate return value.
23296 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23298 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23299 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23300 failure if the compiler has Graphite support disabled.
23301 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23303 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23304 CFLAGS-memmove.c): Likewise.
23305 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23308 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23310 * sysdeps/x86_64/x32/_itoa.h: New file.
23312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23313 getdents system call only if kernel and user dirents have the
23314 same d_ino and d_off.
23316 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23317 LLONG_MAX != LONG_MAX.
23318 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23319 (_fitoa_word): Likewise.
23321 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23325 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23327 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23328 include <bits/wordsize.h>. Check __x86_64__ instead of
23330 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23331 if __x86_64__ is defined. Use anonymous union on fpstate.
23333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23336 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23338 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23339 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23340 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23341 Refer to _rtld_local_ro instead of _rtld_global_ro.
23342 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23344 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23346 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23348 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23349 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23350 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23352 * sysdeps/powerpc/powerpc32/dl-machine.c
23353 (__elf_machine_runtime_setup) [PROF]: Don't reference
23356 2012-05-18 Andreas Jaeger <aj@suse.de>
23358 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23359 function only available for GCCs before 3.4 since GCC 3.4
23360 introduced a builtin.
23362 (llrintf): Likewise.
23363 (llrint): Likewise.
23370 (nearbyint): Likewise.
23371 (nearbyintf): Likewise.
23375 (floorf): Likewise.
23377 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23379 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23380 on both fields and cast pointer to __syscall_ulong_t.
23382 * bits/types.h (__fsword_t): New type.
23383 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23384 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23386 (__FSWORD_T_TYPE): Likewise.
23387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23388 (__FSWORD_T_TYPE): Likewise.
23389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23390 (__FSWORD_T_TYPE): Likewise.
23391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23392 (__FSWORD_T_TYPE): Likewise.
23393 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23394 __SWORD_TYPE with __fsword_t.
23395 (statfs64): Likewise.
23397 2012-05-17 David S. Miller <davem@davemloft.net>
23399 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23401 2012-05-17 Andreas Jaeger <aj@suse.de>
23403 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23406 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23408 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23410 2012-05-17 Andreas Jaeger <aj@suse.de>
23412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23415 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23417 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23419 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23421 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23422 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23424 2012-05-17 Andreas Jaeger <aj@suse.de>
23425 Carlos O'Donell <carlos_odonell@mentor.com>
23428 * sysdeps/x86_64/multiarch/init-arch.h
23429 (bit_YMM_Usable): Rename to...
23430 (bit_AVX_Usable): ... this.
23431 (bit_FMA4_Usable): New macro.
23432 (bit_XMM_state): New macro.
23433 (bit_YMM_state): New macro.
23434 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23435 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23436 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23437 (CPUID_OSXSAVE): New macro.
23438 (CPUID_AVX): New macro.
23439 (CPUID_FMA4): New macro.
23440 (index_YMM_Usable): Rename to...
23441 (index_AVX_Usable): ... this.
23442 (HAS_AVX): Use HAS_ARCH_FEATURE.
23443 (HAS_FMA4): Likewise.
23444 (HAS_YMM_USABLE): Remove.
23445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23446 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23448 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23449 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23450 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23451 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23452 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23454 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23456 * math/libm-test.c: Support platforms without multiple rounding modes.
23457 * math/bug-nextafter.c: Support platforms without FP exceptions.
23458 * math/bug-nexttoward.c: Likewise.
23459 * math/test-fenv.c: Likewise.
23460 * math/test-misc.c: Likewise.
23461 * stdlib/bug-getcontext.c: Likewise.
23463 2012-05-17 Andreas Jaeger <aj@suse.de>
23465 * manual/examples/search.c (critter_cmp): Change signature to
23467 * manual/string.texi (Collation Functions): Likewise.
23469 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23471 * bits/types.h: Fold copyright years.
23472 * bits/typesizes.h: Likewise.
23473 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23477 * time/time.h: Likewise.
23479 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23482 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23483 in instead of returning them. Return void.
23484 (__libc_mallinfo): Accumulate over all arenas.
23485 (__malloc_stats): Adjust for change in int_mallinfo interface.
23487 2012-05-16 Roland McGrath <roland@hack.frob.com>
23490 * configure.in (NM): Add AC_CHECK_TOOL for it.
23491 (libc_extra_cflags): New substituted variable.
23492 Check for -fstack-protector being used implicitly.
23493 * configure: Regenerated.
23494 * config.make.in (config-extra-cflags): New variable,
23495 gets @libc_extra_cflags@.
23496 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23499 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23500 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23501 * configure: Regenerated.
23502 * config.make.in (CPPUNDEFS): New substituted variable.
23503 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23504 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23505 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23509 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23510 (mq_attr): Use __syscall_slong_t.
23512 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23514 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23515 Check __x86_64__ instead of __WORDSIZE.
23516 (_STAT_VER_LINUX): Likewise.
23517 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23518 __syscall_ulong_t and __syscall_slong_t.
23519 (stat64): Likewise.
23521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23523 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23527 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23529 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23531 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23534 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23535 include <bits/wordsize.h>. Check __x86_64__ instead of
23537 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23539 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23542 include <bits/wordsize.h>. Check __x86_64__ instead of
23544 (user_regs_struct): Use "__extension__ unsigned long long"
23545 instead of "unsigned long" if __x86_64__ is defined.
23546 (user): Likewise. Pad after pointer field if __ILP32__ is
23549 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23551 * configure.in (makeinfo): Require version 4.5 or later. Allow
23553 * configure: Regenerated.
23554 * manual/install.texi (texinfo): Increase version requirement to
23556 * INSTALL: Regenerated.
23558 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23560 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23562 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23564 * sysdeps/x86_64/x32/ffs.c: New file.
23566 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23568 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23569 defined. Use __syscall_ulong_t.
23570 (shminfo): Use __syscall_ulong_t.
23571 (shm_info): Likewise.
23573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23576 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23578 (msgqnum_t): Use __syscall_ulong_t.
23579 (msglen_t): Likewise.
23580 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23583 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23586 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23588 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23589 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23591 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23594 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23595 include <bits/wordsize.h>. Check __x86_64__ instead of
23598 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23599 "unsigned long long int" if __x86_64__ is defined.
23600 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23603 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23604 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23606 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23608 (GET_PC): Cast to uintptr_t first.
23609 (GET_FRAME): Likewise.
23610 (GET_STACK): Likewise.
23612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23615 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23617 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23618 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23619 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23620 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23622 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23626 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23628 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23637 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23638 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23642 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23644 * Makerules (+depfiles): Also collect depfiles from .oS in
23646 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23647 .oS, $(libnldbl-routines)).
23649 * Makerules (native-compile-mkdep-flags): Define.
23650 * sunrpc/Makefile (extra-objs): Add $(addprefix
23651 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23652 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23653 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23654 calling $(make-target-directory).
23656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23658 * bits/types.h (__snseconds_t): Removed.
23659 * time/time.h (struct timespec): Replace __snseconds_t with
23661 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23662 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23665 (__SNSECONDS_T_TYPE): Likewise.
23666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23667 (__SNSECONDS_T_TYPE): Likewise.
23668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23669 (__SNSECONDS_T_TYPE): Likewise.
23671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23673 * sysdeps/mach/hurd/bits/typesizes.h
23674 (__SYSCALL_SLONG_TYPE): New macro.
23675 (__SYSCALL_ULONG_TYPE): Likewise.
23677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23679 * bits/types.h (__syscall_slong_t): New type.
23680 (__syscall_ulong_t): Likewise.
23682 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23683 (__SYSCALL_ULONG_TYPE): Likewise.
23684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23685 (__SYSCALL_SLONG_TYPE): Likewise.
23686 (__SYSCALL_ULONG_TYPE): Likewise.
23687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23688 (__SYSCALL_SLONG_TYPE): Likewise.
23689 (__SYSCALL_ULONG_TYPE): Likewise.
23690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23691 (__SYSCALL_SLONG_TYPE): Likewise.
23692 (__SYSCALL_ULONG_TYPE): Likewise.
23694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23696 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23697 Add sigaltstack-offsets.sym.
23698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23699 <sigaltstack-offsets.h>.
23700 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23701 longjmp_msg pointer.
23702 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23703 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23705 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23707 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23709 * elf/stackguard-macros.h: Remove file.
23710 * sysdeps/generic/stackguard-macros.h: New file.
23711 * sysdeps/i386/stackguard-macros.h: Likewise.
23712 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23713 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23714 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23715 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23716 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23717 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23718 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23719 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23720 <elf/stackguard-macros.h>.
23723 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23724 __aligned__ in attribute.
23725 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23726 (gregset_t): Likewise.
23728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23730 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23731 * sysdeps/x86_64/64/Implies-after: Here. New file.
23732 * sysdeps/x86_64/x32/Implies-after: New file.
23734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23736 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23737 and access return value for _dl_profile_fixup. Use R10_LP to
23740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23742 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23746 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23747 * sysdeps/x86_64/x32/sysdep.h: New file.
23749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23751 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23752 * sysdeps/x86_64/setjmp.S: Likewise.
23754 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23757 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23758 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23760 remove unused global constant.
23762 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23764 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23765 include of <not-cancel.h>.
23767 2012-05-15 Roland McGrath <roland@hack.frob.com>
23769 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23771 2012-05-15 Jeff Law <law@redhat.com>
23772 Andreas Jaeger <aj@suse.de>
23775 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23777 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23778 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23779 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23780 code changing __hst_map_handle.map.
23782 2012-05-15 Roland McGrath <roland@hack.frob.com>
23784 * configure.in (sysnames): Look for Implies-before and Implies-after
23786 * configure: Regenerated.
23788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23790 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23791 8-byte data alignment with LP_SIZE alignment.
23793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23795 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23800 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23804 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23805 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23808 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23812 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23813 (stackinfo_sub_sp): Likewise.
23815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23832 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23836 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23837 into R11_LP and load __x86_64_shared_cache_size_half into
23840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23845 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23854 powerpc32/power7/fpu/s_logb.c via #include.
23855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23856 powerpc32/power7/fpu/s_logbf.c via #include.
23857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23858 powerpc32/power7/fpu/s_logbl.c via #include.
23860 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23862 * README.libm: Remove file.
23864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23866 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23867 count for x32. Use R*_LP and omit operand-size suffix.
23869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23871 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23872 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23873 * sysdeps/x86_64/x32/shlib-versions: New file.
23875 2012-05-14 Roland McGrath <roland@hack.frob.com>
23877 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23878 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23879 Use _dl_fatal_printf instead.
23881 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23883 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23884 set if not set by the user. Do not allow for being unset.
23885 * sysdeps/unix/sysv/linux/configure: Regenerated.
23887 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23889 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23890 the `q' suffix from lea and replace .quad with ASM_ADDR.
23892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23895 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23897 (PTR_DEMANGLE): Likewise.
23899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23901 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23903 (ASM_ADDR): Likewise.
23904 (RAX_LP): Likewise.
23905 (RBP_LP): Likewise.
23906 (RBX_LP): Likewise.
23907 (RCX_LP): Likewise.
23908 (RDI_LP): Likewise.
23909 (RSI_LP): Likewise.
23910 (RSP_LP): Likewise.
23913 (R10_LP): Likewise.
23914 (R10_LP): Likewise.
23915 (R11_LP): Likewise.
23916 (R12_LP): Likewise.
23917 (R13_LP): Likewise.
23918 (R14_LP): Likewise.
23919 (R15_LP): Likewise.
23921 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23923 * sysdeps/x86_64/x32/dl-machine.h: New file.
23925 2012-05-14 Andreas Jaeger <aj@suse.de>
23927 * manual/Makefile (subdir): Remove export of subdir.
23928 (all): Remove target.
23929 (.PHONY): Remove all from list.
23930 (mkinstalldirs): Remove.
23931 (.PHONY): Remove installdirs from list.
23932 ($(inst_infodir)/libc.info): Use make-target-directory.
23933 (installdirs): Remove.
23934 (subdir_%): Remove.
23935 (glibc-targets): Remove.
23938 ($(objpfx)stubs ../po/manual.pot): Remove.
23939 ($(objpfx)stamp%): Remove.
23940 (make-target-directory): Remove.
23941 (subdir_install): Remove.
23942 (routines): Remove.
23949 * manual/.gitignore: Remove, it's not needed anymore.
23950 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23952 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23954 (texis): Renamed to $(objpfx)texis.
23955 (texis-path): New, contains path to generated files.
23956 (chapters.%): Use texis-path for complete path, add extra argument
23958 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23959 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23960 (summary,texi, stamp-summary): Use complete path of
23961 files. Generate files in build dir.
23962 (dir-add.texi): Build in build dir.
23963 (libm-err.texi,stamp-libm-err): Likewise.
23964 (version.texi, stamp-version): Likewise.
23965 (.%c.texi): Likewise.
23966 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23967 (mostlyclean): Remove target.
23968 (realclean): Remove target.
23969 (generated): Add new variable with contents from mostlyclean and
23970 realclean, remove entries duplicated in common-mostlyclean, add
23971 stamp-libm-err and stamp-version.
23972 (generated-dirs): Add libc directory.
23973 ($(inst_infodir)/libc.info): Install files from build dir.
23975 * manual/install.texi (Configuring and compiling): Adjust since
23976 the info files are not part of the tar ball anymore.
23978 2012-05-14 Andreas Jaeger <aj@suse.de>
23980 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23983 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23987 to 2.2.0 where earlier.
23988 * sysdeps/unix/sysv/linux/configure: Regenerated.
23989 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23990 Remove conditional code.
23991 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23992 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23993 Remove conditional code.
23994 [!__NR_lchown]: Likewise.
23995 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23996 [__NR_lchown]: Likewise.
23997 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23998 comment referencing __ASSUME_LCHOWN_SYSCALL.
23999 * sysdeps/unix/sysv/linux/i386/sigaction.c
24000 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24001 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24002 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24003 Remove conditional code.
24004 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24005 (__protocol_available): Remove #if 0 code.
24006 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24008 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24009 * sysdeps/unix/sysv/linux/kernel-features.h
24010 (__ASSUME_GETCWD_SYSCALL): Don't define.
24011 (__ASSUME_REALTIME_SIGNALS): Likewise.
24012 (__ASSUME_PREAD_SYSCALL): Likewise.
24013 (__ASSUME_PWRITE_SYSCALL): Likewise.
24014 (__ASSUME_POLL_SYSCALL): Likewise.
24015 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24016 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24018 (__ASSUME_SIOCGIFNAME): Don't define.
24019 (__ASSUME_MSG_NOSIGNAL): Likewise.
24020 (__ASSUME_SENDFILE): Define unconditionally.
24021 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24022 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24024 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24025 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24026 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24027 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24028 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24029 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24030 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24032 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24035 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24041 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24047 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24053 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24055 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24056 Remove conditional code.
24057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24058 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24059 Remove conditional code.
24060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24061 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24062 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24063 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24064 Remove conditional code.
24065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24066 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24067 Remove conditional code.
24068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24069 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24070 Remove conditional code.
24071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24072 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24073 Remove conditional code.
24074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24075 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24076 Remove conditional code.
24077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24078 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24081 * sysdeps/unix/sysv/linux/sigaction.c
24082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24084 * sysdeps/unix/sysv/linux/sigpending.c
24085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24087 * sysdeps/unix/sysv/linux/sigprocmask.c
24088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24090 * sysdeps/unix/sysv/linux/sigsuspend.c
24091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24093 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24094 (__libc_missing_rt_sigs): Remove.
24095 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24096 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24097 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24098 Remove conditional code.
24099 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24100 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24102 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24103 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24105 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24107 2012-05-14 Andreas Jaeger <aj@suse.de>
24109 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24110 it's not used in glibc.
24111 (__coshm1): Likewise.
24112 (__acosh1p): Likewise.
24115 * manual/string.texi (Copying and Concatenation): Add missing
24116 variable in concat example.
24117 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24123 __builtin_clzl with __builtin_clzll.
24125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24128 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24131 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24133 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24134 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24135 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24136 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24138 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24140 * NEWS: Update ia64 info.
24142 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24144 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24147 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24149 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24150 * sysdeps/unix/syscalls.list (dup3): Likewise.
24151 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24152 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24154 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24156 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24157 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24159 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24161 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24163 (TLS_IE): Use mov/add instead of movq/addq to load thread
24165 (TLS_GD_PREFIX): New.
24168 2012-05-11 David S. Miller <davem@davemloft.net>
24170 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24171 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24172 (_FPU_SETCW): Likewise.
24174 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24176 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24177 is 32-byte aligned.
24179 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24182 * iconvdata/gb18030.c: Update tables.
24183 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24184 characters specially.
24185 (BODY for TO_LOOP): Add encoding of missing ranges.
24187 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24190 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24191 * sysdeps/mach/hurd/dup3.c: Likewise.
24192 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24193 * sysdeps/powerpc/memmove.c:: Likewise.
24195 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24198 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24200 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24202 * elf/elf.h (R_X86_64_RELATIVE64): New.
24203 (R_X86_64_NUM): Updated.
24204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24205 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24206 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24207 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24208 tst-quad1pie tst-quad2pie
24209 (modules-names): Add tst-quadmod1 tst-quadmod2.
24210 ($(objpfx)tst-quad1): New dependency.
24211 ($(objpfx)tst-quad2): Likewise.
24212 ($(objpfx)tst-quad1pie): Likewise.
24213 ($(objpfx)tst-quad2pie): Likewise.
24214 * sysdeps/x86_64/tst-quad1.c: New file.
24215 * sysdeps/x86_64/tst-quad1pie.c: New file.
24216 * sysdeps/x86_64/tst-quad2.c: Likewise.
24217 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24218 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24219 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24220 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24221 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24223 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24225 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24226 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24227 * streams/stropts.h (t_scalar_t): Define type.
24229 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24230 (_PATH_PRESERVE): Set to "/var/lib".
24231 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24233 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24236 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24237 if __dir_mkfile succeeded.
24239 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24240 checking for _hurd_dtablesize. Unlock it right after having
24241 finished _hurd_dtable allocation.
24243 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24245 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24246 * sysdeps/mach/hurd/configure: Regenerated.
24247 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24248 special-casing to...
24249 * sysdeps/gnu/configure.in: ... this new file.
24250 * sysdeps/unix/sysv/linux/configure: Regenerated.
24251 * sysdeps/gnu/configure: New generated file.
24253 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24254 for Linux: use nsec instead of usec, as well as:
24255 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24256 members of type struct timespec.
24257 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24259 (struct stat64): Likewise.
24260 (_STATBUF_ST_NSEC): New macro.
24261 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24263 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24264 __strtoul_internal rather than strtoul.
24266 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24268 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24273 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24274 which preserves existing values.
24275 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24277 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24279 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24280 TIMEOUT values. Return EINVAL for NFDS values either negative or
24281 greater than FD_SETSIZE.
24283 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24285 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24286 allocated, call __vm_protect to finish enabling the existing space, and
24287 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24288 allocate the remainder.
24290 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24292 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24293 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24297 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24298 sysdeps/mach/hurd/readlink.c.
24300 * posix/tst-sysconf.c (posix_options): Only use
24301 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24302 _POSIX_SYNCHRONIZED_IO when they are defined
24303 * sysdeps/mach/hurd/bits/posix_opt.h:
24304 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24305 (_XOPEN_REALTIME): Undefine macro.
24306 (_XOPEN_REALTIME_THREADS): Undefine macro.
24307 (_XOPEN_SHM): Undefine macro.
24308 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24310 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24312 (_POSIX_ASYNC_IO): Undefine macro.
24313 (_POSIX_PRIORITIZED_IO): Undefine macro.
24314 (_POSIX_SPIN_LOCKS): Define macro to -1.
24316 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24317 SA_NODEFER, SA_RESETHAND.
24318 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24319 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24324 * elf/Makefile (pldd-modules): Define unconditionally.
24326 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24328 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24330 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24332 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24333 Return ENOENT when name is empty.
24334 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24338 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24340 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24344 Fix mlock in all cases except non-readable pages.
24345 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24346 instead of VM_PROT_ALL as parameter to __vm_wire function.
24348 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24349 (__mkdir): When path is `/', just fail with EEXIST.
24350 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24352 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24354 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24355 <sys/uio.h> (for writev).
24356 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24357 and <sys/param.h> (for MIN).
24359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24361 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24362 REQUESTED_TIME. Properly set the remaining time and return EINTR
24365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24367 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24368 Depend on against $(link-rpcuserlibs).
24370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24372 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24373 (__libc_stack_end): Do not use attribute_relro.
24374 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24375 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24376 to libthread-provided value.
24377 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24383 * bits/libc-lock.h (__libc_once_get): New macro.
24384 * sysdeps/mach/bits/libc-lock.h: Likewise.
24385 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24386 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24387 instead of using implementation details.
24389 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24390 * libio/freopen.c: Likewise.
24391 * libio/freopen64.c: Likewise.
24392 * misc/syslog.c: Likewise.
24393 * nscd/connections.c: Likewise.
24394 * nscd/netgroupcache.c: Likewise.
24395 * sysdeps/posix/getcwd.c: Likewise.
24397 2012-05-10 Roland McGrath <roland@hack.frob.com>
24399 * math/w_ilogbf.c: Add #include <limits.h>.
24401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24403 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24404 path instead of returning without unlocking.
24406 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24407 immediate-write ioctls.
24408 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24412 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24413 __builtin_frame_address instead of making assumptions about the
24414 location of the return address relative to DATA. Force early load of
24415 the return address.
24416 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24417 __builtin_frame_address.
24420 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24421 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24422 implement dup3 and do some further code clean-ups.
24423 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24424 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24428 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24430 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24431 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24432 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24433 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24434 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24437 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24438 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24439 when handler == SIG_ERR, not when handler != SIG_ERR.
24441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24443 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24444 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24447 accept4 for GNU Hurd.
24448 * include/sys/socket.h (__libc_accept4): New prototype.
24449 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24450 to implement __libc_accept4.
24451 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24453 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24455 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24456 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24457 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24458 signal-defines.sym.
24460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24462 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24466 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24467 assertion on O_CLOEXEC flag.
24468 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24469 * hurd/intern-fd.c: Likewise.
24470 * hurd/port2fd.c: Likewise.
24472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24475 * bits/in.h (IPV6_PKTINFO): Define new macro.
24476 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24478 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24483 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24485 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24488 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24489 * math/libm-test.inc (logb_test) : Additional logb tests.
24491 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24492 Andreas Jaeger <aj@suse.de>
24494 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24495 * configure: Regenerated.
24496 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24497 * config.make.in (link-obsolete-rpc): New substituted variable.
24498 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24499 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24500 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24501 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24502 so that libc.a contains the symbols.
24503 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24504 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24505 * sunrpc/auth_none.c: Likewise.
24506 * sunrpc/auth_unix.c: Likewise.
24507 * sunrpc/authdes_prot.c: Likewise.
24508 * sunrpc/authuxprot.c: Likewise.
24509 * sunrpc/clnt_gen.c: Likewise.
24510 * sunrpc/clnt_perr.c: Likewise.
24511 * sunrpc/clnt_raw.c: Likewise.
24512 * sunrpc/clnt_simp.c: Likewise.
24513 * sunrpc/clnt_tcp.c: Likewise.
24514 * sunrpc/clnt_udp.c: Likewise.
24515 * sunrpc/clnt_unix.c: Likewise.
24516 * sunrpc/des_crypt.c: Likewise.
24517 * sunrpc/des_soft.c: Likewise.
24518 * sunrpc/get_myaddr.c: Likewise.
24519 * sunrpc/key_call.c: Likewise.
24520 * sunrpc/key_prot.c: Likewise.
24521 * sunrpc/netname.c: Likewise.
24522 * sunrpc/pm_getmaps.c: Likewise.
24523 * sunrpc/pm_getport.c: Likewise.
24524 * sunrpc/pmap_clnt.c: Likewise.
24525 * sunrpc/pmap_prot.c: Likewise.
24526 * sunrpc/pmap_prot2.c: Likewise.
24527 * sunrpc/pmap_rmt.c: Likewise.
24528 * sunrpc/publickey.c: Likewise.
24529 * sunrpc/rpc_cmsg.c: Likewise.
24530 * sunrpc/rpc_common.c: Likewise.
24531 * sunrpc/rpc_dtable.c: Likewise.
24532 * sunrpc/rpc_prot.c: Likewise.
24533 * sunrpc/rpc_thread.c: Likewise.
24534 * sunrpc/rtime.c: Likewise.
24535 * sunrpc/svc.c: Likewise.
24536 * sunrpc/svc_auth.c: Likewise.
24537 * sunrpc/svc_raw.c: Likewise.
24538 * sunrpc/svc_run.c: Likewise.
24539 * sunrpc/svc_tcp.c: Likewise.
24540 * sunrpc/svc_udp.c: Likewise.
24541 * sunrpc/svc_unix.c: Likewise.
24542 * sunrpc/svcauth_des.c: Likewise.
24543 * sunrpc/xcrypt.c: Likewise.
24544 * sunrpc/xdr.c: Likewise.
24545 * sunrpc/xdr_array.c: Likewise.
24546 * sunrpc/xdr_float.c: Likewise.
24547 * sunrpc/xdr_intXX_t.c: Likewise.
24548 * sunrpc/xdr_mem.c: Likewise.
24549 * sunrpc/xdr_rec.c: Likewise.
24550 * sunrpc/xdr_ref.c: Likewise.
24551 * sunrpc/xdr_sizeof.c: Likewise.
24552 * sunrpc/xdr_stdio.c: Likewise.
24554 2012-05-10 Roland McGrath <roland@hack.frob.com>
24556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24557 change. Update copyright years.
24559 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24561 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24563 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24564 Joseph Myers <joseph@codesourcery.com>
24565 Paul Pluzhnikov <ppluzhnikov@google.com>
24568 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24570 [cross-compiling] (extra-libs): Likewise.
24571 [cross-compiling] (extra-libs-others): Likewise.
24572 [cross-compiling] (librpcsvc-routines): Likewise.
24573 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24574 [cross-compiling] (omit-deps): Likewise.
24575 (sunrpc-CPPFLAGS): New variable.
24576 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24577 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24578 (cross-rpcgen-objs): New variable.
24579 (extra-objs): Append $(cross-rpcgen-objs).
24580 ($(cross-rpcgen-objs)): New rule.
24581 ($(objpfx)cross-rpcgen): Likewise.
24582 (rpcgen-cmd): Define to use $(built-program-file). Expand
24584 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24585 ($(objpfx)x%.stmp): Likewise.
24586 * sunrpc/proto.h [IS_IN_build] (_): Define.
24587 [IS_IN_build] (_libc_intl_domainname): Likewise.
24589 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24592 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24593 and R_X86_64_TPOFF64.
24595 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24597 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24598 sysdeps/unix/sysv/syscalls.list.
24601 * sysdeps/unix/sysv/syscalls.list: Remove file.
24603 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24606 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24607 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24608 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24609 (__LC_IDENTIFICATION): Make these macros useful in #if
24610 expressions, as required by C99.
24612 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24614 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24615 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24618 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24620 * stdlib/longlong.h: Updated from GCC.
24622 2012-05-09 Andreas Jaeger <aj@suse.de>
24624 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24625 default is first entry.
24626 (run_mode): Set type.
24627 (main): Remove informal message about syslog.
24628 (options): Fix typo.
24631 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24634 (llrintf): Likewise.
24635 (llrint): Likewise.
24638 (nearbyint): Likewise.
24639 (nearbyintf): Likewise.
24641 2012-05-09 Andreas Jaeger <aj@suse.de>
24642 Pedro Alves <palves@redhat.com>
24644 * nscd/nscd.c (run_mode): Use enum.
24645 (main): Cleanup coding style issue.
24647 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24648 Andreas Jaeger <aj@suse.de>
24650 * nscd/nscd.c (go_background): Replaced with...
24651 (run_mode): ... this.
24652 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24653 (options): Add -F --foreground.
24654 (main): Implement it.
24655 (parse_opt): Parse it.
24657 2012-05-09 Andreas Jaeger <aj@suse.de>
24660 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24661 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24662 -Wconversion warning.
24663 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24666 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24668 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24670 (LC_ALL): Use macro-int-constant.
24671 (LC_COLLATE): Likewise.
24672 (LC_CTYPE): Likewise.
24673 (LC_MESSAGES): Likewise.
24674 (LC_MONETARY): Likewise.
24675 (LC_NUMERIC): Likewise.
24676 (LC_TIME): Likewise.
24677 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24678 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24680 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24682 [C99-based standards] (float_t): Expect type.
24683 [C99-based standards] (double_t): Expect type.
24684 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24686 [C99-based standards] (HUGE_VALL): Likewise.
24687 [C99-based standards] (INFINITY): Likewise.
24688 [C99-based standards] (NAN): Likewise.
24689 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24690 [C99-based standards] (FP_NAN): Likewise.
24691 [C99-based standards] (FP_NORMAL): Likewise.
24692 [C99-based standards] (FP_SUBNORMAL): Likewise.
24693 [C99-based standards] (FP_ZERO): Likewise.
24694 [C99-based standards] (FP_FAST_FMA): Use
24695 optional-macro-int-constant. Specify type. Require == 1.
24696 [C99-based standards] (FP_FAST_FMAF): Likewise.
24697 [C99-based standards] (FP_FAST_FMAL): Likewise.
24698 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24699 [C99-based standards] (FP_ILOGBNAN): Likewise.
24700 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24702 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24703 [C99-based standards] (math_errhandling): Specify type.
24704 [ISO99 || ISO11] (signgam): Do not allow.
24705 [non-C99-based standards] (copysignf): Do not allow.
24706 [non-C99-based standards] (exp2f): Likewise.
24707 [non-C99-based standards] (log2f): Likewise.
24708 [non-C99-based standards] (modff): Allow.
24709 [non-C99-based standards] (erff): Do not allow.
24710 [non-C99-based standards] (erfcf): Likewise.
24711 [non-C99-based standards] (gammaf): Likewise.
24712 [non-C99-based standards] (hypotf): Likewise.
24713 [non-C99-based standards] (j0f): Likewise.
24714 [non-C99-based standards] (j1f): Likewise.
24715 [non-C99-based standards] (jnf): Likewise.
24716 [non-C99-based standards] (lgammaf): Likewise.
24717 [non-C99-based standards] (tgammaf): Likewise.
24718 [non-C99-based standards] (y0f): Likewise.
24719 [non-C99-based standards] (y1f): Likewise.
24720 [non-C99-based standards] (ynf): Likewise.
24721 [non-C99-based standards] (isnanf): Likewise.
24722 [non-C99-based standards] (acoshf): Likewise.
24723 [non-C99-based standards] (asinhf): Likewise.
24724 [non-C99-based standards] (atanhf): Likewise.
24725 [non-C99-based standards] (cbrtf): Likewise.
24726 [non-C99-based standards] (expm1f): Likewise.
24727 [non-C99-based standards] (ilogbf): Likewise.
24728 [non-C99-based standards] (log1pf): Likewise.
24729 [non-C99-based standards] (logbf): Likewise.
24730 [non-C99-based standards] (nextafterf): Likewise.
24731 [non-C99-based standards] (remainderf): Likewise.
24732 [non-C99-based standards] (rintf): Likewise.
24733 [non-C99-based standards] (scalbf): Likewise.
24734 [non-C99-based standards] (copysignl): Likewise.
24735 [non-C99-based standards] (exp2l): Likewise.
24736 [non-C99-based standards] (log2l): Likewise.
24737 [non-C99-based standards] (modfl): Allow.
24738 [non-C99-based standards] (erfl): Do not allow.
24739 [non-C99-based standards] (erfcl): Likewise.
24740 [non-C99-based standards] (gammal): Likewise.
24741 [non-C99-based standards] (hypotl): Likewise.
24742 [non-C99-based standards] (j0l): Likewise.
24743 [non-C99-based standards] (j1l): Likewise.
24744 [non-C99-based standards] (jnl): Likewise.
24745 [non-C99-based standards] (lgammal): Likewise.
24746 [non-C99-based standards] (tgammal): Likewise.
24747 [non-C99-based standards] (y0l): Likewise.
24748 [non-C99-based standards] (y1l): Likewise.
24749 [non-C99-based standards] (ynl): Likewise.
24750 [non-C99-based standards] (isnanl): Likewise.
24751 [non-C99-based standards] (acoshl): Likewise.
24752 [non-C99-based standards] (asinhl): Likewise.
24753 [non-C99-based standards] (atanhl): Likewise.
24754 [non-C99-based standards] (cbrtl): Likewise.
24755 [non-C99-based standards] (expm1l): Likewise.
24756 [non-C99-based standards] (ilogbl): Likewise.
24757 [non-C99-based standards] (log1pl): Likewise.
24758 [non-C99-based standards] (logbl): Likewise.
24759 [non-C99-based standards] (nextafterl): Likewise.
24760 [non-C99-based standards] (remainderl): Likewise.
24761 [non-C99-based standards] (rintl): Likewise.
24762 [non-C99-based standards] (scalbl): Likewise.
24763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24764 [non-C99-based standards] (FP_*): Do not allow.
24765 [C99-based standards] (FP_*): Change to
24766 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24767 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24769 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24770 (SIG_ERR): Likewise.
24771 [X/Open-based standards] (SIG_HOLD): Likewise.
24772 (SIG_IGN): Likewise.
24773 (SIGABRT): Use macro-int-constant. Specify type. Require
24775 (SIGFPE): Likewise.
24776 (SIGILL): Likewise.
24777 (SIGINT): Likewise.
24778 (SIGSEGV): Likewise.
24779 (SIGTER): Likewise.
24780 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24781 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24782 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24783 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24784 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24785 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24786 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24787 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24788 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24789 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24790 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24791 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24792 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24793 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24794 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24795 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24796 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24797 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24798 [X/Open-based standards] (SIGTRAP): Likewise.
24799 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24800 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24801 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24802 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24803 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24806 2012-05-08 Ian Wienand <ianw@vmware.com>
24809 * time/tzset.c (__tzset_parse_tz): Update default rules for
24810 daylight time changes in the Energy Policy Act of 2005.
24812 2012-05-09 Andreas Jaeger <aj@suse.de>
24815 * elf/ldconfig.c (parse_conf): Change string to make clear that
24816 ldconfig only issued a warning if ld.so.conf does not exist.
24818 2012-05-08 David S. Miller <davem@davemloft.net>
24820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24821 movxtod instead of popping the value on the stack.
24823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24825 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24827 * config.h.in: Add HAVE_ARM_PCS_VFP.
24829 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24832 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24833 checking but the checks are disabled for any reason.
24835 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24837 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24838 and ELF64_R_TYPE with ELFW(R_TYPE).
24840 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24842 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24843 (ulimit): Likewise.
24845 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24846 (settimeofday): Likewise.
24848 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24850 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24851 a struct th_u2 inside the union, and move tu_block/tu_code into
24852 a new th_u3 union of tu_block/tu_code inside of that. Move
24853 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24854 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24855 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24856 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24857 (th_stuff): Change to th_u1.tu_stuff.
24859 (th_msg): Change to th_u1.th_u2.tu_data.
24861 2012-05-07 David S. Miller <davem@davemloft.net>
24863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24866 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24867 (SETUP_PIC_REG): Use it.
24868 (SETUP_PIC_REG_LEAF): Use it.
24870 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24876 (EXPL_FINITE): Likewise.
24877 (FLDLOG): Likewise.
24878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24879 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24881 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24883 (EXPL_FINITE): Likewise.
24884 (FLDLOG): Likewise.
24885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24886 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24888 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24889 test of -max_value argument for long double.
24890 * sysdeps/i386/fpu/libm-test-ulps: Update.
24891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24893 2012-05-06 David S. Miller <davem@davemloft.net>
24895 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24896 quad soft-float symbols whose references which are compiler
24898 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24900 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24904 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24906 (EXPL_FINITE): Likewise.
24907 (FLDLOG): Likewise.
24910 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24911 Adjust comments for base varying.
24912 (__expl_finite): Change alias to EXPL_FINITE.
24913 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24915 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24916 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24918 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24921 (EXPL_FINITE): Likewise.
24922 (FLDLOG): Likewise.
24925 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24926 Adjust comments for base varying.
24927 (__expl_finite): Change alias to EXPL_FINITE.
24928 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24933 * math/libm-test.inc (check_float_internal): Correct ulp
24934 calculation for subnormal expected results.
24936 2012-05-06 Andreas Jaeger <aj@suse.de>
24938 * Makeconfig (+math-flags): New, set to -frounding-math.
24939 (+cflags): Add +math-flags so that all of glibc gets compiled with
24942 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24944 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24946 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24952 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24953 (__ieee754_expl): Allow for and saturate large arguments.
24954 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24955 (u_threshold): Likewise.
24956 (__exp): Call __ieee754_exp before checking for overflow and
24958 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24959 (u_threshold): Likewise.
24960 (__expf): Call __ieee754_expf before checking for overflow and
24962 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24963 (u_threshold): Likewise.
24964 (__expl): Call __ieee754_expl before checking for overflow and
24966 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24967 (__ieee754_expl): Allow for and saturate large arguments.
24968 * math/libm-test.inc (exp_test): Add another test. Do not allow
24969 missing overflow exception on overflow.
24970 (expm1_test): Do not allow missing overflow exception on overflow.
24972 * sysdeps/i386/fpu/e_expl.c: Move to ...
24973 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24974 rather than using inline asm.
24975 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24976 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24977 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24979 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24982 (signal): Likewise.
24986 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24988 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24989 sysdeps/unix/common/syscalls.list.
24990 (fchmod): Likewise.
24991 (fchown): Likewise.
24992 (ftruncate): Likewise.
24993 (getrusage): Likewise.
24994 (gettimeofday): Likewise.
24995 (setpgid): Likewise.
24996 (setregid): Likewise.
24997 (setreuid): Likewise.
24998 (sigaction): Likewise.
24999 (truncate): Likewise.
25000 (vhangup): Likewise.
25001 * sysdeps/unix/common/syscalls.list: Remove file.
25002 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25003 * sysdeps/unix/sysv/linux/Implies: Likewise.
25005 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25007 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25009 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25013 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25016 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25019 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25022 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25025 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25028 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25031 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25035 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25039 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25042 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25046 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25050 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25052 * sysdeps/unix/common/bits/dirent.h: Remove file.
25053 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25055 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25056 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25057 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25058 * sysdeps/unix/bsd/isatty.c: Likewise.
25059 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25060 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25061 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25063 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25067 long double comparison inaccuracies.
25068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25071 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25073 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25076 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25080 nonzero digits before rounding a hex value.
25081 * stdlib/tst-strtod.c (tests): Add another test.
25083 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25085 * sysdeps/s390/fpu/libm-test-ulps: Update.
25087 2012-05-03 Andreas Jaeger <aj@suse.de>
25089 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25090 does not get optimized out.
25091 (malloc_opt_barrier): New.
25093 2012-05-03 Andreas Jaeger <aj@suse.de>
25094 Roland McGrath <roland@hack.frob.com>
25096 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25097 intermediate file deletion.
25098 (generated): Add .symlist files.
25100 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25103 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25104 Redirect under this condition.
25105 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25106 [__USE_GNU] (__dprintf_chk): Not under this condition.
25107 [__USE_GNU] (__vdprintf_chk): Likewise.
25108 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25109 under this condition.
25110 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25111 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25112 [__USE_XOPEN2K8] (vdprintf): Likewise.
25113 [__USE_GNU] (__dprintf_chk): Not under this condition.
25114 [__USE_GNU] (__vdprintf_chk): Likewise.
25115 [__USE_GNU] (dprintf): Likewise.
25116 [__USE_GNU] (vdprintf): Likewise.
25118 2012-05-03 Roland McGrath <roland@hack.frob.com>
25120 * elf/Makefile (common-generated): Set this instead of generated for
25121 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25122 $(all-built-dso)-derived lists.
25124 2012-05-03 Andreas Jaeger <aj@suse.de>
25126 * sysdeps/i386/fpu/libm-test-ulps: Update.
25129 * FAQ.in: Likewise.
25130 * scripts/gen-FAQ.pl: Likewise.
25131 * manual/install.texi (Installation): Point to online location of
25133 * Makefile (files-for-dist): Remove FAQ.
25136 2012-05-02 Allan McRae <allan@archlinux.org>
25138 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25139 (LDFLAGS-reldepmod5.so): Likewise.
25140 (LDFLAGS-reldep6mod1.so): Likewise.
25141 (LDFLAGS-reldep6mod4.so): Likewise.
25142 (LDFLAGS-reldep8mod3.so): Likewise.
25143 (LDFLAGS-unload4mod1.so): Likewise.
25144 (LDFLAGS-unload4mod2.so): Likewise.
25145 (LDFLAGS-tst-initorder): Likewise.
25146 (LDFLAGS-tst-initordera2.so): Likewise.
25147 (LDFLAGS-tst-initordera3.so): Likewise.
25148 (LDFLAGS-tst-initordera4.so): Likewise.
25149 (LDFLAGS-tst-initorderb2.so): Likewise.
25150 (LDFLAGS-noload): Likewise.
25151 (LDFLAGS-next): Likewise.
25152 (LDFLAGS-order2mod1.so): Likewise.
25153 (LDFLAGS-order2mod2.so): Likewise.
25154 (LDFLAGS-tst-initorder2): Likewise.
25155 (LDFLAGS-tst-initorder2a.so): Likewise.
25156 (LDFLAGS-tst-initorder2b.so): Likewise.
25157 (LDFLAGS-tst-initorder2c.so): Likewise.
25158 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25160 2012-05-02 David S. Miller <davem@davemloft.net>
25162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25164 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25167 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25169 2012-05-02 Andreas Jaeger <aj@suse.de>
25171 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25172 since we manipulate rounding mode.
25173 (CPPFLAGS-test-idouble.c): Likewise.
25174 (CPPFLAGS-test-ifloat.c): Likewise.
25175 (CFLAGS-test-ldouble.c): Likewise.
25176 (CFLAGS-test-double.c): Likewise.
25177 (CFLAGS-test-float.c): Likewise.
25178 (CFLAGS-test-misc.c): Likewise.
25179 (CFLAGS-test-test-fenv.c): Likewise.
25181 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25186 comparisons to determine direction to adjust input.
25188 2012-05-01 Roland McGrath <roland@hack.frob.com>
25190 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25191 output to the target.
25193 * scripts/localplt.awk: New file.
25194 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25195 (check-localplt-CFLAGS): Variable removed.
25196 ($(all-built-dso:=.jmprel)): New static pattern rule.
25197 (generated): Add those targets.
25198 (localplt-built-dso): New variable.
25199 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25201 * elf/check-localplt.c: File removed.
25203 * scripts/check-execstack.awk: New file.
25204 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25205 (check-execstack-CFLAGS): Variable removed.
25206 ($(objpfx)check-execstack.h): Target removed.
25207 ($(objpfx)execstack-default): New target.
25208 (generated): Add that instead of check-execstack.h.
25209 ($(all-built-dso:=.phdr)): New static pattern rule.
25210 (generated): Add those targets.
25211 * elf/check-execstack.c: File removed.
25213 * scripts/check-textrel.awk: New file.
25214 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25215 (check-textrel-CFLAGS): Variable removed.
25216 (all-built-dso): Use := to define.o
25217 ($(all-built-dso:=.dyn)): New static pattern rule.
25218 (generated): Add those targets.
25219 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25220 * config.make.in (READELF): New substituted variable.
25221 * elf/check-textrel.c: File removed.
25223 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25225 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25227 * conform/data/ctype.h-data [C99-based standards] (isblank):
25229 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25230 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25232 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25233 Specify type. Require positive value.
25234 (EILSEQ): Likewise.
25235 (ERANGE): Likewise.
25236 [ISO || POSIX] (EILSEQ): Do not expect.
25237 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25238 Specify type. Require positive value.
25239 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25240 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25241 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25242 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25243 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25244 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25245 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25246 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25247 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25248 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25249 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25250 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25251 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25252 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25253 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25254 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25255 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25256 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25257 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25258 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25259 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25260 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25261 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25262 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25263 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25264 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25265 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25266 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25267 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25268 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25269 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25270 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25271 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25272 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25273 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25274 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25275 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25276 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25277 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25278 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25279 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25280 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25281 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25282 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25283 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25284 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25285 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25286 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25287 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25288 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25289 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25290 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25291 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25292 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25293 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25294 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25295 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25297 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25298 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25299 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25303 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25306 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25309 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25313 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25314 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25315 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25317 (FLT_ROUNDS): Expect as macro, not constant.
25318 (FLT_MANT_DIG): Use macro-int-constant.
25319 (DBL_MANT_DIG): Likewise.
25320 (LDBL_MANT_DIG): Likewise.
25321 (FLT_DIG): Likewise.
25322 (DBL_DIG): Likewise.
25323 (LDBL_DIG): Likewise.
25324 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25325 (DBL_MIN_EXP): Likewise.
25326 (LDBL_MIN_EXP): Likewise.
25327 (FLT_MAX_EXP): Use macro-int-constant.
25328 (DBL_MAX_EXP): Likewise.
25329 (LDBL_MAX_EXP): Likewise.
25330 (FLT_MAX_10_EXP): Likewise.
25331 (DBL_MAX_10_EXP): Likewise.
25332 (LDBL_MAX_10_EXP): Likewise.
25333 (FLT_MAX): Use macro-constant.
25334 (DBL_MAX): Likewise.
25335 (LDBL_MAX): Likewise.
25336 (FLT_EPSILON): Use macro-constant. Give upper bound.
25337 (DBL_EPSILON): Likewise.
25338 (LDBL_EPSILON): Likewise.
25339 (FLT_MIN): Likewise.
25340 (DBL_MIN): Likewise.
25341 (LDBL_MIN): Likewise.
25342 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25343 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25344 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25345 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25346 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25347 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25348 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25349 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25350 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25351 [ISO11] (FLT_TRUE_MIN): Likewise.
25352 [ISO11] (LDBL_TRUE_MIN): Likewise.
25353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25354 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25355 (SCHAR_MIN): Use macro-int-constant. Specify type.
25356 (SCHAR_MAX): Likewise.
25357 (UCHAR_MAX): Likewise.
25358 (CHAR_MIN): Likewise.
25359 (CHAR_MAX): Likewise.
25360 (MB_LEN_MAX): Use macro-int-constant.
25361 (SHRT_MIN): Use macro-int-constant. Specify type.
25362 (SHRT_MAX): Likewise.
25363 (USHRT_MAX): Likewise.
25364 (INT_MAX): Likewise.
25365 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25367 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25369 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25371 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25372 bound negative. Suffix upper bound with "L".
25373 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25375 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25377 [C99-based standards] (LLONG_MAX): Likewise.
25378 [C99-based standards] (ULLONG_MAX): Likewise.
25379 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25381 [ISO11] (max_align_t): Require type.
25382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25384 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25385 from $CFLAGS, without defining away __attribute__ calls.
25386 (checknamespace): Use $CFLAGS_namespace.
25388 * conform/conformtest.pl (@keywords): Only include C99 keywords
25389 for standards based on C99 or C11.
25391 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25393 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25396 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25397 usability of symbols in #if.
25399 * conform/conformtest.pl: If macro or constant types start
25400 "promoted:", expect the symbol to be of the following type
25401 promoted by the integer promotions.
25403 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25404 in one place. Also handle "macro-constant".
25406 * conform/conformtest.pl: Only accept expected macro values with
25407 "==". Parse all "macro" lines in one place.
25408 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25410 * conform/conformtest.pl: Handle braced types on "constant" lines
25411 instead of handling "typed-constant".
25412 * conform/data/signal.h-data: Use "constant" instead of
25415 * conform/conformtest.pl: Handle "optional-" at start of lines in
25416 one place rather than duplicating several cases. Handle each
25417 format of "macro" line with initial "optional-".
25419 * conform/conformtest.pl: Only accept expected constant or
25420 optional-constant values with "==". Parse all "constant" lines in
25421 one place. Parse all "optional-constant" lines in one place.
25422 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25423 * conform/data/fmtmsg.h-data: Likewise.
25424 * conform/data/netinet/in.h-data: Likewise.
25425 * conform/data/tar.h-data: Likewise.
25426 * conform/data/limits.h-data: Use "==" form on "constant" and
25427 "optional-constant" lines.
25429 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25430 Use -std=c99 for XOPEN2K.
25431 (@knownproblems): Remove.
25432 (newtoken): Don't check %isknown.
25434 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25435 Do not expect macro.
25436 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25437 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25438 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25439 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25440 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25441 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25442 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25443 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25444 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25445 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25446 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25447 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25448 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25449 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25450 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25451 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25452 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25453 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25454 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25455 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25456 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25458 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25459 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25460 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25461 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25462 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25463 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25464 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25465 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25466 [XPG3] (acosh): Likewise.
25467 [XPG3] (asinh): Likewise.
25468 [XPG3] (atanh): Likewise.
25469 [XPG3] (cbrt): Likewise.
25470 [XPG3] (expm1): Likewise.
25471 [XPG3] (ilogb): Likewise.
25472 [XPG3] (log1p): Likewise.
25473 [XPG3] (logb): Likewise.
25474 [XPG3] (nextafter): Likewise.
25475 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25476 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25477 [XPG3] (remainder): Likewise.
25478 [XPG3] (rint): Likewise.
25479 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25480 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25481 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25482 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25483 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25484 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25485 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25486 [UNIX98 || XOPEN2K] (scalb): Expect.
25487 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25488 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25489 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25490 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25491 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25492 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25493 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25494 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25495 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25496 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25497 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25498 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25499 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25500 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25501 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25502 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25503 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25504 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25505 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25506 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25508 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25509 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25510 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25511 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25512 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25513 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25514 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25515 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25516 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25517 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25518 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25520 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25521 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25522 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25523 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25524 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25525 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25526 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25527 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25528 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25529 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25530 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25531 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25532 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25533 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25534 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25535 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25536 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25537 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25538 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25539 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25540 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25575 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25576 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25625 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25626 _XOPEN_SOURCE_EXTENDED for XPG4.
25628 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25630 * Makeconfig (localtime): Remove variable.
25631 (inst_localtime-file): Likewise.
25633 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25654 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25658 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25659 comparisons to determine direction to adjust input.
25660 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25661 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25668 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25669 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25671 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25673 * math/libm-test.inc (nexttoward_test): Add more tests.
25675 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25679 in version GLIBC_2.1, not GLIBC_2.0.
25680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25683 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25686 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25688 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25689 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25690 * math/libm-test.inc (acos_test): Add more tests.
25691 (asin_test): Likewise.
25692 * sysdeps/i386/fpu/libm-test-ulps: Update.
25693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25696 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25698 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25699 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25700 * math/libm-test.inc (acos_test_tonearest): New function.
25701 (acos_test_towardzero): Likewise.
25702 (acos_test_downward): Likewise.
25703 (acos_test_upward): Likewise.
25704 (asin_test_tonearest): Likewise.
25705 (asin_test_towardzero): Likewise.
25706 (asin_test_downward): Likewise.
25707 (asin_test_upward): Likewise.
25708 (main): Call the new functions.
25709 * sysdeps/i386/fpu/libm-test-ulps: Update.
25710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25714 * math/e_exp10.c: Include <float.h>.
25715 (__ieee754_exp10): Handle underflow here rather than multiplying
25716 large negative argument by M_LN10.
25717 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25719 * math/e_exp10l.c: Include <float.h>.
25720 (__ieee754_exp10l): Handle underflow here rather than multiplying
25721 large negative argument by M_LN10l.
25722 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25723 spurious overflow exception on underflow.
25725 2012-04-29 Marek Polacek <polacek@redhat.com>
25727 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25728 (__fortify_function): New macro.
25729 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25730 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25731 __extern_always_inline.
25732 * libio/bits/stdio2.h: Likewise.
25733 * libio/bits/stdio.h: Likewise.
25734 * string/string.h: Likewise.
25735 * string/bits/string3.h: Likewise.
25736 * include/stdio.h: Likewise.
25737 * stdlib/bits/stdlib.h: Likewise.
25738 * stdlib/stdlib.h: Likewise.
25739 * rt/bits/mqueue2.h: Likewise.
25740 * rt/mqueue.h: Likewise.
25741 * posix/bits/unistd.h: Likewise.
25742 * posix/unistd.h: Likewise.
25743 * io/bits/poll2.h: Likewise.
25744 * io/bits/fcntl2.h: Likewise.
25745 * io/fcntl.h: Likewise.
25746 * io/sys/poll.h: Likewise.
25747 * misc/bits/syslog.h: Likewise.
25748 * misc/bits/syslog-ldbl.h: Likewise.
25749 * misc/sys/syslog.h: Likewise.
25750 * socket/bits/socket2.h: Likewise.
25751 * socket/sys/socket.h: Likewise.
25752 * debug/tst-chk1.c: Likewise.
25753 * wcsmbs/bits/wchar2.h: Likewise.
25754 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25755 * wcsmbs/wchar.h: Likewise.
25757 2012-04-29 Andreas Jaeger <aj@suse.de>
25759 * Makerules (tests): Remove enable-check-abi protection.
25760 (check-abi-warn): Remove.
25761 (check-abi-%): Remove check-abi-warn usage.
25763 * configure.in: Remove check-abi configure option.
25764 * configure: Regenerated.
25765 * config.make.in (enable-check-abi): Remove.
25767 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25770 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25771 double functions to double *_finite functions.
25774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25775 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25777 * stdio-common/Makefile (tests): Add tst-sprintf3.
25778 * stdio-common/tst-sprintf3.c: New file.
25780 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25781 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25783 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25785 * conform/conformtest.pl: Remove duplicate typed-constant
25788 2012-04-28 David S. Miller <davem@davemloft.net>
25790 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25791 (check-abi-%): Remove AWK script prerequisite and explicit
25793 (check-abi): Rewrite to just diff the symlist with the abilist.
25794 (config-tls, config-abi-config): Delete, no longer used.
25795 (update-abi-%): Remove AWK script and explicit abilist directory.
25796 (update-abi): Rewrite to simply compare and conditionally copy the
25797 symlist and the sysdep abilist file. Remove update-abi-config
25799 * abilist/ld.abilist: Remove.
25800 * abilist/libBrokenLocale.abilist: Remove.
25801 * abilist/libanl.abilist: Remove.
25802 * abilist/libcrypt.abilist: Remove.
25803 * abilist/libdl.abilist: Remove.
25804 * abilist/librt.abilist: Remove.
25805 * abilist/libthread_db.abilist: Remove.
25806 * abilist/libutil.abilist: Remove.
25807 * scripts/extract-abilist.awk: Remove.
25808 * scripts/merge-abilist.awk: Remove.
25809 * sysdeps/generic/libcidn.abilist: New file.
25810 * sysdeps/generic/libnss_compat.abilist: New file.
25811 * sysdeps/generic/libnss_db.abilist: New file.
25812 * sysdeps/generic/libnss_dns.abilist: New file.
25813 * sysdeps/generic/libnss_files.abilist: New file.
25814 * sysdeps/generic/libnss_hesiod.abilist: New file.
25815 * sysdeps/generic/libnss_nis.abilist: New file.
25816 * sysdeps/generic/libnss_nisplus.abilist: New file.
25817 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25818 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25819 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25822 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25823 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25824 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25825 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25826 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25827 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25828 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25829 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25831 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25832 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25833 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25834 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25836 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25837 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25838 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25839 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25840 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25841 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25843 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25844 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25845 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25847 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25950 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25951 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25952 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25955 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25956 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25957 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25958 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25959 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25960 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25961 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25962 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25963 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26015 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26017 * conform/conformtest.pl: Fix typo in handling typed-constant from
26020 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26022 * README: Cut down references to pre-2.6 Linux kernels and
26023 Linuxthreads. Update lists of configurations in libc and ports
26024 and sort alphabetically. Say "or newer" with Linux kernel version
26027 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26029 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26032 * math/libm-test.inc (logb_test_downward): New test to expose
26033 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26036 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26039 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26041 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26042 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26044 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26046 * sysdeps/unix/i386/brk.S: Remove file.
26047 * sysdeps/unix/i386/dl-brk.S: Likewise.
26048 * sysdeps/unix/i386/pipe.S: Likewise.
26049 * sysdeps/unix/i386/sigreturn.S: Likewise.
26050 * sysdeps/unix/i386/syscall.S: Likewise.
26051 * sysdeps/unix/i386/vfork.S: Likewise.
26052 * sysdeps/unix/i386/wait.S: Likewise.
26054 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26055 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26057 * configure.in (arm*-none*): Do not allow without
26058 --enable-hacker-mode.
26059 (netbsd*): Remove case setting base_os.
26060 (386bsd*): Likewise.
26061 (freebsd*): Likewise.
26064 (sunos*): Likewise.
26065 (ultrix*): Likewise.
26066 (newsos*): Likewise.
26067 (dynix*): Likewise.
26073 (minix*): Likewise.
26074 (irix4*): Likewise.
26075 (irix6*): Likewise.
26076 (solaris[2-9]*): Likewise.
26078 * configure: Regenerated.
26080 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26083 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26084 overflow or cancellation in calculating denominator.
26085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26087 down expression to avoid unexpected rounding in newer GCCs.
26088 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26090 2012-04-26 David S. Miller <davem@davemloft.net>
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26093 long-double compat symbols.
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26108 2012-04-25 David S. Miller <davem@davemloft.net>
26110 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26111 HWCAP_* values only after the memory barriers have been defined.
26112 (atomic_full_barrier): Define.
26113 (atomic_read_barrier): Define.
26114 (atomic_write_barrier): Define.
26116 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26118 * shlib-versions: Add libgcc_s version information.
26119 * sysdeps/generic/libgcc_s.h: Remove.
26120 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26122 * sysdeps/gnu/unwind-resume.c: Likewise.
26123 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26125 2012-04-25 David S. Miller <davem@davemloft.net>
26127 * sysdeps/unix/sparc/brk.S: Delete.
26128 * sysdeps/unix/sparc/dl-brk.S: Delete.
26129 * sysdeps/unix/sparc/pipe.S: Delete.
26130 * sysdeps/unix/sparc/sysdep.S: Delete.
26131 * sysdeps/unix/sparc/sysdep.h: Delete.
26132 * sysdeps/unix/sparc/vfork.S: Delete.
26133 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26134 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26136 ret_ERRVAL, r0, r1, MOVE): Define.
26137 (JUMPTARGET): Remove.
26138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26139 sysdeps/unix/sparc/sysdep.h
26140 (ENTRY, END): Remove.
26141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26143 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26145 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26146 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26149 * timezone/README: Update upstream location and email address for
26151 * timezone/zdump.c: Update from tzcode 2012b.
26152 * timezone/zic.c: Likewise.
26154 * configure.in (libc_cv_as_needed): Remove test.
26155 * configure: Regenerated.
26156 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26157 conditional definition.
26158 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26159 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26160 * config.make.in (have-as-needed): Remove variable.
26162 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26163 Paul Pluzhnikov <ppluzhnikov@google.com>
26165 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26168 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26170 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26171 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26172 * sysdeps/sh/strlen.S: Likewise.
26174 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26176 * sysdeps/unix/fork.S: Remove file.
26177 * sysdeps/unix/i386/fork.S: Likewise.
26178 * sysdeps/unix/sparc/fork.S: Likewise.
26180 * sysdeps/unix/system.c: Remove file.
26181 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26183 * sysdeps/unix/getegid.S: Remove file.
26184 * sysdeps/unix/geteuid.S: Likewise.
26186 2012-04-24 Roland McGrath <roland@hack.frob.com>
26188 * scripts/check-localplt.awk: New file.
26189 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26191 * scripts/data/localplt-generic.data: Add a comment.
26193 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26194 NODE when __dir_mkfile failed.
26195 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26196 Reported by Ludovic Courtès <ludo@gnu.org>.
26198 2012-04-24 Andreas Jaeger <aj@suse.de>
26200 * Makerules (common-clean): Also remove gen-as-const-headers
26203 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26205 * Makerules (native-compile): Do not change working directory for
26206 build. Use $(OUTPUT_OPTION) in command.
26207 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26209 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26212 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26213 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26214 * math/libm-test.inc (floor_test): Add more tests.
26215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26217 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26219 * sysdeps/unix/getdents.c: Remove file.
26220 * sysdeps/unix/sysv/getdents.c: Likewise.
26221 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26223 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26224 sysdeps/unix/mman/syscalls.list.
26226 (mprotect): Likewise.
26228 (munmap): Likewise.
26229 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26230 * sysdeps/unix/mman/syscalls.list: Remove.
26231 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26233 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26234 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26235 * configure: Regenerated.
26236 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26237 $(libgcc_s_suffix).
26238 * config.make.in (libgcc_s_suffix): Remove variable.
26240 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26242 * sysdeps/unix/sysv/gethostname.c: Move to ...
26243 * sysdeps/posix/gethostname.c: ... here.
26245 * sysdeps/unix/execve.S: Remove file.
26247 * sysdeps/unix/_exit.S: Remove file.
26249 2012-04-23 Andreas Jaeger <aj@suse.de>
26252 * manual/Makefile: Remove make dist support, there's no
26253 need for a stand-alone documentation tar ball.
26254 (TEXI2DVI): Define always, it's not in Makeconfig.
26257 (edition): Removed.
26258 (glibc-doc-$(edition).tar): Removed
26262 (ETAGS): Remove, it's in Makeconfig.
26263 (move-if-change): Remove, it's in Makeconfig.
26265 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26268 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26269 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26270 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26271 (strtod_l, strtof_l, strtold_l): Remove __wur.
26272 It is not necessarily an error to ignore strtol's return value.
26273 One can reliably look at the stored endptr to decide whether
26274 the number had valid syntax.
26276 2012-04-21 Andreas Jaeger <aj@suse.de>
26279 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26281 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26283 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26284 * sysdeps/unix/sysv/Versions: Remove file.
26286 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26291 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26295 version from __vm86.
26297 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26299 * sysdeps/unix/common/lxstat.c: Remove file.
26300 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26302 * sysdeps/unix/sysv/Makefile: Remove file.
26304 * sysdeps/unix/sysv/direct.h: Remove file.
26306 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26307 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26308 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26309 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26310 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26311 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26312 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26314 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26316 * sysdeps/unix/xmknod.c: Remove file.
26317 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26319 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26321 * sysdeps/unix/sysv/i386/time.S: Remove file.
26323 * sysdeps/unix/fxstat.c: Remove file.
26324 * sysdeps/unix/xstat.c: Likewise.
26325 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26327 * sysdeps/unix/sysv/sigaction.c: Remove file.
26329 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26330 (sysdep_headers): Remove variable.
26331 [termio.h not in sysdep_headers] (generated): Likewise.
26332 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26333 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26334 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26335 * sysdeps/unix/sysv/tcflow.c: Likewise.
26336 * sysdeps/unix/sysv/tcflush.c: Likewise.
26337 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26338 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26339 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26340 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26341 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26343 * sysdeps/unix/siglist.c: Remove file.
26345 * sysdeps/unix/getppid.S: Remove file.
26347 * sysdeps/unix/mkdir.c: Remove file.
26348 * sysdeps/unix/rmdir.c: Likewise.
26350 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26352 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26354 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26355 errlist-compat value.
26357 2012-04-18 David S. Miller <davem@davemloft.net>
26359 * sysdeps/generic/memcopy.h (reg_char): Delete.
26360 * debug/strcat_chk.c: Use char, not reg_char.
26361 * debug/strcpy_chk.c: Likewise.
26362 * debug/strncat_chk.c: Likewise.
26363 * debug/strncpy_chk.c: Likewise.
26364 * string/memchr.c: Likewise.
26365 * string/memrchr.c: Likewise.
26366 * string/rawmemchr.c: Likewise.
26367 * string/strcat.c: Likewise.
26368 * string/strchr.c: Likewise.
26369 * string/strchrnul.c: Likewise.
26370 * string/strcmp.c: Likewise.
26371 * string/strcpy.c: Likewise.
26372 * string/strncat.c: Likewise.
26373 * string/strncmp.c: Likewise.
26374 * string/strncpy.c: Likewise.
26376 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26378 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26379 __builtin_memcopy is called when src and dest ranges are known to not
26382 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26384 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26385 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26386 fwd_align_merge macro call.
26387 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26388 bwd_align_merge macro call.
26389 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26391 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26394 bwd_align_merge macros.
26395 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26396 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26397 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26399 2012-04-18 David S. Miller <davem@davemloft.net>
26401 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26403 2012-04-18 Andreas Jaeger <aj@suse.de>
26406 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26407 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26408 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26410 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26411 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26412 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26414 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26415 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26416 Adjust for changed ldbl-128 files.
26418 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26419 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26420 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26422 2012-04-17 David S. Miller <davem@davemloft.net>
26424 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26426 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26428 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26429 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26430 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26431 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26432 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26433 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26435 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26438 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26439 * math/libm-test.inc: Add ilogb errno and exception tests.
26440 * math/w_ilogb.c: New file: ilogb wrapper.
26441 * math/w_ilogbf.c: New file: ilogbf wrapper.
26442 * math/w_ilogbl.c: New file: ilogbl wrapper.
26443 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26444 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26445 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26446 exception being thrown with 0.0 as argument.
26447 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26448 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26449 exception being thrown with 0.0 as argument.
26450 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26451 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26452 exception being thrown with 0.0 as argument.
26453 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26454 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26455 exception being thrown with 0.0 as argument.
26456 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26457 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26458 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26459 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26461 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26462 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26463 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26464 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26466 2012-04-17 Petr Baudis <pasky@ucw.cz>
26468 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26471 2012-04-16 Marek Polacek <polacek@redhat.com>
26473 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26475 2012-04-16 Marek Polacek <polacek@redhat.com>
26477 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26478 operands of fdivp instruction.
26480 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26482 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26483 * elf/tst-auditmod3b.c: Likewise.
26484 * elf/tst-auditmod4b.c: Likewise.
26485 * elf/tst-auditmod5b.c: Likewise.
26486 * elf/tst-auditmod6b.c: Likewise.
26487 * elf/tst-auditmod6c.c: Likewise.
26488 * elf/tst-auditmod7b.c: Likewise.
26489 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26490 * sysdeps/x86_64/preconfigure.in: Likewise.
26491 * sysdeps/x86_64/preconfigure: Regenerated.
26493 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26495 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26498 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26501 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26503 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26506 * locale/iso-639.def: Fix gl language name. Spotted by
26509 2012-04-12 Roland McGrath <roland@hack.frob.com>
26512 * libio/libio.h (__io_write_fn): Update comment.
26514 2012-04-12 Petr Baudis <pasky@ucw.cz>
26517 * stdio.texi (Hook Functions): The user provided writer function
26518 is not allowed to return -1.
26520 2012-04-11 David S. Miller <davem@davemloft.net>
26522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26524 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26526 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26527 Add a leading slash to rtkaio.
26529 2012-04-11 Jim Meyering <meyering@redhat.com>
26532 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26533 It is not necessarily an error to ignore fwrite's return
26534 value. One can reliably use ferror to test for errors after
26537 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26539 * bits/types.h (__snseconds_t): New type.
26540 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26542 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26544 (__SNSECONDS_T_TYPE): Likewise.
26545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26546 (__SNSECONDS_T_TYPE): Likewise.
26547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26548 (__SNSECONDS_T_TYPE): Likewise.
26550 2012-04-10 Andreas Jaeger <aj@suse.de>
26553 * manual/time.texi (Processor Time): Return type of times is
26554 elapsed real time since an arbitrary point in the past.
26555 (CPU Time): Move CLK_TCK from here...
26556 (Processor Time): ...to here. Correct description.
26557 * manual/conf.texi (Constants for Sysconf): Correct description of
26560 2012-04-10 David S. Miller <davem@davemloft.net>
26563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26564 where the is a gap between DT_REL(A) and DT_JMPREL.
26566 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26568 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26569 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26570 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26572 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26574 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26575 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26576 (dl_main): Handle --inhibit-cache.
26577 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26579 * elf/dl-load.c (_dl_map_object): Use it.
26580 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26582 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26585 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26586 (__ieee754_powl): Saturate large exponents rather than testing for
26587 overflow of y*log2(x).
26588 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26589 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26593 * math/s_ctan.c: Include <float.h>.
26594 (__ctan): Avoid internal overflow or cancellation in calculating
26596 * math/s_ctanf.c: Likewise.
26597 * math/s_ctanl.c: Likewise.
26598 * math/s_ctanh.c: Likewise.
26599 * math/s_ctanhf.c: Likewise.
26600 * math/s_ctanhl.c: Likewise.
26601 * math/libm-test.inc (ctan_test): Add more tests.
26602 (ctanh_test): Likewise.
26603 * sysdeps/i386/fpu/libm-test-ulps: Update.
26604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26606 2012-04-09 Andreas Jaeger <aj@suse.de>
26609 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26610 is an optional BSD extension.
26613 * manual/stdio.texi (Opening Streams): Document additional fopen
26616 2012-04-09 Roland McGrath <roland@hack.frob.com>
26618 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26619 %eax without telling the compiler.
26621 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26624 * manual/install.texi: Use sourceware.org.
26626 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26629 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26630 (__ieee754_pow): Generate overflow and underflow using huge*huge
26631 and tiny*tiny rather than just returning constant infinity or zero
26632 for large exponents.
26633 * math/libm-test.inc (pow_test): Require overflow exceptions for
26634 applicable cases of large exponents.
26637 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26638 (__ieee754_pow): Use iterative multiplication algorithm only for
26639 integer exponents with absolute value below 1024. Check for odd
26640 integer exponents when using algorithm for real exponents.
26641 * math/libm-test.inc (pow_test): Add more tests.
26642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26644 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26647 * math/libm-test.inc (exp_test): Do not allow overflow exception
26650 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26653 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26654 instead of __kernel_standard_f.
26656 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26658 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26659 * sysdeps/x86_64/memset_chk.S: Likewise.
26661 2012-04-08 Andreas Jaeger <aj@suse.de>
26664 * manual/startup.texi (Environment Access): Describe return value
26665 for putenv and setenv.
26668 * manual/filesys.texi (Directory Entries): Add description for
26672 * manual/filesys.texi (Directory Entries): Clarify that it's file
26673 system not operating system in the description of DT_UNKNOWN.
26676 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26678 2012-04-08 Stephen Compall <s11@member.fsf.org>
26681 * manual/llio.texi (Opening and Closing Files): Add cross
26682 reference to explain mode argument.
26684 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26686 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26687 * sysdeps/x86_64/memset_chk.S: Likewise.
26689 2012-04-07 David S. Miller <davem@davemloft.net>
26691 * elf/elf.h (R_SPARC_WDISP10): Define.
26692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26695 R_SPARC_SIZE64 and R_SPARC_H34.
26697 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26699 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26700 conditions and remove no longer applicable assertion.
26702 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26704 * bits/byteswap.h: Include <features.h>.
26705 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26706 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26708 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26710 * bits/byteswap.h (__bswap_16): Removed.
26711 Include <bits/byteswap-16.h> to get __bswap_16.
26712 * sysdeps/i386/bits/byteswap.h: Likewise.
26713 * sysdeps/s390/bits/byteswap.h: Likewise.
26714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26715 * bits/byteswap-16.h: New file.
26716 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26717 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26718 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26719 * string/Makefile (headers): Add bits/byteswap-16.h.
26721 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26724 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26726 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26727 * nss/tst-nss-static.c: New.
26729 2012-04-06 Robert Millan <rmh@gnu.org>
26732 * manual/llio.texi (File Position Primitive): lseek
26733 refers to WHENCE when it really means OFFSET.
26735 2012-04-06 Andreas Jaeger <aj@suse.de>
26737 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26738 strncmp declarations.
26740 * abilist/libc.abilist: Add __poll and __ppoll.
26742 2012-04-05 David S. Miller <davem@davemloft.net>
26744 * scripts/check-local-headers.sh: Accept a host triplet in the
26745 path matched by the exclude regexp.
26747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26749 * sysdeps/powerpc/powerpc32/dl-machine.h
26750 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26751 * sysdeps/s390/s390-32/dl-machine.h
26752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26753 * sysdeps/sparc/sparc32/dl-machine.h
26754 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26755 * sysdeps/sparc/sparc64/dl-machine.h
26756 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26758 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26760 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26761 undefined symbol errors.
26763 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26766 2012-04-05 Michael Matz <matz@suse.de>
26769 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26771 2012-04-05 Andreas Jaeger <aj@suse.de>
26774 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26777 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26780 which ROUND is no valid rounding mode.
26782 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26784 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26786 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26788 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26791 an exception using FPU order intentionally.
26793 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26795 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26796 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26797 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26798 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26800 2012-04-05 Simon Josefsson <simon@josefsson.org>
26803 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26804 EINVAL when BUFLEN is too smal.
26806 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26809 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26810 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26812 2012-04-03 Andreas Jaeger <aj@suse.de>
26815 * manual/setjmp.texi (System V contexts): Fix sentence.
26818 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26819 New macro for this case.
26820 [!__GNUC__] (__bswap_64): New inline function for this case.
26821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26822 * bits/byteswap.h: Likewise.
26823 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26824 ull, guard with __GLIBC_HAVE_LONG_LONG.
26826 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26827 __GLIBC_HAVE_LONG_LONG.
26829 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26830 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26832 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26835 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26836 inptr and inend, rather than using last_ch.
26838 2012-04-02 David S. Miller <davem@davemloft.net>
26840 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26841 * stdio-common/printf-parse.h (read_int): Change return type to
26842 'int', return -1 on INT_MAX overflow.
26843 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26844 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26845 overflows INT_MAX. Check for overflow of in-format-string precision
26846 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26847 SIZE_MAX not INT_MAX for integer overflow test.
26848 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26849 skip the construct in the format string but do not record anything.
26850 * stdio-common/bug22.c: Adjust to test both width/prevision
26851 INT_MAX overflow as well as total length INT_MAX overflow. Check
26852 explicitly for proper errno values.
26854 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26856 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26858 * string/test-strcmp.c [! WIDE]: Likewise.
26859 * time/tst-mktime2.c: Likewise for INT_MAX.
26860 * string/test-string.h: #include <sys/param.h> for MIN.
26862 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26863 * sysdeps/i386/init-first.c (init): Likewise.
26864 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26865 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26866 * sysdeps/sh/init-first.c (init): Likewise.
26868 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26870 * po/ru.po: Update from translation team.
26871 * po/vi.po: Likewise.
26873 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26875 * resolv/nss_dns/dns-host.c: Merge copyright years.
26877 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26880 Optimize memcpy with prefetch if
26881 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26882 src, dst pointers have unequal 16 byte alignments.
26884 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26887 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26888 from a CNAME entry and return the minimum ttl for the query.
26889 (gaih_getanswer_slice): Likewise.
26891 2012-03-30 Jeff Law <law@redhat.com>
26893 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26895 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26896 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26898 * resolv/nss_dns/dns-host.c: Update copyright year.
26900 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26902 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26903 requests to save a system call. Fix check that all bytes are sent.
26905 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26906 comments for sendmmsg.
26908 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26911 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26912 with only 1 character between 0x0041 and 0x01b0.
26913 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26914 * wcsmbs/tst-mbsnrtowcs.c: New file.
26916 2012-03-29 David S. Miller <davem@davemloft.net>
26918 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26919 small copies by hand.
26921 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26924 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26925 _nss_compat_initgroups_dyn): Fall back to malloc/free
26926 for large group memberships.
26928 2012-03-28 David S. Miller <davem@davemloft.net>
26930 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26931 that branches into memcpy.
26932 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26935 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26938 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26939 implementation too.
26940 * sysdeps/sparc/mempcpy.S: New file.
26942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26943 the IFUNC routine in the libc case.
26944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26946 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26947 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26948 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26949 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26950 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26951 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26952 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26953 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26955 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26956 loop to 256 bytes instead of 64 bytes and fix test signedness.
26958 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26959 * sysdeps/sparc/sparc32/Makefile: rather than here...
26960 * sysdeps/sparc/sparc64/Makefile: and here.
26962 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26964 * malloc/mallocbug.c: Avoid warnings about unused variables.
26966 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26969 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26970 in the right place. Discard and retry query if response is
26971 larger than input buffer size.
26973 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26979 x for large integer exponent.
26980 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26981 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26982 sign of result as needed afterwards.
26983 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26984 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26985 result for underflowing pow the same as for overflow.
26986 (__kernel_standard_l): Handle powl overflow and underflow here
26987 rather than calling __kernel_standard.
26988 * math/libm-test.inc (pow_test): Add more tests.
27003 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27004 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27005 (__kernel_standard_l): New function.
27006 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27008 * math/w_acosl.c (__acosl): Likewise.
27009 * math/w_asinl.c (__asinl): Likewise.
27010 * math/w_atan2l.c (__atan2l): Likewise.
27011 * math/w_atanhl.c (__atanhl): Likewise.
27012 * math/w_coshl.c (__coshl): Likewise.
27013 * math/w_exp10l.c (__exp10l): Likewise.
27014 * math/w_exp2l.c (__exp2l): Likewise.
27015 * math/w_fmodl.c (__fmodl): Likewise.
27016 * math/w_hypotl.c (__hypotl): Likewise.
27017 * math/w_j0l.c (__j0l, __y0l): Likewise.
27018 * math/w_j1l.c (__j1l, __y1l): Likewise.
27019 * math/w_jnl.c (__jnl, __ynl): Likewise.
27020 * math/w_lgammal.c (__lgammal): Likewise.
27021 * math/w_log10l.c (__log10l): Likewise.
27022 * math/w_log2l.c (__log2l): Likewise.
27023 * math/w_logl.c (__logl): Likewise.
27024 * math/w_powl.c (__powl): Likewise.
27025 * math/w_remainderl.c (__remainderl): Likewise.
27026 * math/w_scalbl.c (sysv_scalbl): Likewise.
27027 * math/w_sinhl.c (__sinhl): Likewise.
27028 * math/w_sqrtl.c (__sqrtl): Likewise.
27029 * math/w_tgammal.c (__tgammal): Likewise.
27030 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27031 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27032 * math/libm-test.inc (acos_test): Add more tests.
27033 (acosh_test): Likewise.
27034 (asin_test): Likewise.
27035 (atanh_test): Likewise.
27036 (exp_test): Likewise.
27037 (exp10_test): Likewise.
27038 (exp2_test): Likewise.
27039 (expm1_test): Likewise.
27040 (lgamma_test): Likewise.
27041 (log_test): Likewise.
27042 (log10_test): Likewise.
27043 (log1p_test): Likewise.
27044 (log2_test): Likewise.
27045 (pow_test): Do not allow some spurious overflow exceptions.
27046 (sqrt_test): Add more tests.
27047 (tgamma_test): Likewise.
27048 (y0_test): Likewise.
27049 (y1_test): Likewise.
27050 (yn_test): Likewise.
27052 2012-03-27 Anton Blanchard <anton@samba.org>
27054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27057 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27060 2012-03-27 David S. Miller <davem@davemloft.net>
27062 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27064 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27065 have-as-vis3 check.
27067 2012-03-27 Andreas Jaeger <aj@suse.de>
27069 * sysdeps/x86_64/elf/configure.in: Moved to ...
27070 * sysdeps/x86_64/configure.in: ... here.
27071 * sysdeps/x86_64/elf/start.S: Moved to ...
27072 * sysdeps/x86_64/start.S: ... here.
27073 * sysdeps/x86_64/elf/configure: Delete.
27075 * sysdeps/x86_64/configure.in: Merge contents from
27076 sysdeps/i386/configure.in (without i686 check).
27078 * sysdeps/i386/elf/Versions: Merge into ...
27079 * sysdeps/i386/Versions: ... this.
27080 * sysdeps/i386/elf/Versions: Delete file.
27081 * sysdeps/i386/elf/start.S: Moved to ...
27082 * sysdeps/i386/start.S: ...here.
27083 * sysdeps/i386/elf/configure.in: Merge into...
27084 * sysdeps/i386/configure.in: ...here.
27085 * sysdeps/i386/elf/configure.in: Delete file.
27086 * sysdeps/i386/elf/configure: Delete file.
27088 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27089 * debug/backtracesyms.c: ... here.
27090 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27091 * debug/backtracesymsfd.c: ... here.
27092 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27093 * sysdeps/generic/ifunc-sel.h: ... here.
27095 * sysdeps/unix/i386/start.c: Delete file.
27096 * sysdeps/unix/sparc/start.c: Delete file.
27097 * sysdeps/unix/start.c: Delete file.
27099 * sysdeps/sh/elf/configure.in: Moved to ...
27100 * sysdeps/sh/configure.in: ... here.
27101 * sysdeps/sh/elf/start.S: Moved to ...
27102 * sysdeps/sh/start.S: ... here.
27103 * sysdeps/sh/elf/configure: Delete file.
27105 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27106 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27107 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27108 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27109 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27110 * sysdeps/powerpc/powerpc64/start.S: here.
27111 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27112 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27113 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27114 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27115 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27117 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27118 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27119 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27120 * sysdeps/powerpc/powerpc32/start.S: ... here.
27121 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27122 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27123 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27125 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27126 * sysdeps/powerpc/ifunc-sel.h: ... here.
27127 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27128 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27130 * sysdeps/sparc/elf/configure.in: Moved to ...
27131 * sysdeps/sparc/configure.in: ... here.
27132 * sysdeps/sparc/elf/configure: Delete file.
27133 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27134 * sysdeps/sparc/sparc32/start.S: ... here.
27135 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27136 * sysdeps/sparc/sparc64/start.S: ... here.
27137 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27138 * sysdeps/sparc/sparc32/Makefile: ... this.
27139 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27140 * sysdeps/sparc/sparc64/Makefile: ... this.
27142 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27143 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27144 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27145 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27146 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27147 * sysdeps/s390/s390-32/setjmp.S: ... here.
27148 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27149 * sysdeps/s390/s390-32/configure.in: ... here.
27150 * sysdeps/s390/s390-32/elf/configure: Delete file.
27151 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27152 * sysdeps/s390/s390-32/start.S: ... here.
27154 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27155 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27156 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27157 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27158 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27159 * sysdeps/s390/s390-64/setjmp.S: ... here.
27160 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27161 * sysdeps/s390/s390-64/configure.in: ... here
27162 * sysdeps/s390/s390-64/elf/configure: Delete file.
27163 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27164 * sysdeps/s390/s390-64/start.S: ... here.
27165 * sysdeps/s390/s390-64/elf/configure: Delete.
27167 * configure.in: Remove support for elf directories in sysdeps.
27169 * configure: Regenerated.
27170 * sysdeps/i386/configure: Regenerated.
27171 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27172 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27173 * sysdeps/s390/s390-32/configure: Regenerated.
27174 * sysdeps/s390/s390-64/configure: Regenerated.
27175 * sysdeps/sh/configure: Regenerated.
27176 * sysdeps/sparc/configure: Regenerated.
27177 * sysdeps/x86_64/configure: Regenerated.
27179 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27183 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27184 denormal result into account.
27186 2012-03-25 Roland McGrath <roland@hack.frob.com>
27188 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27189 Reported by Allan McRae <allan@archlinux.org>.
27191 2012-03-23 Jeff Law <law@redhat.com>
27193 * nss/getnssent.c (__nss_getent): Fix typo.
27195 2012-03-23 David S. Miller <davem@davemloft.net>
27197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27199 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27201 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27202 to pad to uint64_t for each field.
27203 (dl_tls_index): Replace unsigned long with uint64_t.
27205 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27206 Paul Pluzhnikov <ppluzhnikov@google.com>
27209 * grp/Makefile (otherlibs): Don't set it.
27210 * inet/Makefile (otherlibs): Likewise.
27211 * login/Makefile (otherlibs): Likewise.
27212 * nscd/Makefile (otherlibs): Likewise.
27213 * posix/Makefile (otherlibs): Likewise.
27214 * pwd/Makefile (otherlibs): Likewise.
27215 * rt/Makefile (otherlibs): Likewise.
27216 * sunrpc/Makefile (otherlibs): Likewise.
27217 * nss/Makefile (otherlibs): Likewise.
27218 Add libnss_files to routines and static-only-routines.
27219 ($(objpfx)getent): Remove rule.
27220 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27221 static-only-routines.
27223 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27226 * math/s_cexp.c: Include <float.h>.
27227 (__cexp): Handle exp result overflowing not necessarily
27228 overflowing both real and imaginary parts of result.
27229 * math/s_cexpf.c: Likewise.
27230 * math/s_cexpl.c: Likewise.
27231 * math/libm-test.inc (cexp_test): Add more tests.
27232 * sysdeps/i386/fpu/libm-test-ulps: Update.
27233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27235 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27237 * include/link.h (ELFW): New macro.
27238 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27239 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27241 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27243 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27246 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27248 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27250 (struct La_x32_retval): Likewise.
27252 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27254 * sysdeps/x86_64/preconfigure.in: New file.
27255 * sysdeps/x86_64/preconfigure: New generated file.
27257 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27260 * math/e_exp2l.c: Include <float.h>.
27261 (__ieee754_exp2l): Handle overflow and underflow cases
27262 separately. Only pass fractional part of argument to
27264 * math/libm-test.inc (exp2_test): Add more tests.
27266 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27267 negating x to take absolute value.
27268 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27270 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27271 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27273 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27274 computing low part if x was negated.
27275 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27277 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27279 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27280 la_x32_gnu_pltexit.
27281 (pltexit): Cast int_retval to ptrdiff_t.
27282 * elf/tst-auditmod3b.c: Likewise.
27283 * elf/tst-auditmod4b.c: Likewise.
27284 * elf/tst-auditmod5b.c: Likewise.
27285 * elf/tst-auditmod6b.c: Likewise.
27286 * elf/tst-auditmod6c.c: Likewise.
27287 * elf/tst-auditmod7b.c: Likewise.
27289 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27290 and x32_gnu_pltexit.
27292 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27293 __ELF_NATIVE_CLASS.
27294 (La_x32_regs): New macro.
27295 (La_x32_retval): Likewise.
27296 (la_x32_gnu_pltenter): New function prototype.
27297 (la_x32_gnu_pltexit): Likewise.
27299 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27306 * configure.in (libc_cv_cc_nofma): Check for option to disable
27307 generation of FMA instructions.
27308 * configure: Regenerate.
27309 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27310 * sysdeps/ieee754/dbl-64/Makefile: New file.
27311 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27312 Remove brandred-fma4.
27313 (CFLAGS-brandred-fma4.c): Remove.
27314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27317 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27320 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27322 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27323 LLONG_MAX != LONG_MAX.
27324 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27325 (_fitoa_word): Likewise.
27326 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27327 LLONG_MAX != LONG_MAX.
27328 * stdio-common/_itowa.h: Include <_itoa.h>.
27329 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27330 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27331 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27332 only if not defined.
27333 (_ITOA_WORD_TYPE): Likewise.
27334 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27335 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27337 2012-03-21 David S. Miller <davem@davemloft.net>
27339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27341 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27343 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27344 of x86_64 when setting libc_cv_slibdir, libdir and
27346 * sysdeps/unix/sysv/linux/configure: Regenerated.
27348 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27350 * manual/lang.texi (Old Varargs): Remove section.
27351 (How Variadic): Update menu.
27352 (va_start): Do not mention varargs.h.
27354 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27355 Joseph Myers <joseph@codesourcery.com>
27357 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27359 * configure: Regenerated.
27361 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27363 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27364 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27367 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27370 * Makefile (files-for-dist): Remove NOTES.
27371 (NOTES): Remove rule.
27372 * README: Don't refer to NOTES.
27373 * manual/creature.texi: Don't include macros.texi.
27374 * manual/intro.texi (creature.texi): Remove comment referring to
27377 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27378 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27379 * configure: Regenerated.
27380 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27381 LIBC_TRY_CC_OPTION.
27382 (libc_cv_as_i686): Likewise.
27383 (libc_cv_cc_avx): Likewise.
27384 (libc_cv_cc_sse2avx): Likewise.
27385 (libc_cv_cc_fma4): Likewise.
27386 (libc_cv_cc_novzeroupper): Likewise.
27387 * sysdeps/i386/configure: Regenerated.
27390 * sysdeps/i386/fpu/s_cexp.S: Remove.
27391 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27393 * math/libm-test.inc (cexp_test): Add more tests.
27394 * sysdeps/i386/fpu/libm-test-ulps: Update.
27395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27397 2012-03-21 Allan McRae <allan@archlinux.org>
27399 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27401 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27404 * math/w_exp2.c: Do not include <float.h>.
27405 (o_threshold, u_threshold): Remove.
27406 (__exp2): Calculate result before checking finiteness and calling
27408 * math/w_exp2f.c: Likewise.
27409 * math/w_exp2l.c: Likewise.
27410 * math/libm-test.inc (exp2_test): Require overflow exception for
27414 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27415 range of signed 64-bit integers before using fistpll. Remove
27416 checks for whether integers fit in mantissa bits.
27417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27418 the range of signed 32-bit integers before using fistpl. Remove
27419 checks for whether integers fit in mantissa bits.
27420 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27421 (__ieee754_powl): Test for y outside the range of signed 64-bit
27422 integers before using fistpll. Reduce 64-bit values to 63-bit
27424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27425 divide-by-zero is raised for zero to large negative powers.
27426 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27427 (__ieee754_powl): Test for y outside the range of signed 64-bit
27428 integers before using fistpll. Reduce 64-bit values to 63-bit
27430 * math/libm-test.inc (pow_test): Add more tests.
27432 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27434 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27435 <stdio-common/_itoa.h>.
27436 * debug/segfault.c: Likewise.
27437 * elf/dl-cache.c: Likewise.
27438 * elf/dl-minimal.c: Likewise.
27439 * elf/dl-misc.c: Likewise.
27440 * elf/dl-sysdep.c: Likewise.
27441 * elf/dl-version.c: Likewise.
27442 * elf/rtld.c: Likewise.
27443 * hurd/hurdsock.c: Likewise.
27444 * hurd/lookup-retry.c: Likewise.
27445 * malloc/malloc.c: Likewise.
27446 * malloc/mtrace.c: Likewise.
27447 * nscd/nscd_getgr_r.c: Likewise.
27448 * nscd/nscd_getpw_r.c: Likewise.
27449 * nscd/nscd_getserv_r.c: Likewise.
27450 * posix/getopt_init.c: Likewise.
27451 * posix/wordexp.c: Likewise.
27452 * stdio-common/_itoa.c: Likewise.
27453 * stdio-common/printf_fphex.c: Likewise.
27454 * stdio-common/vfprintf.c: Likewise.
27455 * string/_strerror.c: Likewise.
27456 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27457 * sysdeps/i386/i686/hp-timing.h: Likewise.
27458 * sysdeps/mach/_strerror.c: Likewise.
27459 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27460 * sysdeps/mach/hurd/sethostid.c: Likewise.
27461 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27462 * sysdeps/mach/xpg-strerror.c: Likewise.
27463 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27465 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27466 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27467 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27468 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27469 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27470 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27471 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27472 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27473 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27474 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27475 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27476 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27477 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27478 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27479 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27480 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27481 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27482 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27483 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27485 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27487 * stdio-common/_itoa.h: Moved to ...
27488 * sysdeps/generic/_itoa.h: Here.
27490 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27492 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27493 instead of "_itoa.h" and "_itowa.h".
27494 * stdio-common/vfprintf.: Likewise.
27496 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27498 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27500 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27501 (__signbit): Likwise.
27502 (llrintf): Likwise.
27505 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27507 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27510 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27512 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27513 OVERFLOW_EXCEPTION_OK.
27514 * math/libm-test.inc ("Philosophy"): Update comment about
27516 (OVERFLOW_EXCEPTION): Define.
27517 (OVERFLOW_EXCEPTION_OK): Likewise.
27518 (INVALID_EXCEPTION_OK): Renumber.
27519 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27520 (IGNORE_ZERO_INF_SIGN): Likewise.
27521 (test_exceptions): Handle FE_OVERFLOW.
27522 (exp10_test): Expect overflow exceptions.
27523 (exp2_test): Likewise.
27524 (expm1_test): Likewise.
27525 (nextafter_test): Likewise.
27526 (pow_test): Likewise.
27527 (scalbn_test): Likewise.
27528 (scalbln_test): Likewise.
27530 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27532 * sysdeps/x86_64/bits/atomic.h
27533 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27535 (atomic_exchange_acq): Likewise.
27536 (__arch_exchange_and_add_body): Likewise.
27537 (__arch_add_body): Likewise.
27538 (atomic_add_negative): Likewise.
27539 (atomic_add_zero): Likewise.
27541 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27543 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27544 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27548 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27549 Check __x86_64__ instead of __WORDSIZE.
27551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27553 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27555 2012-03-19 David S. Miller <davem@davemloft.net>
27557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27559 * sysdeps/sparc/fpu/fenv_private.h: New file.
27560 * sysdeps/sparc/fpu/math_private.h: Use it.
27561 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27563 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27564 (libc_feholdexcept_setroundl): Remove.
27565 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27567 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27568 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27570 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27572 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27573 int64_t instead of long int.
27574 (INSERT_WORDS64): Likwise.
27576 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27578 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27579 _Unwind_GetCFA return to _Unwind_Ptr first.
27581 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27584 * math/s_clog.c: Include <float.h>.
27585 (__clog): Scale large or subnormal inputs.
27586 * math/s_clogf.c: Likewise.
27587 * math/s_clogl.c: Likewise.
27588 * math/s_clog10.c: Include <float.h>.
27589 (M_LOG10_2): Define.
27590 (__clog10): Scale large or subnormal inputs.
27591 * math/s_clog10f.c: Likewise.
27592 * math/s_clog10l.c: Likewise.
27593 * math/libm-test.inc (clog_test): Add more tests.
27594 (clog10_test): Likewise.
27595 * sysdeps/i386/fpu/libm-test-ulps: Update.
27596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27599 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27601 * math/libm-test.inc (atan2_test): Add another test.
27603 * Makerules (common-objdir-compile): Remove.
27604 * sysdeps/unix/Makefile (config-generated): Do not add
27605 $(unix-generated) to variable.
27606 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27607 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27609 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27611 [generic bits/local_lim.h] (before-compile): Do not append to
27613 [generic bits/local_lim.h] (common-generated): Likewise.
27614 [generic sys/param.h] (before-compile): Do not append to variable.
27615 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27616 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27617 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27618 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27620 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27621 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27622 [generic sys/param.h] ($(addprefix
27623 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27624 [generic sys/param.h] (common-generated): Do not append to
27626 [generic sys/param.h] (sysdep_headers): Likewise.
27627 [generic bits/errno.h] (before-compile): Do not append to
27629 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27631 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27632 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27633 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27634 [generic bits/errno.h] (common-generated): Do not append to
27636 [generic bits/ioctls.h] (before-compile): Do not append to
27638 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27640 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27641 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27642 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27644 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27645 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27646 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27647 [generic bits/ioctls.h] (common-generated): Do not append to
27649 [generic sys/syscall.h] (syscall.h): Remove variable.
27650 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27652 [generic sys/syscall.h] (before-compile): Do not append to
27654 [generic sys/syscall.h] (common-generated): Likewise.
27655 * sysdeps/unix/errnos-tmpl.c: Remove file.
27656 * sysdeps/unix/errnos.awk: Likewise.
27657 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27658 * sysdeps/unix/ioctls.awk: Likewise.
27659 * sysdeps/unix/mk-local_lim.c: Likewise.
27660 * sysdeps/unix/snarf-ioctls: Likewise.
27662 2012-03-19 Richard Henderson <rth@twiddle.net>
27664 * sysdeps/i386/fpu/fenv_private.h: New file.
27665 * sysdeps/i386/fpu/math_private.h: Use it.
27666 (math_opt_barrier, math_force_eval): Remove.
27667 (libc_feholdexcept_setround_53bit): Remove.
27668 (libc_feupdateenv_53bit): Remove.
27669 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27670 (math_opt_barrier, math_force_eval): Remove.
27671 (libc_feholdexcept): Remove.
27672 (libc_feholdexcept_setround): Remove.
27673 (libc_fetestexcept, libc_fesetenv): Remove.
27674 (libc_feupdateenv_test): Remove.
27675 (libc_feupdateenv, libc_feholdsetround): Remove.
27676 (libc_feresetround): Remove.
27678 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27679 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27681 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27682 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27683 (libc_feupdateenv_testl): New.
27684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27685 (libc_feupdateenv_testf): New.
27686 (libc_feupdateenv): Use libc_feupdateenv_test.
27687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27688 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27690 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27691 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27692 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27693 (libc_feresetround_noex): New.
27694 (libc_feresetround_noexf): New.
27695 (libc_feresetround_noexl): New.
27696 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27697 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27698 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27704 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27705 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27706 SET_RESTORE_ROUND_NOEX.
27707 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27708 SET_RESTORE_ROUND_NOEXF.
27709 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27710 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27711 (libc_feholdsetroundf): New.
27712 (libc_feresetround, libc_feresetroundf): New.
27714 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27715 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27716 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27718 * sysdeps/generic/math_private.h: Include <fenv.h>.
27719 (default_libc_feholdexcept): New.
27720 (default_libc_feholdexcept_setround): New.
27721 (default_libc_fesetenv, default_libc_feupdateenv): New.
27722 (libc_feholdexcept): Only define if undefined.
27723 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27724 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27725 (libc_feholdexcept_setroundl): Likewise.
27726 (libc_feholdexcept_setround_53bit): Likewise.
27727 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27728 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27729 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27730 (libc_feupdateenv_53bit): Likewise.
27731 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27732 (libc_feholdexcept): Convert from macro to inline function.
27733 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27734 (libc_fesetenv, libc_feupdateenv): Likewise.
27736 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27737 not previously defined.
27738 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27739 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27740 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27741 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27742 * sysdeps/ieee754/flt-32/math_private.h: New file.
27743 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27744 math_private.h below SET_FLOAT_WORD.
27745 (__isnan, __isinf_ns, __finite): Remove.
27746 (__isnanf, __isinf_nsf, __finitef): Remove.
27748 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27752 2012-03-17 David S. Miller <davem@davemloft.net>
27755 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27758 2012-03-16 David S. Miller <davem@davemloft.net>
27760 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27764 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27766 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27767 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27768 sysdep_routines when subdir is sysvipc.
27769 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27770 __getshmlba helper.
27772 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27774 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27776 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27779 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27781 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27782 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27783 (__lround): Renamed to ...
27784 (__llround): This. Replace long int with long long int.
27785 Define lround functions as aliases of llround functions.
27786 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27790 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27791 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27792 adresses to uintptr_t. Replace "long int" and "unsigned long
27793 int" with "greg_t" on va_arg.
27795 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27797 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27798 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27800 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27801 Move e_machine check before EI_CLASS check. Handle x32
27802 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27803 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27804 SKIP_EM_IA_64 and include
27805 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27807 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27808 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27809 (add_system_dir): New macro.
27811 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27812 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27814 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27825 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27827 * math/w_j0f.c (j0f): Likewise.
27829 * math/w_j0l.c (__j0l): Likewise.
27831 * math/w_j1.c (j1): Likewise.
27833 * math/w_j1f.c (j1f): Likewise.
27835 * math/w_j1l.c (__j1l): Likewise.
27837 * math/w_jn.c (jn): Likewise.
27839 * math/w_jnf.c (jnf): Likewise.
27841 * math/w_jnl.c (__jnl): Likewise.
27843 * math/libm-test.inc (j0_test): Add more tests.
27844 (j1_test): Likewise.
27845 (jn_test): Likewise. Add trailing semicolon to existing test.
27846 (y0_test): Likewise.
27847 (y1_test): Likewise.
27848 * sysdeps/i386/fpu/libm-test-ulps: Update.
27849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27853 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27854 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27855 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27857 (__tanl): Set errno for infinite argument.
27858 * sysdeps/i386/fpu/mptan.c: Remove.
27859 * sysdeps/i386/fpu/s_tan.S: Likewise.
27860 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27861 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27862 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27863 * math/libm-test.inc (tan_test): Add more tests and enable more
27864 tests for double and long double.
27865 * sysdeps/i386/fpu/libm-test-ulps: Update.
27866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27868 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27870 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27871 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27873 2012-03-16 Roland McGrath <roland@hack.frob.com>
27875 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27876 * configure.in: Use it for both main tree and add-ons.
27877 * configure: Regenerated.
27879 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27881 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27883 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27885 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27889 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27890 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27895 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27897 != 0 for prec == 2.
27898 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27899 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27900 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27901 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27902 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27903 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27904 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27905 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27906 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27907 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27908 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27909 * math/libm-test.inc (cos_test): Add more tests and enable more
27910 tests for long double.
27911 (sin_test): Likewise.
27912 (sincos_test): Likewise.
27913 * sysdeps/i386/fpu/libm-test-ulps: Update.
27914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27916 2012-03-16 David S. Miller <davem@davemloft.net>
27918 * sysdeps/sparc/fpu/math_private.h: New file.
27920 2012-03-15 David S. Miller <davem@davemloft.net>
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27936 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27937 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27939 * sysdeps/sparc/sparc-ifunc.h: New file.
27940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27983 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27985 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27987 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27991 2012-03-15 Andreas Jaeger <aj@suse.de>
27994 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27995 ieee754/flt-32 implementation for sin, cos and sincos.
27996 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27997 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27998 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27999 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28000 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28001 ieee754/flt-32 implementation for tan.
28003 * math/libm-test.inc (cos_test): Enable some large input tests for
28005 (sin_test): Likewise.
28006 (sincos_test): Likewise.
28007 (tan_test): Add tests for large input.
28009 * sysdeps/i386/fpu/libm-test-ulps: Update.
28011 2012-03-15 Andreas Jaeger <aj@suse.de>
28014 * math/libm-test.inc (cos_test): Add more test cases.
28015 (sin_test): Likewise.
28016 (sincos_test): Likewise.
28018 2012-03-15 Andreas Jaeger <aj@suse.de>
28021 * math/libm-test.inc (cos_test): Add a test case for large input
28023 (sin_test): Likewise.
28024 (sincos_test): Likewise.
28026 2012-03-15 Andreas Jaeger <aj@suse.de>,
28027 Joseph Myers <joseph@codesourcery.com>
28030 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28031 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28032 * sysdeps/i386/fpu/branred.c: Likewise.
28033 * sysdeps/i386/fpu/dosincos.c: Likewise.
28034 * sysdeps/i386/fpu/mpa.c: Likewise.
28035 * sysdeps/i386/fpu/s_cos.S: Likewise.
28036 * sysdeps/i386/fpu/s_sin.S: Likewise.
28037 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28038 * sysdeps/i386/fpu/sincos32.c: Likewise.
28040 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28042 (libc_feupdateenv_53bit): Define.
28043 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28045 (libc_feupdateenv_53bit): Define.
28047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28048 53 bit (without extend i386 double precision).
28050 * math/libm-test.inc (sincos_test): Add tests for large input.
28054 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28056 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28060 2012-03-15 David S. Miller <davem@davemloft.net>
28062 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28063 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28064 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28065 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28090 fmin/fmax sysdep routines.
28091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28093 2012-03-14 David S. Miller <davem@davemloft.net>
28095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28102 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28172 * sysdeps/sparc/configure.in: New file.
28173 * sysdeps/sparc/configure: Generate.
28174 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28175 * configure: Regenerate.
28176 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28177 * config.make.in (have-as-vis3): New.
28178 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28179 available use -Av9d instead of -Av9a.
28180 * sysdeps/sparc/sparc64/Makefile: Likewise.
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28196 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28197 fzeros/fnegs to load 0x80000000 into a float register instead of
28199 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28201 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28205 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28206 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28207 ($(inst_includedir)/bits/syscall.h): Remove rule.
28208 ($(objpfx)bits/syscall.d): Include instead of
28209 $(objpfx)syscall-list.d.
28210 (generated): Change syscall-list.h and syscall-list.d to
28211 bits/syscall.h and bits/syscall.d.
28213 2012-03-14 Roland McGrath <roland@hack.frob.com>
28216 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28218 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28221 * math/s_csqrt.c: Include <float.h>.
28222 (__csqrt): Scale large or subnormal inputs.
28223 * math/s_csqrtf.c: Likewise.
28224 * math/s_csqrtl.c: Likewise.
28225 * math/libm-test.inc (csqrt_test): Add more tests.
28226 * sysdeps/i386/fpu/libm-test-ulps: Update.
28227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28230 * math/libm-test.inc (hypot_test): Add more tests.
28232 2012-03-13 David S. Miller <davem@davemloft.net>
28235 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28236 double-precision for the calculation instead of scaling.
28238 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28240 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28241 manipulate bits before adding and subtracting TWO52[sx].
28242 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28247 2012-03-13 David S. Miller <davem@davemloft.net>
28249 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28250 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28252 rtld-global-offsets.h
28253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28255 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28258 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28260 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28261 'err' in the ifdef scope in which it is actually used.
28263 * nss/nss_db/db-init.c: Include string.h
28265 2012-03-12 David S. Miller <davem@davemloft.net>
28267 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28268 masking out of the most significant byte of random value used.
28269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28270 Fix coding style in previous change.
28272 * sysdeps/unix/sysv/linux/kernel-features.h
28273 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28274 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28276 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28279 2012-03-11 David S. Miller <davem@davemloft.net>
28281 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28282 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28284 for 'resultvar' otherwise things get truncated on 64-bit.
28286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28287 Fix masking out of the most significant byte of random value used.
28289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28291 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28295 2012-03-09 David S. Miller <davem@davemloft.net>
28297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28298 variables with appropriate CPP guards.
28299 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28300 frame pointer, not the stack pointer. Correct layout comments. Fix test
28301 on resulting framesize and the management of the outregs buffer for pltexit.
28302 Preserve floating point return values across _dl_call_pltexit call.
28303 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28304 framesize and the management of the outregs buffer for pltexit.
28305 Preserve floating point return values across _dl_call_pltexit
28307 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28308 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28309 (print_exit): Fix format string for return register value.
28311 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28313 * sunrpc/Makefile (others): Add rpcgen.
28314 ($(objpfx)rpcgen): Remove special build rule and dependency on
28316 * sunrpc/rpcgen.c: New file.
28318 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28321 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28322 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28323 * sysdeps/i386/crti.S: Likewise.
28324 * sysdeps/i386/crtn.S: Likewise.
28325 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28326 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28327 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28328 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28329 * sysdeps/sh/crti.S: Likewise.
28330 * sysdeps/sh/crtn.S: Likewise.
28331 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28334 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28336 * locale/programs/locfile-kw.gperf: Likewise.
28337 * locale/programs/charmap-kw.h: Regenerated.
28338 * locale/programs/locfile-kw.h: Likewise.
28341 * intl/plural.y: Replace FSF snail mail address with URL.
28342 * intl/plural.c: Regenerated.
28344 2012-03-09 Richard Henderson <rth@twiddle.net>
28346 * include/math_private.h: Remove file.
28347 * math/math_private.h: Move file ...
28348 * sysdeps/generic/math_private.h: ... here.
28350 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28351 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28352 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28354 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28355 and <math_private.h>.
28356 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28357 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28358 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28359 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28360 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28361 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28362 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28378 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28381 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28382 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28383 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28389 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28390 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28393 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28394 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28396 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28397 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28399 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28400 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28401 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28411 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28444 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28447 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28449 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28450 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28451 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28452 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28453 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28454 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28455 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28456 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28457 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28458 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28459 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28460 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28461 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28463 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28468 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28469 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28470 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28471 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28472 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28473 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28474 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28475 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28476 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28477 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28479 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28480 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28481 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28483 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28484 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28485 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28486 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28487 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28488 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28489 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28490 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28491 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28492 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28493 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28494 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28495 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28496 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28497 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28498 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28499 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28500 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28501 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28502 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28503 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28504 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28505 * sysdeps/ieee754/k_standard.c: Likewise.
28506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28513 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28514 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28518 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28519 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28520 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28521 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28525 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28526 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28528 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28529 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28530 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28531 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28532 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28534 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28536 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28540 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28541 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28542 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28544 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28545 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28546 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28547 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28548 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28549 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28550 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28551 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28557 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28558 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28559 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28625 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28628 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28654 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28656 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28666 * sysdeps/ieee754/s_lib_version.c: Likewise.
28667 * sysdeps/ieee754/s_matherr.c: Likewise.
28668 * sysdeps/ieee754/s_signgam.c: Likewise.
28669 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28671 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28672 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28673 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28674 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28675 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28676 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28677 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28678 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28679 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28680 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28683 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28686 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28691 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28693 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28694 * sunrpc/rpc_main.c: Likewise.
28695 * sunrpc/rpc_svcout.c: Likewise.
28697 2012-03-09 David S. Miller <davem@davemloft.net>
28699 * include/math_private.h: New file.
28701 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28703 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28704 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28705 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28706 from <bits/socket_type.h>.
28707 (enum __socket_type): Don't define here.
28708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28710 bits/socket_type.h.
28713 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28714 checking __USE_GNU.
28716 * Makerules ($(inst_includedir)/%.h): New rule.
28717 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28718 (install-others): Remove variable setting.
28719 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28721 2012-03-08 Richard Henderson <rth@twiddle.net>
28723 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28724 from macro to inline function; merge with the
28725 !__LIBC_INTERNAL_MATH_INLINES version.
28726 (__ieee754_sqrtf): Likewise.
28728 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28729 to inline function.
28730 (__rintf, __floor, __floorf): Likewise.
28732 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28733 macro to inline function.
28734 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28737 not <math/math_private.h>.
28739 2012-03-08 David S. Miller <davem@davemloft.net>
28741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28743 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28745 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28747 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28749 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28750 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28752 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28754 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28755 be defined individually, they must be defined as a block. Define
28756 S for printing a string instead of hidint the different by using a
28757 macro for adding the 'l'.
28758 * stdio-common/tst-fphex-wide.c: Adjust.
28760 2012-03-07 Marek Polacek <polacek@redhat.com>
28762 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28764 2012-03-08 Marek Polacek <polacek@redhat.com>
28767 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28768 * stdio-common/tst-fphex.c: Define a few macros to make the
28769 test reusable. Use them.
28770 * stdio-common/tst-fphex-wide.c: New file.
28772 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28775 * manual/macros.texi (gnusystems): New macro.
28776 (nongnusystems): Likewise.
28777 (gnulinuxhurdsystems): Likewise.
28778 (gnuhurdsystems): Likewise..
28779 (gnulinuxsystems): Likewise.
28780 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28781 variants of the GNU system, not "GNU system".
28782 * manual/conf.texi: Likewise.
28783 * manual/errno.texi: Likewise. Update example of errno macro
28785 * manual/filesys.texi: Likewise.
28786 (getumask): Document as specific to GNU/Hurd.
28787 * manual/install.texi: Likewise. Reword some references to
28789 * manual/intro.texi: Likewise.
28790 * manual/io.texi: Likewise.
28791 (File Name Portability): Detail which constraints are inapplicable
28792 to all GNU systems and which are only inapplicable to GNU/Hurd.
28793 * manual/job.texi: Likewise.
28794 * manual/llio.texi: Likewise.
28795 (O_NOCTTY): Document as present on GNU/Linux.
28796 * manual/maint.texi: Likewise.
28797 * manual/memory.texi: Likewise.
28798 * manual/pattern.texi: Likewise.
28799 * manual/pipe.texi: Likewise.
28800 * manual/process.texi: Likewise.
28801 * manual/resource.texi: Likewise.
28802 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28804 * manual/setjmp.texi: Likewise.
28805 * manual/signal.texi: Likewise.
28806 * manual/startup.texi: Likewise.
28807 * manual/stdio.texi: Likewise.
28808 * manual/terminal.texi: Likewise.
28809 (ONLCR): Document as POSIX.
28810 (OXTABS): Document availability on GNU/Linux as XTABS.
28811 (ONOEOT): Document availability separately from other bits.
28812 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28813 * manual/time.texi: Likewise.
28814 * manual/users.texi: Likewise.
28815 * INSTALL: Regenerated.
28816 * sysdeps/gnu/errlist.c: Regenerated.
28818 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28819 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28820 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28822 * configure: Regenerated.
28824 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28826 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28827 default includes instead of AC_HEADER_CHECK.
28828 * sysdeps/i386/configure: Regenerated.
28831 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28832 * math/s_cacoshf.c (__cacoshf): Likewise.
28833 * math/s_cacoshl.c (__cacoshl): Likewise.
28834 * math/s_casinh.c (__casinh): Set signs of result from argument.
28835 * math/s_casinhf.c (__casinhf): Likewise.
28836 * math/s_casinhl.c (__casinhl): Likewise.
28837 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28838 (casinh_test): Add more tests.
28839 * sysdeps/i386/fpu/libm-test-ulps: Update.
28840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28842 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28844 * po/zh_TW.po: Update from translation team.
28846 * login/Makefile (distribute): Remove variable.
28847 * catgets/Makefile: Likewise.
28848 * mach/Makefile: Likewise.
28849 * malloc/Makefile: Likewise.
28850 * misc/Makefile: Likewise.
28851 * iconv/Makefile: Likewise.
28852 * nscd/Makefile: Likewise.
28853 * hurd/Makefile: Likewise.
28854 * manual/Makefile: Likewise.
28855 * locale/Makefile: Likewise.
28856 * intl/Makefile: Likewise.
28857 * conform/Makefile: Likewise.
28858 * nss/Makefile: Likewise.
28859 * time/Makefile: Likewise.
28860 * soft-fp/Makefile: Likewise.
28861 * dirent/Makefile: Likewise.
28862 * gmon/Makefile: Likewise.
28863 * po/Makefile: Likewise.
28864 * rt/Makefile: Likewise.
28865 * socket/Makefile: Likewise.
28866 * math/Makefile: Likewise.
28867 * signal/Makefile: Likewise.
28868 * debug/Makefile: Likewise.
28869 * elf/Makefile: Likewise.
28870 * timezone/Makefile: Likewise.
28871 * stdlib/Makefile: Likewise.
28872 * iconvdata/Makefile: Likewise.
28873 * sunrpc/Makefile: Likewise.
28874 * io/Makefile: Likewise.
28875 * argp/Makefile: Likewise.
28876 * inet/Makefile: Likewise.
28877 * hesiod/Makefile: Likewise.
28878 * grp/Makefile: Likewise.
28879 * csu/Makefile: Likewise.
28880 * wctype/Makefile: Likewise.
28881 * crypt/Makefile: Likewise.
28882 * libio/Makefile: Likewise.
28883 * string/Makefile: Likewise.
28884 * nis/Makefile: Likewise.
28885 * resolv/Makefile: Likewise.
28886 * stdio-common/Makefile: Likewise.
28887 * wcsmbs/Makefile: Likewise.
28888 * dlfcn/Makefile: Likewise.
28889 * posix/Makefile: Likewise.
28892 * timezone/Makefile: Don't install timezone files, just the programs
28895 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28897 * nss/databases.def: Add missing gshadow entry.
28899 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28901 2012-03-06 Marek Polacek <polacek@redhat.com>
28904 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28905 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28906 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28907 * stdio-common/tst-long-dbl-fphex.c: New file.
28909 2012-03-06 David S. Miller <davem@davemloft.net>
28911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28912 (set_obp_int): New function.
28913 (get_obp_int): New function.
28914 (__get_clockfreq_via_dev_openprom): Likewise.
28915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28916 Avoid unused variable warnings on 'val' and use builtin_expect.
28917 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28919 (INLINE_CLONE_SYSCALL): Likewise.
28921 2012-03-05 David S. Miller <davem@davemloft.net>
28923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28925 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28929 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28930 only for |x| >= 40.
28931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28933 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28936 Replace gettimeofday with __vdso_gettimeofday.
28938 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28939 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28940 __vdso_clock_gettime and __vdso_getcpu.
28942 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28943 time with __vdso_time.
28945 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28947 * manual/lang.texi (size_t): Note types to which size_t may be
28948 equivalent with the GNU C Library, but do not describe when
28949 differences between them are significant.
28951 2012-03-05 Andreas Jaeger <aj@suse.de>
28953 * sysdeps/i386/fpu/libm-test-ulps: Update.
28955 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28958 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28959 (__ieee754_pow): Save and restore rounding mode and use
28960 round-to-nearest for main computations.
28961 * math/libm-test.inc (pow_test_tonearest): New function.
28962 (pow_test_towardzero): Likewise.
28963 (pow_test_downward): Likewise.
28964 (pow_test_upward): Likewise.
28965 (main): Call the new functions.
28966 * sysdeps/i386/fpu/libm-test-ulps: Update.
28967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28970 * math/libm-test.inc (cosh_test_tonearest): New function.
28971 (cosh_test_towardzero): Likewise.
28972 (cosh_test_downward): Likewise.
28973 (cosh_test_upward): Likewise.
28974 (sinh_test_tonearest): Likewise.
28975 (sinh_test_towardzero): Likewise.
28976 (sinh_test_downward): Likewise.
28977 (sinh_test_upward): Likewise.
28978 (main): Call the new functions.
28979 * sysdeps/i386/fpu/libm-test-ulps: Update.
28980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28982 2012-03-05 Tom de Vries <tom@codesourcery.com>
28984 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28985 default stack guard is set in last bytes.
28986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28988 2012-03-05 Kees Cook <keescook@chromium.org>
28990 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28993 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28994 possibly allocate from heap instead of stack.
28995 * stdio-common/bug-vfprintf-nargs.c: New file.
28996 * stdio-common/Makefile (tests): Add nargs overflow test.
28998 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29002 2012-03-03 Marek Polacek <polacek@redhat.com>
29004 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29005 * math/math_private.h: Likewise.
29006 * stdlib/tst-strtod.c: Likewise.
29007 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29008 * sysdeps/x86_64/bits/atomic.h: Likewise.
29010 2012-03-02 David S. Miller <davem@davemloft.net>
29012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29016 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29017 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29018 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29019 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29021 2012-03-02 Roland McGrath <roland@hack.frob.com>
29024 * manual/examples/README: New file, says the example source files
29025 can be used under GPL>=2.
29026 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29027 line containing just "*/".
29028 * manual/examples/add.c: Add copyright header (GPL>=2).
29029 * manual/examples/argp-ex1.c: Likewise.
29030 * manual/examples/argp-ex2.c: Likewise.
29031 * manual/examples/argp-ex3.c: Likewise.
29032 * manual/examples/argp-ex4.c: Likewise.
29033 * manual/examples/atexit.c: Likewise.
29034 * manual/examples/db.c: Likewise.
29035 * manual/examples/dir.c: Likewise.
29036 * manual/examples/dir2.c: Likewise.
29037 * manual/examples/execinfo.c: Likewise.
29038 * manual/examples/filecli.c: Likewise.
29039 * manual/examples/filesrv.c: Likewise.
29040 * manual/examples/fmtmsgexpl.c: Likewise.
29041 * manual/examples/genpass.c: Likewise.
29042 * manual/examples/inetcli.c: Likewise.
29043 * manual/examples/inetsrv.c: Likewise.
29044 * manual/examples/isockad.c: Likewise.
29045 * manual/examples/longopt.c: Likewise.
29046 * manual/examples/memopen.c: Likewise.
29047 * manual/examples/memstrm.c: Likewise.
29048 * manual/examples/mkfsock.c: Likewise.
29049 * manual/examples/mkisock.c: Likewise.
29050 * manual/examples/mygetpass.c: Likewise.
29051 * manual/examples/pipe.c: Likewise.
29052 * manual/examples/popen.c: Likewise.
29053 * manual/examples/rprintf.c: Likewise.
29054 * manual/examples/search.c: Likewise.
29055 * manual/examples/select.c: Likewise.
29056 * manual/examples/setjmp.c: Likewise.
29057 * manual/examples/sigh1.c: Likewise.
29058 * manual/examples/sigusr.c: Likewise.
29059 * manual/examples/stpcpy.c: Likewise.
29060 * manual/examples/strdupa.c: Likewise.
29061 * manual/examples/strftim.c: Likewise.
29062 * manual/examples/strncat.c: Likewise.
29063 * manual/examples/subopt.c: Likewise.
29064 * manual/examples/swapcontext.c: Likewise.
29065 * manual/examples/termios.c: Likewise.
29066 * manual/examples/testopt.c: Likewise.
29067 * manual/examples/testpass.c: Likewise.
29068 * manual/examples/timeval_subtract.c: Likewise.
29071 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29073 * manual/timeval_subtract.c.texi: ... here, new file.
29075 2012-03-02 David S. Miller <davem@davemloft.net>
29077 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29079 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29082 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29083 (__sin): Save and restore rounding mode and use round-to-nearest
29084 for all computations.
29085 (__cos): Save and restore rounding mode and use round-to-nearest
29086 for all computations.
29087 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29089 (tan): Save and restore rounding mode and use round-to-nearest for
29091 * math/libm-test.inc (cos_test_tonearest): New function.
29092 (cos_test_towardzero): Likewise.
29093 (cos_test_downward): Likewise.
29094 (cos_test_upward): Likewise.
29095 (sin_test_tonearest): Likewise.
29096 (sin_test_towardzero): Likewise.
29097 (sin_test_downward): Likewise.
29098 (sin_test_upward): Likewise.
29099 (tan_test_tonearest): Likewise.
29100 (tan_test_towardzero): Likewise.
29101 (tan_test_downward): Likewise.
29102 (tan_test_upward): Likewise.
29103 (main): Call the new functions.
29104 * sysdeps/i386/fpu/libm-test-ulps: Update.
29105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29108 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29109 small n, then large n, before computing and testing k+n.
29110 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29115 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29116 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29123 * math/libm-test.inc (scalbn_test): Add more tests.
29124 (scalbln_test): Likewise.
29126 * manual/filesys.texi (mode_t): Describe constraints on size and
29127 signedness, not exact equivalence to a particular type.
29129 (ino64_t): Likewise.
29131 (nlink_t): Likewise.
29132 (blkcnt_t): Likewise.
29133 (blkcnt64_t): Likewise.
29134 * manual/llio.texi (off_t): Likewise.
29137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29138 (__ieee754_exp): Save and restore rounding mode and use
29139 round-to-nearest for all computations.
29140 * math/libm-test.inc (exp_test_tonearest): New function.
29141 (exp_test_towardzero): Likewise.
29142 (exp_test_downward): Likewise.
29143 (exp_test_upward): Likewise.
29144 (main): Call the new functions.
29145 * sysdeps/i386/fpu/libm-test-ulps: Update.
29146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29148 2012-03-01 Chris Demetriou <cgd@google.com>
29150 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29151 have predictable order.
29153 2012-03-01 David S. Miller <davem@davemloft.net>
29155 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29157 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29158 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29159 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29160 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29162 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29163 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29164 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29166 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29167 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29168 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29169 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29170 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29175 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29178 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29179 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29181 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29182 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29185 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29187 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29188 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29191 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29192 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29194 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29195 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29196 * sysdeps/sparc/elf/configure: Regenerated.
29198 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29200 * configure.in (AS, LD): Require binutils 2.20 or later.
29201 * configure: Regenerated.
29202 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29203 as required minimum version.
29204 * INSTALL: Regenerated.
29208 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29209 before squaring exponent.
29210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29211 bottom long double and 27 bits of top long double before squaring
29213 * math/libm-test.inc (erfc_test): Add more tests.
29214 * sysdeps/i386/fpu/libm-test-ulps: Update.
29215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29218 2012-03-01 Kai Tietz <ktietz@redhat.com>
29220 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29221 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29222 containing bit-fields.
29223 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29224 * soft-fp/single.h (_FP_UNION_S): Likewise.
29225 * soft-fp/double.h (_FP_UNION_D): Likewise.
29227 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29230 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29231 not include ../strcmp.S.
29232 [USE_AS_STRNCASECMP_L]: Likewise.
29233 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29234 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29235 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29236 (__strncasecmp_l_ia32): Define as alias to
29237 __strncasecmp_l_nonascii.
29240 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29241 * sysdeps/i386/fpu/libm-test-ulps: Update.
29242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29244 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29247 2012-02-29 Jeff Law <law@redhat.com>
29249 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29250 out of bounds read.
29252 2012-02-29 Marek Polacek <polacek@redhat.com>
29255 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29256 * elf/Makefile: Add rules to run tst-unused-dep.out.
29258 2012-02-28 David S. Miller <davem@davemloft.net>
29260 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29261 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29264 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29265 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29267 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29269 * math/libm-test.inc (llround_test): Move one test from
29270 lround_test. Use TEST_f_L in moved test.
29271 (lround_test): Move misplaced test to llround_test. Add testcase
29274 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29276 * sysdeps/x86_64/fpu/e_expf.S: New file.
29277 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29279 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29282 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29283 of remain_len that may cause incomplete multi-byte character and
29285 * posix/bug-regex33.c: New file.
29286 * posix/Makefile (tests): Add bug-regex33.
29288 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29290 * manual/macros.texi: New file.
29291 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29292 * manual/libc.texinfo: Include macros.texi.
29293 * manual/creatute.texi: Likewise.
29294 * manual/install.texi: Likewise.
29295 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29296 @glibcadj{} in references to the GNU C Library.
29297 * manual/charset.texi: Likewise.
29298 * manual/conf.texi: Likewise.
29299 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29300 when not using those macros.
29301 * manual/creature.texi: Likewise.
29302 * manual/crypt.texi: Likewise.
29303 * manual/errno.texi: Likewise.
29304 * manual/filesys.texi: Likewise.
29305 * manual/header.texi: Likewise.
29306 * manual/install.texi: Likewise.
29307 * manual/intro.texi: Likewise.
29308 * manual/io.texi: Likewise.
29309 * manual/job.texi: Likewise.
29310 * manual/lang.texi: Likewise.
29311 * manual/libc.texiinfo: Likewise.
29312 * manual/llio.texi: Likewise.
29313 * manual/locale.texi: Likewise.
29314 * manual/maint.texi: Likewise.
29315 * manual/math.texi: Likewise.
29316 * manual/memory.texi: Likewise.
29317 * manual/message.texi: Likewise.
29318 * manual/nss.texi: Likewise.
29319 * manual/pattern.texi: Likewise.
29320 * manual/process.texi: Likewise.
29321 * manual/resource.texi: Likewise.
29322 * manual/search.texi: Likewise.
29323 * manual/setjmp.texi: Likewise.
29324 * manual/signal.texi: Likewise.
29325 * manual/socket.texi: Likewise.
29326 * manual/startup.texi: Likewise.
29327 * manual/stdio.texi: Likewise.
29328 * manual/string.texi: Likewise.
29329 * manual/sysinfo.texi: Likewise.
29330 * manual/syslog.texi: Likewise.
29331 * manual/terminal.texi: Likewise.
29332 * manual/time.texi: Likewise.
29333 * manual/users.texi: Likewise.
29334 * INSTALL: Regenerated.
29335 * NOTES: Regenerated.
29336 * sysdeps/gnu/errlist.c: Regenerated.
29338 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29340 * include/dirent.h: Include <dirstream.h> before
29343 2012-02-28 David S. Miller <davem@davemloft.net>
29345 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29346 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29347 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29348 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29350 2012-02-27 David S. Miller <davem@davemloft.net>
29352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29354 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29355 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29358 frame pointer instead of stack pointer relative arg slot.
29359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29363 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29366 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29368 2012-02-27 David S. Miller <davem@davemloft.net>
29370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29374 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29375 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29376 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29377 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29379 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29381 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29382 later. Allow versions 5-9.
29383 * configure: Regenerated.
29384 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29385 required minimum version and 4.6 as recommended version. Do not
29386 mention bugs in GCC 2.7 and 2.8.
29387 * INSTALL: Regenerated.
29389 2012-02-27 David S. Miller <davem@davemloft.net>
29391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29395 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29396 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29397 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29398 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29401 manipulate bits before adding and subtracting TWO112[sx].
29402 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29404 2012-02-27 Roland McGrath <roland@hack.frob.com>
29407 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29408 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29409 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29410 being in POSIX, because they are in 1003.1-2008.
29412 * rt/tst-aio.c: Include <fcntl.h>.
29413 * rt/tst-aio7.c: Likewise.
29414 * rt/tst-aio64.c: Likewise.
29416 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29418 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29420 * manual/install.texi (--with-headers): Describe headers as
29421 interface headers, not private headers.
29422 (Specific advice for GNU/Linux systems): Describe use of headers
29423 from "make headers_install", not private headers from older
29425 * INSTALL: Regenerated.
29426 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29428 * sysdeps/unix/sysv/linux/configure: Regenerated.
29430 * manual/llio.texi (fclean): Remove documentation.
29432 * manual/Makefile (libc-texi-generated): New variable. Include
29434 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29435 $(libc-texi-generated), not duplicated list of files.
29436 (version.texi, stamp-version): New rules.
29437 (realclean): Remove $(libc-texi-generated), not individual files
29438 from that list. Do not remove dir-add.texinfo.
29439 * manual/libc.texinfo: Comment out uses of edition numbers and
29440 references to printed manual. Remove last-updated dates.
29441 (EDITION): Comment out.
29443 (VERSION, UPDATED): Remove.
29444 (version.texi): Include.
29446 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29448 * sysdeps/posix/spawni.c: Include <signal.h>.
29449 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29450 * sysdeps/pthread/aio_fsync.c: Likewise.
29452 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29454 * conform/Makefile (tests): Run only when not cross-compiling and
29455 when fast-check is not defined.
29457 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29458 * conform/data/limits.h-data: Fixes for POSIX2008.
29459 * conform/run-conformtest.sh: Run all tests.
29460 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29462 * include/bits/dlfcn.h: Likewise.
29463 * include/langinfo.h: Likewise.
29464 * include/monetary.h: Likewise.
29465 * include/sys/poll.h: Likewise.
29467 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29469 * posix/spawn.h: Define __need_sigset_t.
29470 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29471 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29472 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29473 to get sigevent_t only.
29474 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29475 only for __USE_GNU.
29476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29477 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29478 process_vm_writev only for __USE_GNU.
29479 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29481 * conform/Makefile: For now ignore errors from run-conformtest.
29482 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29483 POSIX to avoid namespace pollution. Don't prepend headers.
29484 * conform/data/aio.h-data: Fixes for POSIX testing.
29485 * conform/data/fcntl.h-data: Likewise.
29486 * conform/data/glob.h-data: Likewise.
29487 * conform/data/grp.h-data: Likewise.
29488 * conform/data/pthread.h-data: Likewise.
29489 * conform/data/pwd.h-data: Likewise.
29490 * conform/data/signal.h-data: Likewise.
29491 * conform/data/spawn.h-data: Likewise.
29492 * conform/data/stdio.h-data: Likewise.
29493 * conform/data/stdlib.h-data: Likewise.
29494 * conform/data/stropts.h-data: Likewise.
29495 * conform/data/sys/mman.h-data: Likewise.
29496 * conform/data/sys/stat.h-data: Likewise.
29497 * conform/data/sys/types.h-data: Likewise.
29498 * conform/data/sys/wait.h-data: Likewise.
29499 * conform/data/time.h-data: Likewise.
29500 * conform/data/unistd.h-data: Likewise.
29501 * conform/data/utime.h-data: Likewise.
29503 * io/sys/stat.h: fchmod was always in POSIX.
29504 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29505 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29506 * rt/aio.h: Define __need_timespec before including <time.h>.
29507 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29508 struct. Add forward declaration of pthread_attr_t and use it in
29510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29511 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29512 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29513 always remove CLK_TCK definition.
29515 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29517 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29519 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29521 * conform/run-conformtest.sh: New file.
29522 * conform/Makefile: Run run-conformtest for tests.
29523 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29526 * conform/data/uchar.h-data: New file.
29527 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29528 * conform/data/arpa/inet.h-data: Likewise.
29529 * conform/data/assert.h-data: Likewise.
29530 * conform/data/complex.h-data: Likewise.
29531 * conform/data/cpio.h-data: Likewise.
29532 * conform/data/ctype.h-data: Likewise.
29533 * conform/data/dirent.h-data: Likewise.
29534 * conform/data/dlfcn.h-data: Likewise.
29535 * conform/data/errno.h-data: Likewise.
29536 * conform/data/fcntl.h-data: Likewise.
29537 * conform/data/float.h-data: Likewise.
29538 * conform/data/fmtmsg.h-data: Likewise.
29539 * conform/data/fnmatch.h-data: Likewise.
29540 * conform/data/ftw.h-data: Likewise.
29541 * conform/data/glob.h-data: Likewise.
29542 * conform/data/grp.h-data: Likewise.
29543 * conform/data/iconv.h-data: Likewise.
29544 * conform/data/inttypes.h-data: Likewise.
29545 * conform/data/langinfo.h-data: Likewise.
29546 * conform/data/libgen.h-data: Likewise.
29547 * conform/data/limits.h-data: Likewise.
29548 * conform/data/locale.h-data: Likewise.
29549 * conform/data/math.h-data: Likewise.
29550 * conform/data/monetary.h-data: Likewise.
29551 * conform/data/mqueue.h-data: Likewise.
29552 * conform/data/ndbm.h-data: Likewise.
29553 * conform/data/net/if.h-data: Likewise.
29554 * conform/data/netdb.h-data: Likewise.
29555 * conform/data/netinet/in.h-data: Likewise.
29556 * conform/data/nl_types.h-data: Likewise.
29557 * conform/data/poll.h-data: Likewise.
29558 * conform/data/pthread.h-data: Likewise.
29559 * conform/data/pwd.h-data: Likewise.
29560 * conform/data/regex.h-data: Likewise.
29561 * conform/data/sched.h-data: Likewise.
29562 * conform/data/search.h-data: Likewise.
29563 * conform/data/semaphore.h-data: Likewise.
29564 * conform/data/setjmp.h-data: Likewise.
29565 * conform/data/signal.h-data: Likewise.
29566 * conform/data/spawn.h-data: Likewise.
29567 * conform/data/stdarg.h-data: Likewise.
29568 * conform/data/stdio.h-data: Likewise.
29569 * conform/data/stdlib.h-data: Likewise.
29570 * conform/data/string.h-data: Likewise.
29571 * conform/data/strings.h-data: Likewise.
29572 * conform/data/stropts.h-data: Likewise.
29573 * conform/data/sys/ipc.h-data: Likewise.
29574 * conform/data/sys/mman.h-data: Likewise.
29575 * conform/data/sys/msg.h-data: Likewise.
29576 * conform/data/sys/resource.h-data: Likewise.
29577 * conform/data/sys/select.h-data: Likewise.
29578 * conform/data/sys/sem.h-data: Likewise.
29579 * conform/data/sys/shm.h-data: Likewise.
29580 * conform/data/sys/socket.h-data: Likewise.
29581 * conform/data/sys/stat.h-data: Likewise.
29582 * conform/data/sys/statvfs.h-data: Likewise.
29583 * conform/data/sys/time.h-data: Likewise.
29584 * conform/data/sys/timeb.h-data: Likewise.
29585 * conform/data/sys/times.h-data: Likewise.
29586 * conform/data/sys/types.h-data: Likewise.
29587 * conform/data/sys/uio.h-data: Likewise.
29588 * conform/data/sys/un.h-data: Likewise.
29589 * conform/data/sys/utsname.h-data: Likewise.
29590 * conform/data/sys/wait.h-data: Likewise.
29591 * conform/data/syslog.h-data: Likewise.
29592 * conform/data/tar.h-data: Likewise.
29593 * conform/data/termios.h-data: Likewise.
29594 * conform/data/utime.h-data: Likewise.
29595 * conform/data/utmpx.h-data: Likewise.
29596 * conform/data/varargs.h-data: Likewise.
29597 * conform/data/wchar.h-data: Likewise.
29598 * conform/data/wctype.h-data: Likewise.
29599 * conform/data/wordexp.h-data: Likewise.
29601 * include/stropts.h: New file.
29602 * include/uchar.h: New file.
29603 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29604 * include/assert.h: Likewise.
29605 * include/ctype.h: Likewise.
29606 * include/dirent.h: Likewise.
29607 * include/dlfcn.h: Likewise.
29608 * include/fcntl.h: Likewise.
29609 * include/fnmatch.h: Likewise.
29610 * include/glob.h: Likewise.
29611 * include/grp.h: Likewise.
29612 * include/libio.h: Likewise.
29613 * include/locale.h: Likewise.
29614 * include/math.h: Likewise.
29615 * include/net/if.h: Likewise.
29616 * include/netdb.h: Likewise.
29617 * include/netinet/in.h: Likewise.
29618 * include/pthread.h: Likewise.
29619 * include/pwd.h: Likewise.
29620 * include/regex.h: Likewise.
29621 * include/sched.h: Likewise.
29622 * include/search.h: Likewise.
29623 * include/setjmp.h: Likewise.
29624 * include/signal.h: Likewise.
29625 * include/stdio.h: Likewise.
29626 * include/stdlib.h: Likewise.
29627 * include/string.h: Likewise.
29628 * include/sys/cdefs.h: Likewise.
29629 * include/sys/mman.h: Likewise.
29630 * include/sys/msg.h: Likewise.
29631 * include/sys/resource.h: Likewise.
29632 * include/sys/select.h: Likewise.
29633 * include/sys/socket.h: Likewise.
29634 * include/sys/stat.h: Likewise.
29635 * include/sys/statvfs.h: Likewise.
29636 * include/sys/time.h: Likewise.
29637 * include/sys/times.h: Likewise.
29638 * include/sys/uio.h: Likewise.
29639 * include/sys/utsname.h: Likewise.
29640 * include/sys/wait.h: Likewise.
29641 * include/termios.h: Likewise.
29642 * include/time.h: Likewise.
29643 * include/ulimit.h: Likewise.
29644 * include/unistd.h: Likewise.
29645 * include/utime.h: Likewise.
29646 * include/wchar.h: Likewise.
29647 * include/wctype.h: Likewise.
29648 * include/wordexp.h: Likewise.
29650 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29652 * time/time.h: TIME_UTC must be a macro.
29653 Make timespec_get available for ISO C11 only as well.
29655 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29657 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29658 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29660 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29662 * configure.in: Use -o not -a in test for unsupported multi-arch.
29664 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29666 * manual/texinfo.tex: Update to version 2012-01-19.16.
29668 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29670 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29672 2012-02-24 Roland McGrath <roland@hack.frob.com>
29675 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29676 * manual/fdl-1.3.texi: New file.
29677 * manual/fdl-1.1.texi: File removed.
29680 * manual/libc.texinfo (FDL_VERSION): New @set.
29681 Use it for mention of FDL in cover text.
29682 (Documentation License): Use it in @include file name.
29684 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29685 Roland McGrath <roland@hack.frob.com>
29688 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29689 not LONG_LONG_MAX and LONG_LONG_MIN.
29690 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29691 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29693 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29699 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29700 manipulate bits before adding and subtracting TWO23[sx].
29701 * math/libm-test.inc (nearbyint_test): Add more tests.
29703 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29706 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29707 bits before adding and subtracting TWO23[sx].
29708 * math/libm-test.inc (rint_test): Add more tests.
29709 (rint_test_tonearest): Likewise.
29710 (rint_test_towardzero): Likewise.
29711 (rint_test_downward): Likewise.
29712 (rint_test_upward: Likewise.
29714 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29717 * include/stdc-predef.h: New file. Extracted from features.h.
29718 * include/features.h: Include stdc-predef.h.
29719 * Makefile (headers): Add stdc-predef.h.
29720 * CONFORMANCE (Compiler limitations): Update.
29722 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29724 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29726 2012-02-21 David S. Miller <davem@davemloft.net>
29728 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29729 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29731 2012-02-20 David S. Miller <davem@davemloft.net>
29733 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29734 using a normal save/restore sequence, rather than allocating a
29735 dummy stack frame just to store a frame pointer and restore.
29736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29738 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29740 * manual/install.texi: Fix stray word in line-wrapped comment.
29742 2012-02-20 David S. Miller <davem@davemloft.net>
29744 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29745 both binutils and gcc support GOTDATA.
29747 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29748 "rd %pc" in the PIC register setup sequences.
29750 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29751 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29752 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29753 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29754 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29757 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29759 (SYSCALL_ERROR_HANDLER): Likewise.
29760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29761 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29763 (SYSCALL_ERROR_HANDLER): Likewise.
29765 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29766 (HAVE_GCC_GOTDATA): New.
29767 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29768 relocation support in both binutils and gcc.
29769 * sysdeps/sparc/elf/configure: Regenerate.
29771 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29772 * sysdeps/sparc/sparc32/elf/configure: Delete.
29773 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29774 * sysdeps/sparc/sparc64/elf/configure: Delete.
29775 * sysdeps/sparc/elf/configure.in: New file.
29776 * sysdeps/sparc/elf/configure: Generate.
29778 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29779 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29780 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29781 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29782 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29784 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29786 * manual/install.texi: Do not mention specific glibc version
29788 * manual/libc.texinfo (VERSION, UPDATED): Update.
29789 (@copying): Use @copyright{} and range of years.
29791 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29794 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29795 [crti.S not in sysdirs] (generated): Do not append.
29796 [crti.S not in sysdirs] (omit-deps): Likewise.
29797 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29798 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29799 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29800 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29801 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29803 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29804 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29805 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29806 * csu/defs.awk: Remove file.
29807 * sysdeps/generic/initfini.c: Likewise.
29808 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29810 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29813 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29816 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29817 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29820 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29822 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29823 (__EPOLL_PACKED): Define to empty if not defined by
29825 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29829 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29831 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29832 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29834 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29836 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29840 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29842 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29844 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29849 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29851 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29852 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29854 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29856 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29857 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29859 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29861 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29864 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29866 * math/w_acos.c: Use non-signaling floating-point comparisons.
29867 * math/w_acosf.c: Likewise.
29868 * math/w_acosh.c: Likewise.
29869 * math/w_acoshf.c: Likewise.
29870 * math/w_acoshl.c: Likewise.
29871 * math/w_acosl.c: Likewise.
29872 * math/w_asin.c: Likewise.
29873 * math/w_asinf.c: Likewise.
29874 * math/w_asinl.c: Likewise.
29875 * math/w_atanh.c: Likewise.
29876 * math/w_atanhf.c: Likewise.
29877 * math/w_atanhl.c: Likewise.
29878 * math/w_exp2.c: Likewise.
29879 * math/w_exp2f.c: Likewise.
29880 * math/w_exp2l.c: Likewise.
29881 * math/w_j0.c: Likewise.
29882 * math/w_j0f.c: Likewise.
29883 * math/w_j0l.c: Likewise.
29884 * math/w_j1.c: Likewise.
29885 * math/w_j1f.c: Likewise.
29886 * math/w_j1l.c: Likewise.
29887 * math/w_jn.c: Likewise.
29888 * math/w_jnf.c: Likewise.
29889 * math/w_log.c: Likewise.
29890 * math/w_log10.c: Likewise.
29891 * math/w_log10f.c: Likewise.
29892 * math/w_log10l.c: Likewise.
29893 * math/w_log2.c: Likewise.
29894 * math/w_log2f.c: Likewise.
29895 * math/w_log2l.c: Likewise.
29896 * math/w_logf.c: Likewise.
29897 * math/w_logl.c: Likewise.
29898 * math/w_sqrt.c: Likewise.
29899 * math/w_sqrtf.c: Likewise.
29900 * math/w_sqrtl.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29903 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29904 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29905 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29907 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29910 * manual/string.texi (strnlen): Use correct parameter name in
29911 equivalent expression.
29913 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29916 * manual/users.texi (seteuid): Consistently use neweuid for
29919 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29922 * manual/nss.texi (Services in the NSS configuration): Correct
29923 list of services in example configuration file.
29925 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29928 * manual/arith.texi: Remove statements about negative zero
29929 behaving identically to zero.
29931 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29934 * manual/install.texi: Do not document upgrading from libc5.
29936 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29939 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29941 2012-02-18 David S. Miller <davem@davemloft.net>
29943 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29944 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29945 %o7 across the call.
29946 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29949 SETUP_PIC_REG_LEAF.
29950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29951 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29952 * sysdeps/sparc/crtn.S: Likewise.
29954 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29956 * aout/Makefile: Remove.
29958 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29961 * manual/examples/argp-ex1.c (main): Format definition in GNU
29963 * manual/examples/argp-ex2.c (main): Likewise.
29964 * manual/examples/argp-ex3.c (main): Likewise.
29965 * manual/examples/argp-ex4.c (main): Likewise.
29966 * manual/examples/longopt.c (main): Use new-style prototype
29968 * manual/examples/strncat.c (main): Specify return type and use
29969 (void) for arguments.
29970 * manual/examples/subopt.c (main): Use char **argv argument.
29972 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29975 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29978 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29981 * manual/string.texi (strchr): Change when strchrnul is
29984 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29987 * manual/locale.texi (setlocale): Document LOCPATH.
29989 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29992 * manual/process.texi (execle): Move @dots{} before last argument.
29994 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29997 * manual/charset.texi (Generic Charset Conversion): Fix typo
29998 (LC_TYPE -> LC_CTYPE).
30000 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30003 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30004 (scalbnf): Likewise.
30005 (scalbnl): Likewise.
30006 (scalbln): Likewise.
30007 (scalblnf): Likewise.
30008 (scalblnl): Likewise.
30009 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30010 (vwarnx): Likewise.
30013 * manual/filesys.texi (telldir): Use braces around return type.
30014 * manual/llio.texi (mmap): Add space after comma.
30015 (mmap64): Likewise.
30016 * manual/math.texi (jn): Use @var{} on parameter names.
30022 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30024 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30026 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30027 (sched_get_priority_max): Likewise.
30028 * manual/signal.texi (sigvec): Add space after comma.
30029 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30031 (if_indextoname): Likewise.
30032 (if_freenameindex): Likewise.
30033 (sendto): Use ',' instead of '.' in prototype.
30034 * manual/startup.texi (syscall): Use @dots{} instead of literal
30036 * manual/stdio.texi (__fpending): Separate initial words of
30037 paragraph from @deftypefun line.
30038 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30040 (vsyslog): Use @var{} on parameter names.
30041 * manual/terminal.texi (stty): Use @var{} on parameter names.
30042 * manual/users.texi (getutmp): Use @var{} on parameter names.
30043 (getutmpx): Likewise.
30045 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30048 * manual/stdio.texi (fopen): Fix typos in description of
30051 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30054 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30055 get clock_id definition.
30057 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30060 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30061 (madvise): Cast every argument to void on its own.
30063 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30066 * manual/startup.texi (Exit Status): Fix typo.
30068 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30071 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30072 * manual/examples/argp-ex2.c: Likewise.
30073 * manual/examples/argp-ex3.c: Likewise.
30075 2012-02-16 Richard Henderson <rth@redhat.com>
30077 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30078 * sysdeps/s390/s390-32/initfini.c: Remove.
30079 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30080 * sysdeps/s390/s390-64/initfini.c: Remove.
30082 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30084 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30085 compiler output for sysdeps/generic/initfini.c.
30086 * sysdeps/sh/elf/initfini.c: Remove file.
30088 2012-02-16 David S. Miller <davem@davemloft.net>
30091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30093 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30094 * sysdeps/sparc/crti.S: New file.
30095 * sysdeps/sparc/crtn.S: New file.
30096 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30097 * sysdeps/sparc/sparc64/Makefile: Likewise.
30099 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30102 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30104 2012-02-15 Roland McGrath <roland@hack.frob.com>
30107 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30109 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30110 (write, read, close): Likewise.
30111 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30113 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30115 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30116 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30117 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30118 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30120 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30124 2012-02-14 Marek Polacek <polacek@redhat.com>
30126 * sysdeps/x86_64/crti.S: New file.
30127 * sysdeps/x86_64/crtn.S: New file.
30128 * sysdeps/x86_64/elf/initfini.c: Remove file.
30130 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30132 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30133 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30134 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30135 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30137 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30141 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30143 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30144 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30145 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30146 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30148 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30152 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30154 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30155 __feraiseexcept instead of feraiseexcept.
30157 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30158 nanosleep invocations.
30159 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30160 strings, and add error checking for a nanosleep invocations.
30162 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30164 Replace FSF snail mail address with URLs, as per GNU coding standards.
30165 Most of the snail mail addresses were wrong anyway, and omitting
30166 them makes the source code easier to maintain. Almost all of the
30167 changes are to license notices and to locale LC_IDENTIFICATION
30168 addresses, except for this one:
30169 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30170 not its snail mail address.
30172 2012-02-09 Richard Henderson <rth@twiddle.net>
30174 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30175 of kernel-features.h.
30177 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30179 2012-02-08 Marek Polacek <polacek@redhat.com>
30181 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30182 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30183 * sysdeps/gnu/_G_config.h: Likewise.
30184 * sysdeps/generic/_G_config.h: Likewise.
30186 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30188 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30192 * sysdeps/powerpc/powerpc32/crti.S: New file.
30193 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30194 * sysdeps/powerpc/powerpc64/crti.S: New file.
30195 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30197 * Makeconfig (have-initfini): Don't set.
30198 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30199 * configure.in (nopic_initfini): Don't substitute.
30200 * config.h.in (HAVE_INITFINI): Don't #undef.
30201 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30202 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30204 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30206 Support crti.S and crtn.S provided directly by architectures.
30207 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30208 [crti.S in sysdirs] (omit-deps): Likewise.
30209 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30210 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30211 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30212 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30213 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30214 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30215 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30216 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30217 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30218 compiler output for sysdeps/generic/initfini.c.
30219 * sysdeps/i386/elf/Makefile: Remove file.
30220 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30222 2012-02-07 Marek Polacek <polacek@redhat.com>
30224 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30225 * sysdeps/gnu/_G_config.h: Likewise.
30226 * sysdeps/mach/hurd/_G_config.h: Likewise.
30228 2012-02-07 Marek Polacek <polacek@redhat.com>
30230 * math/Makefile (tests): Add tst-CMPLX2.
30231 * math/tst-CMPLX2.c: New file.
30233 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30235 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30237 * math/libm-test.inc (jn_test): Add missing L suffix.
30239 2012-02-06 Marek Polacek <polacek@redhat.com>
30241 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30242 * sysdeps/i386/fpu/e_powf.S: Likewise.
30243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30244 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30245 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30246 * sysdeps/i386/fpu/e_pow.S: Likewise.
30247 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30248 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30249 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30250 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30251 * sysdeps/i386/fpu/e_log2.S: Likewise.
30252 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30253 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30254 * sysdeps/i386/fpu/e_powl.S: Likewise.
30255 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30256 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30257 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30258 * sysdeps/i386/fpu/e_logl.S: Likewise.
30259 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30260 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30261 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30262 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30263 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30264 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30265 * sysdeps/i386/fpu/e_log.S: Likewise.
30266 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30268 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30269 * sysdeps/i386/fpu/e_logf.S: Likewise.
30270 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30271 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30272 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30274 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30275 * sysdeps/i386/fpu/e_log10.S: Likewise.
30276 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30277 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30278 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30279 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30280 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30282 * sysdeps/i386/asm-syntax.h: Likewise.
30283 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30285 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30286 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30287 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30288 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30289 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30290 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30291 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30292 * sysdeps/powerpc/sysdep.h: Likewise.
30293 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30294 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30296 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30299 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30301 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30303 * sysdeps/i386/sysdep.h: Include <features.h>.
30304 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30307 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30309 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30311 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30314 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30316 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30317 (SETUP_PIC_REG): Use GET_PC_THUNK.
30318 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30321 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30323 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30324 for non-PIC compilation.
30325 (SETUP_PIC_REG): Add .p2align directive.
30326 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30327 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30328 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30329 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30331 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30332 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30334 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30335 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30336 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30337 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30338 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30339 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30340 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30341 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30342 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30343 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30344 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30345 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30348 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30349 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30350 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30354 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30355 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30356 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30358 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30359 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30360 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30361 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30362 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30363 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30364 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30365 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30366 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30368 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30370 * math/tst-CMPLX.c: Include <stdio.h>.
30372 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30374 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30376 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30377 * sysdeps/sparc/bits/mathdef.h: Likewise.
30379 2012-01-31 Marek Polacek <polacek@redhat.com>
30381 * libio/libio.h: Don't define _PARAMS.
30382 * locale/programs/config.h: Don't define PARAMS.
30383 * stdlib/strtol_l.c: Likewise.
30384 (__strtol_l): Remove PARAMS from the prototype.
30386 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30388 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30389 names. Just use the correct names. Remove unnecessary wrapper
30391 * malloc/arena.c: Likewise.
30392 * malloc/hooks.c: Likewise.
30394 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30395 ARENA_TEST says not to. Simplify test for creation of a new arena.
30396 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30398 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30400 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30402 (update_get_addr): New function.
30403 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30404 GET_ADDR_MODULE parameter.
30406 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30408 * crypt/cert.c: Remove __STDC__ conditionals.
30409 * crypt/crypt-entry.c: Likewise.
30410 * crypt/crypt_util.c: Likewise.
30411 * libio/filedoalloc.c: Likewise.
30412 * libio/fileops.c: Likewise.
30413 * libio/genops.c: Likewise.
30414 * libio/iofclose.c: Likewise.
30415 * libio/iofdopen.c: Likewise.
30416 * libio/iofopen.c: Likewise.
30417 * libio/iofopen64.c: Likewise.
30418 * libio/iogetdelim.c: Likewise.
30419 * libio/iopopen.c: Likewise.
30420 * libio/obprintf.c: Likewise.
30421 * libio/oldfileops.c: Likewise.
30422 * libio/oldiofclose.c: Likewise.
30423 * libio/oldiofdopen.c: Likewise.
30424 * libio/oldiofopen.c: Likewise.
30425 * libio/oldiopopen.c: Likewise.
30426 * libio/wfiledoalloc.c: Likewise.
30427 * libio/wgenops.c: Likewise.
30428 * locale/programs/xmalloc.c: Likewise.
30429 * misc/syslog.c: Likewise.
30430 * stdio-common/xbug.c: Likewise.
30431 * string/memchr.c: Likewise.
30432 * string/memcmp.c: Likewise.
30433 * string/memrchr.c: Likewise.
30434 * string/rawmemchr.c: Likewise.
30435 * sysdeps/posix/getcwd.c: Likewise.
30436 * time/strftime_l.c: Likewise.
30438 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30440 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30441 * config.make.in (config-cflags-sse2avx): Define.
30442 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30445 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30447 * scripts/config.guess: Update from upstream config git repository.
30448 * scripts/config.sub: Likewise.
30450 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30452 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30454 (R_TILEPRO_*, R_TILEGX_*): New macros.
30456 * scripts/firstversions.awk: Fix bug in version range handling.
30458 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30460 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30462 * include/sys/epoll.h: New file.
30463 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30466 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30468 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30469 Avoid unnecessary __WORDSIZE == 64 test.
30470 (fmaxf): Use VEX format if possible.
30475 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30476 * math/math_private.h: Remove libc_fegetround* and
30478 * sysdeps/i386/configure.in: Check for -msse2avx.
30479 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30480 also if SSE2AVX is defined.
30481 Remove libc_fegetround* and libc_fesetround*.
30482 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30483 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30487 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30489 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30490 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30492 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30494 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30496 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30500 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30503 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30505 * Makeconfig (libm): Define.
30506 * elf/Makefile: Add rules to build and run tst-relsort1.
30507 * elf/tst-relsort1.c: New file.
30508 * elf/tst-relsort1mod1.c: New file.
30509 * elf/tst-relsort1mod2.c: New file.
30511 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30513 * math/s_ldexp.c: Remove __STDC__ conditionals.
30514 * math/s_ldexpf.c: Likewise.
30515 * math/s_ldexpl.c: Likewise.
30516 * math/s_nextafter.c: Likewise.
30517 * math/s_nexttowardf.c: Likewise.
30518 * math/s_significand.c: Likewise.
30519 * math/s_significandf.c: Likewise.
30520 * math/s_significandl.c: Likewise.
30521 * math/w_jnl.c: Likewise.
30522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30536 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30541 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30542 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30543 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30548 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30549 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30550 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30551 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30552 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30553 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30554 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30555 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30557 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30558 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30559 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30560 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30561 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30562 * sysdeps/ieee754/k_standard.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30577 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30579 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30581 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30582 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30588 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30593 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30594 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30595 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30596 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30598 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30599 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30602 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30605 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30606 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30608 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30611 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30613 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30618 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30624 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30629 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30637 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30638 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30642 * sysdeps/ieee754/s_matherr.c: Likewise.
30643 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30644 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30648 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30650 * crypt/md5.h: Remove __STDC__ conditionals.
30651 * libio/libioP.h: Likewise.
30652 * locale/programs/config.h: Likewise.
30653 * sysdeps/generic/sysdep.h: Likewise.
30654 * sysdeps/i386/asm-syntax.h: Likewise.
30655 * sysdeps/s390/asm-syntax.h: Likewise.
30656 * sysdeps/unix/sysdep.h: Likewise.
30657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30660 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30662 * libio/libio.h: Remove __STDC__ conditionals.
30663 * malloc/obstack.h: Likewise.
30664 * math/complex.h: Likewise.
30665 * math/math.h: Likewise.
30666 * sysdeps/generic/_G_config.h: Likewise.
30667 * sysdeps/gnu/_G_config.h: Likewise.
30668 * sysdeps/mach/hurd/_G_config.h: Likewise.
30669 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30670 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30671 * sysdeps/sparc/bits/mathdef.h: Likewise.
30673 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30677 Clean up HAS_* macros.
30678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30679 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30689 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30691 * elf/tst-unique3.cc (gets): Remove declaration.
30692 * elf/tst-unique3lib.cc (gets): Likewise.
30693 * elf/tst-unique3lib2.cc (gets): Likewise.
30694 * elf/tst-unique4.cc (gets): Likewise.
30696 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30698 * include/stdio.h: Add C++ protection. Add gets declarations and
30700 * debug/tst-chk1.c: Don't declare gets here.
30701 * stdio-common/tst-gets.c: Likewise.
30703 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30705 * posix/glob: Remove directory.
30707 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30709 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30711 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30713 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30714 of the non-standard EPFNOSUPPORT.
30716 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30718 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30719 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30720 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30722 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30724 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30726 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30728 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30730 * nscd/grpcache.c (cache_addgr): Likewise.
30731 * nscd/hstcache.c (cache_addhst): Likewise.
30732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30733 * nscd/pwdcache.c (cache_addpw): Likewise.
30734 * nscd/servicescache.c (cache_addserv): Likewise.
30736 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30738 * malloc/malloc.c: Various cleanups.
30739 * malloc/hooks.c: Likewise.
30741 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30742 * stdlib/bug-fmtmsg1.c: New file.
30744 * stdlib/fmtmsg.c (init): Add missing unlock.
30745 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30747 2012-01-12 Marek Polacek <polacek@redhat.com>
30749 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30752 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30754 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30755 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30756 macro to ensure uniqueness of label name.
30757 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30758 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30760 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30762 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30764 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30765 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30769 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30771 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30773 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30774 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30775 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30777 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30779 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30780 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30784 * math/bits/math-finite.h: Add ldexp support.
30786 2012-01-10 Marek Polacek <polacek@redhat.com>
30788 * locale/programs/localedef.h (show_archive_content): Add noreturn
30791 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30793 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30795 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30797 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30799 * io/Makefile (headers): Add bits/poll2.h.
30801 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30804 typo #include statement.
30806 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30808 * include/sys/cdefs.h: Define __attribute_alloc_size.
30809 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30810 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30811 * elf/pldd.c: Likewise.
30812 * iconv/iconv_charmap.c: Likewise.
30813 * iconv/iconvconfig.c: Likewise.
30814 * iconv/strtab.c: Likewise.
30815 * locale/programs/locale.c: Likewise.
30816 * locale/programs/localedef.h: Likewise.
30817 * locale/programs/simple-hash.c: Likewise.
30818 * nscd/nscd.h: Likewise.
30819 * nss/makedb.c: Likewise.
30820 * sysdeps/generic/ldconfig.h: Likewise.
30821 * locale/programs/localedef.c: Remove xmalloc prototype.
30822 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30824 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30826 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30829 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30831 * math/Makefile (tests): Add tst-CMPLX.
30832 * math/tst-CMPLX.c: New file.
30834 * math/complex.h (CMPLXL): Fix typo.
30836 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30837 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30839 * debug/tst-chk1.c: Add poll and ppoll tests.
30840 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30841 * include/sys/poll.h: Add hidden proto for ppoll.
30842 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30843 * sysdeps/mach/hurd/ppoll.c: Likewise.
30844 * io/ppoll.c: Likewise.
30845 * debug/poll_chk.c: New file.
30846 * debug/ppoll_chk.c: New file.
30847 * include/bits/poll2.h: New file.
30848 * io/bits/poll2.h: New file.
30851 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30853 * configure.in: static is always set to yes. Remove.
30854 * config.make.in: Don't set build-static.
30855 * Makeconfig: Remove use of build-static.
30856 * dlfcn/Makefile: Likewise.
30857 * elf/Makefile: Likewise.
30858 * math/Makefile: Likewise.
30859 * misc/Makefile: Likewise.
30860 * nptl/Makefile: Likewise.
30861 * sysdeps/mach/hurd/Makefile: Likewise.
30863 * configure.in: PWD_P is not used anymore.
30864 * config.make.in: Remove PWD_P entry.
30866 * configure.in: Remove last remnants of RANLIB.
30867 No need to check for signed size_t anymore.
30868 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30870 Remove __builtin_expect test because we require at least gcc 3.4.
30871 * aclocal.m4: Likewise.
30873 * wcsmbs/mbrtoc16.c: Implement using towc function.
30874 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30875 * wcsmbs/wcsmbsload.c: Likewise.
30876 * iconv/gconv_simple.c: Likewise.
30877 * iconv/gconv_int.h: Likewise.
30878 * iconv/gconv_builtin.h: Likewise.
30879 * iconv/iconv_prog.c: Remove CHAR16 handling.
30881 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30883 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30885 * configure.in: Remove --with-elf and --enable-bounded options.
30886 Dont set base_machine for ia64. More non-ELF conditions removed.
30887 Remove testing and setting of leading underscore information.
30888 * config.make.in (build-bounded): Set to no.
30889 * config.h.in: Remove NO_UNDERSCORES entry.
30890 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30892 * csu/start.c: Remove !NO_UNDERSCORE code.
30893 * locale/localeinfo.h: Likewise.
30894 * sysdeps/generic/machine-gmon.h: Likewise.
30895 * sysdeps/generic/sysdep.h: Likewise.
30896 * sysdeps/i386/sysdep.h: Likewise.
30897 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30898 * sysdeps/mach/sysdep.h: Likewise.
30899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30901 * sysdeps/sh/sysdep.h: Likewise.
30902 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30903 * sysdeps/unix/i386/sysdep.S: Likewise.
30904 * sysdeps/unix/sparc/start.c: Likewise.
30905 * sysdeps/unix/sparc/sysdep.S: Likewise.
30906 * sysdeps/unix/sparc/sysdep.h: Likewise.
30907 * sysdeps/unix/start.c: Likewise.
30908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30909 * sysdeps/x86_64/sysdep.h: Likewise.
30911 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30914 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30916 * argp/argp-fmtstream.h: Use const instead __const.
30917 * argp/argp.h: Likewise.
30918 * assert/assert.h: Likewise.
30919 * bits/fenv.h: Likewise.
30920 * bits/sched.h: Likewise.
30921 * bits/sigset.h: Likewise.
30922 * bits/sigthread.h: Likewise.
30923 * catgets/nl_types.h: Likewise.
30924 * conform/data/pthread.h-data: Likewise.
30925 * crypt/crypt-private.h: Likewise.
30926 * crypt/crypt.h: Likewise.
30927 * crypt/crypt_util.c: Likewise.
30928 * ctype/ctype.h: Likewise.
30929 * debug/execinfo.h: Likewise.
30930 * debug/mbsnrtowcs_chk.c: Likewise.
30931 * debug/mbsrtowcs_chk.c: Likewise.
30932 * debug/wcsnrtombs_chk.c: Likewise.
30933 * debug/wcsrtombs_chk.c: Likewise.
30934 * debug/wcstombs_chk.c: Likewise.
30935 * dirent/dirent.h: Likewise.
30936 * dlfcn/dlfcn.h: Likewise.
30937 * elf/neededtest4.c: Likewise.
30938 * grp/grp.h: Likewise.
30939 * gshadow/gshadow.h: Likewise.
30940 * iconv/gconv.h: Likewise.
30941 * iconv/gconv_int.h: Likewise.
30942 * iconv/gconv_simple.c: Likewise.
30943 * iconv/iconv.h: Likewise.
30944 * iconv/loop.c: Likewise.
30945 * iconv/skeleton.c: Likewise.
30946 * include/aio.h: Likewise.
30947 * include/aliases.h: Likewise.
30948 * include/argz.h: Likewise.
30949 * include/arpa/inet.h: Likewise.
30950 * include/assert.h: Likewise.
30951 * include/dirent.h: Likewise.
30952 * include/dlfcn.h: Likewise.
30953 * include/execinfo.h: Likewise.
30954 * include/fcntl.h: Likewise.
30955 * include/fenv.h: Likewise.
30956 * include/glob.h: Likewise.
30957 * include/grp.h: Likewise.
30958 * include/libintl.h: Likewise.
30959 * include/mntent.h: Likewise.
30960 * include/netdb.h: Likewise.
30961 * include/pwd.h: Likewise.
30962 * include/rpc/netdb.h: Likewise.
30963 * include/sched.h: Likewise.
30964 * include/search.h: Likewise.
30965 * include/shadow.h: Likewise.
30966 * include/signal.h: Likewise.
30967 * include/stdio.h: Likewise.
30968 * include/stdlib.h: Likewise.
30969 * include/string.h: Likewise.
30970 * include/sys/socket.h: Likewise.
30971 * include/sys/stat.h: Likewise.
30972 * include/sys/statfs.h: Likewise.
30973 * include/sys/statvfs.h: Likewise.
30974 * include/sys/syslog.h: Likewise.
30975 * include/sys/time.h: Likewise.
30976 * include/sys/uio.h: Likewise.
30977 * include/time.h: Likewise.
30978 * include/unistd.h: Likewise.
30979 * include/utmp.h: Likewise.
30980 * include/wchar.h: Likewise.
30981 * include/wctype.h: Likewise.
30982 * inet/aliases.h: Likewise.
30983 * inet/arpa/inet.h: Likewise.
30984 * inet/netinet/ether.h: Likewise.
30985 * inet/netinet/in.h: Likewise.
30986 * intl/libintl.h: Likewise.
30987 * io/bits/fcntl2.h: Likewise.
30988 * io/fcntl.h: Likewise.
30989 * io/ftw.h: Likewise.
30990 * io/sys/poll.h: Likewise.
30991 * io/sys/stat.h: Likewise.
30992 * io/sys/statfs.h: Likewise.
30993 * io/sys/statvfs.h: Likewise.
30994 * io/utime.h: Likewise.
30995 * libio/bits/stdio.h: Likewise.
30996 * libio/bits/stdio2.h: Likewise.
30997 * libio/libio.h: Likewise.
30998 * libio/libioP.h: Likewise.
30999 * libio/stdio.h: Likewise.
31000 * locale/lc-ctype.c: Likewise.
31001 * locale/locale.h: Likewise.
31002 * login/utmp.h: Likewise.
31003 * malloc/arena.c: Likewise.
31004 * malloc/malloc.c: Likewise.
31005 * malloc/malloc.h: Likewise.
31006 * malloc/mcheck.c: Likewise.
31007 * malloc/mtrace.c: Likewise.
31008 * math/bits/mathcalls.h: Likewise.
31009 * math/fenv.h: Likewise.
31010 * math/math_private.h: Likewise.
31011 * misc/bits/error.h: Likewise.
31012 * misc/bits/syslog.h: Likewise.
31013 * misc/err.h: Likewise.
31014 * misc/error.h: Likewise.
31015 * misc/fstab.h: Likewise.
31016 * misc/mntent.h: Likewise.
31017 * misc/regexp.h: Likewise.
31018 * misc/search.h: Likewise.
31019 * misc/sgtty.h: Likewise.
31020 * misc/sys/mman.h: Likewise.
31021 * misc/sys/syslog.h: Likewise.
31022 * misc/sys/uio.h: Likewise.
31023 * misc/sys/xattr.h: Likewise.
31024 * misc/ttyent.h: Likewise.
31025 * nis/rpcsvc/ypclnt.h: Likewise.
31026 * nss/nss.h: Likewise.
31027 * posix/bits/unistd.h: Likewise.
31028 * posix/fnmatch.h: Likewise.
31029 * posix/glob.h: Likewise.
31030 * posix/sched.h: Likewise.
31031 * posix/spawn.h: Likewise.
31032 * posix/sys/wait.h: Likewise.
31033 * posix/unistd.h: Likewise.
31034 * posix/wordexp.h: Likewise.
31035 * pwd/pwd.h: Likewise.
31036 * resolv/netdb.h: Likewise.
31037 * resource/sys/resource.h: Likewise.
31038 * rt/aio.h: Likewise.
31039 * rt/bits/mqueue2.h: Likewise.
31040 * rt/mqueue.h: Likewise.
31041 * shadow/shadow.h: Likewise.
31042 * signal/signal.h: Likewise.
31043 * socket/send.c: Likewise.
31044 * socket/sendto.c: Likewise.
31045 * socket/sys/socket.h: Likewise.
31046 * stdio-common/printf.h: Likewise.
31047 * stdlib/bits/stdlib.h: Likewise.
31048 * stdlib/fmtmsg.h: Likewise.
31049 * stdlib/monetary.h: Likewise.
31050 * stdlib/stdlib.h: Likewise.
31051 * stdlib/ucontext.h: Likewise.
31052 * streams/stropts.h: Likewise.
31053 * string/argz.h: Likewise.
31054 * string/bits/string2.h: Likewise.
31055 * string/string.h: Likewise.
31056 * string/strings.h: Likewise.
31057 * sunrpc/rpc/auth.h: Likewise.
31058 * sunrpc/rpc/auth_des.h: Likewise.
31059 * sunrpc/rpc/clnt.h: Likewise.
31060 * sunrpc/rpc/netdb.h: Likewise.
31061 * sunrpc/rpc/pmap_clnt.h: Likewise.
31062 * sunrpc/rpc/xdr.h: Likewise.
31063 * sysdeps/generic/inttypes.h: Likewise.
31064 * sysdeps/generic/net/if.h: Likewise.
31065 * sysdeps/generic/sys/swap.h: Likewise.
31066 * sysdeps/gnu/net/if.h: Likewise.
31067 * sysdeps/gnu/utmpx.h: Likewise.
31068 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31069 * sysdeps/i386/i486/bits/string.h: Likewise.
31070 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31071 * sysdeps/s390/bits/string.h: Likewise.
31072 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31073 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31074 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31075 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31076 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31077 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31078 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31079 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31080 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31081 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31082 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31083 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31084 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31085 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31086 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31087 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31088 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31093 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31094 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31095 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31096 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31097 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31098 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31099 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31100 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31101 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31102 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31103 * sysvipc/sys/ipc.h: Likewise.
31104 * sysvipc/sys/msg.h: Likewise.
31105 * sysvipc/sys/sem.h: Likewise.
31106 * sysvipc/sys/shm.h: Likewise.
31107 * termios/termios.h: Likewise.
31108 * time/sys/time.h: Likewise.
31109 * time/time.h: Likewise.
31110 * wcsmbs/bits/wchar2.h: Likewise.
31111 * wcsmbs/uchar.h: Likewise.
31112 * wcsmbs/wchar.h: Likewise.
31113 * wctype/wctype.h: Likewise.
31116 * Makeconfig: Remove all but ELF support including AIX support.
31117 * Makerules: Likewise.
31118 * config.h.in: Likewise.
31119 * config.make.in: Likewise.
31120 * configure: Likewise.
31121 * configure.in: Likewise.
31122 * csu/Makefile: Likewise.
31123 * csu/version.c: Likewise.
31124 * debug/Makefile: Likewise.
31125 * dlfcn/Makefile: Likewise.
31126 * elf/Makefile: Likewise.
31127 * extra-lib.mk: Likewise.
31128 * iconv/Makefile: Likewise.
31129 * include/libc-symbols.h: Likewise.
31130 * include/shlib-compat.h: Likewise.
31131 * resolv/Makefile: Likewise.
31132 * resolv/res_libc.c: Likewise.
31133 * rt/Makefile: Likewise.
31134 * sysdeps/i386/asm-syntax.h: Likewise.
31135 * sysdeps/i386/sysdep.h: Likewise.
31136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31137 * sysdeps/mach/sysdep.h: Likewise.
31138 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31139 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31140 * sysdeps/s390/asm-syntax.h: Likewise.
31141 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31142 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31143 * sysdeps/sh/sysdep.h: Likewise.
31144 * sysdeps/unix/sparc/sysdep.h: Likewise.
31145 * sysdeps/wordsize-32/divdi3.c: Likewise.
31146 * sysdeps/x86_64/sysdep.h: Likewise.
31148 * argp/Versions: Remove _argp_unlock_xxx.
31151 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31152 * abilist/libBrokenLocale.abilist: Likewise.
31153 * abilist/libanl.abilist: Likewise.
31154 * abilist/libc.abilist: Likewise.
31155 * abilist/libcrypt.abilist: Likewise.
31156 * abilist/libdl.abilist: Likewise.
31157 * abilist/libm.abilist: Likewise.
31158 * abilist/libnsl.abilist: Likewise.
31159 * abilist/libpthread.abilist: Likewise.
31160 * abilist/libresolv.abilist: Likewise.
31161 * abilist/librt.abilist: Likewise.
31162 * abilist/libthread_db.abilist: Likewise.
31163 * abilist/libutil.abilist: Likewise.
31164 * abilist/libnss_db.abilist: New file.
31166 * scripts/abilist.awk: Add support for indirect functions.
31168 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31170 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31172 * shlib-versions: Remove entries for ports architectures.
31174 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31176 * elf/stackguard-macros.h: Remove support for IA-64.
31177 * elf/tst-auditmod1.c: Likewise.
31178 * sysdeps/generic/ldsodefs.h: Likewise.
31180 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31181 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31185 * configure.in: Remove --enable-omitfp support.
31187 * config.make.in: Likewise.
31188 * Makeconfig: Likewise.
31189 * manual/install.texi: Likewise.
31191 In case anyone cares, the IA-64 architecture could move to ports.
31192 * sysdeps/ia64/*: Removed.
31193 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31194 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31197 * configure.in: Remove entries for unsupported architectures.
31200 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31201 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31203 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31204 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31205 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31206 fall back to using wcrtomb.
31207 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31208 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31210 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31211 * wcsmbs/tst-c16c32-1.c: New file.
31213 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31216 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31218 * elf/tst-unique3.cc: Add explicit declaration of gets.
31219 * elf/tst-unique3lib.cc: Likewise.
31220 * elf/tst-unique3lib2.cc: Likewise.
31221 * elf/tst-unique4.cc: Likewise.
31223 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31225 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31228 * assert/assert.h (static_assert): Don't define for C++.
31229 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31230 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31232 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31234 * iconv/loop.c (single loop): Fix assertion in storing of
31237 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31239 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31241 * posix/getconf.c: Update copyright year.
31242 * nss/getent.c: Likewise.
31243 * nss/makedb.c: Likewise.
31244 * iconv/iconvconfig.c: Likewise.
31245 * iconv/iconv_prog.c: Likewise.
31246 * elf/ldconfig.c: Likewise.
31247 * elf/pldd.c: Likewise.
31248 * elf/sotruss.ksh: Likewise.
31249 * catgets/gencat.c: Likewise.
31250 * csu/version.c: Likewise.
31251 * elf/ldd.bash.in: Likewise.
31252 * elf/sprof.c (print_version): Likewise.
31253 * locale/programs/locale.c: Likewise.
31254 * locale/programs/localedef.c: Likewise.
31255 * login/programs/pt_chown.c: Likewise.
31256 * nscd/nscd.c (print_version): Likewise.
31257 * debug/xtrace.sh: Likewise.
31258 * malloc/memusage.sh: Likewise.
31259 * malloc/mtrace.pl: Likewise.
31260 * debug/catchsegv.sh: Likewise.
31262 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31264 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31267 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31270 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31271 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31273 * iconv/gconv_int.h: Likewise.
31274 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31275 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31276 from libc for GLIBC_2.16.
31277 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31278 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31279 * wcsmbs/uchar.h: Really define mbstate_t.
31280 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31281 * wcsmbs/c16rtomb.c: New file.
31282 * wcsmbs/mbrtoc16.c: New file.
31283 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31284 for C/POSIX locale.
31285 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31286 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31288 * wcsmbs/wchar.h: Add missing __restrict.
31290 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31293 * time/Makefile (routines): Add timespec_get.
31294 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31295 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31296 timespec for ISO C11.
31297 * time/timespec_get.c: New file.
31298 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31299 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31302 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31303 * stdlib/stdlib.h: Declare aligned_alloc.
31304 * Versions.def: Add GLIBC_2.16 for libc.
31305 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31308 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31311 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31315 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31318 * assert/assert.h (static_assert): Define.
31320 * version.h: Update for 2.16 development version.
31323 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31326 * version.h (RELEASE): Bump for 2.15 release.
31327 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31329 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31330 Patch by Marek Polacek <mpolacek@redhat.com>.
31332 * bits/byteswap.h: Protect long long constants with __extension__.
31333 * sysdeps/i386/bits/byteswap.h: Likewise.
31334 * sysdeps/ia64/bits/byteswap.h: Likewise.
31335 * sysdeps/s390/bits/byteswap.h: Likewise.
31336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31338 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31341 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31342 destination buffer.
31343 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31345 2011-12-23 Marek Polacek <polacek@redhat.com>
31347 * elf/dl-addr.c (determine_info): Add inline keyword.
31348 * elf/tst-auditmod4b.c (check_avx): Likewise.
31349 * elf/tst-auditmod6b.c (check_avx): Likewise.
31350 * elf/tst-auditmod6c.c (check_avx): Likewise.
31351 * elf/tst-auditmod7b.c (check_avx): Likewise.
31353 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31355 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31358 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31361 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31362 processing for last bytes.
31364 2011-08-06 Bruno Haible <bruno@clisp.org>
31367 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31368 U+0385, not to U+1FEE.
31371 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31372 entry for U+00A5 U+0301.
31374 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31377 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31378 buffer for the output is too small.
31380 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31384 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31385 SSE flags if possible.
31387 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31391 processing for last bytes.
31393 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31395 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31396 (syscall-list-default-options, syscall-list-default-condition)
31397 (syscall-list-includes): Define.
31398 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31399 list of ABIs and options and #if conditions for each ABI. Do not
31400 handle common syscalls between ABIs specially.
31401 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31403 (syscall-list-variants, syscall-list-32bit-options)
31404 (syscall-list-32bit-condition, syscall-list-64bit-options)
31405 (syscall-list-64bit-condition): Define.
31406 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31407 (syscall-list-variants, syscall-list-32bit-options)
31408 (syscall-list-32bit-condition, syscall-list-64bit-options)
31409 (syscall-list-64bit-condition): Define.
31410 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31412 (syscall-list-variants, syscall-list-32bit-options)
31413 (syscall-list-32bit-condition, syscall-list-64bit-options)
31414 (syscall-list-64bit-condition): Define.
31415 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31417 (syscall-list-variants, syscall-list-32bit-options)
31418 (syscall-list-32bit-condition, syscall-list-64bit-options)
31419 (syscall-list-64bit-condition): Define.
31421 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31423 * locale/iso-639.def: Add brx entry.
31426 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31427 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31429 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31430 __feraiseexcept_renamed.
31432 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31435 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31436 EPOLLET with unsigned values.
31437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31440 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31441 to large cancellation.
31442 * math/s_cacoshf.c: Likewise.
31443 * math/s_cacoshl.c: Likewise.
31445 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31449 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31450 * math/s_cacoshf.c: Likewise.
31451 * math/s_cacoshl.c: Likewise.
31453 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31456 * iconv/gconv.h: Define __GCONV_SWAP.
31457 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31458 * iconvdata/utf-16.c: Likewise.
31459 * iconvdata/utf-32.c: Likewise.
31461 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31465 numerator after shifting it by one limb.
31467 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31469 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31470 under [__USE_EXTERN_INLINES].
31472 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31475 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31477 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31479 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31480 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31482 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31483 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31484 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31485 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31486 for strncasecmp/strncasecmp_l compilation.
31487 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31488 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31490 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31493 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31496 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31499 * time/tzfile.c (__tzfile_read): Check values from file header.
31501 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31503 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31504 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31505 * powerpc/powerpc32/dl-start.S: Likewise.
31506 * powerpc/powerpc32/elf/start.S: Likewise.
31507 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31508 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31509 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31510 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31511 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31512 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31513 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31514 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31515 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31516 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31517 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31518 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31519 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31520 * powerpc/powerpc32/memset.S: Likewise.
31521 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31522 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31523 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31524 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31525 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31526 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31527 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31528 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31529 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31530 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31531 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31532 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31533 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31535 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31537 * math/libm-test.inc: Added more nearbyint tests.
31538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31543 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31545 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31548 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31550 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31551 Add wcscpy-ssse3 wcscpy-c.
31552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31553 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31554 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31555 * sysdeps/x86_64/wcschr.S: New file.
31556 * sysdeps/x86_64/wcsrchr.S: New file.
31557 * string/test-strcmp.c: Remove checking of wcscmp function for
31559 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31560 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31561 wcsrchr-sse2 wcsrchr-c.
31562 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31563 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31564 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31565 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31566 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31567 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31568 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31569 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31571 * wcsmbc/wcschr.c (WCSCHR): New macro.
31573 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31575 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31576 * wcsmbs/test-wcsrchr.c: New file.
31577 * string/test-strrchr.c: Add wcsrchr support.
31579 * wcsmbs/test-wcscpy.c: New file.
31580 * string/test-strcpy.c: Add wcscpy support.
31583 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31585 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31588 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31591 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31593 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31595 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31596 Minor optimizations.
31598 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31599 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31600 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31602 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31604 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31605 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31606 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31607 for gcc to avoid warnings.
31608 * inet/Makefile (tests): Add tst-checks.
31609 * inet/tst-checks.c: New file.
31611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31614 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31617 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31618 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31620 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31622 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31624 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31627 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31629 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31632 conditional on GCC version.
31633 (__arch_compare_and_exchange_val_8_acq)
31634 (__arch_compare_and_exchange_val_16_acq)
31635 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31636 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31637 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31639 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31641 * sysdeps/sh/backtrace.c: New file.
31643 2011-12-02 Andreas Schwab <schwab@redhat.com>
31645 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31648 2011-12-01 Andreas Schwab <schwab@redhat.com>
31650 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31651 falling back to utime.
31653 2011-11-30 Andreas Schwab <schwab@redhat.com>
31655 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31656 expectations for float.
31658 2011-11-29 Andreas Schwab <schwab@redhat.com>
31660 * locale/weight.h (findidx): Add parameter len.
31661 * locale/weightwc.h (findidx): Likewise.
31662 * posix/fnmatch_loop.c (FCT): Adjust caller.
31663 * posix/regcomp.c (build_equiv_class): Likewise.
31664 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31665 * posix/regexec.c (check_node_accept_bytes): Likewise.
31666 * string/strcoll_l.c (STRCOLL): Likewise.
31667 * string/strxfrm_l.c (STRXFRM): Likewise.
31669 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31671 * Makefile.in: Remove CVSOPT handling.
31672 * configure.in: Remove use of AC_REVISION.
31673 * iconvdata/Makefile (distribute): No need to filter out CVS.
31674 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31677 2011-11-16 Andreas Schwab <schwab@redhat.com>
31679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31680 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31681 [USE_AS_STRNCASECMP_L]: Likewise.
31682 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31683 NO_TLS_DIRECT_SEG_REFS.
31684 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31685 Fix argument offsets for non-PIC.
31686 [USE_AS_STRNCASECMP_L]: Likewise.
31687 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31688 NO_TLS_DIRECT_SEG_REFS.
31690 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31692 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31694 * locale/loadlocale.c (_nl_load_locale): Likewise.
31696 2011-11-15 Andreas Schwab <schwab@redhat.com>
31698 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31699 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31701 (SYSCALL_GETTIME): Set errno on error.
31703 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31704 count references to noai6ai_cached.
31706 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31708 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31710 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31711 FD_CLOEXEC for /proc/self/maps.
31713 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31714 FD_CLOEXEC for /proc/meminfo.
31716 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31719 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31720 FD_CLOEXEC for given file.
31722 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31724 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31725 FD_CLOEXEC for /etc/hosts.
31726 (_gethtent): Likewise.
31728 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31730 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31731 cancellation and set FD_CLOEXEC for /etc/netgroup.
31733 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31734 reading /etc/publickey.
31736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31737 allow cancellation when reading /etc/group.
31739 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31741 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31743 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31744 when using data file.
31746 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31748 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31749 (write_nis_obj): Use "c" and "e" in fopen.
31751 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31753 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31755 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31757 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31759 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31762 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31764 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31766 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31768 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31769 file parsing and set FD_CLOEXEC.
31771 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31773 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31775 2011-11-14 Andreas Schwab <schwab@redhat.com>
31777 * malloc/arena.c (arena_get2): Don't call reused_arena when
31778 _int_new_arena failed.
31780 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31782 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31783 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31785 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31788 to compile strcasecmp and strncasecmp.
31789 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31790 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31794 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31796 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31797 locale-defines.sym to gen-as-const-headers.
31798 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31799 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31801 to compile strcasecmp and strncasecmp.
31802 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31803 strcasecmp_l and strncasecmp_l.
31804 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31805 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31806 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31807 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31808 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31809 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31810 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31811 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31812 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31813 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31814 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31816 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31818 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31819 result of SYSDEP_GETTIME_CPU to retval.
31820 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31821 parameter list to macro. Remove trailing semicolon. Adjust users.
31823 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31826 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31828 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31830 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31831 from unused variable.
31833 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31835 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31838 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31841 * sunrpc/rpc_prot.c (rejected): Fix case value.
31843 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31844 unsigned long long int to avoid warnings in shift.
31846 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31848 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31851 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31852 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31853 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31855 * nis/nis_table.c (nis_list): Use variable of correct type for
31856 result of __follow_path call.
31858 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31860 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31861 of math functions ceil, trunc, floor, round, and sqrt, when
31862 avaliable on the platform.
31863 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31865 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31866 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31867 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31869 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31871 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31872 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31874 2011-11-11 Roland McGrath <roland@hack.frob.com>
31876 * include/unistd.h: Fix __readlink return type.
31877 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31879 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31881 * stdlib/ucontext.h: Undo last change for makecontext.
31883 2011-11-11 Andreas Schwab <schwab@redhat.com>
31885 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31887 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31888 * setjmp/setjmp.h: Mark functions as non-leaf.
31889 * setjmp/bits/setjmp2.h: Likewise.
31890 * stdlib/ucontext.h: Likewise.
31892 2011-11-10 Andreas Schwab <schwab@redhat.com>
31894 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31895 (reused_arena): Don't check arena limit.
31896 (arena_get2): Atomically check arena limit.
31898 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31900 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31901 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31906 2011-11-07 Andreas Schwab <schwab@redhat.com>
31908 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31909 handler when locking.
31911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31912 Fix size of allocated buffer.
31914 2011-11-04 Andreas Schwab <schwab@redhat.com>
31917 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31918 declarations for long double functions.
31919 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31921 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31923 2011-11-03 Andreas Schwab <schwab@redhat.com>
31925 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31928 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31931 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31933 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31935 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31937 * include/alloca.h (stackinfo_alloca_round): Define.
31938 (extend_alloca): Use it.
31939 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31940 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31943 * scripts/check-local-headers.sh: Ignore libaudit.h.
31945 * nscd/Makefile (extra-objs): Make recursively expanded.
31947 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31949 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31952 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31953 * posix/tst-rfc3484-2.c: Likewise.
31954 * posix/tst-rfc3484-3.c: Likewise.
31956 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31958 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31960 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31961 process_vm_writev from libc using GLIBC_2.15 version.
31963 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31965 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31967 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31970 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31973 * nss/getent.c (initgroups_keys): Show error message in case no group
31976 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31977 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31978 __bump_nl_timestamp.
31979 * nscd/connections (nscd_init): When host database is served open
31980 netlink socket and request notification about configuration changes.
31981 (main_loop_poll): Track netlink file descriptor and bump timestamp
31982 in case data becomes available.
31983 (main_loop_epoll): Likewise.
31984 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31985 (database_pers_head): Add extra_data fileds.
31986 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31987 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31988 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31991 in6ai data, call __free_in6ai.
31992 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31993 Add -DHAVE_NETLINK.
31994 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31995 interface information. Reuse previous data if netlink timestamp
31997 (__bump_nl_timestamp): New function.
31998 (__free_in6ai): New function.
32000 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32002 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32003 close_not_cancel_no_status here.
32004 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32006 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32009 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32012 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32013 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32014 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32016 2011-07-03 Andreas Jaeger <aj@suse.de>
32019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32020 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32021 * math/libm-test.inc (sin_test): Add test case.
32023 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32026 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32027 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32029 * elf/chroot_canon.c (chroot_canon): Cleanups.
32031 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32034 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32035 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32037 * string/test-strchr.c: Make usable for strchrnul testing.
32038 * string/test-strchrnul.c: New file.
32039 * string/Makefile (strop-tests): Add strchrnul.
32041 * po/it.po: Update from translation team.
32042 * po/es.po: Likewise.
32044 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32047 the three constants needed as parameters. Drop the others.
32048 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32049 __m128i_strloadu_tolower.
32050 Create and initialize variable zero and use it in all the places
32051 where _mm_setzero_si128 was used.
32053 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32054 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32055 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32058 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32059 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32060 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32061 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32062 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32063 __mpranred, __mptan.
32064 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32065 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32066 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32067 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32068 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32069 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32070 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32071 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32072 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32074 2011-10-28 Andreas Schwab <schwab@redhat.com>
32076 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32077 redefine if SHARED.
32078 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32081 wide char related routines to wcsmbs subdir.
32083 2011-10-27 Andreas Schwab <schwab@redhat.com>
32086 * misc/sys/cdefs.h (__THROWNL): Define.
32087 * posix/unistd.h: Use __THREADNL instead of __THREAD
32088 for memory synchronization functions.
32090 2011-10-26 Roland McGrath <roland@hack.frob.com>
32093 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32095 * manual/stdio.texi (Obstack Streams): Node removed.
32097 2011-10-26 Andreas Schwab <schwab@redhat.com>
32099 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32100 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32101 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32103 * math/math_private.h (math_force_eval): Allow non-addressable
32105 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32107 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32109 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32110 file is not needed.
32112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32115 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32119 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32121 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32122 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32123 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32124 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32125 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32126 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32127 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32128 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32129 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32130 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32131 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32132 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32133 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32134 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32135 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32136 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32137 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32138 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32139 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32141 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32142 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32145 place. Use VEX encoding when compiling for AVX.
32147 2011-10-25 Andreas Schwab <schwab@redhat.com>
32149 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32150 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32152 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32154 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32156 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32157 useless if() expression.
32158 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32159 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32166 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32167 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32168 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32170 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32172 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32174 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32176 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32178 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32180 2011-10-25 Andreas Schwab <schwab@redhat.com>
32182 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32184 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32186 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32188 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32189 .text section. Avoid duplicate constants.
32190 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32198 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32199 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32200 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32202 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32203 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32204 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32206 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32207 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32210 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32211 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32212 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32214 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32215 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32216 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32217 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32218 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32219 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32220 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32221 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32222 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32226 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32228 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32230 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32236 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32238 * sysdeps/x86_64/dla.h: Move to ...
32239 * sysdeps/x86_64/fpu/dla.h: ...here.
32240 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32241 situations. Use __builtin_fma only for gcc 4.6 and up.
32243 * config.make.in: Add have-mfma4 entry.
32244 * configure.in: Substitute libc_cv_cc_fma4.
32245 * math/Makefile (dbl-only-routines): Add sincostab.
32246 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32247 Use __sincostab not sincos.
32248 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32255 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32256 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32257 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32258 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32261 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32263 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32264 define aliases when function name is a macro.
32265 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32266 sysdeps/ieee754/dbl-64/sincos.tbl.
32267 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32268 fma4-enabled routines.
32269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32270 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32271 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32272 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32274 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32276 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32278 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32279 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32281 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32282 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32284 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32285 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32286 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32287 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32288 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32289 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32290 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32291 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32292 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32296 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32297 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32298 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32300 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32311 2011-10-24 Andreas Schwab <schwab@redhat.com>
32313 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32315 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32317 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32319 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32323 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32324 Remove unused variable magic_bits.
32325 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32327 * string/strnlen.c: Define and use STRNLEN macro.
32328 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32329 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32331 * wcsmbs/wcslen.c: Define and use WCSLEN.
32332 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32333 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32334 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32335 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32336 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32337 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32338 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32340 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32343 strnlen-sse2-no-bsf.
32344 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32345 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32346 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32347 Add strnlen support.
32348 (USE_AS_STRNLEN): New macro.
32349 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32350 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32351 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32352 * sysdeps/x86_64/wcslen.S: New file.
32354 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32357 XMM-moves are used for copying on small sizes.
32359 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32361 * wcsmbs/Makefile (strop-tests): Add wcschr.
32362 * wcsmbs/test-wcschr.c: New file.
32363 * string/test-strchr.c: Update.
32364 Add wcschr support.
32367 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32369 * wcsmbs/Makefile (strop-tests): Add wcslen.
32370 * wcsmbs/test-wcslen.c: New file.
32371 * string/test-strlen.c: Update.
32372 Add wcslen support.
32375 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32377 * po/it.po: Update from translation team.
32379 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32381 * sysdeps/x86_64/wcscmp.S: Update.
32382 Fix wrong comparison semantics.
32383 wcscmp shall use signed comparison not unsigned.
32384 Don't use substraction to avoid overflow bug.
32385 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32386 * wcsmbc/wcscmp.c: Likewise.
32387 * string/test-strcmp.c: Likewise.
32388 Add new tests to check cases with negative values.
32390 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32392 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32393 * sysdeps/x86_64/dla.h: ...here. New file.
32394 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32404 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32407 __ynl_finite aliases.
32409 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32413 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32415 [DLA_FMA] (EMULV): Use DLA_FMA.
32416 [DLA_FMA] (MUL12): Use EMULV.
32417 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32418 that are not needed.
32419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32427 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32429 * math/s_nan.c: Undef __nan.
32430 * math/s_nanf.c: Undef __nanf.
32431 * math/s_nanl.c: Undef __nanl.
32432 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32435 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32437 * math/s_catan.c: Add branch predictions.
32438 * math/s_catanf.c: Likewise.
32439 * math/s_catanh.c: Likewise.
32440 * math/s_catanhf.c: Likewise.
32441 * math/s_catanhl.c: Likewise.
32442 * math/s_catanl.c: Likewise.
32443 * math/s_cexp.c: Likewise.
32444 * math/s_cexpf.c: Likewise.
32445 * math/s_cexpl.c: Likewise.
32446 * math/s_clog.c: Likewise.
32447 * math/s_clog10.c: Likewise.
32448 * math/s_clog10f.c: Likewise.
32449 * math/s_clog10l.c: Likewise.
32450 * math/s_clogf.c: Likewise.
32451 * math/s_clogl.c: Likewise.
32452 * math/s_csqrt.c: Likewise.
32453 * math/s_csqrtf.c: Likewise.
32454 * math/s_csqrtl.c: Likewise.
32455 * math/s_ctanf.c: Likewise.
32456 * math/s_ctanh.c: Likewise.
32457 * math/s_ctanhf.c: Likewise.
32458 * math/s_ctanhl.c: Likewise.
32459 * math/s_ctanl.c: Likewise.
32461 * math/math_private.h: Define __nan, __nanf, __nanl.
32462 * math/s_cacosh.c: Include <math_private.h>.
32463 * math/s_cacoshl.c: Likewise.
32464 * math/s_casinh.c: Likewise.
32465 * math/s_casinhf.c: Likewise.
32466 * math/s_casinhl.c: Likewise.
32467 * math/s_ccos.c: Rely entire on ccosh.
32468 * math/s_ccosf.c: Rely entire on ccoshf.
32469 * math/s_ccosl.c: Rely entirely on ccoshl.
32470 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32471 Remove tests for FE_INVALID.
32472 * math/s_ccoshf.c: Likewise.
32473 * math/s_ccoshl.c: Likewise.
32474 * math/s_csin.c: Likewise.
32475 * math/s_csinf.c: Likewise.
32476 * math/s_csinh.c Likewise.
32477 * math/s_csinhf.c: Likewise.
32478 * math/s_csinhl.c: Likewise.
32479 * math/s_csinl.c: Likewise.
32480 * math/s_ctan.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32482 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32483 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32485 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32488 compilation problems.
32490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32493 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32495 * sysdeps/i386/configure.in: Test for -mfma4 option.
32496 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32497 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32498 COMMON_CPUID_INDEX_80000001.
32499 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32500 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32501 use it if FMA3 is not supported.
32502 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32504 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32505 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32507 2011-10-20 Andreas Schwab <schwab@redhat.com>
32510 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32511 it would create a cycle with a link time dependency.
32513 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32515 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32517 * string/Makefile (strop-tests): Add rawmemchr.
32518 * string/test-rawmemchr.c: New file.
32520 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32522 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32523 when compiling str{,n}casecmp and when AVX is available. Hook up
32524 new optimized code in initializers.
32526 2011-10-19 Andreas Schwab <schwab@redhat.com>
32528 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32529 __feraiseexcept instead of feraiseexcept.
32531 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32533 * math/math_private.h: Define defaults for libc_fetestexcept and
32535 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32536 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32537 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32538 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32539 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32540 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32541 libc_fetestexcept and libc_feupdateenv.
32543 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32544 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32545 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32546 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32547 libc_feholdexcept_setround.
32549 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32550 Add s_nearbyint-c and s_nearbyintf-c.
32551 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32552 nearbyintf inlines.
32553 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32554 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32555 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32556 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32558 * math/math_private.h: Define defaults for libc_fegetround,
32559 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32560 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32561 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32562 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32563 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32564 standard functions.
32565 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32566 Remove comments and hacks for old compiler versions.
32567 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32568 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32569 libc_feholdexceptl.
32571 2011-10-18 Andreas Schwab <schwab@redhat.com>
32573 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32574 (__feraiseexcept_renamed): Add __NTH.
32575 (feraiseexcept): Add __NTH. Rename local variables to fix
32576 namespace violations.
32578 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32582 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32584 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32585 recently added interfaces.
32586 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32588 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32589 about macro parameter expansion.
32591 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32592 __NO_MATH_INLINES is defined. Cleanups.
32594 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32595 and __floorf is target has SSE4.1.
32596 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32597 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32598 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32601 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32603 (floorf): Likewise.
32605 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32607 2011-10-17 Andreas Schwab <schwab@redhat.com>
32609 * misc/sys/cdefs.h: Fix last change.
32611 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32614 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32616 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32618 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32621 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32623 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32624 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32626 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32628 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32629 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32630 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32631 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32632 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32633 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32634 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32635 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32637 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32638 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32639 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32641 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32642 ceil, ceilf, floor, floorf.
32644 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32645 Perform IRELATIVE relocations last.
32647 * elf/do-rel.h: Add another parameter nrelative, replacing the
32648 local variable with the same name. Change name of the function
32649 to end in Rel or Rela (uppercase).
32650 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32651 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32652 elf_dynamic_do_##reloc function.
32654 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32656 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32657 is sufficient, at least on modern CPUs.
32659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32661 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32664 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32666 * math/bits/math-finite.h: Add entries for exp.
32667 * math/e_expl.c: Add __*_finite alias.
32668 * sysdeps/i386/fpu/e_exp.S: Likewise.
32669 * sysdeps/i386/fpu/e_expf.S: Likewise.
32670 * sysdeps/i386/fpu/e_expl.c: Likewise.
32671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32672 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32673 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32675 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32676 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32677 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32679 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32680 is sufficient, at least on modern CPUs.
32682 * ctype/ctype-info.c (__ctype_init): Define.
32683 * include/ctype.h (__ctype_init): Declare.
32684 (__ctype_b_loc): The variable is always initialized.
32685 (__ctype_toupper_loc): Likewise.
32686 (__ctype_tolower_loc): Likewise.
32687 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32688 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32690 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32692 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32694 * configure.in: Also look in $cxxmachine/include for C++ system
32697 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32699 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32700 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32701 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32702 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32703 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32704 (USE_AS_WMEMCMP): New macro.
32706 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32707 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32708 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32709 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32711 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32712 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32714 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32715 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32716 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32717 (USE_AS_WMEMCMP): New macro.
32718 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32719 * sysdeps/string/test-memcmp.c: Update.
32720 Fix simple_wmemcmp.
32722 * wcsmbs/wmemcmp.c: Update.
32723 (WMEMCMP): New macro.
32726 2011-10-12 Andreas Jaeger <aj@suse.de>
32729 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32731 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32733 * libio/iofwide.c (do_length): Avoid warning.
32735 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32737 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32739 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32741 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32742 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32743 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32744 * sysdeps/i386/i686/fpu/e_log.S: New file.
32745 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32746 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32748 * ctype/ctype.h: Add support for inlined isXXX functions when
32749 compiling C++ code.
32751 2011-10-14 Andreas Schwab <schwab@redhat.com>
32753 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32755 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32757 2011-10-13 Roland McGrath <roland@hack.frob.com>
32760 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32762 2011-10-13 Andreas Schwab <schwab@redhat.com>
32764 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32765 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32768 * sysdeps/x86_64/memrchr.S: Check for zero size.
32770 * string/stratcliff.c: Add memrchr tests.
32772 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32775 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32776 rawmemchr-sse2 rawmemchr-sse2-bsf.
32777 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32778 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32779 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32780 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32781 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32782 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32783 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32784 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32785 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32786 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32787 * string/memrchr.c (MEMRCHR): New macro.
32789 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32791 Add integration with gcc's -ffinite-math-only and optimize wrapper
32793 * Versions.def: Define GLIBC_2.15 version for libm.
32794 * math/Makefile (headers): Add bits/math-finite.h.
32795 * math/bits/math-finite.h: New file.
32796 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32797 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32798 * math/e_acoshl.c: Add __*_finite alias.
32799 * math/e_acosl.c: Likewise.
32800 * math/e_asinl.c: Likewise.
32801 * math/e_atan2l.c: Likewise.
32802 * math/e_atanhl.c: Likewise.
32803 * math/e_coshl.c: Likewise.
32804 * math/e_exp10.c: Likewise.
32805 * math/e_exp10f.c: Likewise.
32806 * math/e_exp10l.c: Likewise.
32807 * math/e_exp2l.c: Likewise.
32808 * math/e_fmodl.c: Likewise.
32809 * math/e_gammal_r.c: Likewise.
32810 * math/e_hypotl.c: Likewise.
32811 * math/e_j0l.c: Likewise.
32812 * math/e_j1l.c: Likewise.
32813 * math/e_jnl.c: Likewise.
32814 * math/e_lgammal_r.c: Likewise.
32815 * math/e_log10l.c: Likewise.
32816 * math/e_log2l.c: Likewise.
32817 * math/e_logl.c: Likewise.
32818 * math/e_powl.c: Likewise.
32819 * math/e_sinhl.c: Likewise.
32820 * math/e_sqrtl.c: Likewise.
32821 * math/e_scalb.c: Completely rewritten and optimized.
32822 * math/e_scalbf.c: Likewise.
32823 * math/e_scalbl.c: Likewise.
32824 * math/w_acos.c: Likewise.
32825 * math/w_acosf.c: Likewise.
32826 * math/w_acosl.c: Likewise.
32827 * math/w_acosh.c: Likewise.
32828 * math/w_acoshf.c: Likewise.
32829 * math/w_acoshl.c: Likewise.
32830 * math/w_asin.c: Likewise.
32831 * math/w_asinf.c: Likewise.
32832 * math/w_asinl.c: Likewise.
32833 * math/w_atan2.c: Likewise.
32834 * math/w_atan2f.c: Likewise.
32835 * math/w_atan2l.c: Likewise.
32836 * math/w_atanh.c: Likewise.
32837 * math/w_atanhf.c: Likewise.
32838 * math/w_atanhl.c: Likewise.
32839 * math/w_exp10.c: Likewise.
32840 * math/w_exp10f.c: Likewise.
32841 * math/w_exp10l.c: Likewise.
32842 * math/w_fmod.c: Likewise.
32843 * math/w_fmodf.c: Likewise.
32844 * math/w_fmodl.c: Likewise.
32845 * math/w_j0.c: Likewise.
32846 * math/w_j0f.c: Likewise.
32847 * math/w_j0l.c: Likewise.
32848 * math/w_j1.c: Likewise.
32849 * math/w_j1f.c: Likewise.
32850 * math/w_j1l.c: Likewise.
32851 * math/w_jn.c: Likewise.
32852 * math/w_jnf.c: Likewise.
32853 * math/w_log.c: Likewise.
32854 * math/w_logf.c: Likewise.
32855 * math/w_logl.c: Likewise.
32856 * math/w_log10.c: Likewise.
32857 * math/w_log10f.c: Likewise.
32858 * math/w_log10l.c: Likewise.
32859 * math/w_log2.c: Likewise.
32860 * math/w_log2f.c: Likewise.
32861 * math/w_log2l.c: Likewise.
32862 * math/w_pow.c: Likewise.
32863 * math/w_powf.c: Likewise.
32864 * math/w_powl.c: Likewise.
32865 * math/w_remainder.c: Likewise.
32866 * math/w_remainderf.c: Likewise.
32867 * math/w_remainderl.c: Likewise.
32868 * math/w_scalb.c: Likewise.
32869 * math/w_scalbf.c: Likewise.
32870 * math/w_scalbl.c: Likewise.
32871 * math/w_sqrt.c: Likewise.
32872 * math/w_sqrtf.c: Likewise.
32873 * math/w_sqrtl.c: Likewise.
32874 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32875 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32877 * math/math_private.h: Declare __kernel_standard_f.
32878 * math/w_cosh.c: Remove cruft and optimize a bit.
32879 * math/w_coshf.c: Likewise.
32880 * math/w_coshl.c: Likewise.
32881 * math/w_exp2.c: Likewise.
32882 * math/w_exp2f.c: Likewise.
32883 * math/w_exp2l.c: Likewise.
32884 * math/w_hypot.c: Likewise.
32885 * math/w_hypotf.c: Likewise.
32886 * math/w_hypotl.c: Likewise.
32887 * math/w_lgamma.c: Likewise.
32888 * math/w_lgamma_r.c: Likewise.
32889 * math/w_lgammaf.c: Likewise.
32890 * math/w_lgammaf_r.c: Likewise.
32891 * math/w_lgammal.c: Likewise.
32892 * math/w_lgammal_r.c: Likewise.
32893 * math/w_sinh.c: Likewise.
32894 * math/w_sinhf.c: Likewise.
32895 * math/w_sinhl.c: Likewise.
32896 * math/w_tgamma.c: Likewise.
32897 * math/w_tgammaf.c: Likewise.
32898 * math/w_tgammal.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32901 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32902 Minor optimizations. Pretty printing. Remove cruft.
32903 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32905 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32906 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32907 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32908 * sysdeps/i386/fpu/e_asin.S: Likewise.
32909 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32910 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32911 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32912 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32913 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32916 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32917 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32918 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32919 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32920 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32921 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32922 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32923 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32924 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32925 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32926 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32927 * sysdeps/i386/fpu/e_log.S: Likewise.
32928 * sysdeps/i386/fpu/e_log10.S: Likewise.
32929 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32930 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32931 * sysdeps/i386/fpu/e_log2.S: Likewise.
32932 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32934 * sysdeps/i386/fpu/e_logf.S: Likewise.
32935 * sysdeps/i386/fpu/e_logl.S: Likewise.
32936 * sysdeps/i386/fpu/e_pow.S: Likewise.
32937 * sysdeps/i386/fpu/e_powf.S: Likewise.
32938 * sysdeps/i386/fpu/e_powl.S: Likewise.
32939 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32940 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32941 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32942 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32943 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32945 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32946 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32947 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32969 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32970 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32971 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32972 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32973 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32974 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32975 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32976 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32977 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32978 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32979 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32982 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32983 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32984 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32985 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32986 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32988 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32990 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32991 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32992 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32993 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32994 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32995 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32996 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32998 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32999 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33002 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33003 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33004 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33005 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33006 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33007 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33008 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33009 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33012 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33013 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33014 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33017 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33018 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33019 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33022 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33023 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33025 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33027 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33028 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33029 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33032 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33033 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33034 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33035 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33036 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33037 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33038 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33039 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33040 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33041 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33043 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33044 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33045 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33046 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33047 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33048 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33049 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33050 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33051 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33053 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33056 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33058 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33059 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33060 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33061 (__isnanf): Likewise.
33062 (__isinf_ns): Likewise.
33063 (__isinf_nsf): Likewise.
33064 (__finite): Likewise.
33065 (__finitef): Likewise.
33066 (__ieee754_sqrt): Define as macro.
33067 (__ieee754_sqrtf): Define as macro.
33068 (__ieee754_sqrtl): Define as macro.
33069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33071 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33072 __FINITE_MATH_ONLY__ consistent.
33073 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33075 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33077 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33080 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33082 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33084 * po/ja.po: Update from translation team.
33086 2011-10-08 Roland McGrath <roland@hack.frob.com>
33088 * locale/programs/locarchive.c (prepare_address_space): New function.
33089 (create_archive, enlarge_archive, open_archive): Use it.
33091 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33092 inside [SHARED], where it is used.
33094 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33096 * nss/getent.c (netgroup_keys): Remove unused variable.
33097 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33099 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33101 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33102 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33104 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33105 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33106 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33107 * math/Makefile (libm-calls): Add s_isinf_ns.
33108 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33109 * math/multc3.c: Likewise.
33110 * math/s_casin.c: Likewise.
33111 * math/s_casinf.c: Likewise.
33112 * math/s_casinl.c: Likewise.
33113 * math/s_ccos.c: Likewise.
33114 * math/s_ccosf.c: Likewise.
33115 * math/s_ccosl.c: Likewise.
33116 * math/s_ctan.c: Likewise.
33117 * math/s_ctanf.c: Likewise.
33118 * math/s_ctanh.c: Likewise.
33119 * math/s_ctanhf.c: Likewise.
33120 * math/s_ctanhl.c: Likewise.
33121 * math/s_ctanl.c: Likewise.
33122 * math/w_fmod.c: Likewise.
33123 * math/w_fmodf.c: Likewise.
33124 * math/w_fmodl.c: Likewise.
33125 * math/w_remainder.c: Likewise.
33126 * math/w_remainderf.c: Likewise.
33127 * math/w_remainderl.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33129 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33130 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33132 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33133 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33134 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33135 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33137 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33139 * stdio-common/printf_fphex.c: Likewise.
33140 * stdio-common/printf_size.c: Likewise.
33142 * math/e_exp10.c: Include math_private.h using <...> not "...".
33143 * math/e_exp10f.c: Likewise.
33144 * math/e_exp10l.c: Likewise.
33145 * math/e_exp2l.c: Likewise.
33146 * math/e_j0l.c: Likewise.
33147 * math/e_j1l.c: Likewise.
33148 * math/e_jnl.c: Likewise.
33149 * math/e_lgammal_r.c: Likewise.
33150 * math/e_rem_pio2l.c: Likewise.
33151 * math/e_scalb.c: Likewise.
33152 * math/e_scalbf.c: Likewise.
33153 * math/e_scalbl.c: Likewise.
33154 * math/k_cosl.c: Likewise.
33155 * math/k_sinl.c: Likewise.
33156 * math/k_tanl.c: Likewise.
33157 * math/s_cacoshf.c: Likewise.
33158 * math/s_catan.c: Likewise.
33159 * math/s_catanf.c: Likewise.
33160 * math/s_catanh.c: Likewise.
33161 * math/s_catanhf.c: Likewise.
33162 * math/s_catanhl.c: Likewise.
33163 * math/s_catanl.c: Likewise.
33164 * math/s_ccosh.c: Likewise.
33165 * math/s_ccoshf.c: Likewise.
33166 * math/s_ccoshl.c: Likewise.
33167 * math/s_cexp.c: Likewise.
33168 * math/s_cexpf.c: Likewise.
33169 * math/s_cexpl.c: Likewise.
33170 * math/s_clog.c: Likewise.
33171 * math/s_clog10.c: Likewise.
33172 * math/s_clog10f.c: Likewise.
33173 * math/s_clog10l.c: Likewise.
33174 * math/s_clogf.c: Likewise.
33175 * math/s_clogl.c: Likewise.
33176 * math/s_csin.c: Likewise.
33177 * math/s_csinf.c: Likewise.
33178 * math/s_csinh.c: Likewise.
33179 * math/s_csinhf.c: Likewise.
33180 * math/s_csinhl.c: Likewise.
33181 * math/s_csinl.c: Likewise.
33182 * math/s_csqrt.c: Likewise.
33183 * math/s_csqrtf.c: Likewise.
33184 * math/s_csqrtl.c: Likewise.
33185 * math/s_ctan.c: Likewise.
33186 * math/s_ctanf.c: Likewise.
33187 * math/s_ctanh.c: Likewise.
33188 * math/s_ctanhf.c: Likewise.
33189 * math/s_ctanhl.c: Likewise.
33190 * math/s_ctanl.c: Likewise.
33191 * math/s_ldexp.c: Likewise.
33192 * math/s_ldexpf.c: Likewise.
33193 * math/s_ldexpl.c: Likewise.
33194 * math/s_significand.c: Likewise.
33195 * math/s_significandf.c: Likewise.
33196 * math/s_significandl.c: Likewise.
33197 * math/w_acos.c: Likewise.
33198 * math/w_acosf.c: Likewise.
33199 * math/w_acosh.c: Likewise.
33200 * math/w_acoshf.c: Likewise.
33201 * math/w_acoshl.c: Likewise.
33202 * math/w_acosl.c: Likewise.
33203 * math/w_asin.c: Likewise.
33204 * math/w_asinf.c: Likewise.
33205 * math/w_asinl.c: Likewise.
33206 * math/w_atan2.c: Likewise.
33207 * math/w_atan2f.c: Likewise.
33208 * math/w_atan2l.c: Likewise.
33209 * math/w_atanh.c: Likewise.
33210 * math/w_atanhf.c: Likewise.
33211 * math/w_atanhl.c: Likewise.
33212 * math/w_cosh.c: Likewise.
33213 * math/w_coshf.c: Likewise.
33214 * math/w_coshl.c: Likewise.
33215 * math/w_dremf.c: Likewise.
33216 * math/w_exp10.c: Likewise.
33217 * math/w_exp10f.c: Likewise.
33218 * math/w_exp10l.c: Likewise.
33219 * math/w_exp2.c: Likewise.
33220 * math/w_exp2f.c: Likewise.
33221 * math/w_fmod.c: Likewise.
33222 * math/w_fmodf.c: Likewise.
33223 * math/w_fmodl.c: Likewise.
33224 * math/w_hypot.c: Likewise.
33225 * math/w_hypotf.c: Likewise.
33226 * math/w_hypotl.c: Likewise.
33227 * math/w_j0.c: Likewise.
33228 * math/w_j0f.c: Likewise.
33229 * math/w_j0l.c: Likewise.
33230 * math/w_j1.c: Likewise.
33231 * math/w_j1f.c: Likewise.
33232 * math/w_j1l.c: Likewise.
33233 * math/w_jn.c: Likewise.
33234 * math/w_jnf.c: Likewise.
33235 * math/w_jnl.c: Likewise.
33236 * math/w_lgamma.c: Likewise.
33237 * math/w_lgamma_r.c: Likewise.
33238 * math/w_lgammaf.c: Likewise.
33239 * math/w_lgammaf_r.c: Likewise.
33240 * math/w_lgammal.c: Likewise.
33241 * math/w_lgammal_r.c: Likewise.
33242 * math/w_log.c: Likewise.
33243 * math/w_log10.c: Likewise.
33244 * math/w_log10f.c: Likewise.
33245 * math/w_log10l.c: Likewise.
33246 * math/w_log2.c: Likewise.
33247 * math/w_log2f.c: Likewise.
33248 * math/w_log2l.c: Likewise.
33249 * math/w_logf.c: Likewise.
33250 * math/w_logl.c: Likewise.
33251 * math/w_pow.c: Likewise.
33252 * math/w_powf.c: Likewise.
33253 * math/w_powl.c: Likewise.
33254 * math/w_remainder.c: Likewise.
33255 * math/w_remainderf.c: Likewise.
33256 * math/w_remainderl.c: Likewise.
33257 * math/w_scalb.c: Likewise.
33258 * math/w_scalbf.c: Likewise.
33259 * math/w_scalbl.c: Likewise.
33260 * math/w_sinh.c: Likewise.
33261 * math/w_sinhf.c: Likewise.
33262 * math/w_sinhl.c: Likewise.
33263 * math/w_sqrt.c: Likewise.
33264 * math/w_sqrtf.c: Likewise.
33265 * math/w_sqrtl.c: Likewise.
33266 * math/w_tgamma.c: Likewise.
33267 * math/w_tgammaf.c: Likewise.
33268 * math/w_tgammal.c: Likewise.
33270 * po/ja.po: Update from translation team.
33272 2011-09-29 Andreas Jaeger <aj@suse.de>
33275 * sunrpc/netname.c (netname2host): Fix logic.
33279 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33281 * math/w_remainder.c (__remainder): Likewise.
33282 * math/w_remainderf.c (__remainderf): Likewise.
33283 * math/libm-test.inc (remainder_test): Add test cases.
33285 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33287 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33290 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33292 * string/test-memcmp.c: Avoid unncessary #defines.
33293 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33295 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33297 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33298 Use new sse2 version for core i3 - i7 as it's faster
33299 than sse42 version.
33300 (bit_Prefer_PMINUB_for_stringop): New.
33301 * sysdeps/x86_64/rawmemchr.S: Update.
33302 Replace with faster SSE2 version.
33303 * sysdeps/x86_64/memrchr.S: New file.
33304 * sysdeps/x86_64/memchr.S: Update.
33305 Replace with faster SSE2 version.
33307 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33309 * elf/dl-load.c (lose): Add cast to avoid warning.
33311 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33313 * po/ca.po: Update from translation team.
33315 * inet/getnetgrent_r.c: Hook up nscd.
33316 * nscd/Makefile (routines): Add nscd_netgroup.
33317 (nscd-modules): Add netgroupcache.
33318 (CFLAGS-netgroupcache.c): Define.
33319 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33320 (cache_search): Add const to second parameter.
33321 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33323 (dbs): Add netgrdb entry.
33324 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33325 (verify_persistent_db): Handle netgrdb.
33326 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33327 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33329 (netgroup_response_header): Define.
33330 (innetgroup_response_header): Define.
33331 (datahead): Add netgroup_response_header and innetgroup_response_header
33333 * nscd/nscd.conf: Add entries for netgroup cache.
33334 * nscd/nscd.h (dbtype): Add netgrdb.
33335 (_PATH_NSCD_NETGROUP_DB): Define.
33336 (netgroup_iov_disabled): Declare.
33337 (xmalloc, xcalloc, xrealloc): Move declarations here.
33338 (cache_search): Adjust prototype.
33339 Add netgroup-related prototypes.
33340 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33341 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33342 (__nscd_innetgr): Declare.
33343 * nscd/selinux.c (perms): Use access_vector_t as element type and
33344 add netgroup-related initializers.
33345 * nscd/netgroupcache.c: New file.
33346 * nscd/nscd_netgroup.c: New file.
33347 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33348 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33349 For four parameters use innetgr.
33350 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33351 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33352 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33353 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33355 * nscd/connections.c (register_traced_file): Don't register file
33356 for disabled databases.
33358 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33360 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33362 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33363 from tree and freeing node.
33365 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33367 * nss/nsswitch.c (__nss_database_lookup): Handle
33368 nss_parse_service_list out of memory case.
33370 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33372 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33373 out of memory case.
33375 2011-10-04 Andreas Schwab <schwab@redhat.com>
33377 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33378 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33380 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33381 elf_machine_rela, elf_machine_lazy_rel.
33382 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33383 (ELF_DYNAMIC_DO_REL): Likewise.
33384 (ELF_DYNAMIC_DO_RELA): Likewise.
33385 (ELF_DYNAMIC_RELOCATE): Likewise.
33386 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33387 to ELF_DYNAMIC_DO_REL.
33388 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33389 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33390 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33393 skip_ifunc, don't call ifunc function if non-zero.
33394 (elf_machine_rela): Likewise.
33395 (elf_machine_lazy_rel): Likewise.
33396 (elf_machine_lazy_rela): Likewise.
33397 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33398 (elf_machine_lazy_rel): Likewise.
33399 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33401 (elf_machine_lazy_rel): Likewise.
33402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33404 (elf_machine_lazy_rel): Likewise.
33405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33406 (elf_machine_lazy_rel): Likewise.
33407 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33408 (elf_machine_lazy_rel): Likewise.
33409 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33410 (elf_machine_lazy_rel): Likewise.
33411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33412 (elf_machine_lazy_rel): Likewise.
33413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33414 (elf_machine_lazy_rel): Likewise.
33415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33416 (elf_machine_lazy_rel): Likewise.
33418 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33420 * nss/nss_files/files-init.c (_nss_files_init): Use static
33421 initialization for all the *_traced_file variables.
33423 2011-09-28 Andreas Schwab <schwab@redhat.com>
33425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33427 2011-09-27 Roland McGrath <roland@hack.frob.com>
33430 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33432 2011-09-27 Andreas Schwab <schwab@redhat.com>
33434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33435 Reread the line before reparsing it.
33437 2011-09-26 Andreas Schwab <schwab@redhat.com>
33439 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33441 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33442 Maxim Kuvyrkov <maxim@codesourcery.com>
33443 Joseph Myers <joseph@codesourcery.com>
33445 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33446 if needed for __stack_chk_guard.
33448 2011-09-19 Roland McGrath <roland@hack.frob.com>
33450 * sysdeps/posix/spawni.c (script_execute): Always define it.
33451 It will be optimized away if unused.
33452 (maybe_script_execute): New function.
33453 (__spawni): Call it.
33455 * Makerules: Don't include tls.make.
33456 (config-tls): Always set to thread.
33457 * tls.make.c: File removed.
33459 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33461 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33462 * config.make.in (CPPFLAGS-config): New substituted variable.
33464 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33469 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33470 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33472 2011-09-15 Roland McGrath <roland@hack.frob.com>
33474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33475 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33477 (CALL_FAIL): Likewise.
33478 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33479 (CALL_FAIL): Macro removed.
33480 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33482 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33484 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33485 for __FINITE_MATH_ONLY__ == 1.
33487 2011-09-15 Andreas Schwab <schwab@redhat.com>
33489 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33490 __ieee754_sqrt instead of sqrt.
33491 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33492 __ieee754_sqrtf instead of sqrtf.
33493 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33494 __floorf instead of floorf.
33495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33496 __floorf, __truncf instead of floorf, truncf.
33498 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33500 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33502 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33503 __extern_always_inline.
33504 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33507 2011-09-14 Andreas Schwab <schwab@redhat.com>
33509 * elf/rtld.c (dl_main): Also relocate in dependency order when
33510 doing symbol dependency testing.
33512 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33515 Always define `refsym'.
33517 2011-09-13 Andreas Schwab <schwab@redhat.com>
33519 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33520 (__FD_ELT): Renamed from __FDELT.
33521 * misc/bits/select2.h (__FD_ELT): Likewise.
33522 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33523 __FD_MASK instead of __FDELT, __FDMASK.
33524 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33526 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33529 * elf/Makefile (gen-ldd): Fix pattern.
33531 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33532 (init_tls): Likewise.
33534 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33538 2011-09-12 Andreas Schwab <schwab@redhat.com>
33540 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33541 `struct cmsghdr *' instead of `void *'.
33542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33545 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33547 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33549 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33550 ldd_rewrite_script.
33552 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33554 * configure.in: Remove --with-tls option.
33555 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33556 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33557 out in case it is missing.
33558 * sysdeps/ia64/elf/configure.in: Likewise.
33559 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33560 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33561 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33562 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33563 * sysdeps/sh/elf/configure.in: Likewise.
33564 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33565 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33566 * sysdeps/x86_64/elf/configure.in: Likewise.
33567 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33568 * sysdeps/mach/hurd/tls.h: Likewise.
33571 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33574 * configure.in: Fix use of AC_INIT.
33576 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33578 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33580 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33582 * malloc/hooks.c: Likewise.
33585 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33586 variables statically.
33587 (narenas): Initialize.
33588 (list_lock): Initialize.
33589 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33590 initializtion of main_arena and list_lock. Small cleanups.
33591 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33592 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33593 Add initializers to main_arena and mp_.
33594 (malloc_state): Remove pagesize member. Change all users to use
33597 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33598 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33599 is always initialized.
33601 * malloc/malloc.c: Removed unused configurations and dead code.
33602 * malloc/arena.c: Likewise.
33603 * malloc/hooks.c: Likewise.
33604 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33606 * include/tls.h: Removed. USE___THREAD must always be defined.
33607 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33608 * elf/dl-libc.c: Likewise.
33609 * elf/dl-tsd.c: Likewise.
33610 * include/errno.h: Likewise.
33611 * include/netdb.h: Likewise.
33612 * include/resolv.h: Likewise.
33613 * inet/herrno-loc.c: Likewise.
33614 * inet/herrno.c: Likewise.
33615 * malloc/arena.c: Likewise.
33616 * malloc/hooks.c: Likewise.
33617 * malloc/malloc.c: Likewise.
33618 * resolv/res-state.c: Likewise.
33619 * resolv/res_libc.c: Likewise.
33620 * sysdeps/i386/dl-machine.h: Likewise.
33621 * sysdeps/ia64/dl-machine.h: Likewise.
33622 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33623 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33624 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33625 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33626 * sysdeps/sh/dl-machine.h: Likewise.
33627 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33629 * sysdeps/unix/i386/sysdep.S: Likewise.
33630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33631 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33636 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33640 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33641 * sysdeps/x86_64/dl-machine.h: Likewise.
33642 * tls.make.c: Likewise.
33644 * configure.in: Remove --with-__thread option. Make tests for
33645 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33646 tls_model attribute fail if no support is available. Remove
33648 * Makeconfig: Adjust for dropped configure option. All features are
33650 * Makerules: Likewise.
33651 * Versions.def: Likewise.
33652 * argp/argp-fmtstream.c: Likewise.
33653 * argp/argp-fmtstream.h: Likewise.
33654 * argp/argp-help.c: Likewise.
33655 * assert/assert.c: Likewise.
33656 * config.h.in: Likewise.
33657 * config.make.in: Likewise.
33658 * configure: Likewise.
33659 * configure.in: Likewise.
33660 * csu/Versions: Likewise.
33661 * csu/init.c: Likewise.
33662 * elf/tst-audit2.c: Likewise.
33663 * elf/tst-tls10.c: Likewise.
33664 * elf/tst-tls10.h: Likewise.
33665 * elf/tst-tls11.c: Likewise.
33666 * elf/tst-tls12.c: Likewise.
33667 * elf/tst-tls14.c: Likewise.
33668 * elf/tst-tlsmod11.c: Likewise.
33669 * elf/tst-tlsmod12.c: Likewise.
33670 * elf/tst-tlsmod13.c: Likewise.
33671 * elf/tst-tlsmod13a.c: Likewise.
33672 * elf/tst-tlsmod14a.c: Likewise.
33673 * elf/tst-tlsmod15b.c: Likewise.
33674 * elf/tst-tlsmod16a.c: Likewise.
33675 * elf/tst-tlsmod16b.c: Likewise.
33676 * elf/tst-tlsmod7.c: Likewise.
33677 * elf/tst-tlsmod8.c: Likewise.
33678 * elf/tst-tlsmod9.c: Likewise.
33679 * gmon/gmon.c: Likewise.
33680 * grp/fgetgrent_r.c: Likewise.
33681 * grp/putgrent.c: Likewise.
33682 * hurd/fopenport.c: Likewise.
33683 * include/libc-symbols.h: Likewise.
33684 * include/tls.h: Likewise.
33685 * intl/gettextP.h: Likewise.
33686 * intl/loadinfo.h: Likewise.
33687 * locale/global-locale.c: Likewise.
33688 * locale/localeinfo.h: Likewise.
33689 * mach/devstream.c: Likewise.
33690 * malloc/arena.c: Likewise.
33691 * malloc/set-freeres.c: Likewise.
33692 * misc/err.c: Likewise.
33693 * misc/getttyent.c: Likewise.
33694 * misc/mntent_r.c: Likewise.
33695 * posix/getopt.c: Likewise.
33696 * posix/wordexp.c: Likewise.
33697 * pwd/fgetpwent_r.c: Likewise.
33698 * resolv/Versions: Likewise.
33699 * resolv/res_hconf.c: Likewise.
33700 * shadow/fgetspent_r.c: Likewise.
33701 * shadow/putspent.c: Likewise.
33702 * stdio-common/printf_fphex.c: Likewise.
33703 * stdio-common/tmpfile.c: Likewise.
33704 * stdlib/abort.c: Likewise.
33705 * stdlib/fmtmsg.c: Likewise.
33706 * sunrpc/auth_unix.c: Likewise.
33707 * sunrpc/clnt_perr.c: Likewise.
33708 * sunrpc/clnt_tcp.c: Likewise.
33709 * sunrpc/clnt_udp.c: Likewise.
33710 * sunrpc/clnt_unix.c: Likewise.
33711 * sunrpc/openchild.c: Likewise.
33712 * sunrpc/svc_simple.c: Likewise.
33713 * sunrpc/svc_tcp.c: Likewise.
33714 * sunrpc/svc_udp.c: Likewise.
33715 * sunrpc/svc_unix.c: Likewise.
33716 * sunrpc/xdr.c: Likewise.
33717 * sunrpc/xdr_array.c: Likewise.
33718 * sunrpc/xdr_rec.c: Likewise.
33719 * sunrpc/xdr_ref.c: Likewise.
33720 * sunrpc/xdr_stdio.c: Likewise.
33722 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33724 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33726 2011-07-03 Andreas Jaeger <aj@suse.de>
33728 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33729 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33730 regenerate with gen-libm-tests.pl.
33732 2010-05-12 Petr Baudis <pasky@suse.cz>
33735 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33736 around j0() zero points by switching to j1().
33737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33742 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33744 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33749 Patch in part by Pavel Roskin <proski@gnu.org>.
33752 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33754 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33755 Free memory block if necessary.
33758 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33759 be NULL. Don't lock in this case.
33761 2011-09-09 Roland McGrath <roland@hack.frob.com>
33763 * elf/elf.h (ELFOSABI_GNU): New macro.
33764 (ELFOSABI_LINUX): Define to that.
33766 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33768 * string/strncat.c (strncat): Undef the symbol in case it has been
33769 defined in bits/string.h.
33771 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33773 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33778 2011-08-17 Andreas Jaeger <aj@suse.de>
33780 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33782 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33783 Ian Lance Taylor <iant@google.com>
33785 * math/libm-test.inc (lround_test): New testcase.
33786 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33788 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33790 * Makefile: Remove support for automatic cvs check-ins.
33791 * Makerules: Likewise.
33792 * config.make.in: Likewise.
33793 * configure.in: Likewise.
33794 * intl/Makefile: Likewise.
33795 * locale/Makefile: Likewise.
33796 * po/Makefile: Likewise.
33797 * posix/Makefile: Likewise.
33798 * sysdeps/gnu/Makefile: Likewise.
33799 * sysdeps/mach/hurd/Makefile: Likewise.
33800 * sysdeps/sparc/sparc32/Makefile: Likewise.
33803 * posix/Makefile (bug-regex32-ENV): Define.
33804 Patch by John Stanley <jpsinthemix@verizon.net>.
33806 * misc/Makefile (headers): Add bits/select2.h.
33807 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33808 * misc/bits/select2.h: New file.
33809 * include/bits/select2.h: New file.
33810 * debug/Makefile (routines): Add fdelt_chk.
33811 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33812 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33814 * debug/fdelt_chk.c: New file.
33816 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33817 * wcsmbs/test-wmemcmp.c: Likewise.
33818 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33819 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33821 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33823 * string/Makefile (strop-tests): Add memcmp.
33824 * string/test-wmemcmp.c: New file.
33825 * string/test-memcmp.c: Add wmemcmp support.
33827 2011-09-08 Roland McGrath <roland@hack.frob.com>
33830 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33833 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33834 garbage value in a __mach_port_mod_refs call in the cases of the
33835 task-self and thread-self ports.
33837 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33839 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33841 2011-09-08 Andreas Schwab <schwab@redhat.com>
33843 * elf/dl-load.c (lose): Check for non-null L.
33845 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33847 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33849 * elf/dl-libc.c (dlerror_run): Pass back error code from
33853 * elf/dl-load.c (lose): Free l_origin if it is valid.
33855 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33857 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33861 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33862 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33864 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33866 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33867 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33868 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33869 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33870 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33871 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33872 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33873 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33874 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33875 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33877 2011-08-15 Alan Modra <amodra@gmail.com>
33880 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33881 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33882 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33883 ppc_mcount to static-only-routines.
33884 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33886 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33887 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33889 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33891 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33892 for finite and infinity parameters.
33894 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33897 and add nop instructions for throughput optimization.
33898 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33900 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33902 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33903 aligned copy for power7 with vector-scalar instructions.
33904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33906 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33911 2011-09-07 Andreas Schwab <schwab@redhat.com>
33914 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33917 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33920 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33921 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33922 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33925 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33927 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33928 Forgot to demangle the pointer.
33930 * sysdeps/i386/sysdep.h: Define atom_text_section.
33931 * sysdeps/x86_64/sysdep.h: Likewise.
33932 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33933 section with atom_text_section.
33934 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33936 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33938 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33942 already be defined. Change to take two parameters and don't assign
33943 result to variable. Adjust all users.
33944 Define INTERNAL_GETTIME if not already defined.
33945 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33948 HAVE_CLOCK_GETTIME_VSYSCALL.
33949 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33952 gettimeofday vsyscall, just use time.
33954 2011-09-06 Andreas Schwab <schwab@redhat.com>
33956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33959 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33961 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33965 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33967 syscall if possible.
33969 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33971 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33972 e_ident. Don't pass to find_mapsXX.
33973 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33975 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33978 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33979 * sysdeps/x86_64/multiarch/strchr.S: Update.
33980 Check bit_slow_BSF bit.
33981 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33982 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33983 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33985 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33988 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33990 (tryshell): Define.
33991 (__spawni): Change last parameter to be flag. Test
33992 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33993 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33994 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33995 * posix/spawni.c: Likewise.
33996 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33997 * posix/spawnp.c: Likewise. Change normal version to use
33998 SPAWN_XFLAGS_USE_PATH.
33999 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34000 SPAWN_XFLAGS_TRY_SHELL.
34003 * posix/glob.h: Remove gcc 1.x support.
34006 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34008 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34011 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34013 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34014 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34015 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34020 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34022 * sysdeps/x86_64/wcscmp.S: New file.
34024 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34025 wcscmp-c wcscmp-sse2
34026 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34027 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34029 * wcsmbs/wcscmp.c: Allow renaming.
34031 2011-09-05 David S. Miller <davem@davemloft.net>
34033 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34034 stack slot, rather than the struct return pointer slot.
34035 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34036 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34038 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34040 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34042 * po/ja.po: Update from translation team.
34045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34046 kernel in 64-bit binaries.
34048 2011-09-01 David S. Miller <davem@davemloft.net>
34050 * elf/elf.h (HWCAP_SPARC_*): Move to..
34051 * sysdeps/sparc/sysdep.h: this new file and add new values.
34052 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34053 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34054 _DL_HWCAP_COUNT to 24.
34055 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34057 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34058 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34059 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34061 instead of magic constants.
34062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34064 2011-08-31 David S. Miller <davem@davemloft.net>
34066 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34068 Reimplement to do errno handling inline.
34069 (SYSCALL_ERROR_HANDLER): New macro.
34070 (__SYSCALL_STRING): Do not do errno handling in asm.
34071 (__CLONE_SYSCALL_STRING): Delete.
34072 (__INTERNAL_SYSCALL_STRING): Delete.
34073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34074 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34075 (PSEUDO): Reimplement to do errno handling inline.
34076 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34077 (SYSCALL_ERROR_HANDLER): New macro.
34078 (__SYSCALL_STRING): Do not do errno handling in asm.
34079 (__CLONE_SYSCALL_STRING): Delete.
34080 (__INTERNAL_SYSCALL_STRING): Delete.
34081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34082 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34084 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34085 (inline_syscall*): Add 'err' argument.
34086 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34087 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34088 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34089 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34091 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34092 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34094 2011-08-30 Andreas Schwab <schwab@redhat.com>
34096 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34098 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34100 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34103 2011-08-24 David S. Miller <davem@davemloft.net>
34105 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34107 2011-08-24 Andreas Schwab <schwab@redhat.com>
34109 * elf/Makefile: Add rules to build and run unload8 test.
34110 * elf/unload8.c: New file.
34111 * elf/unload8mod1.c: New file.
34112 * elf/unload8mod1x.c: New file.
34113 * elf/unload8mod2.c: New file.
34114 * elf/unload8mod3.c: New file.
34116 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34119 2011-08-23 David S. Miller <davem@davemloft.net>
34121 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34122 subtract stack bias.
34123 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34124 %sp not %fp in calculations.
34125 (_JMPBUF_UNWINDS_ADJ): Likewise.
34127 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34128 (aio_suspend): Call it to force an exception region around the
34129 AIO_MISC_WAIT() invocation.
34131 2011-08-23 Andreas Schwab <schwab@redhat.com>
34133 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34136 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34138 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34140 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34141 and <dl-machine.h>.
34142 (Elf64_FuncDesc): Remove.
34144 2011-08-22 David S. Miller <davem@davemloft.net>
34146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34147 sigaltstack check, add missing cfi directives.
34148 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34149 missing cfi directives, and sigaltstack handling.
34151 2011-08-16 Andreas Schwab <schwab@redhat.com>
34154 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34155 object is seen twice.
34156 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34158 * elf/Makefile (distribute): Add tst-initorder2.c.
34159 (tests): Add tst-initorder2.
34160 (modules-names): Add tst-initorder2a tst-initorder2b
34161 tst-initorder2c tst-initorder2d. Add rules to build them.
34162 ($(objpfx)tst-initorder2.out): New rule.
34163 * elf/tst-initorder2.c: New file.
34164 * elf/tst-initorder2.exp: New file.
34166 2011-08-22 Andreas Schwab <schwab@redhat.com>
34168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34170 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34171 dependencies back to end of function.
34173 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34174 $(elfobjdir)/ld.so.
34176 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34179 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34181 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34182 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34183 of __vdso_gettimeofday.
34184 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34185 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34187 (_libc_vdso_platform_setup): Remove initialization of
34188 __vdso_gettimeofday and __vdso_time.
34190 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34192 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34193 and fgetc_unlocked.
34194 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34197 * elf/dl-open.c (add_to_global): Report additions to the global scope
34198 for LD_DEBUG=scopes.
34199 (dl_open_worker): Also print scope of newly loaded dependencies.
34200 (_dl_show_scope): Indicate if there is no scope.
34203 * stdio-common/Makefile (tests): Add bug24.
34204 * stdio-common/bug24.c: New file.
34206 2011-08-19 Andreas Jaeger <aj@suse.de>
34209 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34210 non-existant file when using close-on-exec mode.
34212 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34215 the very first instruction.
34217 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34218 the CFI state in the end.
34219 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34220 inclusion of dl-trampoline.h.
34221 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34223 2011-08-19 Andreas Schwab <schwab@redhat.com>
34225 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34226 expectations for long double.
34228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34229 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34231 2011-08-14 David S. Miller <davem@davemloft.net>
34233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34234 artificual limit depends upon the system page size.
34236 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34238 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34239 * resolv/Makefile: Define CFLAGS-libresolv.
34241 2011-08-17 Andreas Schwab <schwab@redhat.com>
34243 * nss/makedb.c (compute_tables): Make variables used in nested
34246 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34248 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34249 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34250 if buffer was too small.
34252 * elf/pldd.c (main): Attach to all threads in the process.
34253 Rewrite /proc handling to use *at functions.
34255 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34257 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34258 specifies first scope to show.
34259 (dl_open_worker): Update callers. Move printing scope of new
34260 object to before the relocation.
34261 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34262 * sysdeps/generic/ldsodefs.h: Update declaration.
34264 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34265 string for the scope number.
34267 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34269 * nscd/servicescache.c (cache_addserv): Make sure written is always
34272 2011-08-14 Roland McGrath <roland@hack.frob.com>
34274 * sysdeps/i386/i486/bits/atomic.h
34275 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34276 statement expression, so as to suppress "set but not used" warning.
34277 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34279 * string/strncat.c (STRNCAT): Use prototype definition.
34281 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34282 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34284 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34285 (localedef-modules): Add localedef.
34286 (locale-modules): Add locale.
34288 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34289 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34290 to avoid a warning.
34292 2011-08-14 David S. Miller <davem@davemloft.net>
34294 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34295 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34297 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34299 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34300 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34301 * elf/rtld.c (dl_main): Set l_name of vDSO.
34302 Call _dl_show_scope when DL_DEBUG_SCOPES.
34303 (process_dl_debug): Recognize scopes flag and also set it for all.
34304 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34305 Declare _dl_show_scope.
34307 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34308 (do_dlopen): Pass caller_dlopen to dl_open.
34309 (__libc_dlopen_mode): Initialize caller_dlopen.
34311 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34312 of libc. Make tolower call locale-independent. Optimize a bit by
34313 using isdigit instead of isalnum.
34314 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34316 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34318 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34319 was a dependency or dynamically loaded.
34321 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34323 * intl/l10nflist.c: Allow architecture-specific pop function.
34324 * sysdeps/x86_64/l10nflist.c: New file.
34326 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34329 2011-08-10 Andreas Schwab <schwab@redhat.com>
34331 * include/dirent.h: Add libc_hidden_proto for scandirat and
34332 scandirat64. Don't declare __scandirat64.
34333 * dirent/scandirat.c: Add libc_hidden_def.
34334 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34335 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34337 2011-08-10 David S. Miller <davem@davemloft.net>
34339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34345 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34347 * Versions.def [libc]: Add GLIBC_2.15.
34348 * dirent/Makefile (routines): Add scandirat and scandirat64.
34349 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34351 * dirent/dirent.h: Declare scandirat and scandirat64.
34352 * dirent/scandirat.c: New file.
34353 * dirent/scandirat64.c: New file.
34354 * sysdeps/wordsize-64/scandirat.c: New file.
34355 * sysdeps/wordsize-64/scandirat64.c: New file.
34356 * dirent/opendir.c: Define opendirat.
34357 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34359 * dirent/scandir64.c: Adjust for scandir.c change.
34360 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34361 __scandirat64, and __scandir_cancel_handler.
34362 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34363 additional parameter and use openat instead of open (outside of ld.so).
34364 Add new __opendir as wrapper around __opendirat.
34365 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34366 here without requiring old scandirat implementation.
34368 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34370 * dirent/scandir.c (cancel_handler): Renamed to
34371 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34372 defined. Adjust users.
34373 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34376 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34378 * string/test-string.h (IMPL): Use __STRING to expand name and then
34381 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34384 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34386 * string/Makefile: Update.
34387 (strop-tests): Append strncat.
34388 * string/test-wcscmp.c: New file.
34389 New comprehensive test for wcscmp.
34390 * string/test-strcmp.c: Update.
34391 (WIDE): New define.
34393 2011-07-22 Andreas Schwab <schwab@redhat.com>
34395 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34398 2011-07-26 Andreas Schwab <schwab@redhat.com>
34400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34401 encoding to ACE if AI_IDN.
34403 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34406 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34408 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34410 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34411 Fix overflow bug in strncat.
34412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34414 * string/test-strncat.c: Update.
34415 Add new tests for checking overflow bugs.
34417 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34420 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34421 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34422 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34423 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34424 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34425 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34426 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34427 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34430 (USE_AS_STRCAT): Define.
34431 Add strcat and strncat support.
34432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34434 2011-07-25 Andreas Schwab <schwab@redhat.com>
34436 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34437 __n bigger than INT_MAX+1.
34438 (__strncmp_g): Likewise.
34440 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34442 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34443 * libio/stido.h: Likewise.
34445 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34450 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34451 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34457 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34462 (_dl_x86_64_save_sse): Likewise.
34464 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34468 (_dl_x86_64_save_sse): Likewise.
34470 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34472 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34474 2011-07-21 Andreas Schwab <schwab@redhat.com>
34476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34478 (_dl_x86_64_save_sse): Use correct AVX check.
34480 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34482 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34483 bug in strncpy/strncat.
34484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34486 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34488 * string/tester.c (test_strcat): Add tests for different alignments
34489 of source and destination.
34490 (test_strncat): Likewise.
34492 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34495 * posix/glob.c (glob): Check passed in values before using them in
34496 expressions to avoid some overflows.
34497 (glob_in_dir): Likewise.
34500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34501 check for AVX enablement so that we don't crash with old kernels and
34503 * elf/tst-audit4.c: Add same checks here.
34504 * elf/tst-audit6.c: Likewise.
34506 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34508 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34510 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34512 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34514 * po/cs.po: Update from translation team.
34515 * po/bg.po: Likewise.
34517 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34519 * misc/sys/cdefs.h: Add support for const attribute.
34520 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34521 to gnu_dev_{major,minor,makedev} functions.
34523 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34525 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34527 2011-07-20 Andreas Schwab <schwab@redhat.com>
34529 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34532 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34535 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34536 register in order to avoid conflicts with the soft frame pointer
34537 being held in r11 when necessary.
34538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34539 (INTERNAL_VSYSCALL_NCS): Likewise.
34541 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34543 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34544 * elf/dl-fini.c (_dl_fini): Adjust caller.
34545 * elf/dl-close.c (_dl_close_worker): Likewise.
34546 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34548 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34550 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34551 "aux_cache->nlibs < 0".
34553 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34554 in the reload-count case.
34556 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34559 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34560 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34562 * sysdeps/x86_64/multiarch/strcat.S: New file.
34563 * sysdeps/x86_64/multiarch/strncat.S: New file.
34564 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34565 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34566 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34567 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34569 (USE_AS_STRCAT): Define.
34570 Add strcat and strncat support.
34571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34573 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34574 * string/strncat.c: Update.
34575 (USE_AS_STRNCAT): Define.
34576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34577 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34579 * sysdeps/x86_64/multiarch/init-arch.h
34580 (bit_Prefer_PMINUB_for_stringop): New.
34581 (index_Prefer_PMINUB_for_stringop): Likewise.
34582 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34583 bit_Prefer_PMINUB_for_stringop.
34585 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34587 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34589 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34590 of casting of buffer.
34591 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34592 buffer32 and buffer64.
34593 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34594 writes instead of casting of buffer.
34595 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34597 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34600 2011-07-19 Andreas Schwab <schwab@redhat.com>
34602 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34604 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34606 * nscd/nscd.c (termination_handler): Don't do anything for a database
34607 if it has not yet been initialized.
34609 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34611 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34613 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34615 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34617 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34619 * po/nl.po: Update from translation team.
34620 * po/sv.po: Likewise.
34622 2011-07-16 Roland McGrath <roland@hack.frob.com>
34624 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34625 now disallowed by GCC.
34627 * configure.in (use-default-link): Default to yes if a test -shared
34628 link meets our qualifications.
34629 * configure: Regenerated.
34631 * config.make.in (output-format): New variable.
34632 * configure.in: Check for ld --print-output-format support.
34633 * configure: Regenerated.
34634 * Makerules ($(common-objpfx)format.lds)
34635 [$(output-format) != unknown]: Just use $(output-format),
34636 instead of the linker-script munging.
34638 2011-07-14 Roland McGrath <roland@hack.frob.com>
34640 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34641 of $(common-objpfx)shlib.lds.
34642 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34644 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34645 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34647 * configure.in (-z relro check): Adjust test code to add a large
34648 writable data section after it.
34649 * configure: Regenerated.
34651 2011-07-11 Roland McGrath <roland@hack.frob.com>
34653 * configure.in (-z relro check): Fix test code to make the variable
34655 * configure: Regenerated.
34657 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34659 * nscd/nscd.h (struct traced_file): Define.
34660 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34661 elements. Add traced_files.
34662 (inotify_fd): Declare.
34663 (register_traced_file): Declare.
34664 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34665 (inotify_fd): Export.
34666 (resolv_conf_descr): Remove.
34667 (nscd_init): Move inotify descriptor creation to main.
34668 Don't register files for notification here.
34669 (register_traced_file): New function.
34670 (invalidate_cache): Don't use reset_res to determine whether to call
34671 res_init, go through the list of registered files.
34672 (main_loop_poll): The inotify descriptors are now stored in the
34673 structures for the traced files.
34674 (main_loop_epoll): Likewise
34675 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34676 to __nss_disable_nscd.
34677 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34678 for a database anymore. Check the records for all the registered
34680 * nss/Makefile (libnss_files-routines): Add files-init.
34681 (libnss_db-routines): Add db-init.
34682 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34683 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34684 * nss/nss_db/db-init.c: New file.
34685 * nss/nss_files/files-init.c: New file.
34686 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34687 __nss_lookup_function.
34688 (__nss_lookup_function): Call nss_load_library.
34689 (nss_load_all_libraries): New function.
34690 (__nss_disable_nscd): Take parameter with callback function for files
34691 to register. Set is_nscd. Load all the DSOs for the NSS modules
34692 used for the cached services.
34693 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34694 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34695 options for features to all the files in nscd.
34697 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34699 2011-07-10 Roland McGrath <roland@hack.frob.com>
34701 * csu/elf-init.c (__libc_csu_init): Comment typo.
34703 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34705 * po/pl.po: Update from translation team.
34706 * po/ja.po: Likewise.
34707 * po/ru.po: Likewise.
34708 * po/ko.po: Likewise.
34709 * po/fr.po: Likewise.
34711 2011-07-09 Roland McGrath <roland@hack.frob.com>
34713 * configure.in (.ctors/.dtors header and trailer check):
34714 Use an empirical test on a built program.
34715 * configure: Regenerated.
34717 * configure.in (-z relro check): Use an empirical test on a built DSO.
34718 Detect, but do not require, on ia64.
34719 * configure: Regenerated.
34721 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34722 Update tests that use readelf to use $READELF instead.
34723 * configure: Regenerated.
34725 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34727 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34728 if the result is not used.
34730 2011-07-05 Andreas Jaeger <aj@suse.de>
34733 * stdlib/tst-strtod.c: Add testcase.
34735 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34737 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34738 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34739 The latter has a higher limit. Take additional parameter to pass to
34741 (__pathconf): Pass file to __statfs_link_max.
34742 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34744 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34748 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34751 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34752 (__statfs_filesize_max): Likewise.
34753 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34755 2011-07-05 Andreas Jaeger <aj@suse.de>
34757 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34759 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34761 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34763 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34766 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34768 * Makefile (strop-tests): Add strncat.
34769 * string/test-strncat.c: New file.
34771 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34773 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34775 2011-06-21 Andreas Jaeger <aj@suse.de>
34777 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34778 Copy rule from iconvdata/Makefile.
34780 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34783 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34784 but no long options are defined, just return 'W'.
34786 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34789 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34791 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34793 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34795 (innetgr): Likewise.
34797 2011-07-05 Roland McGrath <roland@hack.frob.com>
34799 * config.make.in (install_root): Default to $(DESTDIR).
34801 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34803 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34805 2011-07-02 Roland McGrath <roland@hack.frob.com>
34807 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34809 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34810 containing directory rather than embedding absolute directory names.
34812 * scripts/check-local-headers.sh: Rewritten using awk.
34813 Match by word, not by line. Print error messages for matches.
34814 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34816 * Makerules [shlib-lds-flags empty]:
34817 ($(common-objpfx)libc_pic.opts): New target.
34818 ($(common-objpfx)libc_pic.os.clean): New target.
34819 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34821 * config.make.in (OBJCOPY): New variable.
34822 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34823 * configure: Regenerated.
34825 * config.make.in (use-default-link): New variable.
34826 * configure.in (use_default_link): Grok --with-default-link to set it.
34827 * configure: Regenerated.
34828 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34829 (shlib-lds, shlib-lds-flags): Define to empty.
34831 * Makerules (shlib-lds): New variable.
34832 (shlib-lds-flags): New variable.
34833 (build-shlib, build-moduile, build-module-asneeded): Use it.
34834 ($(common-objpfx)libc.so): Use $(shlib-lds).
34835 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34836 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34838 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34839 DT_FLAGS/DT_FLAGS_1 with zero flags.
34841 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34842 linker script munging.
34844 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34846 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34848 * crypt/sha512.c (sha512_process_block): Perform total addition using
34849 128-bit if possible.
34850 (__sha512_finish_ctx): Likewise.
34851 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34853 * crypt/sha256.c (SWAP64): Define.
34854 (sha256_process_block): Perform total addition using 64-bit if
34856 (__sha256_finish_ctx): Likewise.
34858 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34860 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34862 * nscd/hstcache.c (cache_addhst): Likewise.
34863 * nscd/grpcache.c (cache_addgr): Likewise.
34864 * nscd/aicache.c (addhstaiX): Likewise
34865 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34867 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34869 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34871 * nscd/hstcache.c (cache_addhst): Likewise.
34872 * nscd/grpcache.c (cache_addgr): Likewise.
34873 * nscd/aicache.c (addhstaiX): Likewise
34875 2011-07-01 Andreas Schwab <schwab@redhat.com>
34877 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34878 domain only when needed.
34880 2011-06-30 Andreas Schwab <schwab@redhat.com>
34882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34883 is always restored.
34885 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34887 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34888 are re-adding the entry.
34889 * nscd/servicescache.c (cache_addserv): Likewise.
34891 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34893 * sysdeps/generic/dl-irel.h: fix protection against multiple
34895 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34897 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34900 * malloc/memusage.sh: Fix quoting in message.
34901 * debug/xtrace.sh: Likewise.
34903 * configure.in: Remove support for --experimental-malloc option, make
34905 * config.make.in: Likewise.
34906 * malloc/Makefile: Likewise.
34908 2011-06-27 Andreas Schwab <schwab@redhat.com>
34910 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34911 two-byte characters.
34913 2011-06-27 Roland McGrath <roland@hack.frob.com>
34915 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34916 AC_CACHE_CHECK invocation.
34917 * configure: Regenerated.
34919 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34921 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34924 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34925 bit from old_res_options.
34927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34929 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34930 value type for setfct.
34932 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34935 __gettimeofday instead of gettimeofday.
34937 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34939 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34941 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34948 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34951 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34952 strcpy-sse2-unaligned strncpy-sse2-unaligned
34953 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34954 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34955 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34956 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34957 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34958 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34960 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34961 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34962 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34963 (STRCPY): Support SSE2 and SSSE3 versions.
34965 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34968 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34969 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34970 kernels which artificially limit size of requests.
34972 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34975 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34976 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34977 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34978 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34979 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34980 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34981 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34984 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34985 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34986 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34987 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34988 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34990 Enable unaligned load optimization for Intel Core i3, i5 and i7
34992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34994 (index_Fast_Unaligned_Load): Define.
34995 (HAS_FAST_UNALIGNED_LOAD): Define.
34997 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34999 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35001 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35005 until it is clear that the information is realy needed.
35006 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35008 2011-06-22 Andreas Schwab <schwab@redhat.com>
35010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35012 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35015 /sys/devices/system/cpu/online if it is usable.
35017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35018 reading the information from the /proc filesystem to once a second.
35020 2011-06-21 Andreas Jaeger <aj@suse.de>
35022 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35023 NULL after inclusion of kernel headers.
35025 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35027 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35028 calls to internal_setent.
35031 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35032 addresses using gethostbyname4_r ignore IPv4 addresses.
35034 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35035 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35037 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35039 2011-06-20 David S. Miller <davem@davemloft.net>
35041 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35043 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35045 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35046 (elf_irel): Use it.
35047 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35048 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35049 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35050 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35051 * sysdeps/x86_64/dl-irel.h: Likewise.
35053 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35054 * elf/dl-sym.c: Likewise.
35056 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35058 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35059 need to dereference resplen2.
35061 2011-06-14 Andreas Schwab <schwab@redhat.com>
35063 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35065 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35067 * Makeconfig: Define vardbdir and inst_vardbdir.
35068 * nss/Makefile: Add rules to install db-Makefile.
35070 * nss/nss_db/db-XXX.c: Cleanup.
35072 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35073 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35075 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35076 * nss/makedb.c: Implement -g option to specify that value strings
35077 are generated and should not be added to table iterated over for
35079 * nss/nss_db/db-initgroups.c: New file.
35081 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35084 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35085 (internal_getgrouplist): Adjust to name change.
35086 Update use_initgroups_entry if this is not the first call.
35087 * nss/databases.def: Add initgroups entry.
35089 * nss/makedb.c (compute_tables): Check result of multiple hash table
35090 sizes to minimize maximum chain length.
35092 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35094 * Versions.def: Add entry for libnss_db.
35095 * shlib-versions: Likewise.
35096 * nss/Makefile: Add rules to build libnss_db.
35097 * nss/Versions: Add libnss_db information. Organize libnss_files
35099 * nss/db-Makefile: Add gshadow support. Change rules for the new
35100 makedb progra. Some minor improvements to generate smaller files.
35101 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35103 * nss/makedb.c: ...here.
35104 Improve database format to be smaller and require less memory at
35106 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35108 * nss/nss_db/db-netgrp.c: Likewise.
35109 * nss/nss_db/db-open.c: Likewise.
35110 * nss/nss_files/flies-XXX.x: Adjust comments.
35111 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35112 * nss/nss_files/files-grp.c: Likewise.
35113 * nss/nss_files/files-hosts.c: Likewise.
35114 * nss/nss_files/files-network.c: Likewise.
35115 * nss/nss_files/files-proto.c: Likewise.
35116 * nss/nss_files/files-pwd.c: Likewise.
35117 * nss/nss_files/files-rpc.c: Likewise.
35118 * nss/nss_files/files-service.c: Likewise.
35119 * nss/nss_files/files-sgrp.c: Likewise.
35120 * nss/nss_files/files-spwd.c: Likewise.
35121 * nss/nss_db/db-alias.c: Removed.
35122 * nss/nss_db/dummy-db.h: Removed.
35124 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35126 * nss/makedb.c: Rewritten to not use database library.
35127 * nss/Makefile: Update to build new makedb program.
35129 2011-06-14 Andreas Jaeger <aj@suse.de>
35131 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35132 memset declaration.
35134 2011-06-10 Andreas Schwab <schwab@redhat.com>
35136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35139 2011-06-10 Roland McGrath <roland@hack.frob.com>
35141 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35142 * elf/Makefile ($(objpfx)ld.so): Likewise.
35144 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35145 Don't list ld.so twice in dependencies.
35147 * posix/bug-regex31.c: Include <stdlib.h>.
35149 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35151 * nis/nss_compat/compat-spwd.c
35152 (getspent_next_nss_netgr): Remove unused variable.
35153 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35155 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35156 nonmembers" output to use the right array.
35158 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35160 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35162 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35163 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35164 * catgets/gencat.c (read_input_file): Likewise.
35165 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35167 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35168 variable definition inside #if's controlling its use.
35170 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35172 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35174 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35176 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35179 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35181 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35182 * configure: Regenerated.
35184 * Makerules: Revert last change.
35185 * elf/Makefile: Likewise.
35187 2011-06-09 Roland McGrath <roland@hack.frob.com>
35189 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35190 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35191 (reloc-link): Likewise.
35193 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35195 * elf/Makefile: Add rules to build pldd.
35196 * elf/pldd.c: New file.
35197 * elf/pldd-xx.c: New file.
35199 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35201 * version.h: Update for 2.15 development version.
35203 2011-06-07 David S. Miller <davem@davemloft.net>
35205 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35208 elf_machine_lazy_rel): Likewise.
35209 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35211 elf_machine_lazy_rel): Likewise.
35212 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35213 dl_hwcap via passed in argument.
35214 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35217 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35219 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35221 2011-06-06 Roland McGrath <roland@hack.frob.com>
35224 * manual/fdl-1.1.texi: New file, verbatim from:
35225 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35226 * manual/lgpl-2.1.texi: New file, verbatim from:
35227 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35228 * manual/Makefile (licenses): New variable, list those new file names.
35230 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35232 * manual/fdl.texi: File removed.
35233 * manual/lesser.texi: File removed.
35234 * manual/libc.texinfo (Copying, Documentation License):
35235 Use new @include file names, put @appendix directive before @include.
35237 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35240 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35241 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35242 (mq_open): Add __NTH.
35244 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35247 Assume Intel Core i3/i5/i7 processor if AVX is available.
35249 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35254 2011-05-31 Andreas Schwab <schwab@redhat.com>
35256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35257 memory. Use alloca_account. Fix memory leak when retrying.
35259 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35261 * version.h (RELEASE): Bump for 2.14 release.
35262 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35264 * config.make.in (RANLIB): Remove entry.
35266 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35268 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35269 (libc.pot): Work around missing support for .ksh extension in xgettext.
35272 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35273 if both request failed.
35274 (send_dg): In case of server errors clear resplen or *resplen2.
35277 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35278 when there are multiple maps.
35279 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35280 (_dl_fini): Remove test here.
35282 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35284 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35287 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35288 bit from old_res_options.
35289 (gaih_inet): Likewise.
35292 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35295 * resolv/res_init.c (res_setoptions): Make the code more compact.
35298 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35302 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35304 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35307 * malloc/malloc.h: Declare malloc hook variables as volatile.
35309 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35313 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35314 raise in the comment.
35315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35317 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35319 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35322 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35323 grow the buffers more if it already has to be sufficient.
35324 (build_wcs_upper_buffer): Likewise.
35325 * posix/regexec.c (check_matching): Likewise.
35326 (clean_state_log_if_needed): Likewise.
35327 (extend_buffers): Don't enlarge buffers beyond size of the input
35329 Patches mostly by Emil Wojak <emil@wojak.eu>.
35330 * posix/bug-regex32.c: New file.
35331 * posix/Makefile (tests): Add bug-regex32.
35333 * locale/findlocale.c (_nl_find_locale): Return right away if
35334 _nl_explode_name failed.
35335 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35337 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35339 * debug/xtrace.sh: Unify messages.
35340 * malloc/memusage.sh: Likewise.
35343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35344 time symbol from vDSO. Substitute with vsyscall if not available.
35345 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35348 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35349 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35350 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35351 Add sendmmsg and internal_sendmmsg.
35352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35353 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35354 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35356 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35357 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35360 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35363 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35364 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35366 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35370 * iconvdata/Makefile (tests): Add bug-iconv9.
35371 * iconvdata/bug-iconv9.c: New file.
35373 2011-05-27 Andreas Schwab <schwab@redhat.com>
35376 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35378 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35381 (struct user_regs_struct): Change intcs field back to cs.
35383 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35385 * po/ja.po: Update from translation team.
35387 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35390 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35391 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35393 2011-05-20 Andreas Schwab <schwab@redhat.com>
35395 * stdlib/longlong.h: Update from GCC.
35397 2011-05-23 Andreas Schwab <schwab@redhat.com>
35399 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35401 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35402 Add parameter name.
35403 (__sysconf): Pass it down.
35405 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35408 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35411 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35412 add in in __libc_use_alloca calls. Adjust callers.
35413 (glob): Use malloc in some situations.
35415 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35416 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35419 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35421 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35422 and CLOCK_BOOTTIME_ALARM.
35425 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35428 * string/_strerror.c (__strerror_r): Print negative errors as signed
35432 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35433 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35434 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35436 * configure.in: Fix typo in redirection and correct removal of test
35437 files in two cases.
35440 * locale/setlocale.c (new_composite_name): Fix test to check for
35441 identical name of all categories.
35444 * libio/filedoalloc.c (local_isatty): New function.
35445 (_IO_file_doallocate): Use local_isatty.
35446 * stdio-common/perror.c (perror): In case a new stream is used
35447 forward the stream error.
35448 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35451 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35456 * include/alloca.h (extend_alloca_account): Define.
35459 * posix/regex.h: Fix comments with documentation of user-accessible
35460 fields after compilation and describe correct free'ing of pattern
35461 after re_compile_pattern.
35462 Patch by Reuben Thomas <rrt@sc3d.org>.
35464 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35466 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35467 and -mno-altivec to prevent the compiler from using Altivec and/or
35468 VSX instructions when the corresponding registers are not available.
35470 2011-05-19 Andreas Schwab <schwab@redhat.com>
35472 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35474 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35476 * libio/freopen.c (freopen): Use __dup2, not dup2.
35477 * libio/freopen64.c (freopen64): Likewise.
35479 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35482 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35483 * math/Makefile (tests): Add test-powl.
35484 (CFLAGS-test-powl.c): Define.
35485 * math/test-powl.c: New file.
35487 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35489 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35491 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35494 * iconvdata/gb18030.c: Update to GB18020-2005.
35496 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35498 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35499 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35500 Patch by Aharon Robbins <arnold@skeeve.com>.
35503 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35507 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35508 through underflows.
35511 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35512 point to strings before performing equality test for error_one_per_line
35516 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35520 (struct user_fpregs_struct): Avoid __uint*_t types.
35523 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35524 symbol info. Use it instead of calling _dl_addr locally.
35525 (lock_and_info): New function.
35526 (tr_freehook): Call lock_and_info and pass symbol info as additional
35527 parameter to tr_where.
35528 (tr_mallochook): Likewise.
35529 (tr_reallochook): Likewise.
35530 (tr_memalignhook): Likewise.
35532 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35533 used and couldn't be at all thread-safe.
35535 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35537 * libio/freopen.c (freopen): Don't close old file descriptor
35538 before the new one is opened. Instead dup the new file descriptor
35539 to the old one after the new stream is created.
35540 * libio/freopen64.c (freopen64): Likewise.
35541 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35542 * libio/fileops.c (_IO_new_file_close_it): Handle new
35543 _IO_FLAGS2_NOCLOSE flag.
35544 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35545 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35546 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35547 _IO_FLAGS2_NOCLOSE flag.
35548 * include/unistd.h: Add hidden_proto for dup3.
35549 Define __have_dup3.
35550 * io/dup3.c: Define hidden symbol.
35551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35554 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35555 when an incomplete long option is used.
35556 * posix/tst-getopt_long1.c: New file.
35557 * posix/Makefile (tests): Add tst-getopt_long1.
35560 * scripts/config.guess: Update from autoconf-2.68.
35561 * scripts/config.sub: Likewise.
35564 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35566 (has_cpuclock): ...this. New function.
35567 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35568 macro here based on has_cpuclock code.
35571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35572 First byte (not low byte) is now always NUL.
35573 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35576 Use non-cancelable interfaces.
35579 * locale/iso-639.def: Add entry for Sorani.
35582 * include/stdlib.h: Move include protection to the right place.
35583 Define abort_msg_s. Declare __abort_msg with it.
35584 * stdlib/abort.c (__abort_msg): Adjust type.
35585 * assert/assert.c (__assert_fail_base): New function. Majority
35586 of code from __assert_fail. Allocate memory for __abort_msg with
35588 (__assert_fail): Now call __assert_fail_base.
35589 * assert/assert-perr.c: Remove bulk of implementation. Use
35590 __assert_fail_base.
35591 * include/assert.hL Declare __assert_fail_base.
35592 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35594 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35596 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35600 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35601 until all modules are registered in the DTV.
35602 * elf/Makefile: Add rules to build and run tst-tls19.
35603 * elf/tst-tls19.c: New file.
35604 * elf/tst-tls19mod1.c: New file.
35605 * elf/tst-tls19mod2.c: New file.
35606 * elf/tst-tls19mod3.c: New file.
35607 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35610 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35614 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35615 two-byte sequence errors.
35616 * iconvdata/Makefile (tests): Add bug-iconv8.
35617 * iconvdata/bug-iconv8.c: New file.
35620 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35623 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35626 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35627 (dummy_getcfa): New function.
35628 (init): Get _Unwind_GetCFA address, use dummy if not found.
35629 (backtrace_helper): In recursion check, also check whether CFA changes.
35630 (__backtrace): Completely initialize arg.
35632 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35633 storing incomplete byte sequence in state object. Avoid testing for
35634 guaranteed too small input if we know there is enough data available.
35636 2011-05-11 Andreas Schwab <schwab@redhat.com>
35638 * Makeconfig (+link-pie): Indent.
35639 * Rules (binaries-pie): Define if $(have-fpie) and
35641 (binaries-shared): Also filter out $(binaries-pie).
35642 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35643 * nscd/Makefile (others-pie): Add nscd.
35644 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35645 ($(objpfx)nscd): Remove command override.
35646 * login/Makefile (others-pie): Add pt_chown.
35647 ($(objpfx)pt_chown): Remove command override.
35648 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35649 remove command overrides.
35651 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35653 * libio/tst_putwc.c: Fix error messages.
35656 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35657 currently writing and seek to current position when not.
35658 * libio/Makefile (tests): Add bug-fclose1.
35659 * libio/bug-fclose1.c: New file.
35661 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35664 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35665 don't set DF_1_NODELETE here.
35666 (do_lookup_x): When entering new entry test for copy relocation
35667 and if necessary set DF_1_NODELETE flag.
35668 * elf/tst-unique4.cc: New file.
35669 * elf/tst-unique4.h: New file.
35670 * elf/tst-unique4lib.cc: New file.
35671 * elf/Makefile: Add rules to build and run tst-unique4.
35672 Patch by Piotr Bury <pbury@goahead.com>.
35674 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35677 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35680 * misc/mntent_r.c (addmntent): Flush the stream after the output
35683 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35684 (is_trusted_path_normalize): Skip initial colon. Append slash
35685 to empty buffer. Duplicate is_trusted_path code but allow
35686 constructed patch to be prefix.
35687 (is_dst): Allow $ORIGIN followed by /.
35688 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35689 Correct testing of result of is_trusted_path_normalize
35690 (decompose_rpath): Fix warning.
35692 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35695 * grp/initgroups.c (internal_getgrouplist): When we found the service
35696 list through the initgroups entry in nsswitch.conf do not always
35697 continue on a successful lookup. Don't always use the
35698 __nss_group_database value if it is set.
35699 * nss/nsswitch.conf (initgroups): Change action for successful db
35700 lookup to continue for compatibility.
35702 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35705 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35707 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35709 * iconvdata/tst-tables.sh: Likewise.
35710 * iconvdata/cp770.c: New file.
35711 * iconvdata/cp771.c: New file.
35712 * iconvdata/cp772.c: New file.
35713 * iconvdata/cp773.c: New file.
35714 * iconvdata/cp774.c: New file.
35715 * iconvdata/testdata/CP770: New file.
35716 * iconvdata/testdata/CP770..UTF8: New file.
35717 * iconvdata/testdata/CP771: New file.
35718 * iconvdata/testdata/CP771..UTF8: New file.
35719 * iconvdata/testdata/CP772: New file.
35720 * iconvdata/testdata/CP772..UTF8: New file.
35721 * iconvdata/testdata/CP773: New file.
35722 * iconvdata/testdata/CP773..UTF8: New file.
35723 * iconvdata/testdata/CP774: New file.
35724 * iconvdata/testdata/CP774..UTF8: New file.
35726 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35728 * iconvdata/gen-8bit-gap.sh: Likewise.
35729 * iconvdata/gen-8bit.sh: Likewise.
35731 * locale/iso-639.def: Add ary entry.
35734 * locale/C-translit.h.in: Add U20A1 transliteration.
35737 * locale/iso-639.def: Add wae entry.
35738 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35741 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35745 * locale/C-translit.h.in: Add entry for U20B9.
35746 Patch by pravin.d.s@gmail.com.
35748 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35751 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35752 ENAMETOOLONG use generic getcwd.
35753 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35754 in rtld. Use *stat64.
35755 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35756 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35757 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35758 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35759 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35760 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35761 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35762 __fstatat64 macros.
35763 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35764 * dirent/rewinddir.c: Add libc_hidden_def.
35765 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35766 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35768 * include/dirent.h (__alloc_dir): Add flags parameter.
35769 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35770 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35772 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35773 from fdopendir if O_CLOEXEC is already set.
35775 2011-03-15 Alan Modra <amodra@gmail.com>
35777 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35778 l_tls_firstbyte_offset non-zero. Save padding offset in
35779 l_tls_firstbyte_offset for later use.
35780 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35781 freeing static tls block.
35783 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35785 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35786 where #ifdef was intended. The intent is to prevent ARG_MAX from
35787 being defined by the kernel headers.
35789 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35792 * resolv/resolv.h: Define RES_NOTLDQUERY.
35793 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35794 no-tld-query and set RES_NOTLDQUERY.
35795 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35796 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35797 modern BIND to search name as TLD unless forbidden.
35799 2011-05-07 Petr Baudis <pasky@suse.cz>
35800 Ulrich Drepper <drepper@gmail.com>
35803 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35804 (is_trusted_path): ...to here.
35805 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35806 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35807 using is_trusted_path_normalize() in setuid scripts.
35809 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35811 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35812 __BEGIN/__END_DECLS.
35814 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35817 NSS_STATUS_NOTFOUND if no record was found.
35819 2011-05-05 Andreas Schwab <schwab@redhat.com>
35821 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35822 (headers-not-in-tirpc): Remove rpc/netdb.h
35823 * resolv/netdb.h: Revert last change.
35825 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35827 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35828 circular dependency between libgcc.a and libc.a.
35830 2011-05-05 Andreas Schwab <schwab@redhat.com>
35832 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35833 * nis/Makefile: Don't install rpcsvc/*.
35834 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35835 instead of <rpc/types.h>.
35836 (MAXHOSTNAMELEN): Define.
35838 2011-05-03 Andreas Schwab <schwab@redhat.com>
35840 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35842 2011-04-28 Maciej Babinski <mbabinski@google.com>
35845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35846 gethostbyname4_r when IPv6 results are possible.
35848 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35851 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35852 _PC_PIPE_BUF handling.
35854 2011-04-30 Bruno Haible <bruno@clisp.org>
35857 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35858 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35860 * inet/getnameinfo.c (getnameinfo): Likewise.
35862 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35864 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35865 to groups setting in database lookup.
35866 * nss/nsswitch.conf: Add initgroups entry.
35868 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35871 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35873 Patch by Eric Blake <eblake@redhat.com>.
35875 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35877 * sunrpc/Makefile (need-export-routines): Add svc_run.
35878 (routines): Remove svc_run.
35879 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35880 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35881 * sunrpc/svc_run.c (svc_run): Likewise.
35882 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35884 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35887 problem in reallocation in last patch.
35889 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35891 * sunrpc/Makefile: Move inclusion of Rules.
35893 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35895 * nss/nss_files/files-initgroups.c: New file.
35896 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35897 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35898 _nss_files_initgroups_dyn.
35900 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35902 * elf/elf.h (R_ARM_IRELATIVE): Define.
35904 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35906 * po/ru.po: Update from translation team.
35908 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35910 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35913 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35917 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35922 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35924 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35927 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35930 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35933 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35935 * stdlib/bug-getcontext.c: New file.
35936 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35938 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35940 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35941 instructions into .machine "z9-109".
35942 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35943 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35945 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35947 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35948 between environment variables and auxiliary vector.
35950 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35952 * Makefile: Add rules to build linkobj/libc.so.
35953 * include/libc-symbols.h: Define libc_hidden_nolink.
35954 * include/rpc/auth.h: Mark functions which are to be hidden.
35955 * include/rpc/auth_des.h: Likewise.
35956 * include/rpc/auth_unix.h: Likewise.
35957 * include/rpc/clnt.h: Likewise.
35958 * include/rpc/des_crypt.h: Likewise.
35959 * include/rpc/key_prot.h: Likewise.
35960 * include/rpc/pmap_clnt.h: Likewise.
35961 * include/rpc/pmap_prot.h: Likewise.
35962 * include/rpc/pmap_rmt.h: Likewise.
35963 * include/rpc/rpc_msg.h: Likewise.
35964 * include/rpc/svc.h: Likewise.
35965 * include/rpc/svc_auth.h: Likewise.
35966 * include/rpc/xdr.h: Likewise.
35967 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35968 * nss/Makefile: Likewise.
35969 * sunrpc/Makefile: Don't install headers. Build library with normal
35970 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35971 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35972 for the compat linking library. Remove use of INTDEF/INTUSE.
35973 * sunrpc/auth_none.c: Likewise.
35974 * sunrpc/auth_unix.c: Likewise.
35975 * sunrpc/authdes_prot.c: Likewise.
35976 * sunrpc/authuxprot.c: Likewise.
35977 * sunrpc/clnt_gen.c: Likewise.
35978 * sunrpc/clnt_perr.c: Likewise.
35979 * sunrpc/clnt_raw.c: Likewise.
35980 * sunrpc/clnt_simp.c: Likewise.
35981 * sunrpc/clnt_tcp.c: Likewise.
35982 * sunrpc/clnt_udp.c: Likewise.
35983 * sunrpc/clnt_unix.c: Likewise.
35984 * sunrpc/des_crypt.c: Likewise.
35985 * sunrpc/des_soft.c: Likewise.
35986 * sunrpc/get_myaddr.c: Likewise.
35987 * sunrpc/key_call.c: Likewise.
35988 * sunrpc/key_prot.c: Likewise.
35989 * sunrpc/netname.c: Likewise.
35990 * sunrpc/pm_getmaps.c: Likewise.
35991 * sunrpc/pm_getport.c: Likewise.
35992 * sunrpc/pmap_clnt.c: Likewise.
35993 * sunrpc/pmap_prot.c: Likewise.
35994 * sunrpc/pmap_prot2.c: Likewise.
35995 * sunrpc/pmap_rmt.c: Likewise.
35996 * sunrpc/publickey.c: Likewise.
35997 * sunrpc/rpc_cmsg.c: Likewise.
35998 * sunrpc/rpc_common.c: Likewise.
35999 * sunrpc/rpc_dtable.c: Likewise.
36000 * sunrpc/rpc_prot.c: Likewise.
36001 * sunrpc/rpc_thread.c: Likewise.
36002 * sunrpc/rtime.c: Likewise.
36003 * sunrpc/svc.c: Likewise.
36004 * sunrpc/svc_auth.c: Likewise.
36005 * sunrpc/svc_authux.c: Likewise.
36006 * sunrpc/svc_raw.c: Likewise.
36007 * sunrpc/svc_run.c: Likewise.
36008 * sunrpc/svc_simple.c: Likewise.
36009 * sunrpc/svc_tcp.c: Likewise.
36010 * sunrpc/svc_udp.c: Likewise.
36011 * sunrpc/svc_unix.c: Likewise.
36012 * sunrpc/svcauth_des.c: Likewise.
36013 * sunrpc/xcrypt.c: Likewise.
36014 * sunrpc/xdr.c: Likewise.
36015 * sunrpc/xdr_array.c: Likewise.
36016 * sunrpc/xdr_float.c: Likewise.
36017 * sunrpc/xdr_intXX_t.c: Likewise.
36018 * sunrpc/xdr_mem.c: Likewise.
36019 * sunrpc/xdr_rec.c: Likewise.
36020 * sunrpc/xdr_ref.c: Likewise.
36021 * sunrpc/xdr_sizeof.c: Likewise.
36022 * sunrpc/xdr_stdio.c: Likewise.
36024 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36027 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36028 * sysdeps/ia64/dl-tls.h: Likewise.
36029 * sysdeps/powerpc/dl-tls.h: Likewise.
36030 * sysdeps/s390/dl-tls.h: Likewise.
36031 * sysdeps/sh/dl-tls.h: Likewise.
36032 * sysdeps/sparc/dl-tls.h: Likewise.
36033 * sysdeps/x86_64/dl-tls.h: Likewise.
36034 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36036 2011-03-14 Andreas Schwab <schwab@redhat.com>
36038 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36039 rpath element also skip the following colon.
36040 (expand_dynamic_string_token): Add is_path parameter and pass
36041 down to DL_DST_REQUIRED and _dl_dst_substitute.
36042 (decompose_rpath): Call expand_dynamic_string_token with
36043 non-zero is_path. Ignore empty rpaths.
36044 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36047 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36052 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36055 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36056 Patch by Filipe David Manana <fdmanana@apache.org>.
36058 2011-04-07 Andreas Schwab <schwab@redhat.com>
36060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36061 Maintain aligned stack.
36062 (CHECK_RSP): Remove unused macro.
36064 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36066 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36069 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36071 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36073 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36075 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36078 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36079 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36080 * sysdeps/x86_64/memmove.c: New file.
36081 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36082 (memcpy): Renamed to ...
36083 (__new_memcpy): This.
36084 (memcpy): Provide GLIBC_2_14 memcpy.
36085 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36086 (memcpy): Provide GLIBC_2_2_5 memcpy.
36088 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36091 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36093 2011-03-30 Andreas Schwab <schwab@redhat.com>
36095 * misc/syncfs.c: New file.
36096 * misc/Makefile (routines): Add syncfs.
36097 * posix/unistd.h: Declare syncfs.
36098 * sysdeps/unix/syscalls.list: Add syncfs.
36100 2011-04-01 Andreas Schwab <schwab@redhat.com>
36102 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36109 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36112 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36122 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36123 sync_file_range.c with -fexceptions.
36124 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36125 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36126 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36127 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36128 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36129 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36131 sync_file_range as cancellation point
36132 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36133 now a wrapper around __call_sync_file_range with cancellation handling.
36134 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36135 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36136 function name to __call_sync_file_range.
36137 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36138 Add call_sync_file_range.
36140 2011-04-01 Andreas Schwab <schwab@redhat.com>
36142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36145 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36147 * iconv/iconv.h: Fix typo in comment.
36148 * io/fcntl.h: Likewise.
36149 * libio/stdio.h: Likewise.
36150 * posix/spawn.h: Likewise.
36151 * posix/unistd.h: Likewise.
36152 * stdlib/stdlib.h: Likewise.
36153 * time/time.h: Likewise.
36154 * wcsmbs/wchar.h: Likewise.
36156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36157 open_by_handle): Add.
36158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36159 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36160 Augment a few comments.
36161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36166 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36169 * io/fcntl.h (AT_EMPTY_PATH): Define.
36171 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36173 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36174 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36175 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36177 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36178 * Versions.def: Add GLIBC_2.14.
36179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36182 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36184 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36186 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36188 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36191 * string/test-strncmp.c (do_page_test): New function.
36192 (check2): Likewise.
36193 (test_main): Call check2.
36194 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36196 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36200 Handle cache information in CPU leaf 4.
36201 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36203 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36206 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36207 character representation.
36208 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36210 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36212 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36213 END(__isnan) to END(__isnanf) to match function entry point/label
36214 EALIGN(__isnanf,...).
36216 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36218 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36220 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36223 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36224 copy from the symbol referenced in the relocation to initialize the
36226 Patch by Piotr Bury <pbury@goahead.com>.
36227 * elf/Makefile: Add rules to build and tst-unique3.
36228 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36229 * elf/tst-unique3.cc: New file.
36230 * elf/tst-unique3.h: New file.
36231 * elf/tst-unique3lib.cc: New file.
36232 * elf/tst-unique3lib2.cc: New file.
36234 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36236 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36238 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36239 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36242 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36244 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36245 to-be-loaded object along a path to loader is ld.so.
36247 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36248 Ulrich Drepper <drepper@gmail.com>
36250 * sysdeps/x86_64/memset.S: After aligning destination, code
36251 branches to different locations depending on the value of
36252 misalignment, when multiarch is enabled. Fix this.
36254 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36256 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36257 Set _x86_64_preferred_memory_instruction for AMD processsors.
36258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36259 Set bit_Prefer_SSE_for_memop for AMD processors.
36261 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36263 * libio/fmemopen.c (fmemopen): Optimize a bit.
36265 2011-03-03 Andreas Schwab <schwab@redhat.com>
36267 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36269 2011-03-03 Roland McGrath <roland@redhat.com>
36271 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36273 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36275 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36276 __bzero_ultra1 instead of __memset_ultra1.
36278 2011-02-23 Andreas Schwab <schwab@redhat.com>
36279 Ulrich Drepper <drepper@gmail.com>
36282 * include/link.h (struct link_map): Add l_orig_initfini.
36283 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36284 returning unsuccessfully.
36285 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36286 close of a file loaded at startup, restore the original l_initfini
36288 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36289 list, store the pointer.
36290 * elf/Makefile ($(objpfx)noload-mem): New rule.
36291 (noload-ENV): Define.
36292 (tests): Add $(objpfx)noload-mem.
36293 * elf/noload.c: Include <memcheck.h>.
36294 (main): Call mtrace. Close all opened handles.
36296 2011-02-17 Andreas Schwab <schwab@redhat.com>
36299 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36300 dependencies are missing.
36302 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36304 Fix __if_freereq crash: Unlike the generic version which uses free,
36306 * sysdeps/mach/hurd/ifreq.h: New file.
36308 2011-01-27 Petr Baudis <pasky@suse.cz>
36309 Ulrich Drepper <drepper@gmail.com>
36312 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36313 to extend_alloca().
36314 * stdio-common/bug23.c: New file.
36315 * stdio-common/Makefile (tests): Add bug23.
36317 2010-09-28 Andreas Schwab <schwab@redhat.com>
36318 Ulrich Drepper <drepper@gmail.com>
36321 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36322 before performing relro protection. At old place add assertion
36323 to make sure nothing changed.
36325 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36326 Glauber de Oliveira Costa <glommer@gmail.com>
36328 * elf/elf.h: Add new ARM TLS relocs.
36330 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36333 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36335 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36337 * sysdeps/wordsize-64/tst-writev.c: New file.
36339 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36341 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36342 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36343 insns in _dl_start to prevent a TOC reference before relocs are
36346 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36349 * Makeconfig: Remove RANLIB definition.
36350 * Makerules: Don't use RANLIB.
36351 * aclocal.m4: Remove ranlib test.
36352 * configure.in: No need to check for ranlib.
36353 * elf/rtld-Rules: Don't use RANLIB.
36355 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36357 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36359 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36360 inclusion protection macro.
36362 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36363 SIGRTMIN and SIGRTMAX and print information in that case only when
36364 SIGRTMIN is defined.
36366 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36368 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36369 arginfo fn returning -1.
36371 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36372 and thousands string is zero terminated.
36374 2011-02-03 Andreas Schwab <schwab@redhat.com>
36376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36377 sysdeps/unix/sysv/linux/bits/socket.h.
36379 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36381 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36382 (__CPU_COUNT): Remove old macros.
36383 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36384 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36385 (__CPU_ALLOC, __CPU_FREE): Add macros.
36386 (__sched_cpualloc, __sched_cpufree): Add declarations.
36388 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36390 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36391 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36392 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36393 (readdhstai): Return value of addhstaiX call.
36394 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36395 (addgrbyX): Return value returned by cache_addgr.
36396 (readdgrbyname): Return value returned by addgrbyX.
36397 (readdgrbygid): Likewise.
36398 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36399 (addpwbyX): Return value returned by cache_addpw.
36400 (readdpwbyname): Return value returned by addhstbyX.
36401 (readdpwbyuid): Likewise.
36402 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36403 (addservbyX): Return value returned by cache_addserv.
36404 (readdservbyname): Return value returned by addservbyX:
36405 (readdservbyport): Likewise.
36406 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36407 (addhstbyX): Return value returned by cache_addhst.
36408 (readdhstbyname): Return value returned by addhstbyX.
36409 (readdhstbyaddr): Likewise.
36410 (readdhstbynamev6): Likewise.
36411 (readdhstbyaddrv6): Likewise.
36412 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36413 (readdinitgroups): Return value returned by addinitgroupsX.
36414 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36415 (prune_cache): Keep track of timeout value of re-added entries.
36416 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36417 * nscd/nscd.h: Adjust prototypes of readd* functions.
36419 2011-02-04 Roland McGrath <roland@redhat.com>
36421 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36422 (nis_stats): Likewise.
36423 * nis/nis_modify.c (nis_modify): Likewise.
36424 * nis/nis_remove.c (nis_remove): Likewise.
36425 * nis/nis_add.c (nis_add): Likewise.
36427 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36429 * posix/fnmatch_loop.c: Add some consts.
36431 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36433 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36436 * config.make.in (config-cflags-novzeroupper): Define.
36437 * configure.in: Substitute libc_cv_cc_novzeroupper.
36438 * elf/Makefile (AVX-CFLAGS): Define.
36439 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36440 (CFLAGS-tst-auditmod4a.c): Likewise.
36441 (CFLAGS-tst-auditmod4b.c): Likewise.
36442 (CFLAGS-tst-auditmod6b.c): Likewise.
36443 (CFLAGS-tst-auditmod6c.c): Likewise.
36444 (CFLAGS-tst-auditmod7b.c): Likewise.
36445 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36447 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36449 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36450 function to the callback.
36451 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36453 2011-02-02 Andreas Schwab <schwab@redhat.com>
36455 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36458 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36461 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36463 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36465 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36468 * elf/Makefile: Add rules to build and run new test.
36469 * elf/tst-initorder.c: New file.
36470 * elf/tst-initorder.exp: New file.
36471 * elf/tst-initordera1.c: New file.
36472 * elf/tst-initordera2.c: New file.
36473 * elf/tst-initordera3.c: New file.
36474 * elf/tst-initordera4.c: New file.
36475 * elf/tst-initorderb1.c: New file.
36476 * elf/tst-initorderb2.c: New file.
36477 * elf/tst-order-a1.c: New file.
36478 * elf/tst-order-a2.c: New file.
36479 * elf/tst-order-a3.c: New file.
36480 * elf/tst-order-a4.c: New file.
36481 * elf/tst-order-b1.c: New file.
36482 * elf/tst-order-b2.c: New file.
36483 * elf/tst-order-main.c: New file.
36484 New test case by George Gensure <werkt0@gmail.com>.
36486 2010-10-01 Andreas Schwab <schwab@redhat.com>
36488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36489 decoding ACE if AI_CANONIDN.
36491 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36493 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36495 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36497 * version.h (RELEASE): Bump for 2.13 release.
36498 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36500 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36502 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36504 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36505 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36511 * posix/getconf.c: Update copyright year.
36512 * catgets/gencat.c: Likewise.
36513 * csu/version.c: Likewise.
36514 * debug/catchsegv.sh: Likewise.
36515 * debug/xtrace.sh: Likewise.
36516 * elf/ldconfig.c: Likewise.
36517 * elf/ldd.bash.in: Likewise.
36518 * elf/sprof.c (print_version): Likewise.
36519 * iconv/iconv_prog.c: Likewise.
36520 * iconv/iconvconfig.c: Likewise.
36521 * locale/programs/locale.c: Likewise.
36522 * locale/programs/localedef.c: Likewise.
36523 * malloc/memusage.sh: Likewise.
36524 * malloc/mtrace.pl: Likewise.
36525 * nscd/nscd.c (print_version): Likewise.
36526 * nss/getent.c: Likewise.
36528 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36529 PF_CAIF, and PF_ALG.
36530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36532 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36534 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36535 (modules-names): Use them.
36536 (ifunc-test-modules, ifunc-pie-tests): Define.
36537 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36538 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36539 (test-extras): Likewise.
36540 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36541 $(compile-command.c).
36542 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36543 (all-built-dso): Define.
36544 (check-textrel.out, check-execstack.out): Depend on it.
36546 * configure.in: Don't override --enable-multi-arch.
36548 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36551 * nscd/hstcache.c (tryagain): Define.
36552 (cache_addhst): Return tryagain not notfound for temporary errors.
36553 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36556 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36559 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36560 to make the syscall.
36561 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36564 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36565 and fall back to matching as normal character if the string ends before
36566 the matching ']' is found. This is what POSIX requires.
36567 * posix/testfnm.c: Adjust test result.
36568 * posix/globtest.sh: Adjust test result. Add new test.
36569 * posix/tst-fnmatch.input: Likewise.
36570 * posix/tst-fnmatch2.c: Add new test.
36572 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36574 * elf/Makefile (check-execstack): Revert last change. Depend on
36576 (check-execstack.h): New target.
36577 (generated): Add check-execstack.h.
36578 * elf/check-execstack.c: Include "check-execstack.h".
36579 (main): Revert last change.
36580 (handle_file): Return zero if GNU_STACK is absent and
36581 DEFAULT_STACK_PERMS doesn't include PF_X.
36583 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36585 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36586 in child fails because the descriptor is already closed.
36587 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36588 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36589 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36592 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36596 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36597 temporary buffer used to handle multi lookups locally.
36598 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36600 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36602 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36605 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36607 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36608 alignment for SSE2.
36610 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36613 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36614 characters. When rounding increased number of integer digits recompute
36616 * stdio-common/tst-grouping.c: New file.
36617 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36619 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36621 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36622 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36624 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36626 * bits/select.h: Likewise.
36628 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36630 * po/ja.po: Update from translation team.
36632 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36635 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36636 implementation just like for lxstat, fxstatat, et al.
36638 2010-12-27 Jim Meyering <meyering@redhat.com>
36641 * posix/regexec.c (build_trtable): Return failure indication upon
36642 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36644 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36647 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36648 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36650 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36653 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36656 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36657 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36659 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36661 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36662 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36663 script has SORT_BY_INIT_PRIORITY.
36664 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36665 NO_CTORS_DTORS_SECTIONS is defined.
36666 * elf/soinit.c: Likewise.
36667 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36668 NO_CTORS_DTORS_SECTIONS is defined.
36669 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36670 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36671 * sysdeps/sh/init-first.c: Likewise.
36672 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36674 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36676 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36677 always use the slow path.
36679 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36681 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36682 similar rule which adds the sysdep directories to the header search in
36683 order to pick up the correct platform stackinfo.h.
36684 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36685 perform test if it is, otherwise return successfully without testing.
36686 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36687 DEFAULT_STACK_PERMS define in stackinfo.h.
36688 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36689 defined in stackinfo.h.
36690 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36691 DEFAULT_STACK_PERMS defined in stackinfo.h.
36692 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36693 * sysdeps/ia64/stackinfo.h: Likewise.
36694 * sysdeps/s390/stackinfo.h: Likewise.
36695 * sysdeps/sh/stackinfo.h: Likewise.
36696 * sysdeps/sparc/stackinfo.h: Likewise.
36697 * sysdeps/x86_64/stackinfo.h: Likewise.
36698 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36699 PF_X for powerpc64. Retain PF_X for powerpc32.
36701 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36703 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36705 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36706 GETDENTS_64BIT_ALIGNED.
36708 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36710 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36712 2010-12-10 Andreas Schwab <schwab@redhat.com>
36714 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36717 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36718 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36720 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36721 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36723 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36726 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36729 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36731 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36733 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36735 * po/it.po: Update from translation team.
36737 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36742 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36744 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36746 2010-11-24 Andreas Schwab <schwab@redhat.com>
36748 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36750 (gaih_getanswer_slice): Likewise.
36752 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36756 2010-05-31 Petr Baudis <pasky@suse.cz>
36759 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36760 silently even in the chroot mode.
36762 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36764 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36765 last patch a bit. Pretty printing
36767 2010-05-31 Petr Baudis <pasky@suse.cz>
36770 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36771 initialization of skip_initgroups_dyn.
36773 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36775 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36778 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36780 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36782 2010-11-11 Andreas Schwab <schwab@redhat.com>
36784 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36785 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36786 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36787 ($(objpfx)tst-fnmatch-mem): New rule.
36788 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36789 * posix/tst-fnmatch.c (main): Call mtrace.
36791 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36794 Support Intel processor model 6 and model 0x2c.
36796 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36798 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36801 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36804 * string/test-strncasecmp.c (check_result): New function.
36805 (do_one_test): Use it.
36806 (check1): New function.
36807 (test_main): Use it.
36808 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36809 Support strcasecmp and strncasecmp.
36811 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36814 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36817 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36819 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36823 * sysdeps/x86_64/multiarch/bzero.S: New file.
36824 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36825 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36826 * sysdeps/x86_64/multiarch/memset.S: New file.
36827 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36829 Set bit_Prefer_SSE_for_memop for Intel processors.
36830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36832 (index_Prefer_SSE_for_memop): Define.
36833 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36835 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36837 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36838 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36840 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36843 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36844 (__x86_64_raw_data_cache_size_half): Likewise.
36845 (__x86_64_raw_shared_cache_size): Likewise.
36846 (__x86_64_raw_shared_cache_size_half): Likewise.
36848 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36849 (__x86_64_raw_data_cache_size_half): Likewise.
36850 (__x86_64_raw_shared_cache_size): Likewise.
36851 (__x86_64_raw_shared_cache_size_half): Likewise.
36852 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36853 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36854 and __x86_64_raw_shared_cache_size_half. Round
36855 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36856 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36857 to multiple of 256 bytes.
36859 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36863 of inacessible symlinks. Verify result of symlink before returning it.
36864 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36865 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36867 2010-10-28 Erich Ritz <erichritz@gmail.com>
36869 * math/math.h (isinf): Fix typo in comment.
36871 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36873 * po/da.po: Update from translation team.
36875 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36877 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36878 is added to the list.
36880 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36881 Ulrich Drepper <drepper@gmail.com>
36883 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36884 the global list here. Move code to...
36885 (_dl_add_to_namespace_list): ...here. New function.
36886 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36887 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36888 * elf/dl-load.c (lose): Don't remove the element from the list.
36889 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36890 (_dl_map_object): Likewise.
36892 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36895 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36896 into all bytes of SSE register.
36897 Patch by Richard Li <richardpku@gmail.com>.
36899 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36902 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36905 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36907 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36908 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36909 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36915 2010-10-22 Andreas Schwab <schwab@redhat.com>
36917 * include/dlfcn.h (__RTLD_SECURE): Define.
36918 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36919 mode & __RTLD_SECURE instead.
36920 (open_path): Rename preloaded parameter to secure.
36921 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36922 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36923 * elf/dl-deps.c (openaux): Likewise.
36924 * elf/rtld.c (struct map_args): Remove is_preloaded.
36925 (map_doit): Don't use it.
36926 (dl_main): Likewise.
36927 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36928 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36930 2010-09-09 Andreas Schwab <schwab@redhat.com>
36932 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36933 (sysd-rules-targets): Remove duplicates.
36934 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36935 rtld-%.$o dependency.
36937 2010-10-18 Andreas Schwab <schwab@redhat.com>
36939 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36940 _dl_map_object do it.
36942 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36944 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36945 fast fma builtins, define the macros in the C99 standard.
36946 (FP_FAST_FMAF): Likewise.
36947 (FP_FAST_FMAL): Likewise.
36948 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36950 * bits/mathdef.h: Update copyright year.
36951 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36953 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36955 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36956 builtins, define the macros in the C99 standard.
36957 (FP_FAST_FMAF): Likewise.
36958 (FP_FAST_FMAL): Likewise.
36959 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36961 (FP_FAST_FMAF): Likewise.
36963 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36966 * math/libm-test.inc (fma_test): Some new testcases.
36967 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36969 y and infinite z. Do multiplication by C already in long double.
36970 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36972 y and infinite z. Do bitwise or of inexact bit into u.d.
36973 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36974 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36975 * sysdeps/i386/fpu/s_fma.S: Removed.
36976 * sysdeps/i386/fpu/s_fmal.S: Removed.
36978 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36981 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36983 computation is not scheduled after fetestexcept. Fix value
36984 of minimum denormal long double.
36986 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36989 * math/libm-test.inc (fma_test): Add some more tests.
36990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36993 2010-10-15 Andreas Schwab <schwab@redhat.com>
36995 * scripts/data/localplt-s390-linux-gnu.data: New file.
36996 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36998 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37001 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37002 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37004 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37006 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37008 if one of x and y is very large and the other is subnormal.
37009 * sysdeps/s390/fpu/s_fmaf.c: New file.
37010 * sysdeps/s390/fpu/s_fma.c: New file.
37011 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37012 * sysdeps/powerpc/fpu/s_fma.S: New file.
37013 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37014 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37015 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37017 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37020 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37022 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37023 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37024 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37025 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37026 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37027 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37028 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37030 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37033 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37034 * posix/bug-regex31.input: Add test case.
37036 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37038 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37039 * posix/bug-regex31.input: New file.
37042 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37043 (parse_sub_exp): Fix last change, use postorder.
37045 * posix/bug-regex31.c: New file.
37046 * posix/Makefile: Add rules to build and run bug-regex31.
37048 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37051 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37054 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37055 to have entries in sys_siglist.
37058 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37061 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37064 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37065 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37066 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37067 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37068 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37069 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37070 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37071 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37072 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37073 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37074 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37075 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37076 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37077 * math/ftestexcept.c (fetestexcept): Likewise.
37078 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37079 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37080 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37081 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37082 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37083 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37084 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37086 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37089 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37092 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37094 * string/bug-strstr1.c: New file.
37095 * string/Makefile: Add rules to build and run bug-strstr1.
37097 2010-10-05 Eric Blake <eblake@redhat.com>
37100 * string/str-two-way.h (two_way_long_needle): Always clear memory
37101 when skipping input due to the shift table.
37103 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37106 * malloc/mcheck.c: Handle large requests.
37109 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37110 for strncmp and strncasecmp.
37111 * string/stratcliff.c: Add tests for strcmp and strncmp.
37112 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37114 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37116 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37119 2010-09-30 Andreas Jaeger <aj@suse.de>
37121 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37122 (CGROUP_SUPER_MAGIC): Define.
37123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37124 Handle btrfs and cgroup file systems.
37125 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37128 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37130 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37131 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37133 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37136 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37137 trying to locate the ELF header.
37139 2010-09-27 Andreas Schwab <schwab@redhat.com>
37142 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37143 Mask out sign-bit copies when constructing f_fsid.
37145 2010-09-24 Petr Baudis <pasky@suse.cz>
37147 * debug/stack_chk_fail_local.c: Add missing licence exception.
37148 * debug/warning-nop.c: Likewise.
37150 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37153 implementing getdents64 using getdents syscall, set d_type if
37154 __ASSUME_GETDENTS32_D_TYPE.
37156 2010-09-16 Andreas Schwab <schwab@redhat.com>
37158 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37159 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37161 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37164 * posix/unistd.h: Undo change of feature selection for ftruncate from
37167 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37169 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37172 2010-09-20 Andreas Schwab <schwab@redhat.com>
37174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37176 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37178 2010-09-14 Andreas Schwab <schwab@redhat.com>
37180 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37181 variables after CHECK_SP call.
37182 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37184 2010-09-13 Andreas Schwab <schwab@redhat.com>
37185 Ulrich Drepper <drepper@redhat.com>
37187 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37188 re-relocationg ld.so.
37189 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37190 _dl_init_paths call.
37191 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37194 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37196 * resolv/res_init.c (__res_vinit): Count the default server we added.
37198 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37199 Ulrich Drepper <drepper@redhat.com>
37202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37203 (____longjmp_chk): Use %ebx for saving value across system call.
37206 2010-09-06 Andreas Schwab <schwab@redhat.com>
37208 * manual/Makefile: Don't mix pattern rules with normal rules.
37210 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37212 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37214 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37215 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37216 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37217 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37221 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37224 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37225 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37227 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37229 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37230 * sysdeps/x86_64/addmul_1.S: Likewise.
37231 * sysdeps/x86_64/lshift.S: Likewise.
37232 * sysdeps/x86_64/mul_1.S: Likewise.
37233 * sysdeps/x86_64/rshift.S: Likewise.
37234 * sysdeps/x86_64/sub_n.S: Likewise.
37235 * sysdeps/x86_64/submul_1.S: Likewise.
37237 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37239 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37240 Define __sched_param instead of SCHED_* and sched_param when
37241 <bits/sched.h> is included with __need_schedparam defined.
37242 * bits/sched.h [__need_schedparam]
37243 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37244 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37245 (__defined_schedparam): Define to 1.
37246 (__sched_param): New structure, identical to sched_param.
37247 (__need_schedparam): Undefine.
37249 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37251 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37252 (epoll_create1): Declare.
37254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37256 2010-08-31 Andreas Schwab <schwab@redhat.com>
37259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37260 shifting retval into place.
37262 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37264 * nis/rpcsvc/nis.h: Update copyright notice.
37265 * nis/rpcsvc/nis.x: Likewise.
37266 * nis/rpcsvc/nis_callback.h: Likewise.
37267 * nis/rpcsvc/nis_callback.x: Likewise.
37268 * nis/rpcsvc/nis_object.x: Likewise.
37269 * nis/rpcsvc/nis_tags.h: Likewise.
37270 * nis/rpcsvc/yp.h: Likewise.
37271 * nis/rpcsvc/yp.x: Likewise.
37272 * nis/rpcsvc/ypupd.h: Likewise.
37273 * nis/yp_xdr.c: Likewise.
37274 * nis/ypupdate_xdr.c: Likewise.
37276 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37277 mainly the body of pmap_getport. Add parameters to specify timeouts.
37278 (pmap_getport): Use __libc_rpc_getport.
37279 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37280 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37281 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37283 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37288 2010-08-27 Roland McGrath <roland@redhat.com>
37290 * sysdeps/i386/i686/multiarch/Makefile
37291 (CFLAGS-varshift.c): New variable.
37293 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37295 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37296 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37300 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37302 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37304 * sysdeps/x86_64/strlen.S: Unroll the loop.
37305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37306 strlen-sse2 strlen-sse2-bsf.
37307 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37308 __strlen_no_bsf if bit_Slow_BSF is set.
37309 (__strlen_sse42): Removed.
37310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37311 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37313 2010-08-25 Roland McGrath <roland@redhat.com>
37315 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37316 * sysdeps/x86_64/multiarch/varshift.c: New file.
37317 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37318 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37319 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37320 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37322 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37325 strlen-sse2 strlen-sse2-bsf.
37326 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37327 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37328 (__strlen_sse2): Removed.
37329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37332 bit_Slow_BSF for Atom.
37333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37334 (index_Slow_BSF): Define.
37335 (HAS_SLOW_BSF): Define.
37337 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37340 * resolv/res_init.c (__res_vinit): When no server address at all
37341 is given default to loopback.
37343 2010-08-24 Roland McGrath <roland@redhat.com>
37345 * configure.in: Remove config-name.h generation.
37346 * configure: Regenerated.
37347 * config-name.in: File removed.
37348 * scripts/config-uname.sh: New file.
37349 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37350 ($(objdir)config-name.h): New target.
37352 * sunrpc/rpc_parse.h: Avoid nested comment.
37354 2010-08-24 Richard Henderson <rth@redhat.com>
37355 Ulrich Drepper <drepper@redhat.com>
37356 H.J. Lu <hongjiu.lu@intel.com>
37358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37360 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37361 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37362 _mm_alignr_epi8 with _mm_loadu_si128.
37363 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37364 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37365 (__m128i_shift_right): Removed.
37366 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37367 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37368 * sysdeps/x86_64/multiarch/varshift.h: New file.
37369 * sysdeps/x86_64/multiarch/varshift.S: New file.
37371 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37373 * configure.in: Move assembler checks to before sysdep dir checking.
37375 2010-08-20 Petr Baudis <pasky@suse.cz>
37377 * LICENSES: Sync the sunrpc license.
37379 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37381 * sunrpc/auth_des.c: Update copyright notice once again.
37382 * sunrpc/auth_none.c: Likewise.
37383 * sunrpc/auth_unix.c: Likewise.
37384 * sunrpc/authdes_prot.c: Likewise.
37385 * sunrpc/authuxprot.c: Likewise.
37386 * sunrpc/bindrsvprt.c: Likewise.
37387 * sunrpc/clnt_gen.c: Likewise.
37388 * sunrpc/clnt_perr.c: Likewise.
37389 * sunrpc/clnt_raw.c: Likewise.
37390 * sunrpc/clnt_simp.c: Likewise.
37391 * sunrpc/clnt_tcp.c: Likewise.
37392 * sunrpc/clnt_udp.c: Likewise.
37393 * sunrpc/clnt_unix.c: Likewise.
37394 * sunrpc/des_crypt.c: Likewise.
37395 * sunrpc/des_soft.c: Likewise.
37396 * sunrpc/get_myaddr.c: Likewise.
37397 * sunrpc/getrpcport.c: Likewise.
37398 * sunrpc/key_call.c: Likewise.
37399 * sunrpc/key_prot.c: Likewise.
37400 * sunrpc/openchild.c: Likewise.
37401 * sunrpc/pm_getmaps.c: Likewise.
37402 * sunrpc/pm_getport.c: Likewise.
37403 * sunrpc/pmap_clnt.c: Likewise.
37404 * sunrpc/pmap_prot.c: Likewise.
37405 * sunrpc/pmap_prot2.c: Likewise.
37406 * sunrpc/pmap_rmt.c: Likewise.
37407 * sunrpc/rpc/auth.h: Likewise.
37408 * sunrpc/rpc/auth_unix.h: Likewise.
37409 * sunrpc/rpc/clnt.h: Likewise.
37410 * sunrpc/rpc/des_crypt.h: Likewise.
37411 * sunrpc/rpc/key_prot.h: Likewise.
37412 * sunrpc/rpc/netdb.h: Likewise.
37413 * sunrpc/rpc/pmap_clnt.h: Likewise.
37414 * sunrpc/rpc/pmap_prot.h: Likewise.
37415 * sunrpc/rpc/pmap_rmt.h: Likewise.
37416 * sunrpc/rpc/rpc.h: Likewise.
37417 * sunrpc/rpc/rpc_des.h: Likewise.
37418 * sunrpc/rpc/rpc_msg.h: Likewise.
37419 * sunrpc/rpc/svc.h: Likewise.
37420 * sunrpc/rpc/svc_auth.h: Likewise.
37421 * sunrpc/rpc/types.h: Likewise.
37422 * sunrpc/rpc/xdr.h: Likewise.
37423 * sunrpc/rpc_clntout.c: Likewise.
37424 * sunrpc/rpc_cmsg.c: Likewise.
37425 * sunrpc/rpc_common.c: Likewise.
37426 * sunrpc/rpc_cout.c: Likewise.
37427 * sunrpc/rpc_dtable.c: Likewise.
37428 * sunrpc/rpc_hout.c: Likewise.
37429 * sunrpc/rpc_main.c: Likewise.
37430 * sunrpc/rpc_parse.c: Likewise.
37431 * sunrpc/rpc_parse.h: Likewise.
37432 * sunrpc/rpc_prot.c: Likewise.
37433 * sunrpc/rpc_sample.c: Likewise.
37434 * sunrpc/rpc_scan.c: Likewise.
37435 * sunrpc/rpc_scan.h: Likewise.
37436 * sunrpc/rpc_svcout.c: Likewise.
37437 * sunrpc/rpc_tblout.c: Likewise.
37438 * sunrpc/rpc_util.c: Likewise.
37439 * sunrpc/rpc_util.h: Likewise.
37440 * sunrpc/rpcinfo.c: Likewise.
37441 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37442 * sunrpc/rpcsvc/key_prot.x: Likewise.
37443 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37444 * sunrpc/rpcsvc/mount.x: Likewise.
37445 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37446 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37447 * sunrpc/rpcsvc/rex.x: Likewise.
37448 * sunrpc/rpcsvc/rstat.x: Likewise.
37449 * sunrpc/rpcsvc/rusers.x: Likewise.
37450 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37451 * sunrpc/rpcsvc/spray.x: Likewise.
37452 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37453 * sunrpc/rtime.c: Likewise.
37454 * sunrpc/svc.c: Likewise.
37455 * sunrpc/svc_auth.c: Likewise.
37456 * sunrpc/svc_authux.c: Likewise.
37457 * sunrpc/svc_raw.c: Likewise.
37458 * sunrpc/svc_run.c: Likewise.
37459 * sunrpc/svc_simple.c: Likewise.
37460 * sunrpc/svc_tcp.c: Likewise.
37461 * sunrpc/svc_udp.c: Likewise.
37462 * sunrpc/svc_unix.c: Likewise.
37463 * sunrpc/svcauth_des.c: Likewise.
37464 * sunrpc/xcrypt.c: Likewise.
37465 * sunrpc/xdr.c: Likewise.
37466 * sunrpc/xdr_array.c: Likewise.
37467 * sunrpc/xdr_float.c: Likewise.
37468 * sunrpc/xdr_mem.c: Likewise.
37469 * sunrpc/xdr_rec.c: Likewise.
37470 * sunrpc/xdr_ref.c: Likewise.
37471 * sunrpc/xdr_sizeof.c: Likewise.
37472 * sunrpc/xdr_stdio.c: Likewise.
37474 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37477 2010-08-19 Andreas Schwab <schwab@redhat.com>
37479 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37481 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37483 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37486 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37487 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37488 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37489 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37490 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37492 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37493 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37494 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37495 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37496 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37498 2010-07-26 Anton Blanchard <anton@samba.org>
37500 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37501 * malloc/arena.c (heap_trim): Likewise.
37503 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37505 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37507 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37508 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37510 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37512 * sysdeps/i386/elf/Makefile: New file.
37514 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37516 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37517 from fanotify_init.
37518 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37521 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37523 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37525 * sysdeps/multiarch/strcmp.S: Likewise.
37527 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37529 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37530 strncase_l-nonascii.
37531 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37532 Add strncase_l-ssse3.
37533 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37534 * sysdeps/x86_64/strcmp.S: Likewise.
37535 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37536 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37537 * sysdeps/x86_64/strncase.S: New file.
37538 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37539 * sysdeps/x86_64/strncase_l.S: New file.
37540 * string/Makefile (strop-tests): Add strncasecmp.
37541 * string/test-strncasecmp.c: New file.
37543 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37546 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37547 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37549 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37551 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37553 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37555 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37559 2010-05-01 Alan Modra <amodra@gmail.com>
37561 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37562 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37563 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37564 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37565 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37566 tidying. Don't tail-call __sigjmp_save for static lib.
37567 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37569 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37570 (CALL_MCOUNT): Add eh info, and nop after bl.
37571 (TAIL_CALL_SYSCALL_ERROR): New macro.
37572 (PSEUDO_RET): Use it.
37573 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37574 Correct save location of integer regs and cr.
37575 (_dl_profile_resolve): Correct cr save location. Delete nops
37576 after bl when SHARED. Reduce cfi size a little by better
37577 placement of cfi directives.
37578 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37579 make a stack frame. Instead use parm save area as a temp.
37580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37581 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37583 Don't make a stack frame for parent, use parm save area.
37584 Increase child stack frame to 112 bytes. Don't save unused reg,
37585 and adjust reg usage. Set up cfi on error recovery and
37586 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37588 (__makecontext): Add dummy nop after jump to exit.
37589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37590 Use correct parm save area and cr save, reduce stack frame.
37591 Correct cfi for possible PSEUDO_RET frame setup.
37592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37593 Branch to local label emitted by PSEUDO_RET rather than
37596 2010-08-12 Andreas Schwab <schwab@redhat.com>
37599 * locale/programs/locale.c (print_assignment): New function.
37600 (show_locale_vars): Use it.
37602 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37604 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37606 (struct statfs64): Likewise.
37607 (_STATFS_F_FLAGS): Define.
37608 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37610 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37611 (ST_VALID): Define locally.
37612 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37613 __statvfs_getflags, use the provided value.
37614 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37615 __ASSUME_STATFS_F_FLAGS.
37617 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37619 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37620 Add sys/fanotify.h.
37621 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37622 fanotify_mask for GLIBC_2.13.
37623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37624 fanotify_init and fanotify_mark.
37625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37626 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37628 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37630 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37631 prlimit64 for GLIBC_2.13.
37632 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37637 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37638 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37642 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37645 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37646 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37648 * nss/Makefile: Add rules to build and run tst-nss-test1.
37649 * shlib-versions: Add entry for libnss_test1.
37650 * nss/nss_test1.c: New file.
37651 * nss/tst-nss-test1.c: New file.
37653 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37654 (__nss_configure_lookup): Set appropriate entry in
37655 __nss_configure_lookup to true.
37656 * nss/nsswitch.h: Define enum with indeces of databases in
37657 databases and __nss_database_custom arrays. Declare
37658 __nss_database_custom.
37659 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37660 to avoid using nscd when custom rules are installed.
37661 * nss/getXXbyYY_r.c: Likewise.
37662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37664 * nss/nss_files/files-parse.c: Whitespace fixes.
37666 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37669 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37670 * posix/fnmatch_loop.c: Likewise.
37672 2010-07-17 Andi Kleen <ak@linux.intel.com>
37674 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37675 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37676 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37677 * Versions.def [GLIBC_2.13]: Add.
37679 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37682 Also fail if tpwd after pwuid call is NULL.
37684 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37686 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37687 when converting to ms.
37689 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37691 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37692 EOPNOTSUPP errors with ENOTTY.
37693 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37694 EOPNOTSUPP errors with ENOTTY.
37696 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37698 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37699 Add strcasecmp_l-ssse3.
37700 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37702 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37703 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37704 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37706 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37708 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37710 * string/Makefile (strop-tests): Add strcasecmp.
37711 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37712 strcasecmp_l-nonascii.
37713 (gen-as-const-headers): Add locale-defines.sym.
37714 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37715 * sysdeps/x86_64/strcasecmp.S: New file.
37716 * sysdeps/x86_64/strcasecmp_l.S: New file.
37717 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37718 * sysdeps/x86_64/locale-defines.sym: New file.
37719 * string/test-strcasecmp.c: New file.
37721 * string/test-strcasestr.c: Test both ends of the range of characters.
37722 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37724 2010-07-29 Roland McGrath <roland@redhat.com>
37727 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37729 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37731 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37734 2010-07-27 Andreas Schwab <schwab@redhat.com>
37736 * manual/memory.texi (Malloc Tunable Parameters): Document
37739 2010-07-26 Roland McGrath <roland@redhat.com>
37742 * configure.in (-fgnu89-inline check): Set and substitute
37743 gnu89_inline, not libc_cv_gnu89_inline.
37744 * configure: Regenerated.
37745 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37747 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37749 * string/test-strnlen.c: New file.
37750 * string/Makefile (strop-tests): Add strnlen.
37751 * string/tester.c (test_strnlen): Add a few more test cases.
37752 * string/tst-strlen.c: Better error reporting.
37754 * sysdeps/x86_64/strnlen.S: New file.
37756 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37758 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37759 lower-latency instructions.
37761 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37763 * string/test-strcasestr.c: New file.
37764 * string/test-strstr.c: New file.
37765 * string/Makefile (strop-tests): Add strstr and strcasestr.
37766 * string/str-two-way.h: Don't undefine MAX.
37767 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37769 2010-07-21 Andreas Schwab <schwab@redhat.com>
37771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37772 strcasestr-nonascii.
37773 (CFLAGS-strcasestr-nonascii.c): Define.
37774 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37776 Remove unused attribute.
37778 2010-07-20 Roland McGrath <roland@redhat.com>
37780 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37781 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37782 ld.so.cache was broken. With it, there is no way to disable dsocaps
37783 like LD_HWCAP_MASK can disable hwcaps.
37785 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37787 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37789 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37791 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37792 call in strcasestr.
37793 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37794 __strcasestr_sse42_nonascii.
37795 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37796 strcasestr-nonascii.c.
37797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37799 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37801 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37802 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37804 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37806 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37808 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37811 2010-07-06 Andreas Schwab <schwab@redhat.com>
37814 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37817 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37819 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37820 _PC_PIPE_BUF using F_GETPIPE_SZ.
37822 2010-07-05 Roland McGrath <roland@redhat.com>
37824 * manual/arith.texi (Rounding Functions): Fix rint description
37825 implicit in round description.
37827 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37829 * elf/Makefile: Fix linking for a few tests to make recent linker
37832 2010-06-30 Andreas Schwab <schwab@redhat.com>
37834 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37835 $(common-objpfx)libc_nonshared.a.
37837 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37839 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37840 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37841 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37842 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37843 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37844 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37845 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37846 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37861 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37862 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37863 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37864 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37865 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37866 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37867 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37868 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37869 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37870 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37871 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37872 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37888 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37890 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37891 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37892 * string/memmove.c (memmove): Renamed to ...
37893 (MEMMOVE): ...this. Default to memmove.
37894 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37895 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37898 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37899 mempcpy-ssse3-back memmove-ssse3-back.
37900 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37903 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37904 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37905 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37906 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37907 * sysdeps/x86_64/multiarch/memmove.c: New file.
37908 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37909 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37910 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37911 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37912 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37915 (index_Fast_Copy_Backward): Define.
37916 (HAS_ARCH_FEATURE): Define.
37917 (HAS_FAST_REP_STRING): Define.
37918 (HAS_FAST_COPY_BACKWARD): Define.
37920 2010-06-21 Andreas Schwab <schwab@redhat.com>
37922 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37923 Restore proper fallback handling.
37925 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37928 * posix/group_member.c (__group_member): Correct checking loop.
37930 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37931 OOM in getpwuid_r correctly. Return error number when the caller
37932 should return, otherwise -1.
37933 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37934 call returning > 0 value.
37935 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37937 2010-06-07 Andreas Schwab <schwab@redhat.com>
37939 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37940 libc_nonshared.a from targets in modules-names.
37942 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37944 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37947 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37949 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37950 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37954 2010-06-02 Andreas Schwab <schwab@redhat.com>
37956 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37958 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37960 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37969 2010-06-14 Roland McGrath <roland@redhat.com>
37971 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37973 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37975 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37976 __REDIRECT followed by __THROW.
37977 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37978 * posix/getopt.h (getopt): Likewise.
37980 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37982 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37983 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37984 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37986 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37987 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37989 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37993 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37997 Properly check family and model.
37999 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38001 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38003 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38005 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38007 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38009 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38012 2010-05-19 Andreas Schwab <schwab@redhat.com>
38014 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38017 2010-05-21 Andreas Schwab <schwab@redhat.com>
38019 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38020 and internal_recvmmsg.
38021 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38022 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38023 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38024 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38026 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38027 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38028 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38030 2010-05-20 Andreas Schwab <schwab@redhat.com>
38032 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38034 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38036 POWER7 optimizations.
38037 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38038 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38040 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38042 * version.h: Update for 2.13 development version.
38044 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38046 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38047 exceptions. Return 0.
38049 2010-05-07 Roland McGrath <roland@redhat.com>
38051 * elf/ldconfig.c (main): Add a const.
38053 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38055 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38056 (args_options): Add no-idn option.
38057 (ahosts_keys_int): Add idn_flags to ai_flags.
38058 (parse_option): Handle 'i' option to clear idn_flags.
38060 * malloc/malloc.c (_int_free): Possible race in the most recently
38061 added check. Only act on the data if no current modification
38064 See ChangeLog.17 for earlier changes.