1 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3 * benchtests/Makefile: Add strsep.
4 * benchtests/bench-strsep.c: New file: strsep benchtest.
5 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7 2013-11-18 Andreas Schwab <schwab@suse.de>
9 * locale/programs/locale.c (show_info) [case byte]: Check for
10 '\377' instead of '\177'.
11 * locale/C-monetary.c (not_available): Always use "\377".
12 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14 detect unavailable sign_posn locale elements.
15 * locale/localeconv.c (__localeconv): For grouping and
16 mon_grouping handle "\177" and "\377" like no grouping.
17 (INT_ELEM): New macro. Use it to set all numeric members.
18 * locale/programs/ld-monetary.c (monetary_read)
19 <tok_mon_grouping>: Normalize single -1 to the empty string.
20 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30 2013-11-16 Joseph Myers <joseph@codesourcery.com>
32 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33 (NO_TEST_INLINE): Update value.
34 (ERRNO_UNCHANGED): Likewise.
35 (ERRNO_EDOM): Likewise.
36 (ERRNO_ERANGE): Likewise.
37 (IGNORE_RESULT): Likewise.
38 (check_float_internal): Check signs of NaN results if
40 (check_complex): Pass TEST_NAN_SIGN flag through to second
41 check_float_internal call.
42 (copysign_test_data): Add tests with quiet NaNs as second
43 argument. Use TEST_NAN_SIGN.
44 (fabs_test_data): Add test of negative quiet NaN argument. Use
46 (signbit_test_data): Add tests of quiet NaN argument.
47 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
49 * math/gen-libm-test.pl (show_exceptions): Take extra argument
51 (parse_args): Handle function results specified as IGNORE.
52 * math/libm-test.inc (IGNORE_RESULT): New macro.
53 (check_float_internal): Do not check numerical result if flag
55 (check_complex): Pass through IGNORE_RESULT to second
56 check_float_internal call.
57 (check_int): Do not check numerical result if flag IGNORE_RESULT
59 (check_long): Likewise.
60 (check_bool): Likewise.
61 (check_longlong): Likewise.
62 (lrint_test_data): Add tests of infinite and NaN arguments.
63 (lrint_tonearest_test_data): Likewise.
64 (lrint_towardzero_test_data): Likewise.
65 (lrint_downward_test_data): Likewise.
66 (lrint_upward_test_data): Likewise.
67 (llrint_test_data): Likewise.
68 (llrint_tonearest_test_data): Likewise.
69 (llrint_towardzero_test_data): Likewise.
70 (llrint_downward_test_data): Likewise.
71 (llrint_upward_test_data): Likewise.
72 (lround_test_data): Likewise.
73 (llround_test_data): Likewise.
75 * math/libm-test.inc (NO_TEST_INLINE): New macro.
76 (ERRNO_UNCHANGED): Update value.
77 (ERRNO_EDOM): Likewise.
78 (ERRNO_ERANGE): Likewise.
79 (NO_TEST_INLINE_FLOAT): New macro.
80 (NO_TEST_INLINE_DOUBLE): Likewise.
81 (enable_test): New function.
82 (RUN_TEST_f_f): Check enable_test before running test.
83 (RUN_TEST_2_f): Likewise.
84 (RUN_TEST_fff_f): Likewise.
85 (RUN_TEST_c_f): Likewise.
86 (RUN_TEST_f_f1): Likewise.
87 (RUN_TEST_fF_f1): Likewise.
88 (RUN_TEST_fI_f1): Likewise.
89 (RUN_TEST_ffI_f1): Likewise.
90 (RUN_TEST_c_c): Likewise.
91 (RUN_TEST_cc_c): Likewise.
92 (RUN_TEST_f_i): Likewise.
93 (RUN_TEST_f_i_tg): Likewise.
94 (RUN_TEST_ff_i_tg): Likewise.
95 (RUN_TEST_f_b): Likewise.
96 (RUN_TEST_f_b_tg): Likewise.
97 (RUN_TEST_f_l): Likewise.
98 (RUN_TEST_f_L): Likewise.
99 (RUN_TEST_fFF_11): Likewise.
100 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
102 (cosh_test_data): Likewise.
103 (exp_test_data): Likewise.
104 (expm1_test_data): Likewise.
105 (hypot_test_data): Likewise.
106 (pow_test_data): Likewise.
107 (sinh_test_data): Likewise.
108 (tanh_test_data): Likewise.
109 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
112 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
113 tests with quiet NaN input and output.
114 (acosh_test_data): Likewise.
115 (asin_test_data): Likewise.
116 (asinh_test_data): Likewise.
117 (atan_test_data): Likewise.
118 (atanh_test_data): Likewise.
119 (atan2_test_data): Likewise.
120 (cbrt_test_data): Likewise.
121 (cos_test_data): Likewise.
122 (cosh_test_data): Likewise.
123 (erf_test_data): Likewise.
124 (erfc_test_data): Likewise.
125 (exp_test_data): Likewise.
126 (exp10_test_data): Likewise.
127 (exp2_test_data): Likewise.
128 (expm1_test_data): Likewise.
129 (hypot_test_data): Likewise.
130 (j0_test_data): Likewise.
131 (j1_test_data): Likewise.
132 (jn_test_data): Likewise.
133 (lgamma_test_data): Likewise.
134 (log_test_data): Likewise.
135 (log10_test_data): Likewise.
136 (log1p_test_data): Likewise.
137 (log2_test_data): Likewise.
138 (pow_test_data): Likewise.
139 (scalb_test_data): Likewise.
140 (sin_test_data): Likewise.
141 (sincos_test_data): Likewise.
142 (sinh_test_data): Likewise.
143 (tan_test_data): Likewise.
144 (tanh_test_data): Likewise.
145 (tgamma_test_data): Likewise.
146 (y0_test_data): Likewise.
147 (y1_test_data): Likewise.
148 (yn_test_data): Likewise.
151 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
152 argument being NaN and avoid computations with second argument in
154 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
155 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
156 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
158 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
160 * locale/iso-639.def: Add Chitwani Tharu (the).
162 2013-11-14 Andreas Schwab <schwab@suse.de>
164 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
165 word instead of empty string.
167 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
170 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
172 (__fe_nomask_env): Likewise.
174 2013-11-13 Steve Ellcey <sellcey@mips.com>
176 * benchtests/bench-timing.h: Include time.h.
178 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
181 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
183 * sysdeps/unix/sysv/linux/configure: Regenerated.
185 2013-11-13 Joseph Myers <joseph@codesourcery.com>
188 * stdlib/strtod_l.c (round_and_return): Do not consider
189 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
190 exponent one less than half the least subnormal exponent.
191 * stdlib/test-strtod-round-data: Add more tests.
192 * stdlib/tst-strtod-round.c (tests): Regenerated.
194 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
197 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
198 (__fe_mask_env): Likewise.
199 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
200 libm_hidden_proto and add function prototype.
201 (__fe_mask_env): Add function prototype.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
203 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
205 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
207 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
209 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
211 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
212 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
214 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
216 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
219 2013-11-11 David S. Miller <davem@davemloft.net>
222 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
223 symbol in the non-vis3 case in static builds.
224 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
225 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
226 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
227 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
229 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
232 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
235 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237 * benchtests/Makefile: Add bench-strtod.
238 * benchtests/bench-strtod.c: New file: strtod benchtest
240 2013-11-11 Andreas Schwab <schwab@suse.de>
243 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
244 terminating NUL in key length.
246 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
249 Add artificial ODP entry for vDSO symbol for PPC64.
250 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
251 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
253 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
256 * nss/getent.c (services_keys): Recognize services starting with digit.
258 2013-11-06 David S. Miller <davem@davemloft.net>
261 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
262 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
264 2013-11-06 Will Newton <will.newton@linaro.org>
266 * manual/memory.texi (Malloc Examples): Remove register
267 keyword from examples.
269 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
271 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
273 2013-11-04 Joseph Myers <joseph@codesourcery.com>
275 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
276 depending on [__GCC_IEC_559 > 0].
277 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
278 depending on [__GCC_IEC_559_COMPLEX > 0].
280 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
282 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
285 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
287 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
289 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
292 * malloc/malloc (malloc_info): Do not handle first bin as
295 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
297 * locale/iso-639.def: Add Central Nahuatl (nhn).
299 2013-11-01 Bruno Haible <bruno@clisp.org>
302 * manual/math.texi (BSD Random): Specify range upper bound as
305 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
307 * locale/iso-639.def: Add Meadow Mari (mhr).
309 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
311 [BZ #14752], [BZ #15763]
312 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
314 * rt/tst_shm.c: Add test for escaping directory.
316 2013-10-31 Andreas Schwab <schwab@suse.de>
319 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
320 followed by 'x' as part of digit sequence.
321 * stdio-common/tst-sscanf.c (double_tests2): New tests.
323 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
326 * configure.ac: allow GNU Make 4.0 and greater.
327 * configure: Regenerated.
329 2013-10-30 Will Newton <will.newton@linaro.org>
332 * malloc/hooks.c (memalign_check): Limit alignment to the
333 maximum representable power of two.
334 * malloc/malloc.c (__libc_memalign): Likewise.
335 * malloc/tst-memalign.c (do_test): Add test for very
336 large alignment values.
337 * malloc/tst-posix_memalign.c (do_test): Likewise.
339 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
342 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
343 (munmap_chunk): Likewise.
344 (mremap_chunk): Likewise.
346 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
349 * stdlib/div.c (div): Remove obsolete code.
350 * stdlib/ldiv.c (ldiv): Likewise.
351 * stdlib/lldiv.c (lldiv): Likewise.
353 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
356 * nss/nss_files/files-XXX.c (get_contents_ret): New
358 (get_contents): New function.
359 (internal_getent): Use it. Expand size of LINEBUFLEN.
361 2013-10-30 Mike Frysinger <vapier@gentoo.org>
363 * configure.in: Moved to ...
364 * configure.ac: ... here. Change reference to configure.in
366 * sysdeps/arm/preconfigure.ac: ... here.
367 configure.in to configure.ac.
368 * sysdeps/gnu/configure.in: Moved to ...
369 * sysdeps/gnu/configure.ac: ... here.
370 * sysdeps/i386/configure.in: Moved to ...
371 * sysdeps/i386/configure.ac: ... here.
372 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
373 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
374 * sysdeps/mach/configure.in: Moved to ...
375 * sysdeps/mach/configure.ac: ... here.
376 * sysdeps/mach/hurd/configure.in: Moved to ...
377 * sysdeps/mach/hurd/configure.ac: ... here.
378 * sysdeps/powerpc/configure.in: Moved to ...
379 * sysdeps/powerpc/configure.ac: ... here.
380 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
381 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
382 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
383 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
384 * sysdeps/s390/s390-32/configure.in: Moved to ...
385 * sysdeps/s390/s390-32/configure.ac: ... here.
386 * sysdeps/s390/s390-64/configure.in: Moved to ...
387 * sysdeps/s390/s390-64/configure.ac: ... here.
388 * sysdeps/sh/configure.in: Moved to ...
389 * sysdeps/sh/configure.ac: ... here.
390 * sysdeps/sparc/configure.in: Moved to ...
391 * sysdeps/sparc/configure.ac: ... here.
392 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
393 * sysdeps/unix/sysv/linux/configure.ac: ... here.
394 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
395 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
396 * sysdeps/x86_64/configure.in: Moved to ...
397 * sysdeps/x86_64/configure.ac: ... here.
398 * sysdeps/x86_64/preconfigure.in: Moved to ...
399 * sysdeps/x86_64/preconfigure.ac: ... here.
400 * aclocal.m4: Change reference to configure.in to configure.ac.
401 * config.h.in: Likewise.
402 * manual/install.texi: Likewise.
403 * manual/maint.texi: Likewise.
404 * Makefile: Likewise.
405 * malloc/Makefile: Likewise.
406 * nscd/Makefile: Likewise.
407 * Makeconfig: Change reference to configure.in and
408 preconfigure.in to configure.ac and preconfigure.ac
410 * INSTALL: Regenerated.
411 * configure: Likewise.
412 * sysdeps/gnu/configure: Likewise.
413 * sysdeps/i386/configure: Likewise.
414 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
415 * sysdeps/mach/configure: Likewise.
416 * sysdeps/mach/hurd/configure: Likewise.
417 * sysdeps/powerpc/configure: Likewise.
418 * sysdeps/powerpc/powerpc32/configure: Likewise.
419 * sysdeps/powerpc/powerpc64/configure: Likewise.
420 * sysdeps/s390/s390-32/configure: Likewise.
421 * sysdeps/s390/s390-64/configure: Likewise.
422 * sysdeps/sh/configure: Likewise.
423 * sysdeps/sparc/configure: Likewise.
424 * sysdeps/unix/sysv/linux/configure: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
426 * sysdeps/x86_64/configure: Likewise.
427 * sysdeps/x86_64/preconfigure: Likewise.
429 2013-10-29 Andreas Schwab <schwab@suse.de>
431 * stdio-common/Makefile (tst-swscanf-ENV): Define.
433 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
435 * benchtests/pow-inputs: Add new inputs.
437 * benchtests/exp-inputs: Add new inputs.
439 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
440 conditional check for return value.
443 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
445 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
446 to provide a boost for large inputs with word alignment.
447 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
448 implementation based on optimized PPC64 strcpy.
449 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
450 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
451 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
452 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
454 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
457 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
459 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
462 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
463 * time/tst-strptime.c (day_tests): Add testcase.
465 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
468 * manual/pattern.texi: Acknowledge that fnmatch can fail.
470 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
473 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
476 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
479 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
480 heap for large requests.
482 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
485 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
486 result if the result has no associated interface.
487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
488 interface for all 127.X.Y.Z addresses.
490 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
492 * locale/iso-639.def: Add Ligurian (lij)
494 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
497 * sunrpc/rpc_main.c: Document rpcgen -5.
499 2013-10-19 Michael Stahl <mstahl@redhat.com>
501 * elf/rtld.c (do_preload): Print the reason why preloading failed.
503 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
506 * posix/glob.c: Match only directories when trailing slash is present.
507 * posix/tst-gnuglob.c (my_opendir): Do not open files.
508 (main): Add testcase.
510 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
513 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
515 2013-10-18 Carlos O'Donell <carlos@redhat.com>
517 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
518 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
519 AUTH_DES and cindex for FIPS 140-2.
520 (DES Encryption): Add cindex FIPS 46-3.
522 * locale/locarchive.h (struct locarhandle): Add fname.
523 * locale/programs/localedef.c (main): Pass ARGV[remaining]
524 if an optional argument was specified to --list-archive,
526 * locale/programs/locarchive.c (show_archive_content): Take new
527 argument fname and pass it via ah.fname to open_archive.
528 * locale/programs/localedef.h: Update decl.
529 (open_archive): If AH->fname is non-null, open that file
530 rather than the default file name, and don't ignore ENOENT.
531 (create_archive): Set AH.fname to NULL.
532 (delete_locales_from_archive): Likewise.
533 (add_locales_to_archive): Likewise.
534 * locale/programs/locfile.c (write_all_categories): Likewise.
536 2013-10-18 Joseph Myers <joseph@codesourcery.com>
537 Aldy Hernandez <aldyh@redhat.com>
539 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
540 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
541 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
542 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
543 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
544 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
545 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
546 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
547 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
548 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
549 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
550 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
551 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
552 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
553 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
555 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
557 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
561 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
562 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
564 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
565 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
566 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
567 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
569 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
570 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
571 * sysdeps/powerpc/preconfigure: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
574 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
575 Replace contents of file by #include of <fenv_libc.h>.
576 * sysdeps/powerpc/soft-fp/sfp-machine.h
577 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
579 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
592 Allow copysignl PLT reference to be missing.
594 2013-10-18 Richard Sandiford <richard@codesourcery.com>
595 Joseph Myers <joseph@codesourcery.com
598 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
600 (add_to_tablewc): Assert sequence of wide characters is nonempty.
602 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * elf/tst-tls-dlinfo.c: Don't include tls.h.
605 * elf/tst-tls1.c: Likewise.
606 * elf/tst-tls10.h: Likewise.
607 * elf/tst-tls14.c: Likewise.
608 * elf/tst-tls2.c: Likewise.
609 * elf/tst-tls3.c: Likewise.
610 * elf/tst-tls4.c: Likewise.
611 * elf/tst-tls5.c: Likewise.
612 * elf/tst-tls6.c: Likewise.
613 * elf/tst-tls7.c: Likewise.
614 * elf/tst-tls8.c: Likewise.
615 * elf/tst-tls9.c: Likewise.
616 * elf/tst-tlsmod1.c: Likewise.
617 * elf/tst-tlsmod13.c: Likewise.
618 * elf/tst-tlsmod13a.c: Likewise.
619 * elf/tst-tlsmod14a.c: Likewise.
620 * elf/tst-tlsmod16a.c: Likewise.
621 * elf/tst-tlsmod16b.c: Likewise.
622 * elf/tst-tlsmod2.c: Likewise.
623 * elf/tst-tlsmod3.c: Likewise.
624 * elf/tst-tlsmod4.c: Likewise.
625 * elf/tst-tlsmod5.c: Likewise.
626 * elf/tst-tlsmod6.c: Likewise.
628 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
631 * malloc/malloc.c: remove checks for statistics.
633 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
636 * inet/inet_net.c (inet_network): Detect additional invalid strings.
637 * inet/tst-network.c: Add testcase.
639 2013-10-17 Andreas Schwab <schwab@suse.de>
642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
643 to determine canonical name.
645 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
647 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
648 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
650 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
652 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
653 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
654 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
656 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
657 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
658 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
659 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
660 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
661 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
662 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
664 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
665 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
666 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
669 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
670 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
671 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
672 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
673 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
674 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
675 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
676 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
677 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
678 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
679 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
680 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
681 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
682 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
684 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
685 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
686 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
687 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
688 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
689 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
690 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
691 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
694 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
695 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
696 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
697 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
698 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
699 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
700 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
702 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
704 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
706 2013-10-17 Joseph Myers <joseph@codesourcery.com>
709 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
710 make result into a quiet NaN.
712 2013-10-16 Joseph Myers <joseph@codesourcery.com>
714 * soft-fp/adddf3.c: Fix horizontal whitespace.
715 * soft-fp/addsf3.c: Likewise.
716 * soft-fp/addtf3.c: Likewise.
717 * soft-fp/divdf3.c: Likewise.
718 * soft-fp/divsf3.c: Likewise.
719 * soft-fp/divtf3.c: Likewise.
720 * soft-fp/double.h: Likewise.
721 * soft-fp/eqdf2.c: Likewise.
722 * soft-fp/eqsf2.c: Likewise.
723 * soft-fp/eqtf2.c: Likewise.
724 * soft-fp/extenddftf2.c: Likewise.
725 * soft-fp/extended.h: Likewise.
726 * soft-fp/extendsfdf2.c: Likewise.
727 * soft-fp/extendsftf2.c: Likewise.
728 * soft-fp/extendxftf2.c: Likewise.
729 * soft-fp/fixdfdi.c: Likewise.
730 * soft-fp/fixdfsi.c: Likewise.
731 * soft-fp/fixdfti.c: Likewise.
732 * soft-fp/fixsfdi.c: Likewise.
733 * soft-fp/fixsfsi.c: Likewise.
734 * soft-fp/fixsfti.c: Likewise.
735 * soft-fp/fixtfdi.c: Likewise.
736 * soft-fp/fixtfsi.c: Likewise.
737 * soft-fp/fixtfti.c: Likewise.
738 * soft-fp/fixunsdfdi.c: Likewise.
739 * soft-fp/fixunsdfsi.c: Likewise.
740 * soft-fp/fixunsdfti.c: Likewise.
741 * soft-fp/fixunssfdi.c: Likewise.
742 * soft-fp/fixunssfsi.c: Likewise.
743 * soft-fp/fixunssfti.c: Likewise.
744 * soft-fp/fixunstfdi.c: Likewise.
745 * soft-fp/fixunstfsi.c: Likewise.
746 * soft-fp/fixunstfti.c: Likewise.
747 * soft-fp/floatdidf.c: Likewise.
748 * soft-fp/floatdisf.c: Likewise.
749 * soft-fp/floatditf.c: Likewise.
750 * soft-fp/floatsidf.c: Likewise.
751 * soft-fp/floatsisf.c: Likewise.
752 * soft-fp/floatsitf.c: Likewise.
753 * soft-fp/floattidf.c: Likewise.
754 * soft-fp/floattisf.c: Likewise.
755 * soft-fp/floattitf.c: Likewise.
756 * soft-fp/floatundidf.c: Likewise.
757 * soft-fp/floatundisf.c: Likewise.
758 * soft-fp/floatunditf.c: Likewise.
759 * soft-fp/floatunsidf.c: Likewise.
760 * soft-fp/floatunsisf.c: Likewise.
761 * soft-fp/floatunsitf.c: Likewise.
762 * soft-fp/floatuntidf.c: Likewise.
763 * soft-fp/floatuntisf.c: Likewise.
764 * soft-fp/floatuntitf.c: Likewise.
765 * soft-fp/fmadf4.c: Likewise.
766 * soft-fp/fmasf4.c: Likewise.
767 * soft-fp/fmatf4.c: Likewise.
768 * soft-fp/gedf2.c: Likewise.
769 * soft-fp/gesf2.c: Likewise.
770 * soft-fp/getf2.c: Likewise.
771 * soft-fp/ledf2.c: Likewise.
772 * soft-fp/lesf2.c: Likewise.
773 * soft-fp/letf2.c: Likewise.
774 * soft-fp/muldf3.c: Likewise.
775 * soft-fp/mulsf3.c: Likewise.
776 * soft-fp/multf3.c: Likewise.
777 * soft-fp/negdf2.c: Likewise.
778 * soft-fp/negsf2.c: Likewise.
779 * soft-fp/negtf2.c: Likewise.
780 * soft-fp/op-1.h: Likewise.
781 * soft-fp/op-2.h: Likewise.
782 * soft-fp/op-4.h: Likewise.
783 * soft-fp/op-8.h: Likewise.
784 * soft-fp/op-common.h: Likewise.
785 * soft-fp/quad.h: Likewise.
786 * soft-fp/single.h: Likewise.
787 * soft-fp/soft-fp.h: Likewise.
788 * soft-fp/sqrtdf2.c: Likewise.
789 * soft-fp/sqrtsf2.c: Likewise.
790 * soft-fp/sqrttf2.c: Likewise.
791 * soft-fp/subdf3.c: Likewise.
792 * soft-fp/subsf3.c: Likewise.
793 * soft-fp/subtf3.c: Likewise.
794 * soft-fp/truncdfsf2.c: Likewise.
795 * soft-fp/trunctfdf2.c: Likewise.
796 * soft-fp/trunctfsf2.c: Likewise.
797 * soft-fp/trunctfxf2.c: Likewise.
798 * soft-fp/unorddf2.c: Likewise.
799 * soft-fp/unordsf2.c: Likewise.
800 * soft-fp/unordtf2.c: Likewise.
802 2013-10-15 Joseph Myers <joseph@codesourcery.com>
804 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
805 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
807 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
809 * elf/dl-libc.c: Clear initfini list after freeing.
811 2013-10-14 Joseph Myers <joseph@codesourcery.com>
813 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
814 * soft-fp/addsf3.c: Likewise.
815 * soft-fp/addtf3.c: Likewise.
816 * soft-fp/divdf3.c: Likewise.
817 * soft-fp/divsf3.c: Likewise.
818 * soft-fp/divtf3.c: Likewise.
819 * soft-fp/double.h: Likewise.
820 * soft-fp/eqdf2.c: Likewise.
821 * soft-fp/eqsf2.c: Likewise.
822 * soft-fp/eqtf2.c: Likewise.
823 * soft-fp/extenddftf2.c: Likewise.
824 * soft-fp/extended.h: Likewise.
825 * soft-fp/extendsfdf2.c: Likewise.
826 * soft-fp/extendsftf2.c: Likewise.
827 * soft-fp/extendxftf2.c: Likewise.
828 * soft-fp/fixdfdi.c: Likewise.
829 * soft-fp/fixdfsi.c: Likewise.
830 * soft-fp/fixdfti.c: Likewise.
831 * soft-fp/fixsfdi.c: Likewise.
832 * soft-fp/fixsfsi.c: Likewise.
833 * soft-fp/fixsfti.c: Likewise.
834 * soft-fp/fixtfdi.c: Likewise.
835 * soft-fp/fixtfsi.c: Likewise.
836 * soft-fp/fixtfti.c: Likewise.
837 * soft-fp/fixunsdfdi.c: Likewise.
838 * soft-fp/fixunsdfsi.c: Likewise.
839 * soft-fp/fixunsdfti.c: Likewise.
840 * soft-fp/fixunssfdi.c: Likewise.
841 * soft-fp/fixunssfsi.c: Likewise.
842 * soft-fp/fixunssfti.c: Likewise.
843 * soft-fp/fixunstfdi.c: Likewise.
844 * soft-fp/fixunstfsi.c: Likewise.
845 * soft-fp/fixunstfti.c: Likewise.
846 * soft-fp/floatdidf.c: Likewise.
847 * soft-fp/floatdisf.c: Likewise.
848 * soft-fp/floatditf.c: Likewise.
849 * soft-fp/floatsidf.c: Likewise.
850 * soft-fp/floatsisf.c: Likewise.
851 * soft-fp/floatsitf.c: Likewise.
852 * soft-fp/floattidf.c: Likewise.
853 * soft-fp/floattisf.c: Likewise.
854 * soft-fp/floattitf.c: Likewise.
855 * soft-fp/floatundidf.c: Likewise.
856 * soft-fp/floatundisf.c: Likewise.
857 * soft-fp/floatunsidf.c: Likewise.
858 * soft-fp/floatunsisf.c: Likewise.
859 * soft-fp/floatuntidf.c: Likewise.
860 * soft-fp/floatuntisf.c: Likewise.
861 * soft-fp/floatuntitf.c: Likewise.
862 * soft-fp/fmadf4.c: Likewise.
863 * soft-fp/fmasf4.c: Likewise.
864 * soft-fp/fmatf4.c: Likewise.
865 * soft-fp/gedf2.c: Likewise.
866 * soft-fp/gesf2.c: Likewise.
867 * soft-fp/getf2.c: Likewise.
868 * soft-fp/ledf2.c: Likewise.
869 * soft-fp/lesf2.c: Likewise.
870 * soft-fp/letf2.c: Likewise.
871 * soft-fp/muldf3.c: Likewise.
872 * soft-fp/mulsf3.c: Likewise.
873 * soft-fp/multf3.c: Likewise.
874 * soft-fp/negdf2.c: Likewise.
875 * soft-fp/negsf2.c: Likewise.
876 * soft-fp/negtf2.c: Likewise.
877 * soft-fp/op-1.h: Likewise.
878 * soft-fp/op-2.h: Likewise.
879 * soft-fp/op-4.h: Likewise.
880 * soft-fp/op-8.h: Likewise.
881 * soft-fp/op-common.h: Likewise.
882 * soft-fp/quad.h: Likewise.
883 * soft-fp/single.h: Likewise.
884 * soft-fp/soft-fp.h: Likewise.
885 * soft-fp/sqrtdf2.c: Likewise.
886 * soft-fp/sqrtsf2.c: Likewise.
887 * soft-fp/sqrttf2.c: Likewise.
888 * soft-fp/subdf3.c: Likewise.
889 * soft-fp/subsf3.c: Likewise.
890 * soft-fp/subtf3.c: Likewise.
891 * soft-fp/truncdfsf2.c: Likewise.
892 * soft-fp/trunctfdf2.c: Likewise.
893 * soft-fp/trunctfsf2.c: Likewise.
894 * soft-fp/trunctfxf2.c: Likewise.
895 * soft-fp/unorddf2.c: Likewise.
896 * soft-fp/unordsf2.c: Likewise.
897 * soft-fp/unordtf2.c: Likewise.
899 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
902 * misc/error.c (error_tail): Fix possible buffer overflow.
904 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
907 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
910 2013-10-14 P. J. McDermott <pj@pehjota.net>
913 * elf/ldd.bash.in (try_trace): New function. Delete previous code
914 testing pipefail option.
916 2013-10-12 Joseph Myers <joseph@codesourcery.com>
918 * soft-fp/double.h: Indent preprocessor directives inside #if.
919 * soft-fp/extended.h: Likewise.
920 * soft-fp/op-2.h: Likewise.
921 * soft-fp/op-4.h: Likewise.
922 * soft-fp/op-common.h: Likewise.
923 * soft-fp/quad.h: Likewise.
924 * soft-fp/single.h: Likewise.
925 * soft-fp/soft-fp.h: Likewise.
927 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
929 * iconv/iconv_prog.c: Fix typos.
930 * stdio-common/psiginfo-data.h: Likewise.
932 2013-10-12 Reuben Thomas <rrt@sc3d.org>
935 * locale/setlocale.c: Fix typo.
937 2013-10-12 Joseph Myers <joseph@codesourcery.com>
940 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
941 signaling NaN arguments.
942 * soft-fp/unordsf2.c (__unordsf2): Likewise.
943 * soft-fp/unordtf2.c (__unordtf2): Likewise.
946 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
948 * soft-fp/gesf2.c (__gesf2): Likewise.
949 * soft-fp/getf2.c (__getf2): Likewise.
950 * soft-fp/ledf2.c (__ledf2): Likewise.
951 * soft-fp/lesf2.c (__lesf2): Likewise.
952 * soft-fp/letf2.c (__letf2): Likewise.
954 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
955 * soft-fp/eqsf2.c (__eqsf2): Likewise.
956 * soft-fp/eqtf2.c (__eqtf2): Likewise.
957 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
958 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
959 * soft-fp/fixdfti.c (__fixdfti): Likewise.
960 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
961 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
962 * soft-fp/fixsfti.c (__fixsfti): Likewise.
963 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
964 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
965 * soft-fp/fixtfti.c (__fixtfti): Likewise.
966 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
967 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
968 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
969 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
970 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
971 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
972 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
973 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
974 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
975 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
976 * soft-fp/floatdisf.c (__floatdisf): Likewise.
977 * soft-fp/floatsisf.c (__floatsisf): Likewise.
978 * soft-fp/floattidf.c (__floattidf): Likewise.
979 * soft-fp/floattisf.c (__floattisf): Likewise.
980 * soft-fp/floattitf.c (__floattitf): Likewise.
981 * soft-fp/floatundidf.c (__floatundidf): Likewise.
982 * soft-fp/floatundisf.c (__floatundisf): Likewise.
983 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
984 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
985 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
986 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
987 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
988 * soft-fp/gesf2.c (__gesf2): Likewise.
989 * soft-fp/getf2.c (__getf2): Likewise.
990 * soft-fp/ledf2.c (__ledf2): Likewise.
991 * soft-fp/lesf2.c (__lesf2): Likewise.
992 * soft-fp/letf2.c (__letf2): Likewise.
994 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
995 Undefine and redefine.
996 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
997 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
998 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
999 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1000 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1001 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1002 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1003 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1004 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1005 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1006 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1007 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1008 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1009 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1010 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1013 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1014 without decrementing exponent if mantissa >= that for the
1016 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1017 denominator, not >. Decrement exponent in < case instead of
1018 incrementing in >= case.
1019 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1020 without decrementing exponent if mantissa >= that for the
1023 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1024 computing saturated result for unsigned overflow.
1026 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1027 Jeff Law <law@redhat.com>
1029 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1030 (atan2Mp): Add systemtap probe marker.
1031 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1032 (__ieee754_log): Add systemtap probe marker.
1033 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1034 (atanMp): Add systemtap probe marker.
1035 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1036 (tanMp): Add systemtap probe marker.
1037 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1038 (__slowexp): Add systemtap probe marker.
1039 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1040 (__slowpow): Add systemtap probe marker.
1041 * manual/probes.texi: Document probes.
1043 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1046 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1048 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1050 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1051 written to buffer but not flushed.
1052 * libio/iofwrite_u.c: Likewise.
1053 * libio/iopadn.c: Return bytes returned even if EOF was
1055 * libio/iowpadn.c: Likewise.
1056 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1057 if _IO_padn does not write the whole buffer.
1058 [!COMPILE_WPRINTF] (PAD): Likewise.
1060 2013-10-10 David S. Miller <davem@davemloft.net>
1062 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1065 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1067 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1068 instead of FSF address.
1069 * soft-fp/fixdfti.c: Likewise.
1070 * soft-fp/fixsfti.c: Likewise.
1071 * soft-fp/fixtfti.c: Likewise.
1072 * soft-fp/fixunsdfti.c: Likewise.
1073 * soft-fp/fixunssfti.c: Likewise.
1074 * soft-fp/fixunstfti.c: Likewise.
1075 * soft-fp/floattidf.c: Likewise.
1076 * soft-fp/floattisf.c: Likewise.
1077 * soft-fp/floattitf.c: Likewise.
1078 * soft-fp/floatuntidf.c: Likewise.
1079 * soft-fp/floatuntisf.c: Likewise.
1080 * soft-fp/floatuntitf.c: Likewise.
1081 * soft-fp/trunctfxf2.c: Likewise.
1083 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1084 * soft-fp/fixdfti.c: Likewise.
1085 * soft-fp/fixsfti.c: Likewise.
1086 * soft-fp/fixtfti.c: Likewise.
1087 * soft-fp/fixunsdfti.c: Likewise.
1088 * soft-fp/fixunssfti.c: Likewise.
1089 * soft-fp/fixunstfti.c: Likewise.
1090 * soft-fp/floattidf.c: Likewise.
1091 * soft-fp/floattisf.c: Likewise.
1092 * soft-fp/floattitf.c: Likewise.
1093 * soft-fp/floatuntidf.c: Likewise.
1094 * soft-fp/floatuntisf.c: Likewise.
1095 * soft-fp/floatuntitf.c: Likewise.
1096 * soft-fp/trunctfxf2.c: Likewise.
1098 2013-10-10 David S. Miller <davem@davemloft.net>
1100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1102 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1104 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1105 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1106 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1107 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1108 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1109 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1110 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1113 for NaNs before doing comparisons on argument.
1114 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1117 2013-10-10 Will Newton <will.newton@linaro.org>
1119 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1120 passed to _int_memalign does not overflow.
1122 2013-10-10 Torvald Riegel <triegel@redhat.com>
1124 * scripts/bench.pl: Add include-sources directive.
1125 * benchtests/README: Update documentation.
1127 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1129 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1130 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1131 instead of FP_INIT_ROUNDMODE.
1132 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1133 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1136 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1137 copy class of input value.
1138 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1139 not handle exceptions.
1140 * soft-fp/negsf2.c (__negsf2): Likewise.
1141 * soft-fp/negtf2.c (__negtf2): Likewise.
1142 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1144 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1146 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1147 semicolon. From Linux kernel.
1149 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1151 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1153 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1156 * manual/socket.texi: Added statement about buffer
1157 for gethostbyname2_r.
1159 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1161 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1162 Use .p2align directive instead, throughout.
1163 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1164 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1165 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1168 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1169 * sysdeps/x86_64/strchr.S: Likewise.
1170 * sysdeps/x86_64/strrchr.S: Likewise.
1172 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1174 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1176 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1178 * sysdeps/generic/math_private.h (__mpsin1): Remove
1180 (__mpcos1): Likewise.
1181 (__mpsin): New argument __range_reduce.
1182 (__mpcos): Likewise.
1183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1184 (slow): Use __mpsin and __mpcos.
1191 (bsloww1): Likewise.
1192 (bsloww2): Likewise.
1195 (csloww1): Likewise.
1196 (csloww2): Likewise.
1197 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1198 range_reduce. Merge in __mpsin1.
1199 (__mpcos): Likewise.
1201 (__mpcos1): Likewise.
1203 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1205 * locale/loadlocale.c (_nl_intern_locale_data): Use
1207 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1208 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1209 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1210 obstack data is appropriately aligned.
1211 (obstack_int32_grow_fast): Likewise.
1212 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1213 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1214 (add_locale_uint32_array): Likewise.
1216 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1218 * benchtests/Makefile: Remove ARGLIST and RET variables.
1219 ($(objpfx)bench-%.c): Pass only function name to the script.
1220 * benchtests/README: Update documentation.
1221 * benchtests/acos-inputs: Add new directives.
1222 * benchtests/acosh-inputs: Likewise.
1223 * benchtests/asin-inputs: Likewise.
1224 * benchtests/asinh-inputs: Likewise.
1225 * benchtests/atan-inputs: Likewise.
1226 * benchtests/atanh-inputs: Likewise.
1227 * benchtests/cos-inputs: Likewise.
1228 * benchtests/cosh-inputs: Likewise.
1229 * benchtests/exp-inputs: Likewise.
1230 * benchtests/log-inputs: Likewise.
1231 * benchtests/pow-inputs: Likewise.
1232 * benchtests/rint-inputs: Likewise.
1233 * benchtests/sin-inputs: Likewise.
1234 * benchtests/sinh-inputs: Likewise.
1235 * benchtests/tan-inputs: Likewise.
1236 * benchtests/tanh-inputs: Likewise.
1237 * scripts/bench.pl: Add support for new directives.
1239 2013-10-07 Alan Modra <amodra@gmail.com>
1241 * README: Fix careless merge.
1243 2013-10-05 Alan Modra <amodra@gmail.com>
1245 * NEWS: Mention powerpc64le support and bugs fixed.
1246 * README: Both big-endian and little-endian powerpc64 supported.
1248 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1250 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1251 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1252 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1253 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1255 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1257 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1260 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1262 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1263 Move -mhard-float appending from
1264 ports/sysdeps/powerpc/powerpc32/Makefile.
1265 [$(with-fp) = yes] (ASFLAGS): Likewise.
1266 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1267 * sysdeps/powerpc/nofpu: Move directory from
1268 ports/sysdeps/powerpc/nofpu.
1269 * sysdeps/powerpc/soft-fp: Move directory from
1270 ports/sysdeps/powerpc/soft-fp.
1271 * sysdeps/powerpc/powerpc32/405: Move directory from
1272 ports/sysdeps/powerpc/powerpc32/405.
1273 * sysdeps/powerpc/powerpc32/440: Move directory from
1274 ports/sysdeps/powerpc/powerpc32/440.
1275 * sysdeps/powerpc/powerpc32/464: Move directory from
1276 ports/sysdeps/powerpc/powerpc32/464.
1277 * sysdeps/powerpc/powerpc32/476: Move directory from
1278 ports/sysdeps/powerpc/powerpc32/476.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1280 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1282 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1284 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1289 * README: Update for powerpc-*-linux-gnu software floating point
1292 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1293 case to powerpc/powerpc32*.
1294 * sysdeps/unix/sysv/linux/configure: Regenerated.
1296 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1297 (_FPU_MASK_OM): Define as 0x04.
1298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1306 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1309 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1312 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1313 and setcontext_e500.
1315 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1317 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1319 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1321 * manual/threads.texi (Default Thread Attributes): Fix typo.
1323 2013-10-04 Will Newton <will.newton@linaro.org>
1325 * malloc/Makefile: Add tst-memalign.
1326 * malloc/tst-memalign.c: New file.
1328 * malloc/tst-posix_memalign.c: Add comments.
1329 (do_test): Add comments and call free on all potentially
1330 allocated pointers. Add space after cast.
1332 * malloc/tst-pvalloc.c: Add comments.
1333 (do_test): Add comments and call free on all potentially
1334 allocated pointers. Remove duplicate check for NULL pointer.
1335 Add space after cast.
1337 * malloc/tst-valloc.c: Add comments.
1338 (do_test): Add comments and call free on all potentially
1339 allocated pointers. Remove duplicate check for NULL pointer.
1340 Add space after cast.
1342 2013-10-04 Alan Modra <amodra@gmail.com>
1344 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1345 Use stdint types in rather than __attribute__((mode())).
1346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1348 2013-10-04 Alan Modra <amodra@gmail.com>
1350 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1351 Correct handling of unaligned relocs for little-endian.
1352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1354 2013-10-04 Alan Modra <amodra@gmail.com>
1356 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1357 * configure: Regenerate.
1358 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1359 * shlib-versions: Likewise.
1361 2013-10-04 Alan Modra <amodra@gmail.com>
1363 * string/tester.c (test_memrchr): Increment reported test cycle.
1365 2013-10-04 Alan Modra <amodra@gmail.com>
1367 * string/test-memcpy.c (do_one_test): When reporting errors, print
1368 string address and don't overrun end of string.
1370 2013-10-04 Alan Modra <amodra@gmail.com>
1372 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1373 insrdi. Make better use of reg selection to speed exit slightly.
1374 Schedule entry path a little better. Remove useless "are we done"
1375 checks on entry to main loop. Handle wrapping around zero address.
1376 Correct main loop count. Handle single left-over word from main
1377 loop inline rather than by using loop_small. Remove extra word
1378 case in loop_small caused by wrong loop count. Add little-endian
1380 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1381 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1383 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1385 support. Avoid rlwimi.
1386 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1388 2013-10-04 Alan Modra <amodra@gmail.com>
1390 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1392 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1394 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1395 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1396 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1397 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1399 2013-10-04 Alan Modra <amodra@gmail.com>
1401 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1402 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1403 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1404 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1405 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1406 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1410 use of regs. Use power7 mtocrf. Tidy function tails.
1412 2013-10-04 Alan Modra <amodra@gmail.com>
1414 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1415 Formatting. Consistently use rXXX register defines or rN defines.
1416 Use early exit labels that avoid restoring unused non-volatile regs.
1417 Make cr field use more consistent with rWORDn compares. Rename
1418 regs used as shift registers for unaligned loop, using rN defines
1419 for short lifetime/multiple use regs.
1420 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1421 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1422 addi 1,1,64 to pop stack frame. Simplify return value code.
1423 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1425 2013-10-04 Alan Modra <amodra@gmail.com>
1427 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1428 support. Correct typos, formatting. Optimize tail. Use insrdi
1430 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1432 little-endian support. Correct typos.
1433 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1435 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1436 in loop and entry code to keep "and." results.
1437 (strchr): Add little-endian support. Comment. Move cntlzd
1439 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1441 2013-10-04 Alan Modra <amodra@gmail.com>
1443 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1444 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1445 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1446 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1448 2013-10-04 Alan Modra <amodra@gmail.com>
1450 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1451 (rTMP): Define as r11.
1452 (strcmp): Add little-endian support. Optimise tail.
1453 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1454 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1455 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1457 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1461 2013-10-04 Alan Modra <amodra@gmail.com>
1463 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1464 little-endian support. Remove unnecessary "are we done" tests.
1465 Handle "s" wrapping around zero and extremely large "size".
1466 Correct main loop count. Handle single left-over word from main
1467 loop inline rather than by using small_loop. Correct comments.
1468 Delete "zero" tail, use "end_max" instead.
1469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1471 2013-10-04 Alan Modra <amodra@gmail.com>
1473 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1474 support. Don't branch over align.
1475 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1476 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1477 support. Rearrange tmp reg use to suit. Comment.
1478 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1480 2013-10-04 Alan Modra <amodra@gmail.com>
1482 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1484 2013-10-04 Alan Modra <amodra@gmail.com>
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1487 conditional form of branch and link when obtaining pc.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1490 2013-10-04 Alan Modra <amodra@gmail.com>
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1497 2013-10-04 Alan Modra <amodra@gmail.com>
1499 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1500 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1501 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1502 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1503 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1504 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1505 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1506 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1507 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1508 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1510 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1511 Alistair Popple <alistair@ozlabs.au.ibm.com>
1512 Alan Modra <amodra@gmail.com>
1515 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1516 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1517 _dl_hwcap access for little-endian.
1518 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1519 destroy vmx regs when saving unaligned.
1520 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1521 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1522 destroy vmx regs when saving unaligned.
1524 2013-10-04 Alan Modra <amodra@gmail.com>
1526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1527 Don't use a union to pack hi/low value.
1529 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1531 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1533 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1539 2013-10-04 Alan Modra <amodra@gmail.com>
1541 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1542 constants to usual value for .cst8 section, and remove redundant
1544 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1545 constant for 0x1p52. Load little-endian words of double from
1546 correct stack offsets.
1548 2013-10-04 Alan Modra <amodra@gmail.com>
1550 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1551 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1552 words of double from correct stack offsets.
1553 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1554 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1559 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1560 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1563 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1566 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1567 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1569 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1571 2013-10-04 Alan Modra <amodra@gmail.com>
1573 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1574 64-bit int/double union.
1575 (_FPU_SETCW): Likewise.
1576 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1577 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1579 2013-10-04 Alan Modra <amodra@gmail.com>
1581 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1582 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1584 2013-10-04 Alan Modra <amodra@gmail.com>
1586 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1587 use vector int constants.
1588 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1590 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1592 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1593 array with long long.
1594 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1595 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1596 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1597 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1598 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1599 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1600 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1601 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1602 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1603 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1604 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1605 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1606 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1608 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1610 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1611 (__signbit): Likewise. Correct for little-endian.
1612 (__signbitl): Call __signbit.
1613 (lrint): Correct for little-endian.
1614 (lrintf): Call lrint.
1616 2013-10-04 Alan Modra <amodra@gmail.com>
1618 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1619 union 32-bit int array member with 64-bit int array.
1620 (t515, tm256): Double rather than long double.
1621 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1623 2013-10-04 Alan Modra <amodra@gmail.com>
1625 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1627 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1629 version of math_ldbl.h.
1631 2013-10-04 Alan Modra <amodra@gmail.com>
1633 [BZ #15734], [BZ #15735]
1634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1635 all uses of ieee875 long double macros and unions. Simplify test
1636 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1637 ldbl_extract_mantissa value for ix,iy exponents. Properly
1638 normalize after ldbl_extract_mantissa, and don't add hidden bit
1639 already handled. Don't treat low word of ieee854 mantissa like
1640 low word of IBM long double and mask off bit when testing for
1642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1643 all uses of ieee875 long double macros and unions. Simplify tests
1644 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1645 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1646 two1022, instead use their values. Recognise that tests for large
1647 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1648 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1649 Rewrite all uses of ieee875 long double macros and unions. Simplify
1650 test for 0.0L and nan. Correct negation.
1651 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1652 ieee875 long double macros and unions. Correct output for large
1653 magnitude x. Correct absolute value calculation.
1654 (__erfcl): Likewise.
1655 * math/libm-test.inc: Add tests for errors discovered in IBM long
1656 double versions of fmodl, remainderl, erfl and erfcl.
1658 2013-10-04 Alan Modra <amodra@gmail.com>
1660 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1661 all uses of ieee854 long double macros and unions. Simplify tests
1662 for long doubles that are fully specified by the high double.
1663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1665 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1666 Remove dead code too.
1667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1668 (__ieee754_ynl): Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1672 Remove dead code too.
1673 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1683 Comment on variable precision.
1684 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1687 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1691 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1693 2013-10-04 Alan Modra <amodra@gmail.com>
1695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1697 all uses of ieee854 long double macros and unions.
1698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1711 Simplify sign and nan test too.
1712 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1717 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1727 2013-10-04 Alan Modra <amodra@gmail.com>
1729 * stdio-common/printf_size.c (__printf_size): Don't use
1730 union ieee854_long_double in fpnum union.
1731 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1732 signbit macro to retrieve sign from long double.
1733 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1734 retrieve sign from long double.
1735 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1736 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1738 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1739 * math/test-misc.c (main): Don't use union ieee854_long_double.
1741 2013-10-04 Alan Modra <amodra@gmail.com>
1744 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1745 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1746 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1747 calculation. Remove unnecessary test for denormal exponent.
1748 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1749 Correct handling of denormals. Avoid undefined shift behaviour.
1750 Correct normalisation of low mantissa when low double is denormal.
1751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1752 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1753 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1754 Correct normalisation of low mantissa. Test for overflow of high
1755 mantissa and normalise.
1756 (ldbl_nearbyint): Use more readable constant for two52.
1757 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1758 (__mpn_construct_long_double): Fix test for overflow of high
1759 mantissa and correct normalisation. Avoid undefined shift.
1761 2013-10-04 Alan Modra <amodra@gmail.com>
1763 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1764 (union ibm_extended_long_double): Define as an array of ieee754_double.
1765 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1767 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1768 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1772 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1777 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1779 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1780 page size instead of calling getpagesize.
1782 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1783 (LOCFILE_ALIGN_MASK): Likewise.
1784 (LOCFILE_ALIGN_UP): Likewise.
1785 (LOCFILE_ALIGNED_P): Likewise.
1786 * locale/programs/ld-collate.c (collate_output): Use the new
1787 macros instead of __alignof__ (int32_t).
1788 * locale/weight.h (findidx): Likewise.
1790 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1793 * manual/string.texi: Fix strncat and wcsncat.
1795 2013-10-03 Brooks Moses <bmoses@google.com>
1798 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1799 * Makerules: ...here, and adjust associated comments.
1801 2013-10-02 Will Newton <will.newton@linaro.org>
1803 * malloc/Makefile: Add tst-pvalloc.
1804 * malloc/tst-pvalloc.c: New file.
1806 2013-10-02 Will Newton <will.newton@linaro.org>
1808 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1809 improve test coverage.
1811 2013-10-02 Will Newton <will.newton@linaro.org>
1813 * malloc/Makefile: Add tst-posix_memalign.
1814 * malloc/tst-posix_memalign.c: New file.
1816 2013-10-01 Eric Blake <eblake@redhat.com>
1818 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1819 Use __THROWNL rather than __THROW on static functions.
1821 2013-09-30 Petr Machata <pmachata@redhat.com>
1823 * elf/elf.h (R_AARCH64_ABS16): New macro.
1824 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1825 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1826 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1827 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1828 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1829 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1830 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1831 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1832 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1833 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1834 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1835 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1836 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1837 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1838 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1839 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1840 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1841 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1842 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1843 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1844 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1845 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1846 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1847 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1848 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1849 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1850 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1851 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1852 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1853 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1854 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1855 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1856 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1857 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1858 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1859 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1860 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1861 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1862 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1863 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1864 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1865 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1866 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1867 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1868 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1869 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1870 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1871 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1872 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1873 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1874 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1875 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1876 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1877 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1878 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1879 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1880 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1881 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1882 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1883 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1884 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1885 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1886 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1887 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1888 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1889 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1890 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1891 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1892 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1893 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1894 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1895 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1896 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1897 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1898 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1899 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1900 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1901 (R_AARCH64_TLSDESC_LDR): Likewise.
1902 (R_AARCH64_TLSDESC_ADD): Likewise.
1903 (R_AARCH64_TLSDESC_CALL): Likewise.
1905 2013-09-30 Andreas Schwab <schwab@suse.de>
1908 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1909 the nss database lookup.
1910 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1913 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1915 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1917 2013-09-28 P. J. McDermott <pj@pehjota.net>
1919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1920 ${Bash-specific parameter/pattern/string} parameter expansion.
1921 * sysdeps/unix/make-syscalls.sh: Likewise.
1923 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1925 * sysdeps/sh/stackguard-macros.h: New file.
1927 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1931 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1932 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1933 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1934 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1936 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1938 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1939 Fix thread ID register.
1941 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1943 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1944 [POSIX || UNIX98]: Require rather than permitting all symbols from
1946 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1947 element of struct sched_param.
1948 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1949 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1950 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1951 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1954 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1956 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1957 argument calculation.
1959 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1961 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1963 [POSIX] (pthread_attr_t): Do not require type.
1964 [POSIX] (pthread_cond_t): Likewise.
1965 [POSIX] (pthread_condattr_t): Likewise.
1966 [POSIX] (pthread_key_t): Likewise.
1967 [POSIX] (pthread_mutex_t): Likewise.
1968 [POSIX] (pthread_mutexattr_t): Likewise.
1969 [POSIX] (pthread_once_t): Likewise.
1970 [POSIX] (pthread_t): Likewise.
1971 [POSIX-based standards] (pthread_atfork): Expect function.
1973 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1974 Richard Sandiford <richard@codesourcery.com>
1976 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1977 (swap_endianness_p): New extern variable.
1978 (set_big_endian): New inline function.
1979 (maybe_swap_uint32): Likewise.
1980 (maybe_swap_uint32_array): Likewise.
1981 (maybe_swap_uint32_obstack): Likewise.
1982 * locale/programs/locfile.c: Include <stdbool.h>.
1983 (swap_endianness_p): New variable.
1984 (add_locale_uint32): Call maybe_swap_uint32.
1985 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1986 (write_locale_data): Call maybe_swap_uint32_array.
1987 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1989 (obstack_int32_grow_fast): Likewise.
1990 (output_weightwc): Call maybe_swap_uint32_obstack.
1991 (collate_output): Likewise.
1992 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1993 (OPT_LITTLE_ENDIAN): Likewise.
1994 (options): Add --little-endian and --big-endian options.
1995 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1996 * locale/programs/locarchive.c: Include "locfile.h".
2000 (create_archive): Use the new macros to access fields of
2001 structures directly mapped from or written to locale archives.
2002 (oldlocrecentcmp): Likewise.
2003 (enlarge_archive): Likewise.
2004 (insert_name): Likewise.
2005 (add_alias): Likewise.
2006 (add_locale): Likewise.
2007 (delete_locales_from_archive): Likewise.
2008 (show_archive_content): Likewise.
2009 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2012 2013-09-24 Roland McGrath <roland@hack.frob.com>
2014 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2015 http://www.gnu.org/doc/freemanuals.texi.
2016 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2018 2013-09-24 Will Newton <will.newton@linaro.org>
2020 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2023 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2025 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2028 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2030 * manual/threads.texi (POSIX Threads): Fix a typo.
2032 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2035 * string/tst-strcoll-overflow.c: New test case.
2036 * string/Makefile (xtests): Add tst-strcoll-overflow.
2037 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2038 cache if string sizes may cause integer overflow.
2041 * string/strcoll_l.c (coll_seq): New members rule, idx,
2042 save_idx and back_us.
2043 (get_next_seq_nocache): New function.
2044 (do_compare_nocache): New function.
2045 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2048 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2051 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2052 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2053 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2056 * elf/Makefile (tests): Add tst-ptrguard1.
2057 (tests-static): Add tst-ptrguard1-static.
2058 (tst-ptrguard1-ARGS): Define.
2059 (tst-ptrguard1-static-ARGS): Define.
2060 * elf/tst-ptrguard1.c: New file.
2061 * elf/tst-ptrguard1-static.c: New file.
2062 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2063 * sysdeps/i386/stackguard-macros.h: Likewise.
2064 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2065 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2066 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2067 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2068 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2069 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2071 2013-09-23 Hector Marco <hecmargi@upv.es>
2072 Ismael Ripoll <iripoll@disca.upv.es>
2073 Carlos O'Donell <carlos@redhat.com>
2076 * sysdeps/generic/stackguard-macros.h: Define
2077 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2078 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2079 Define __pointer_chk_guard_local.
2080 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2081 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2083 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2086 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2088 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2090 * include/string.h (__ffs): Declare as hidden.
2091 * string/ffs.c (__ffs): Define as hidden.
2092 * sysdeps/i386/ffs.c (__ffs): Likewise.
2093 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2094 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2095 * sysdeps/s390/ffs.c (__ffs): Likewise.
2096 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2098 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2100 * NEWS: Mention malloc probes.
2102 * malloc/arena.c (new_heap): New memory_heap_new probe.
2103 (grow_heap): New memory_heap_more probe.
2104 (shrink_heap): New memory_heap_less probe.
2105 (heap_trim): New memory_heap_free probe.
2106 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2107 (systrim): New memory_sbrk_less probe.
2108 * manual/probes.texi: Document them.
2110 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2111 * manual/probes.texi: Document it.
2113 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2114 (__libc_realloc): Add memory_realloc_retry probe.
2115 (__libc_memalign): Add memory_memalign_retry probe.
2116 (__libc_valloc): Add memory_valloc_retry probe.
2117 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2118 (__libc_calloc): Add memory_calloc_retry probe.
2119 * manual/probes.texi: Document them.
2121 * malloc/arena.c (get_free_list): Add probe
2122 memory_arena_reuse_free_list.
2123 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2124 and memory_arena_reuse.
2125 (arena_get2) [!PER_THREAD]: Likewise.
2126 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2127 memory_arena_reuse_realloc.
2128 * manual/probes.texi: Document them.
2130 * malloc/malloc.c (__libc_free): Add
2131 memory_mallopt_free_dyn_thresholds probe.
2132 (__libc_mallopt): Add multiple memory_mallopt probes.
2133 * manual/probes.texi: Document them.
2135 * malloc/malloc.c: Include stap-probe.h.
2136 (__libc_mallopt): Add memory_mallopt probe.
2137 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2138 * manual/probes.texi: New.
2139 * manual/Makefile (chapters): Add probes.
2140 * manual/threads.texi: Set next node.
2142 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2145 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2146 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2147 Add `Chinese' to `nan' entry name.
2149 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2152 (POLYNOMIAL): Likewise.
2153 (TAYLOR_SINCOS): Likewise.
2154 (TAYLOR_SLOW): Likewise.
2155 (__sin): Use TAYLOR_SINCOS.
2157 (slow): Use TAYLOR_SLOW.
2162 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2164 * stdlib/strtod_l.c: Fix buffer overrun.
2166 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2168 * benchtests/Makefile (bench): Add sincos.
2169 * benchtests/bench-sincos.c: New file.
2171 * math/libm-test.inc (cos_test_data): New test inputs.
2172 (sin_test_data): Likewise.
2174 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2182 (bsloww1): Likewise.
2183 (bsloww2): Likewise.
2185 (csloww1): Likewise.
2186 (csloww2): Likewise.
2188 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2193 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2197 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2199 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2200 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2201 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2202 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2203 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2204 * elf/cache.c (print_entry): Handle the new cache flags.
2206 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2207 Aldy Hernandez <aldyh@redhat.com>
2209 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2210 Change condition to [_SOFT_FLOAT].
2211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2223 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2226 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2229 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2231 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2232 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2233 (__longjmp): Use LOAD_GP to load saved GPRs.
2234 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2235 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2236 (__sigsetjmp): Use SAVE_GP to save GPRs.
2238 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2239 Do not append -msoft-float.
2240 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2242 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2244 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2246 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2249 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2250 (_FPU_GETCW): Use initial "__" on variable and field names but not
2251 on macro parameter name.
2252 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2253 parentheses around reference to macro parameter.
2255 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2257 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2259 (ctype_startup): Use uint32_t in cast and sizeof for
2262 2013-09-11 Jia Liu <proljc@gmail.com>
2264 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2266 [__FreeBSD__]: Likewise.
2268 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2271 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2272 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2273 (strchr): Remove __strchr_sse42 ifunc selection.
2274 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2275 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2277 2013-09-11 Will Newton <will.newton@linaro.org>
2279 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2280 parameter to RES. Remove hardcoded 1000 value.
2281 * benchtests/bench-skeleton.c (main): Pass RES parameter
2282 to TIMING_INIT and multiply result by 1000.
2284 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2288 2013-09-11 Andreas Schwab <schwab@suse.de>
2290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2292 (O_TMPFILE) [__USE_GNU]: Define.
2293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2296 2013-09-11 Will Newton <will.newton@linaro.org>
2299 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2302 2013-09-11 Will Newton <will.newton@linaro.org>
2305 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2308 2013-09-11 Will Newton <will.newton@linaro.org>
2311 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2314 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2316 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2322 2013-09-10 Allan McRae <allan@archlinux.org>
2325 * manual/arith.texi (Parsing of Floats): Clarify
2329 * manual/install.texi (Running make install): Mention
2331 * INSTALL: Regenerated.
2333 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2335 * csu/init-first.c (_init): Remove the !SHARED condition around
2336 FPU control word initialization.
2337 * elf/dl-support.c (_dl_fpu_control): New variable.
2338 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2339 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2340 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2341 * math/test-fpucw-static.c: New file.
2342 * math/test-fpucw-ieee.c: New file.
2343 * math/test-fpucw-ieee-static.c: New file.
2344 * math/Makefile (tests): Add `test-fpucw-ieee' and
2346 (tests-static): New variable.
2347 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2349 [($(build-shared),yes)]
2350 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2352 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2355 2013-09-09 Allan McRae <allan@archlinux.org>
2358 * manual/string.texi (Collation Functions): Fix typo in
2360 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2363 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2366 * libio/memstream.c (open_memstream): Fix memory leak.
2367 * libio/wmemstream.c (open_wmemstream): Likewise.
2370 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2372 2013-09-09 Will Newton <will.newton@linaro.org>
2374 * malloc/Makefile: Add tst-realloc to tests.
2375 * malloc/tst-realloc.c: New file.
2377 2013-09-09 Allan McRae <allan@archlinux.org>
2380 * COPYING: Update from GNU website to fix FSF address.
2381 * COPYING.LIB: Likewise.
2383 2013-09-06 David S. Miller <davem@davemloft.net>
2385 * po/zh_TW.po: Update Chinese (traditional) translation from
2386 translation project.
2388 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2389 Joseph Myers <joseph@codesourcery.com>
2391 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2393 (obstack_chunk_alloc): New macro.
2394 (obstack_chunk_free): Likewise.
2395 (record_offset): New function.
2396 (init_locale_data): Likewise.
2397 (align_locale_data): Likewise.
2398 (add_locale_empty): Likewise.
2399 (add_locale_raw_data): Likewise.
2400 (add_locale_raw_obstack): Likewise.
2401 (add_locale_string): Likewise.
2402 (add_locale_wstring): Likewise.
2403 (add_locale_uint32): Likewise.
2404 (add_locale_uint32_array): Likewise.
2405 (add_locale_char): Likewise.
2406 (start_locale_structure): Likewise.
2407 (end_locale_structure): Likewise.
2408 (start_locale_prelude): Likewise.
2409 (end_locale_prelude): Likewise.
2410 (write_locale_data): Take locale_file structure rather than an
2412 * locale/programs/locfile.h: Include "obstack.h".
2413 (struct locale_file): Change to store locale file contents instead
2415 (init_locale_data): New prototype.
2416 (align_locale_data): Likewise.
2417 (add_locale_empty): Likewise.
2418 (add_locale_raw_data): Likewise.
2419 (add_locale_raw_obstack): Likewise.
2420 (add_locale_string): Likewise.
2421 (add_locale_wstring): Likewise.
2422 (add_locale_uint32): Likewise.
2423 (add_locale_uint32_array): Likewise.
2424 (add_locale_char): Likewise.
2425 (start_locale_structure): Likewise.
2426 (end_locale_structure): Likewise.
2427 (start_locale_prelude): Likewise.
2428 (end_locale_prelude): Likewise.
2429 (write_locale_data): Update prototype.
2430 * locale/programs/3level.h (struct TABLE): Remove result field.
2431 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2432 Use new locale_file interface.
2433 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2434 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2435 * locale/programs/ld-address.c (address_output): Use new
2436 locale_file interface.
2437 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2439 (collate_finish): Don't call collseq_table_finalize.
2440 (collate_output): Use new locale_file interface.
2441 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2443 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2444 (TABLE): Move defines earlier in file.
2445 (ELEMENT): Likewise.
2446 (DEFAULT): Likewise.
2447 (wctrans_table_add): Move macro and inline function earlier in
2449 (struct wctype_table): Move type earlier in file.
2450 (add_locale_wctype_table): New static prototype.
2451 (struct locale_ctype_t): Use logical types instead of struct iovec
2452 pointers for members.
2453 (ctype_output): Use new locale_file interface.
2454 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2455 new locale_file interface.
2456 (allocate_arrays): Update for use of new locale_file interface.
2457 * locale/programs/ld-identification.c (identification_output): Use
2458 new locale_file interface.
2459 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2460 * locale/programs/ld-messages.c (messages_output): Likewise.
2461 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2462 * locale/programs/ld-name.c (name_output): Likewise.
2463 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2464 * locale/programs/ld-paper.c (paper_output): Likewise.
2465 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2466 * locale/programs/ld-time.c (time_output): Likewise.
2468 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2470 * benchtests/Makefile: Add memrchr benchmark.
2471 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2472 benchmark as memrchr.
2473 * benchtests/bench-memrchr-ifunc.c: New file.
2474 * benchtests/bench-memrchr.c: New file.
2476 2013-09-06 Will Newton <will.newton@linaro.org>
2478 * benchtests/Makefile (string-bench): Add memcpy.
2480 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2481 Cong Wang <amwang@redhat.com>
2483 * sysdeps/unix/sysv/linux/bits/in.h
2484 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2485 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2486 before __USE_KERNEL_IPV6_DEFS uses.
2487 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2489 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2490 sockaddr_in6, or ipv6_mreq.
2492 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2494 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2495 memory access for final bytes in some large inputs.
2496 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2498 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500 * string/test-memrchr.c: New file.
2501 * string/test-memrchr-ifunc.c: New file.
2502 * string/Makefile: Add new memrchr testcase.
2504 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2506 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2507 fanotify_init returns EPERM.
2509 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2511 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2513 (top level): Treat second token from macro or constant entries for
2514 allowed headers as allowed.
2515 * include/complex.h: Condition internal declarations on
2517 * include/fenv.h: Condition include of <stdbool.h> and internal
2518 declarations on [!_ISOMAC].
2520 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2523 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2525 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2527 * configure.in (--enable-versioning): Remove configure option.
2528 (libc_cv_asm_symver_directive): Remove configure test.
2529 (libc_cv_ld_version_script_option): Likewise.
2530 (VERSIONING): Remove variable and AC_SUBST.
2531 (DO_VERSIONING): Remove AC_DEFINE.
2532 * configure: Regenerated.
2533 * config.h.in (DO_VERSIONING): Remove macro.
2534 * Makerules [$(versioning) = yes]: Change conditionals to
2535 [$(build-shared) = yes].
2536 * config.make.in (versioning): Remove variable.
2537 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2538 [$(build-shared) = yes].
2539 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2540 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2541 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2542 [$(build-shared) = yes].
2543 * extra-lib.mk [$(versioning) = yes]: Likewise.
2544 * hurd/Makefile [$(versioning) = yes]: Likewise.
2545 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2547 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2549 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2550 [SHARED && !NO_HIDDEN].
2551 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2553 [SHARED && DO_VERSIONING]: Likewise..
2554 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2555 [$(build-shared) = yes].
2556 * manual/install.texi (--disable-versioning): Remove
2558 * INSTALL: Regenerated.
2559 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2561 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2562 [$(build-shared) = yes].
2563 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2564 * sysdeps/i386/i686/multiarch/strstr-c.c
2565 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2566 [SHARED && !NO_HIDDEN].
2567 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2568 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2569 * sysdeps/powerpc/powerpc32/dl-machine.c
2570 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2571 * sysdeps/powerpc/powerpc32/sysdep.h
2572 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2573 to [SHARED && PIC && !NO_HIDDEN].
2574 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2575 conditional to [SHARED].
2577 2013-09-04 Will Newton <will.newton@linaro.org>
2579 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2580 * benchtests/bench-string.h: Include bench-timing.h instead
2581 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2582 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2583 call to HP_TIMING_DIFF_INIT.
2584 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2585 instead of hp-timing.h macros.
2586 * benchtests/bench-memchr.c: Likewise.
2587 * benchtests/bench-memcmp.c: Likewise.
2588 * benchtests/bench-memcpy.c: Likewise.
2589 * benchtests/bench-memmem.c: Likewise.
2590 * benchtests/bench-memmove.c: Likewise.
2591 * benchtests/bench-memset.c: Likewise.
2592 * benchtests/bench-rawmemchr.c: Likewise.
2593 * benchtests/bench-strcasecmp.c: Likewise.
2594 * benchtests/bench-strcasestr.c: Likewise.
2595 * benchtests/bench-strcat.c: Likewise.
2596 * benchtests/bench-strchr.c: Likewise.
2597 * benchtests/bench-strcmp.c: Likewise.
2598 * benchtests/bench-strcpy.c: Likewise.
2599 * benchtests/bench-strcpy_chk.c: Likewise.
2600 * benchtests/bench-strlen.c: Likewise.
2601 * benchtests/bench-strncasecmp.c: Likewise.
2602 * benchtests/bench-strncat.c: Likewise.
2603 * benchtests/bench-strncmp.c: Likewise.
2604 * benchtests/bench-strncpy.c: Likewise.
2605 * benchtests/bench-strnlen.c: Likewise.
2606 * benchtests/bench-strpbrk.c: Likewise.
2607 * benchtests/bench-strrchr.c: Likewise.
2608 * benchtests/bench-strspn.c: Likewise.
2609 * benchtests/bench-strstr.c: Likewise.
2611 2013-09-04 Will Newton <will.newton@linaro.org>
2613 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2615 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2618 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2619 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2620 * math/libm-test.inc (lgamma_test_data): Add more tests.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2626 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2630 Add strcmp-sse2-unaligned
2631 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2633 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2635 * Versions.def (libc): Add GLIBC_2.19.
2637 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2639 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2642 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2645 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2646 intermediate calculations in recurrence.
2647 (__ieee754_ynf): Likewise.
2648 * math/libm-test.inc (jn_test_data): Do not allow spurious
2649 underflow exception. Add more tests.
2650 (yn_test_data): Add more tests.
2651 * sysdeps/i386/fpu/libm-test-ulps: Update.
2652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2654 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2658 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2660 * csu/init-first.c: Fix then/than typos.
2661 * locale/programs/ld-collate.c: Likewise.
2662 * locale/programs/linereader.h: Likewise.
2663 * manual/charset.texi: Likewise.
2664 * manual/filesys.texi: Likewise.
2665 * manual/stdio.texi: Likewise.
2666 * manual/string.texi: Likewise.
2667 * stdlib/fmtmsg.c: Likewise.
2668 * sysdeps/i386/stpncpy.S: Likewise.
2669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2670 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2672 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2674 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2676 * elf/dl-open.c: Fix typos.
2677 * iconvdata/gbbig5.c: Likewise.
2678 * iconvdata/iso-2022-jp.c: Likewise.
2679 * iconv/gconv_int.h: Likewise.
2680 * iconv/loop.c: Likewise.
2681 * nis/rpcsvc/nis.h: Likewise.
2682 * resolv/ns_name.c: Likewise.
2683 * stdio-common/vfscanf.c: Likewise.
2684 * streams/stropts.h: Likewise.
2685 * sunrpc/rpc_thread.c: Likewise.
2686 * sysdeps/i386/strpbrk.S: Likewise.
2687 * sysdeps/ieee754/k_standard.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2690 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2691 * sysdeps/mach/hurd/profil.c: Likewise.
2692 * sysdeps/s390/dl-procinfo.h: Likewise.
2693 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2694 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2696 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2699 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2701 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2704 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2706 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2708 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2713 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2715 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2717 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2718 Roland McGrath <roland@hack.frob.com>
2720 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2721 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2723 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2725 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2726 __executable_start symbol instead of _start.
2728 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2730 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2731 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2733 * sysdeps/gnu/ldsodefs.h: ... this new file.
2735 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2736 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2737 instead of ELFOSABI_LINUX.
2739 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2740 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2741 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2742 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2744 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2745 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2748 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2749 (ibm_extended_long_double): Add ieee_nan member.
2750 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2751 (do_test): New function.
2753 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2755 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2756 functions, renamed from truncdfsf_test, trunctfsf_test,
2758 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2760 (do_test): Run all these.
2762 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2764 * argp/argp-help.c: Fix typos.
2765 * argp/argp-parse.c: Likewise.
2766 * debug/backtracesyms.c: Likewise.
2767 * elf/elf.h: Likewise.
2768 * malloc/malloc.c: Likewise.
2769 * nis/nis_print.c: Likewise.
2770 * resolv/res_comp.c: Likewise.
2771 * stdlib/stdlib.h: Likewise.
2772 * sunrpc/clnt_tcp.c: Likewise.
2773 * sunrpc/clnt_udp.c: Likewise.
2774 * sunrpc/clnt_unix.c: Likewise.
2775 * sysdeps/unix/bsd/ptsname.c: Likewise.
2776 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2784 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2786 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2788 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2791 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2794 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2795 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2796 ($(objpfx)bug-dl-leaf): New rule.
2797 ($(objpfx)bug-dl-leaf.so): Likewise.
2798 ($(objpfx)bug-dl-leaf.out): Likewise.
2799 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2800 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2801 * dlfcn/bug-dl-leaf.c: New test.
2802 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2803 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2804 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2805 (dlclose): Likewise.
2806 (dlmopen): Likewise.
2808 2013-08-27 Roland McGrath <roland@hack.frob.com>
2810 * include/netdb.h [!_ISOMAC]:
2811 Don't include <tls.h>.
2812 (h_errno, __libc_h_errno): Move declaration and macros out of
2815 * include/resolv.h [_RESOLV_H_]:
2816 Don't include <tls.h>.
2817 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2818 * resolv/res_libc.c: Don't include <tls.h>.
2819 (_res): Use __attribute__ ((nocommon)) in place of
2820 __attribute__ ((section (".bss"))).
2822 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2823 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2825 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2827 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2828 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2830 * resolv/res_mkquery.c: Include <sys/time.h>.
2832 * inet/ifreq.c: Moved to ...
2833 * sysdeps/unix/ifreq.c: ... here.
2834 * inet/ifreq.c: New file, true stub version.
2836 * socket/sa_len.c: New file.
2837 * socket/Makefile (aux): Add it.
2838 * sysdeps/unix/sysv/linux/Makefile
2839 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2840 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2841 and #include <socket/sa_len.c>.
2842 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2843 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2846 * bits/socket.h: ... here.
2848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2849 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2850 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2852 2013-08-27 Andreas Schwab <schwab@suse.de>
2855 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2856 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2857 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2858 * string/test-strcasecmp.c (test_main): Run tests in several
2860 * string/test-strncasecmp.c (test_main): Likewise.
2862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2863 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2864 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2866 (__strncasecmp_ssse3) [PIC]: Likewise.
2868 2013-08-26 Roland McGrath <roland@hack.frob.com>
2870 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2872 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2873 instead of explicitly declaring xdecrypt.
2874 * nis/nss_nis/nis-publickey.c: Likewise.
2876 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2879 * nscd/aicache.c: Include res_hconf.h.
2880 (addhstaiX): Initialize res_hconf.
2882 2013-08-26 Andreas Schwab <schwab@suse.de>
2884 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2885 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2887 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2889 * nscd/aicache.c (addhstaiX): Fix indentation.
2891 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2893 * configure.ac: Quote $build_pt_chown test.
2894 * configure: Regenerated.
2896 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2899 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2900 * math/s_cexpf.c (__cexpf): Likewise.
2901 * math/s_cexpl.c (__cexpl): Likewise.
2902 * math/libm-test.inc (cexp_test_data): Correct expected return
2903 value for NaN + i0. Add another test.
2905 2013-08-22 David S. Miller <davem@davemloft.net>
2907 * po/ca.po: Update Catalan translation from translation project.
2908 * po/uk.po: Add Ukrainian translations from translation project.
2910 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2913 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2914 is infinite, not alongside NaN test.
2915 * math/s_fdimf.c (__fdimf): Likewise.
2916 * math/s_fdiml.c (__fdiml): Likewise.
2917 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2920 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2922 * argp/argp-help.c: Fix typos.
2923 * crypt/speeds.c: Likewise.
2924 * csu/check_fds.c: Likewise.
2925 * elf/dl-load.c: Likewise.
2926 * elf/dl-open.c: Likewise.
2927 * elf/reldep3.c: Likewise.
2928 * elf/reldep.c: Likewise.
2929 * elf/sprof.c: Likewise.
2930 * iconv/iconv_charmap.c: Likewise.
2931 * iconv/skeleton.c: Likewise.
2932 * iconv/strtab.c: Likewise.
2933 * io/lockf64.c: Likewise.
2934 * libio/libioP.h: Likewise.
2935 * resolv/gai_notify.c: Likewise.
2936 * resolv/ns_name.c: Likewise.
2937 * resolv/ns_samedomain.c: Likewise.
2938 * resolv/res_send.c: Likewise.
2939 * stdlib/random.c: Likewise.
2940 * sunrpc/rpc/xdr.h: Likewise.
2941 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2943 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2944 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2949 * sysdeps/mach/hurd/check_fds.c: Likewise.
2950 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2951 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2953 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2954 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2955 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2956 * sysdeps/pthread/aio_notify.c: Likewise.
2957 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2958 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2959 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2960 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2961 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2963 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2965 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2966 version if bit_Slow_SSE4_2 is set.
2967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2968 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2970 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2974 trampoline stack frame information.
2975 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2976 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2977 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2978 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2979 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2980 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2981 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2982 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2984 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2985 interrupting a syscall and set with option SA_SIGINFO.
2987 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2990 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2991 argument is infinite.
2992 * math/s_cprojf.c (__cprojf): Likewise.
2993 * math/s_cprojl.c (__cprojl): Likewise.
2994 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2995 * math/libm-test.inc (cproj_test_data): Add more tests.
2997 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2999 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3000 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3001 size. Use __ffs to determine corresponding shift.
3003 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3004 Roland McGrath <roland@hack.frob.com>
3006 * Makefile (INSTALL): Remove trailing blank lines from output of
3009 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3011 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3012 Align 32 bit compat elf_greg to 8 bytes.
3014 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3016 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3018 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3020 * string/strcoll_l.c (coll_seq): New structure.
3021 (get_next_seq_cached): New function.
3022 (get_next_seq): New function.
3023 (do_compare): New function.
3024 (STRCOLL): Use GNU style definition. Simplify implementation
3025 by using get_next_seq, get_next_seq_cached and do_compare.
3027 2013-08-16 Florian Weimer <fweimer@redhat.com>
3031 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3033 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3035 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3036 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3037 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3039 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3040 GETDENTS_64BIT_ALIGNED.
3041 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3042 * manual/filesys.texi (Reading/Closing Directory): Document
3043 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3045 * manual/conf.texi (Limits for Files): Add portability note to
3047 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3049 2013-08-13 Andreas Schwab <schwab@suse.de>
3052 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3054 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3055 LDBL_MAX_EXP >= 16384]: Add tests for it.
3057 2013-08-12 David S. Miller <davem@davemloft.net>
3059 * version.h (RELEASE): Set to "development".
3060 (VERSION): Set to "2.18.90".
3061 * NEWS: Add 2.19 section.
3063 2013-08-03 David S. Miller <davem@davemloft.net>
3065 * po/ko.po: Update Korean translation from translation project.
3067 2013-08-01 David S. Miller <davem@davemloft.net>
3069 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3070 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3073 2013-07-30 David S. Miller <davem@davemloft.net>
3075 * po/fr.po: Update French translation from translation project.
3077 2013-07-28 David S. Miller <davem@davemloft.net>
3079 * po/cs.po: Update Czech translation from translation project.
3081 * po/sv.po: Update Swedish translation from translation project.
3083 2013-07-27 David S. Miller <davem@davemloft.net>
3085 * po/eo.po: Update Esperanto translation from translation project.
3087 * po/vi.po: Update Vietnamese translation from translation project.
3089 * po/de.po: Update German translation from translation project.
3091 2013-07-26 David S. Miller <davem@davemloft.net>
3093 * po/bg.po: Update Bulgarian translation from translation project.
3095 * po/nl.po: Update Dutch translation from translation project.
3096 * po/pl.po: Update Polish translation from translation project.
3097 * po/ru.po: Update Russian translation from translation project.
3099 2013-07-24 David S. Miller <davem@davemloft.net>
3101 * po/libc.pot: Update.
3103 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3107 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3109 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3111 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3113 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3115 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3116 Andreas Schwab <schwab@suse.de>
3117 Roland McGrath <roland@hack.frob.com>
3118 Joseph Myers <joseph@codesourcery.com>
3119 Carlos O'Donell <carlos@redhat.com>
3122 * config.h.in: Define HAVE_PT_CHOWN.
3123 * config.make.in (build-pt-chown): New variable.
3124 * configure.in (--enable-pt_chown): New configure option.
3125 * configure: Regenerate.
3126 * login/Makefile: Include Makeconfig. Build pt_chown only if
3127 build-pt-chown is enabled.
3128 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3129 pt_chown to fix pty ownership.
3130 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3132 * manual/install.texi (Configuring and compiling): Mention
3133 --enable-pt_chown. Add @findex for grantpt.
3134 * INSTALL: Regenerate.
3136 2013-07-20 David S. Miller <davem@davemloft.net>
3138 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3139 difference between 32-bit and 64-bit.
3141 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3144 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3145 Avoid system header dependency with -ffreestanding.
3146 ($(objpfx)bits/syscall%d): Likewise.
3148 2013-07-13 David S. Miller <davem@davemloft.net>
3150 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3151 underflows from atanl/atan2l due to bug 15319.
3152 (casinh_test_data): Likewise.
3154 2013-07-07 David S. Miller <davem@davemloft.net>
3156 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3158 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3160 * sysdeps/i386/fpu/libm-test-ulps: Update.
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3165 * configure.in (--enable-lock-elision): Fix message text.
3166 * INSTALL: Regenerate.
3167 * configure: Regenerate.
3169 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3173 2013-07-03 Andreas Jaeger <aj@suse.de>
3175 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3177 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3178 (ptrace_peeksiginfo_args): Add.
3179 (__ptrace_peeksiginfo_flags): Add.
3180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3184 2013-07-03 Allan McRae <allan@archlinux.org>
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3188 2013-07-02 David S. Miller <davem@davemloft.net>
3190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3192 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3196 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3198 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3201 2013-07-02 Andi Kleen <ak@linux.intel.com>
3203 * config.h.in (ENABLE_LOCK_ELISION): Add.
3204 * configure.in (--enable-lock-elision): Add option.
3205 * manual/install.texi: Document --enable lock elision.
3206 * configure: Regenerate
3207 * INSTALL: Regenerate.
3209 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3211 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3212 SSE4.2 strcasecmp for libc.a.
3213 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3215 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3218 * soft-fp/op-common.h (_FP_FMA): New macro.
3219 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3220 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3221 (_FP_MUL_MEAT_1_imm): ... here.
3222 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3223 (_FP_MUL_MEAT_1_wide): ... here.
3224 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3225 (_FP_MUL_MEAT_1_hard): ... here.
3226 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3227 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3228 (_FP_MUL_MEAT_2_wide): ... here.
3229 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3230 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3231 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3232 (_FP_MUL_MEAT_2_gmp): ... here.
3233 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3234 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3235 (_FP_MUL_MEAT_4_wide): ... here.
3236 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3237 (_FP_MUL_MEAT_4_gmp): ... here.
3238 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3239 (_FP_WFRACBITS_DW_S): Likewise.
3240 (_FP_WFRACXBITS_DW_S): Likewise.
3241 (_FP_HIGHBIT_DW_S): Likewise.
3242 (FP_FMA_S): Likewise.
3243 (_FP_FRAC_HIGH_DW_S): Likewise.
3244 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3245 (_FP_WFRACBITS_DW_D): Likewise.
3246 (_FP_WFRACXBITS_DW_D): Likewise.
3247 (_FP_HIGHBIT_DW_D): Likewise.
3248 (FP_FMA_D): Likewise.
3249 (_FP_FRAC_HIGH_DW_D): Likewise.
3250 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3251 (_FP_WFRACBITS_DW_E): Likewise.
3252 (_FP_WFRACXBITS_DW_E): Likewise.
3253 (_FP_HIGHBIT_DW_E): Likewise.
3254 (FP_FMA_E): Likewise.
3255 (_FP_FRAC_HIGH_DW_E): Likewise.
3256 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3257 (_FP_WFRACBITS_DW_Q): Likewise.
3258 (_FP_WFRACXBITS_DW_Q): Likewise.
3259 (_FP_HIGHBIT_DW_Q): Likewise.
3260 (FP_FMA_Q): Likewise.
3261 (_FP_FRAC_HIGH_DW_Q): Likewise.
3262 * soft-fp/fmasf4.c: New file.
3263 * soft-fp/fmadf4.c: Likewise.
3264 * soft-fp/fmatf4.c: Likewise.
3266 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3269 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3271 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3273 (index_Slow_SSE4_2): Likewise.
3274 (index_Prefer_PMINUB_for_stringop): Likewise.
3275 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3276 bit_Slow_SSE4_2 is set.
3277 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3278 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3280 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3282 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3283 rtld_global._dl_hwcap2.
3284 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3287 POWER8 feature descriptions defined in _dl_hwcap2.
3288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3289 string handling for POWER8 feature bits.
3290 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3291 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3292 _dl_powerpc_cap_flags.
3293 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3294 * sysdeps/powerpc/rtld-global-offsets.sym
3295 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3296 _dl_hwcap2 in the rtld_global_ro structure.
3298 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3300 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3301 hardware capabilities in support of AT_HWCAP2.
3302 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3303 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3305 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3306 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3307 explicitly the unknown a_type display mechanism is used.
3308 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3309 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3311 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3312 to macro prototype for AT_HWCAP2 support.
3313 * sysdeps/i386/dl-procinfo.h: Likewise.
3314 * sysdeps/s390/dl-procinfo.h: Likewise.
3315 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3316 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3317 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3318 return -1 for unknown a_type display fallback.
3319 * sysdeps/sparc/dl-procinfo.h: Likewise.
3320 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3321 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3323 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3325 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3326 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3328 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3331 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3332 mprotect making __stack_prot writable.
3334 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3335 Joseph Myers <joseph@codesourcery.com>
3337 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3338 as being properly aligned.
3340 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3342 * dlfcn/modstatic5.c: New file.
3343 * dlfcn/tststatic5.c: New file.
3344 * dlfcn/Makefile (tests): Add tststatic5.
3345 (tests-static): Likewise.
3346 (modules-names): Add modstatic5.
3347 (tststatic5-ENV): New variable.
3348 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3351 * elf/dl-support.c (_dl_main_map): New variable.
3352 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3353 (_dl_nns, _dl_load_adds): Set to 1.
3354 (_dl_initial_searchlist): Refer to _dl_main_map.
3355 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3356 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3357 call to _dl_get_origin.
3358 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3360 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3361 * dlfcn/modstatic3.c: New file.
3362 * dlfcn/tststatic3.c: New file.
3363 * dlfcn/tststatic4.c: New file.
3364 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3365 (tests-static): Likewise.
3366 (modules-names): Add modstatic3.
3367 (tststatic3-ENV, tststatic4-ENV): New variables.
3368 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3369 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3371 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3373 * configure.in (CC): Require GCC version 4.4 or later.
3374 * configure: Regenerated.
3375 * manual/install.texi (Tools for Compilation): Update GCC version
3377 * INSTALL: Regenerated.
3379 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3382 * string/test-memcmp.c (check2): New.
3383 (main): Call check2.
3385 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3387 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3390 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3392 (dl_open_worker) [!SHARED]: ... here.
3394 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3396 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3398 2013-06-25 Richard Henderson <rth@redhat.com>
3400 * locale/programs/locarchive.c: Include <libc-internal.h>
3402 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3404 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3405 trailing whitespace removed.
3407 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3410 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3411 * locale/programs/locarchive.c: Include libc-mmap.h.
3412 (prepare_address_space): Take two new outputs (the mmap base and len).
3413 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3415 (create_archive): Declare new mmap base and len values for
3416 prepare_address_space, and store the result in ah.
3417 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3418 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3419 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3420 Declare new mmap base and len values for
3421 prepare_address_space, and store the result in new_ah.
3422 (open_archive): Declare new mmap base and len values for
3423 prepare_address_space, and store the result in ah.
3424 (close_archive): If ah->mmap_base is not NULL, use that and
3425 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3426 * sysdeps/generic/libc-mmap.h: New file.
3428 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3430 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3431 (ALIGN_UP): Likewise.
3432 (PTR_ALIGN_DOWN): Likewise.
3433 (PTR_ALIGN_UP): Likewise.
3435 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3437 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3438 entry mapped to PPC_PLATFORM_POWER8.
3439 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3441 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3442 (_dl_string_platform): Add case for exporting platform position for
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3445 search path to sysdeps/powerpc/powerpc32/power8 directory.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3447 search path to sysdeps/powerpc/powerpc64/power8 directory.
3448 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3450 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3453 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3455 * INSTALL: Regenerate.
3457 * nscd/connections.c (nscd_init): Fix comment.
3459 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3461 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3464 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3465 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3467 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3469 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3471 (DL_DST_REQ_STATIC): Remove macro.
3473 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3476 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3477 with a shift of 0 bits.
3479 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3481 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3484 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3487 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3489 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3491 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3492 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3493 accepts -fno-tree-loop-distribute-patterns.
3494 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3495 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3497 * string/memset.c (memset): Likewise.
3498 * string/test-memmove.c (simple_memmove): Disable loop transformation
3500 * string/test-memset.c (simple_memset): Likewise.
3501 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3502 * benchtests/bench-memset.c (simple_memset): Likewise.
3503 * configure: Regenerated.
3505 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3507 * math/test-misc.c (main): Ignore fesetround failure when failures
3508 of subsequent rounding tests would be ignored.
3511 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3512 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3513 * math/fegetenv.c (__fegetenv): Return 0.
3514 * math/fegetexcept.c (fegetexcept): Return 0.
3515 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3517 * math/feholdexcpt.c (feholdexcept): Return 0.
3518 * math/fesetenv.c (__fesetenv): Return 0.
3519 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3520 argument FE_TONEAREST.
3521 * math/feupdateenv.c (__feupdateenv): Return 0.
3522 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3524 2013-06-18 Roland McGrath <roland@hack.frob.com>
3526 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3527 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3528 ($(objpfx)rtld-%.os rules): Use them.
3530 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3535 2013-06-17 Roland McGrath <roland@hack.frob.com>
3537 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3538 length of target pattern, then descending length of dependency pattern.
3539 * configure.in (AWK): Require gawk 3.1.2 or newer.
3540 * manual/install.texi (Tools for Compilation): Say that we do.
3541 * configure: Regenerated.
3543 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3544 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3545 * scripts/sysd-rules.awk: ... this new script.
3546 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3547 than a glob-style pattern.
3549 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3551 * math/test-misc.c (main): Do not treat incorrectly rounded
3552 conversions as failure unless ROUNDING_TESTS passes.
3554 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3557 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3558 restore exception state around main square root computation, then
3559 check for inexactness explicitly.
3561 * math/libm-test.inc (fma_test_data): Add another test.
3563 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3565 * manual/threads.texi (Non-POSIX Extensions): New document
3566 node. Document pthread_getattr_default_np and
3567 pthread_setattr_default_np.
3569 * Versions.def (libpthread): Add GLIBC_2.18.
3570 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3579 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3590 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3593 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3595 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3596 H.J. Lu <hjl.tools@gmail.com>
3599 * sysdeps/x86_64/rtld-memset.c: Remove file.
3600 * sysdeps/x86_64/rtld-memset.S: New file.
3602 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3604 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3605 (test_in_one_mode): Take arguments for whether the rounding mode
3606 is supported for each floating-point type.
3607 (do_test): Pass new arguments to test_in_one_mode using
3610 2013-06-13 Roland McGrath <roland@hack.frob.com>
3612 * posix/tst-waitid.c (do_test): Distinguish different instances of
3613 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3614 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3615 before entering the kernel for waitpid.
3617 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3619 * NEWS: Fix note on clock function precision. Text by Roland
3622 2013-06-13 Roland McGrath <roland@hack.frob.com>
3624 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3625 it into place only when and if the sanity check passes.
3627 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3629 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3630 output for whether conversion result is exact. Take argument
3631 indicating whether type is IBM long double.
3632 (round_for_all): Change need_exact field to ibm_ld.
3633 * stdlib/tst-strtod-round.c (struct exactness): New type.
3634 (struct test): Change bool ld_ok field to struct exactness exact.
3635 (TEST): Update all definitions for change to field.
3636 (tests): Regenerate array contents.
3637 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3638 field value. Check for IBM long double here.
3639 (do_test): Update calls to test_in_one_mode.
3641 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3644 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3645 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3647 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3651 generated by the compiler on loop optimizations.
3652 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3653 general definitions.
3655 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3657 * math/bug-nextafter.c: Include <math-tests.h>.
3658 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3660 * math/bug-nexttoward.c: Include <math-tests.h>.
3661 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3663 * math/test-misc.c: Include <math-tests.h>.
3664 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3667 2013-06-12 Andreas Jaeger <aj@suse.de>
3669 * po/ia.po: Update Interlingua translation from translation
3672 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3674 * include/fenv.h: Include stdbool.h.
3675 (struct rm_ctx): New structure.
3676 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3678 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3679 (SET_RESTORE_ROUNDF): Likewise.
3680 (SET_RESTORE_ROUNDL): Likewise.
3681 (SET_RESTORE_ROUND_NOEX): Likewise.
3682 (SET_RESTORE_ROUND_NOEXF): Likewise.
3683 (SET_RESTORE_ROUND_NOEXL): Likewise.
3684 (SET_RESTORE_ROUND_53BIT): Likewise.
3685 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3686 (libc_feresetround_noexf_ctx): Likewise.
3687 (libc_feresetround_noexl_ctx): Likewise.
3688 (libc_feholdsetround_53bit_ctx): Likewise.
3689 (libc_feresetround_53bit_ctx): Likewise.
3690 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3691 (libc_feholdexcept_setround_sse_ctx): New function.
3692 (libc_fesetenv_sse_ctx): Likewise.
3693 (libc_feupdateenv_sse_ctx): Likewise.
3694 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3695 (libc_feholdexcept_setround_387_ctx): Likewise.
3696 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3697 (libc_feholdsetround_387_prec_ctx): Likewise.
3698 (libc_feholdsetround_387_ctx): Likewise.
3699 (libc_feholdsetround_387_53bit_ctx): Likewise.
3700 (libc_feholdsetround_sse_ctx): Likewise.
3701 (libc_feresetround_sse_ctx): Likewise.
3702 (libc_feresetround_387_ctx): Likewise.
3703 (libc_feupdateenv_387_ctx): Likewise.
3704 (libc_feholdexcept_setroundf_ctx): Define macro.
3705 (libc_fesetenvf_ctx): Likewise.
3706 (libc_feupdateenvf_ctx): Likewise.
3707 (libc_feholdsetroundf_ctx): Likewise.
3708 (libc_feresetroundf_ctx): Likewise.
3709 (libc_feholdexcept_setround_ctx): Likewise.
3710 (libc_fesetenv_ctx): Likewise.
3711 (libc_feupdateenv_ctx): Likewise.
3712 (libc_feholdsetround_ctx): Likewise.
3713 (libc_feresetround_ctx): Likewise.
3714 (libc_feholdexcept_setroundl_ctx): Likewise.
3715 (libc_feupdateenvl_ctx): Likewise.
3716 (libc_feholdsetroundl_ctx): Likewise.
3717 (libc_feresetroundl_ctx): Likewise.
3718 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3719 (libc_feresetround_53bit_ctx): Likewise.
3721 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3723 * locale/iso-639.def: Convert to UTF-8.
3725 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3727 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3728 (EXCEPTION_TESTS_double): Likewise.
3729 (EXCEPTION_TESTS_long_double): Likewise.
3730 (EXCEPTION_TESTS): Likewise.
3731 * math/libm-test.inc (test_exceptions): Only test exceptions if
3732 EXCEPTION_TESTS (FLOAT).
3734 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3736 * benchtests/Makefile (string-bench): Add strcpy_chk and
3738 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3739 * benchtests/bench-stpcpy_chk.c: New file.
3740 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3741 * benchtests/bench-strcpy_chk.c: New file.
3742 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3744 (do_test): Likewise.
3746 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3749 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3750 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3751 with tabs where appropriate.
3752 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3754 [PPC_PLATFORM_PPC440]: Likewise.
3755 [PPC_PLATFORM_PPC464]: Likewise.
3756 [PPC_PLATFORM_PPC476]: Likewise.
3757 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3758 ppc464, and ppc476 platform strings merging from ports/
3761 2013-06-11 Andreas Schwab <schwab@suse.de>
3764 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3765 (from_ucs4_idx): Regenerate.
3766 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3767 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3768 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3769 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3770 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3771 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3772 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3773 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3774 from FROM_LOOP and TO_LOOP specific macros.
3775 (BODY): Handle combining characters.
3776 * iconvdata/BIG5HKSCS.irreversible: Update.
3777 * iconvdata/BIG5HKSCS.precomposed: New file.
3778 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3780 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3782 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3784 * include/sys/time.h: Fix indentation and add copyright header.
3786 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3787 (do_test): Likewise.
3788 * string/test-memchr.c (do_one_test): Likewise.
3789 (do_test): Likewise.
3790 * string/test-memcmp.c (do_one_test): Likewise.
3791 (do_test): Likewise.
3792 * string/test-memcpy.c (do_one_test): Likewise.
3793 (do_test): Likewise.
3794 * string/test-memmem.c (do_one_test): Likewise.
3795 (do_test): Likewise.
3796 (do_random_tests): Likewise.
3797 * string/test-memmove.c (do_one_test): Likewise.
3798 (do_test): Likewise.
3799 * string/test-memset.c (do_one_test): Likewise.
3800 (do_test): Likewise.
3801 * string/test-rawmemchr.c (do_one_test): Likewise.
3802 (do_test): Likewise.
3803 * string/test-strcasecmp.c (do_one_test): Likewise.
3804 (do_test): Likewise.
3805 * string/test-strcasestr.c (do_one_test): Likewise.
3806 (do_test): Likewise.
3807 * string/test-strcat.c (do_one_test): Likewise.
3808 (do_test): Likewise.
3809 * string/test-strchr.c (do_one_test): Likewise.
3810 (do_test): Likewise.
3811 * string/test-strcmp.c (do_one_test): Likewise.
3812 (do_test): Likewise.
3813 * string/test-strcpy.c (do_one_test): Likewise.
3814 (do_test): Likewise.
3815 * string/test-string.h: Likewise.
3816 (test_init): Likewise.
3817 * string/test-strlen.c (do_one_test): Likewise.
3818 (do_test): Likewise.
3819 * string/test-strncasecmp.c (do_one_test): Likewise.
3820 (do_test): Likewise.
3821 * string/test-strncat.c (do_one_test): Likewise.
3822 (do_test): Likewise.
3823 * string/test-strncmp.c (do_one_test): Likewise.
3824 (do_test_limit): Likewise.
3825 (do_test): Likewise.
3826 * string/test-strncpy.c (do_one_test): Likewise.
3827 (do_test): Likewise.
3828 * string/test-strnlen.c (do_one_test): Likewise.
3829 (do_test): Likewise.
3830 * string/test-strpbrk.c (do_one_test): Likewise.
3831 (do_test): Likewise.
3832 * string/test-strrchr.c (do_one_test): Likewise.
3833 (do_test): Likewise.
3834 * string/test-strspn.c (do_one_test): Likewise.
3835 (do_test): Likewise.
3836 * string/test-strstr.c (do_one_test): Likewise.
3837 (do_test): Likewise.
3839 * benchtests/Makefile (string-bench): Add string benchmarks.
3840 * benchtests/bench-bcopy-ifunc.c: New file.
3841 * benchtests/bench-bcopy.c: New file.
3842 * benchtests/bench-bzero-ifunc.c: New file.
3843 * benchtests/bench-bzero.c: New file.
3844 * benchtests/bench-memccpy-ifunc.c: New file.
3845 * benchtests/bench-memccpy.c: New file.
3846 * benchtests/bench-memchr-ifunc.c: New file.
3847 * benchtests/bench-memchr.c: New file.
3848 * benchtests/bench-memcmp-ifunc.c: New file.
3849 * benchtests/bench-memcmp.c: New file.
3850 * benchtests/bench-memmem-ifunc.c: New file.
3851 * benchtests/bench-memmem.c: New file.
3852 * benchtests/bench-memmove-ifunc.c: New file.
3853 * benchtests/bench-memmove.c: New file.
3854 * benchtests/bench-mempcpy-ifunc.c: New file.
3855 * benchtests/bench-mempcpy.c: New file.
3856 * benchtests/bench-memset-ifunc.c: New file.
3857 * benchtests/bench-memset.c: New file.
3858 * benchtests/bench-rawmemchr-ifunc.c: New file.
3859 * benchtests/bench-rawmemchr.c: New file.
3860 * benchtests/bench-stpcpy-ifunc.c: New file.
3861 * benchtests/bench-stpcpy.c: New file.
3862 * benchtests/bench-stpncpy-ifunc.c: New file.
3863 * benchtests/bench-stpncpy.c: New file.
3864 * benchtests/bench-strcasecmp-ifunc.c: New file.
3865 * benchtests/bench-strcasecmp.c: New file.
3866 * benchtests/bench-strcasestr-ifunc.c: New file.
3867 * benchtests/bench-strcasestr.c: New file.
3868 * benchtests/bench-strcat-ifunc.c: New file.
3869 * benchtests/bench-strcat.c: New file.
3870 * benchtests/bench-strchr-ifunc.c: New file.
3871 * benchtests/bench-strchr.c: New file.
3872 * benchtests/bench-strchrnul-ifunc.c: New file.
3873 * benchtests/bench-strchrnul.c: New file.
3874 * benchtests/bench-strcmp-ifunc.c: New file.
3875 * benchtests/bench-strcmp.c: New file.
3876 * benchtests/bench-strcpy-ifunc.c: New file.
3877 * benchtests/bench-strcpy.c: New file.
3878 * benchtests/bench-strcspn-ifunc.c: New file.
3879 * benchtests/bench-strcspn.c: New file.
3880 * benchtests/bench-strlen-ifunc.c: New file.
3881 * benchtests/bench-strlen.c: New file.
3882 * benchtests/bench-strncasecmp-ifunc.c: New file.
3883 * benchtests/bench-strncasecmp.c: New file.
3884 * benchtests/bench-strncat-ifunc.c: New file.
3885 * benchtests/bench-strncat.c: New file.
3886 * benchtests/bench-strncmp-ifunc.c: New file.
3887 * benchtests/bench-strncmp.c: New file.
3888 * benchtests/bench-strncpy-ifunc.c: New file.
3889 * benchtests/bench-strncpy.c: New file.
3890 * benchtests/bench-strnlen-ifunc.c: New file.
3891 * benchtests/bench-strnlen.c: New file.
3892 * benchtests/bench-strpbrk-ifunc.c: New file.
3893 * benchtests/bench-strpbrk.c: New file.
3894 * benchtests/bench-strrchr-ifunc.c: New file.
3895 * benchtests/bench-strrchr.c: New file.
3896 * benchtests/bench-strspn-ifunc.c: New file.
3897 * benchtests/bench-strspn.c: New file.
3898 * benchtests/bench-strstr-ifunc.c: New file.
3899 * benchtests/bench-strstr.c: New file.
3901 * benchtests/Makefile: Disable parallel execution of targets.
3902 (string-bench): Add memcpy.
3903 (benchset): New variable to store a list of benchmark sets.
3904 (bench-func): Renamed from bench.
3905 (bench-set): New target.
3906 (bench): Depend on bench-func and bench-set.
3907 * benchtests/README: Add section on benchmark sets.
3908 * benchtests/bench-memcpy-ifunc.c: New file.
3909 * benchtests/bench-memcpy.c: New file.
3910 * benchtests/bench-string.h: New file.
3912 2013-06-11 Andreas Schwab <schwab@suse.de>
3915 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3916 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3917 values in the triple.
3918 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3919 terminator in the group key.
3921 2013-06-11 Andreas Jaeger <aj@suse.de>
3923 * po/zh_TW.po: Update Chinese (traditional) translation from
3924 translation project.
3926 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3928 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3929 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3930 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3932 (clock_getcpuclockid): Likewise.
3933 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3934 Add weak_alias and libc_hidden_def.
3935 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3936 * rt/clock_gettime.c (clock_gettime): Rename to
3937 __clock_gettime. Add weak_alias and libc_hidden_def.
3938 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3939 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3940 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3941 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3942 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3944 * rt/clock_settime.c (clock_settime): Rename to
3945 __clock_settime. Add weak_alias and libc_hidden_def.
3946 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3948 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3950 * mach/err_boot.sub: Remove trailing whitespace.
3951 * mach/err_ipc.sub: Likewise.
3952 * mach/err_mach.sub: Likewise.
3954 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3955 (ROUNDING_TESTS_double): Likewise.
3956 (ROUNDING_TESTS_long_double): Likewise.
3957 (ROUNDING_TESTS): Likewise.
3958 * math/libm-test.inc: Include <math-tests.h>.
3959 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3960 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3961 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3962 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3964 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3966 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3969 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3971 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3972 otherwise empty TRANS lines.
3973 * sysdeps/gnu/errlist.c: Regenerated.
3975 * catgets/gencat.c (error_print): Use (void) in function
3977 * crypt/crypt_util.c (__init_des): Likewise.
3978 * crypt/speeds.c (Stop): Likewise.
3980 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3981 * inet/ruserpass.c (token): Likewise.
3982 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3983 * intl/localealias.c (extend_alias_table): Likewise.
3984 * intl/plural-exp.c (init_germanic_plural): Likewise.
3985 * libio/fcloseall.c (__fcloseall): Likewise.
3986 * libio/genops.c (_IO_flush_all): Likewise.
3987 (_IO_flush_all_linebuffered): Likewise.
3988 (_IO_cleanup): Likewise.
3989 (_IO_iter_begin): Likewise.
3990 (_IO_iter_end): Likewise.
3991 (_IO_list_lock): Likewise.
3992 (_IO_list_unlock): Likewise.
3993 (_IO_list_resetlock): Likewise.
3994 * libio/getchar.c (getchar): Likewise.
3995 * libio/getchar_u.c (getchar_unlocked): Likewise.
3996 * libio/getwchar.c (getwchar): Likewise.
3997 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3998 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3999 * login/getpt.c (__getpt): Likewise.
4000 * login/tst-utmp.c (main): Likewise.
4001 * malloc/hooks.c (__malloc_check_init): Likewise.
4002 * malloc/malloc.c (__malloc_stats): Likewise.
4003 * malloc/mtrace.c (tr_break): Likewise.
4005 (muntrace): Likewise.
4006 * misc/fstab.c (endfsent): Likewise.
4007 * misc/getclktck.c (__getclktck): Likewise.
4008 * misc/getdtsz.c (__getdtablesize): Likewise.
4009 * misc/gethostid.c (gethostid): Likewise.
4010 * misc/getpagesize.c (__getpagesize): Likewise.
4011 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4012 (__get_nprocs): Likewise.
4013 (__get_phys_pages): Likewise.
4014 (__get_avphys_pages): Likewise.
4015 * misc/getttyent.c (getttyent): Likewise.
4016 (setttyent): Likewise.
4017 (endttyent): Likewise.
4018 * misc/getusershell.c (getusershell): Likewise.
4019 (endusershell): Likewise.
4020 (setusershell): Likewise.
4021 (initshells): Likewise.
4022 * misc/hsearch.c (__hdestroy): Likewise.
4023 * misc/sync.c (sync): Likewise.
4024 * misc/syslog.c (closelog_internal): Likewise.
4025 (closelog): Likewise.
4026 * misc/ttyslot.c (ttyslot): Likewise.
4027 * misc/vhangup.c (vhangup): Likewise.
4028 * posix/fork.c (__fork): Likewise.
4029 * posix/getegid.c (__getegid): Likewise.
4030 * posix/geteuid.c (__geteuid): Likewise.
4031 * posix/getgid.c (__getgid): Likewise.
4032 * posix/getpid.c (__getpid): Likewise.
4033 * posix/getppid.c (__getppid): Likewise.
4034 * posix/getuid.c (__getuid): Likewise.
4035 * posix/pause.c (pause): Likewise.
4036 * posix/setpgrp.c (setpgrp): Likewise.
4037 * posix/setsid.c (__setsid): Likewise.
4038 * posix/test-vfork.c (noop): Likewise.
4039 * resolv/gethnamaddr.c (_endhtent): Likewise.
4040 (_gethtent): Likewise.
4041 (ht_endhostent): Likewise.
4042 (gethostent): Likewise.
4043 (dns_service): Likewise.
4044 * stdlib/drand48.c (drand48): Likewise.
4045 * stdlib/lrand48.c (lrand48): Likewise.
4046 * stdlib/mrand48.c (mrand48): Likewise.
4047 * stdlib/rand.c (rand): Likewise.
4048 * stdlib/random.c (__random): Likewise.
4049 * stdlib/setenv.c (clearenv): Likewise.
4050 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4051 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4052 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4053 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4054 (__get_nprocs): Likewise.
4055 (__get_phys_pages): Likewise.
4056 (__get_avphys_pages): Likewise.
4057 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4058 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4059 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4060 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4061 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4062 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4063 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4064 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4065 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4066 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4067 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4068 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4069 * sysdeps/posix/clock.c (clock): Likewise.
4070 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4071 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4072 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4073 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4074 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4076 (__get_nprocs_conf): Likewise.
4077 (__get_phys_pages): Likewise.
4078 (__get_avphys_pages): Likewise.
4079 * time/clock.c (clock): Likewise.
4080 * time/tzset.c (__tzname_max): Likewise.
4082 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4084 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4085 (__bswap_32): Do not use "register".
4086 * crypt/crypt.c (_ufc_doit_r): Likewise.
4087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4088 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4089 * gmon/gmon.c (__monstartup): Likewise.
4090 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4091 * hurd/hurdmalloc.c (more_memory): Likewise.
4094 (realloc): Likewise.
4095 (malloc_fork_prepare): Likewise.
4096 (malloc_fork_parent): Likewise.
4097 (malloc_fork_child): Likewise.
4098 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4099 (_svcauth_des): Likewise.
4100 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4101 * inet/inet_net.c (inet_network): Likewise.
4102 * inet/inet_netof.c (inet_netof): Likewise.
4103 * inet/rcmd.c (__validuser2_sa): Likewise.
4104 * io/fts.c (fts_open): Likewise.
4105 (fts_load): Likewise.
4106 (fts_close): Likewise.
4107 (fts_read): Likewise.
4108 (fts_children): Likewise.
4109 (fts_build): Likewise.
4110 (fts_stat): Likewise.
4111 (fts_sort): Likewise.
4112 (fts_alloc): Likewise.
4113 (fts_lfree): Likewise.
4114 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4115 (_IO_file_xsgetn): Likewise.
4116 (_IO_file_xsgetn_mmap): Likewise.
4117 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4118 (_IO_cookie_write): Likewise.
4119 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4120 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4121 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4122 * malloc/obstack.c (_obstack_begin): Likewise.
4123 (_obstack_begin_1): Likewise.
4124 (_obstack_newchunk): Likewise.
4125 (_obstack_allocated_p): Likewise.
4126 (obstack_free): Likewise.
4127 (_obstack_memory_used): Likewise.
4128 * misc/getttyent.c (getttynam): Likewise.
4129 (getttyent): Likewise.
4132 * misc/getusershell.c (initshells): Likewise.
4133 * misc/syslog.c (__vsyslog_chk): Likewise.
4134 * misc/ttyslot.c (ttyslot): Likewise.
4135 * nis/nis_hash.c (__nis_hash): Likewise.
4136 * posix/fnmatch_loop.c (FCT): Likewise.
4137 * posix/getconf.c (print_all): Likewise.
4139 * posix/getopt.c (exchange): Likewise.
4140 * posix/glob.c (globfree): Likewise.
4141 (prefix_array): Likewise.
4142 (__glob_pattern_type): Likewise.
4143 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4144 (NS_GET32): Likewise.
4145 (NS_PUT16): Likewise.
4146 (NS_PUT32): Likewise.
4147 * resolv/gethnamaddr.c (getanswer): Likewise.
4148 (gethostbyname2): Likewise.
4149 (gethostbyaddr): Likewise.
4150 (_gethtent): Likewise.
4151 (_gethtbyname2): Likewise.
4152 (_gethtbyaddr): Likewise.
4153 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4154 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4155 * resolv/res_init.c (__res_vinit): Likewise.
4156 (net_mask): Likewise.
4157 * resolv/res_mkquery.c (outchar): Likewise.
4159 * stdio-common/printf_fp.c (outchar): Likewise.
4161 * stdio-common/printf_fphex.c (outchar): Likewise.
4163 * stdio-common/printf_size.c (outchar): Likewise.
4165 * stdio-common/test_rdwr.c (main): Likewise.
4166 * stdio-common/tfformat.c (matches): Likewise.
4167 * stdio-common/vfprintf.c (outchar): Likewise.
4168 (printf_unknown): Likewise.
4169 (buffered_vfprintf): Likewise.
4170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4171 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4172 (ReadFile): Likewise.
4173 * stdlib/qsort.c (SWAP): Likewise.
4174 (_quicksort): Likewise.
4175 * stdlib/setenv.c (__add_to_environ): Likewise.
4176 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4177 * stdlib/strtol_l.c (__strtol_l): Likewise.
4178 * stdlib/tst-strtod.c (main): Likewise.
4179 * stdlib/tst-strtol.c (main): Likewise.
4180 * stdlib/tst-strtoll.c (main): Likewise.
4181 * string/bits/string2.h (__strcmp_cc): Likewise.
4182 (__strcmp_cg): Likewise.
4183 (__strcspn_c1): Likewise.
4184 (__strcspn_c2): Likewise.
4185 (__strcspn_c3): Likewise.
4186 (__strspn_c1): Likewise.
4187 (__strspn_c2): Likewise.
4188 (__strspn_c3): Likewise.
4189 (__strsep_1c): Likewise.
4190 (__strsep_2c): Likewise.
4191 (__strsep_3c): Likewise.
4192 * string/memccpy.c (__memccpy): Likewise.
4193 * string/stpcpy.c (__stpcpy): Likewise.
4194 * string/strcmp.c (strcmp): Likewise.
4195 * string/strrchr.c (strrchr): Likewise.
4196 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4198 * sysdeps/mach/hurd/getcwd.c
4199 (_hurd_canonicalize_directory_name_internal): Likewise.
4200 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4201 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4202 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4203 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4204 Likewise, in both definitions.
4205 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4207 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4208 64] (__bswap_64): Likewise.
4209 * time/test_time.c (main): Likewise.
4210 * time/tzfile.c (__tzfile_read): Likewise.
4211 (__tzfile_compute): Likewise.
4212 * time/tzset.c (__tzset_parse_tz): Likewise.
4213 (tzset_internal): Likewise.
4214 (compute_change): Likewise.
4215 * wcsmbs/wcscat.c (__wcscat): Likewise.
4216 * wcsmbs/wcschr.c (wcschr): Likewise.
4217 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4218 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4219 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4220 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4221 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4222 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4223 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4224 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4225 * wcsmbs/wmemset.c (wmemset): Likewise.
4227 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4229 * scripts/config.guess: Update to version 2013-05-16.
4230 * scripts/config.sub: Update to version 2013-04-24.
4231 * scripts/install-sh: Update to version 2011-11-20.07.
4232 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4233 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4235 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4237 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4238 * elf/sln.c: Likewise.
4239 * hurd/hurd/ioctl.h: Likewise.
4240 * hurd/hurdmalloc.c: Likewise.
4241 * hurd/xattr.c: Likewise.
4242 * include/shlib-compat.h: Likewise.
4243 * inet/ruserpass.c: Likewise.
4244 * libio/iofgets_u.c: Likewise.
4245 * libio/iofgetws_u.c: Likewise.
4246 * locale/programs/ld-identification.c: Likewise.
4247 * locale/programs/ld-time.c: Likewise.
4248 * mach/msg-destroy.c: Likewise.
4249 * nss/nss_files/files-netgrp.c: Likewise.
4250 * resolv/res_data.c: Likewise.
4251 * soft-fp/op-1.h: Likewise.
4252 * soft-fp/op-2.h: Likewise.
4253 * soft-fp/op-4.h: Likewise.
4254 * soft-fp/op-common.h: Likewise.
4255 * stdio-common/printf_fphex.c: Likewise.
4256 * stdlib/strtod_l.c: Likewise.
4257 * sunrpc/rpc/clnt.h: Likewise.
4258 * sysdeps/generic/framestate.c: Likewise.
4259 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4260 * sysdeps/i386/bsd-setjmp.S: Likewise.
4261 * sysdeps/i386/__longjmp.S: Likewise.
4262 * sysdeps/i386/setjmp.S: Likewise.
4263 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4281 * sysdeps/ieee754/support.c: Likewise.
4282 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4283 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4284 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4285 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4286 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4287 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4288 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4289 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4290 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4291 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4292 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4293 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4294 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4295 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4296 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4297 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4298 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4301 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4303 * posix/transbug.c: Remove executable mode.
4305 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4307 * crypt/speeds.c: Remove trailing whitespace.
4308 * dlfcn/default.c: Likewise.
4309 * elf/ifuncdep2.c: Likewise.
4310 * elf/ifuncmain1.c: Likewise.
4311 * elf/ifuncmain1vis.c: Likewise.
4312 * elf/testobj.h: Likewise.
4313 * elf/tst-stackguard1.c: Likewise.
4314 * gmon/sys/gmon.h: Likewise.
4315 * hurd/hurdmsg.c: Likewise.
4316 * hurd/new-fd.c: Likewise.
4317 * hurd/ports-get.c: Likewise.
4318 * iconvdata/ibm1008_420.c: Likewise.
4319 * inet/tst-getni1.c: Likewise.
4320 * inet/tst-getni2.c: Likewise.
4321 * libio/ioungetc.c: Likewise.
4322 * libio/wfiledoalloc.c: Likewise.
4323 * manual/libm-err-tab.pl: Likewise.
4324 * math/w_dremf.c: Likewise.
4325 * misc/ftruncate.c: Likewise.
4326 * posix/bug-glob2.c: Likewise.
4327 * posix/tst-pcre.c: Likewise.
4328 * posix/wait4.c: Likewise.
4329 * resolv/README: Likewise.
4330 * resolv/res_debug.h: Likewise.
4331 * resolv/tst-inet_ntop.c: Likewise.
4332 * setjmp/bug269-setjmp.c: Likewise.
4333 * soft-fp/extended.h: Likewise.
4334 * soft-fp/op-1.h: Likewise.
4335 * soft-fp/op-2.h: Likewise.
4336 * soft-fp/op-4.h: Likewise.
4337 * soft-fp/op-8.h: Likewise.
4338 * soft-fp/testit.c: Likewise.
4339 * stdio-common/bug16.c: Likewise.
4340 * stdlib/random.c: Likewise.
4341 * sunrpc/rpcsvc/rquota.x: Likewise.
4342 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4343 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4345 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4347 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4348 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4371 * sysdeps/ieee754/s_lib_version.c: Likewise.
4372 * sysdeps/mach/hurd/check_fds.c: Likewise.
4373 * sysdeps/mach/hurd/getsockname.c: Likewise.
4374 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4375 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4376 * sysdeps/powerpc/bits/link.h: Likewise.
4377 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4378 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4379 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4380 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4381 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4382 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4383 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4384 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4385 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4386 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4387 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4388 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4389 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4390 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4391 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4392 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4394 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4397 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4402 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4404 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4405 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4407 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4410 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4411 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4412 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4413 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4414 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4415 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4418 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4419 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4420 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4421 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4422 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4423 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4424 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4425 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4426 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4431 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4432 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4433 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4434 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4437 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4438 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4441 * sysdeps/powerpc/sysdep.h: Likewise.
4442 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4443 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4444 * sysdeps/sh/dl-trampoline.S: Likewise.
4445 * sysdeps/sh/memset.S: Likewise.
4446 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4447 * sysdeps/sh/strlen.S: Likewise.
4448 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4449 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4450 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4451 * sysdeps/sparc/sparc32/rem.S: Likewise.
4452 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4453 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4454 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4455 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4456 * sysdeps/sparc/sparc32/urem.S: Likewise.
4457 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4458 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4459 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4460 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4462 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4463 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4464 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4465 * sysdeps/unix/bsd/times.c: Likewise.
4466 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4467 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4472 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4473 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4474 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4475 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4476 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4477 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4478 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4479 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4480 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4481 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4482 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4483 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4484 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4485 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4486 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4487 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4488 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4489 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4490 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4491 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4492 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4494 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4495 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4496 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4497 * sysdeps/x86_64/strcspn.S: Likewise.
4499 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4501 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4502 generated file. Regenerate properly from gen-translit.pl.
4503 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4504 locale/C-translit.h.
4506 2013-06-05 Andreas Schwab <schwab@suse.de>
4509 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4510 week as 6 instead of -1.
4511 * time/tst-strptime.c (day_tests): Add test case.
4513 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4515 * sysdeps/generic/math_private.h
4516 (libc_feholdexcept_setround_53bit): Replace with
4517 libc_feholdsetround_53bit.
4518 (libc_feupdateenv_53bit): Replace with
4519 libc_feresetround_53bit.
4520 (SET_RESTORE_ROUND_53BIT): Adjust.
4522 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4524 * string/test-strchrnul.c: Add copyright header.
4526 * posix/tst-getaddrinfo4.c: Increase test timeout.
4528 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4531 * math/libm-test.inc (MAX_EXP): Remove
4533 (ulp): Use MIN_EXP - MANT_DIG.
4534 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4536 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4538 * po/be.po: Revert last change.
4539 * po/zh_CN.po: Likewise.
4540 * po/header.pot: Likewise.
4542 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4544 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4545 link-libc-deps to empty as target-specific variable.
4546 * Makerules (link-libc-args): New variable.
4547 (libc-for-link): Likewise.
4548 (link-libc-deps): Likewise.
4549 (lib%.so): Depend on $(link-libc-deps). Link with
4551 (build-module): Link with $(link-libc-args).
4552 (build-module-asneeded): Likewise.
4553 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4555 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4556 target-specific variable.
4557 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4558 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4559 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4561 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4563 ($(objpfx)libpcprofile.so): Likewise.
4564 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4566 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4567 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4568 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4570 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4571 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4572 * login/Makefile ($(objpfx)libutil.so): Likewise.
4573 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4574 * math/Makefile ($(objpfx)libm.so): Likewise.
4575 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4576 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4577 variable instead of depending directly on libc.
4578 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4579 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4581 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4583 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4584 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4585 ($(objpfx)libanl.so): Likewise.
4586 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4588 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4590 * sysdeps/i386/fpu/Makefile: Remove file.
4591 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4592 ($(objpfx)libm.so): Remove dependency on ld.so.
4594 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4597 * nis/yp_xdr.c (XDRMAXNAME): Define.
4598 (XDRMAXRECORD): Define.
4599 (xdr_domainname): Use XDRMAXNAME.
4600 (xdr_mapname): Likewise.
4601 (xdr_peername): Likewise.
4602 (xdr_keydat): Use XDRMAXRECORD.
4603 (xdr_valdat): Likewise.
4605 2013-05-30 Jeff Law <law@redhat.com>
4608 * manual/errno.texi (ESTALE): Update to account for more than
4609 just NFS file systems.
4610 * sysdeps/gnu/errlist.c: Regenerated.
4612 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4615 * elf/Makefile (tests): Add tst-null-argv.
4616 (modules-names): Add tst-null-argv-lib.
4617 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4618 (tst-null-argv-ENV): Set environment for tst-null-argv.
4619 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4620 (RTLD_PROGNAME): New macro.
4621 * elf/tst-null-argv.c: New test case.
4622 * elf/tst-null-argv-lib.c: Library for test case.
4623 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4624 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4625 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4626 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4627 * elf/dl-init.c (call_init): Likewise.
4628 (_dl_init): Likewise.
4629 * elf/dl-load.c (print_search_path): Likewise.
4630 (_dl_map_object): Likewise.
4631 * elf/dl-lookup.c (do_lookup_x): Likewise.
4632 (add_dependency): Likewise.
4633 (_dl_lookup_symbol_x): Likewise.
4634 (_dl_debug_bindings): Likewise.
4635 * elf/dl-open.c (_dl_show_scope): Likewise.
4636 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4637 * elf/dl-version.c (match_symbol): Likewise.
4638 (_dl_check_map_versions): Likewise.
4639 * elf/rtld.c (dl_main): Likewise.
4640 (print_unresolved): Use RTLD_PROGNAME.
4641 (print_missing_version): Likewise.
4642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4643 (elf_machine_rela): Likewise.
4644 * sysdeps/powerpc/powerpc32/dl-machine.c
4645 (__process_machine_rela): Likewise.
4646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4659 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4661 * po/be.po: Add descriptive title.
4662 * po/zh_CN.po: Likewise.
4663 * po/header.pot: Likewise.
4665 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4667 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4669 (enlarge_archive): Likewise.
4671 2013-05-28 Ben North <ben@redfrontdoor.org>
4673 * manual/arith.texi (frexp): It is the magnitude of the return
4674 value which lies in [0.5, 1), not the return value itself.
4676 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4680 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4682 * stdio-common/bug26.c (main): Correct fscanf template.
4684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4685 declare _dl_skip_args.
4687 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4690 * manual/platform.texi: Add missing @end deftypefun.
4692 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4696 bit of mantissa of 2^16382.
4697 * math/libm-test.inc (hypot_test_data): Add more tests.
4699 * math/libm-test.inc: Add drem and pow10 to list of tested
4701 (pow10_test): New function.
4702 (drem_test): Likewise.
4703 (drem_test_tonearest): Likewise.
4704 (drem_test_towardzero): Likewise.
4705 (drem_test_downward): Likewise.
4706 (drem_test_upward): Likewise.
4707 (main): Call the new functions.
4709 * math/libm-test.inc (finite_test_data): Remove.
4710 (finite_test): Run tests from isfinite_test_data.
4711 (gamma_test_data): Remove.
4712 (gamma_test): Run tests from lgamma_test_data.
4713 * sysdeps/i386/fpu/libm-test-ulps: Update.
4714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4716 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4718 * manual/platform.texi: Add PowerPC PPR function set documentation.
4719 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4722 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4724 * math/libm-test.inc (MAX_EXP): Define.
4726 (ulp): New function.
4727 (check_float_internal): Use ULPDIFF.
4728 (cpow_test): Disable failing test.
4729 (check_ulp): Test ulp() implemetnation.
4730 (main): Call check_ulp before starting tests.
4732 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4734 * math/gen-libm-test.pl (generate_testfile): Do not handle
4735 START_DATA and END_DATA.
4736 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4738 (acos_tonearest_test_data): Likewise.
4739 (acos_towardzero_test_data): Likewise.
4740 (acos_downward_test_data): Likewise.
4741 (acos_upward_test_data): Likewise.
4742 (acosh_test_data): Likewise.
4743 (asin_test_data): Likewise.
4744 (asin_tonearest_test_data): Likewise.
4745 (asin_towardzero_test_data): Likewise.
4746 (asin_downward_test_data): Likewise.
4747 (asin_upward_test_data): Likewise.
4748 (asinh_test_data): Likewise.
4749 (atan_test_data): Likewise.
4750 (atanh_test_data): Likewise.
4751 (atan2_test_data): Likewise.
4752 (cabs_test_data): Likewise.
4753 (cacos_test_data): Likewise.
4754 (cacosh_test_data): Likewise.
4755 (carg_test_data): Likewise.
4756 (casin_test_data): Likewise.
4757 (casinh_test_data): Likewise.
4758 (catan_test_data): Likewise.
4759 (catanh_test_data): Likewise.
4760 (cbrt_test_data): Likewise.
4761 (ccos_test_data): Likewise.
4762 (ccosh_test_data): Likewise.
4763 (ceil_test_data): Likewise.
4764 (cexp_test_data): Likewise.
4765 (cimag_test_data): Likewise.
4766 (clog_test_data): Likewise.
4767 (clog10_test_data): Likewise.
4768 (conj_test_data): Likewise.
4769 (copysign_test_data): Likewise.
4770 (cos_test_data): Likewise.
4771 (cos_tonearest_test_data): Likewise.
4772 (cos_towardzero_test_data): Likewise.
4773 (cos_downward_test_data): Likewise.
4774 (cos_upward_test_data): Likewise.
4775 (cosh_test_data): Likewise.
4776 (cosh_tonearest_test_data): Likewise.
4777 (cosh_towardzero_test_data): Likewise.
4778 (cosh_downward_test_data): Likewise.
4779 (cosh_upward_test_data): Likewise.
4780 (cpow_test_data): Likewise.
4781 (cproj_test_data): Likewise.
4782 (creal_test_data): Likewise.
4783 (csin_test_data): Likewise.
4784 (csinh_test_data): Likewise.
4785 (csqrt_test_data): Likewise.
4786 (ctan_test_data): Likewise.
4787 (ctan_tonearest_test_data): Likewise.
4788 (ctan_towardzero_test_data): Likewise.
4789 (ctan_downward_test_data): Likewise.
4790 (ctan_upward_test_data): Likewise.
4791 (ctanh_test_data): Likewise.
4792 (ctanh_tonearest_test_data): Likewise.
4793 (ctanh_towardzero_test_data): Likewise.
4794 (ctanh_downward_test_data): Likewise.
4795 (ctanh_upward_test_data): Likewise.
4796 (erf_test_data): Likewise.
4797 (erfc_test_data): Likewise.
4798 (exp_test_data): Likewise.
4799 (exp_tonearest_test_data): Likewise.
4800 (exp_towardzero_test_data): Likewise.
4801 (exp_downward_test_data): Likewise.
4802 (exp_upward_test_data): Likewise.
4803 (exp10_test_data): Likewise.
4804 (exp2_test_data): Likewise.
4805 (expm1_test_data): Likewise.
4806 (fabs_test_data): Likewise.
4807 (fdim_test_data): Likewise.
4808 (finite_test_data): Likewise.
4809 (floor_test_data): Likewise.
4810 (fma_test_data): Likewise.
4811 (fma_towardzero_test_data): Likewise.
4812 (fma_downward_test_data): Likewise.
4813 (fma_upward_test_data): Likewise.
4814 (fmax_test_data): Likewise.
4815 (fmin_test_data): Likewise.
4816 (fmod_test_data): Likewise.
4817 (fpclassify_test_data): Likewise.
4818 (frexp_test_data): Likewise.
4819 (gamma_test_data): Likewise.
4820 (hypot_test_data): Likewise.
4821 (ilogb_test_data): Likewise.
4822 (isfinite_test_data): Likewise.
4823 (isgreater_test_data): Likewise.
4824 (isgreaterequal_test_data): Likewise.
4825 (isinf_test_data): Likewise.
4826 (isless_test_data): Likewise.
4827 (islessequal_test_data): Likewise.
4828 (islessgreater_test_data): Likewise.
4829 (isnan_test_data): Likewise.
4830 (isnormal_test_data): Likewise.
4831 (issignaling_test_data): Likewise.
4832 (isunordered_test_data): Likewise.
4833 (j0_test_data): Likewise.
4834 (j1_test_data): Likewise.
4835 (jn_test_data): Likewise.
4836 (ldexp_test_data): Likewise.
4837 (lgamma_test_data): Likewise.
4838 (lrint_test_data): Likewise.
4839 (lrint_tonearest_test_data): Likewise.
4840 (lrint_towardzero_test_data): Likewise.
4841 (lrint_downward_test_data): Likewise.
4842 (lrint_upward_test_data): Likewise.
4843 (llrint_test_data): Likewise.
4844 (llrint_tonearest_test_data): Likewise.
4845 (llrint_towardzero_test_data): Likewise.
4846 (llrint_downward_test_data): Likewise.
4847 (llrint_upward_test_data): Likewise.
4848 (log_test_data): Likewise.
4849 (log10_test_data): Likewise.
4850 (log1p_test_data): Likewise.
4851 (log2_test_data): Likewise.
4852 (logb_test_data): Likewise.
4853 (logb_downward_test_data): Likewise.
4854 (lround_test_data): Likewise.
4855 (llround_test_data): Likewise.
4856 (modf_test_data): Likewise.
4857 (nearbyint_test_data): Likewise.
4858 (nextafter_test_data): Likewise.
4859 (nexttoward_test_data): Likewise.
4860 (pow_test_data): Likewise.
4861 (pow_tonearest_test_data): Likewise.
4862 (pow_towardzero_test_data): Likewise.
4863 (pow_downward_test_data): Likewise.
4864 (pow_upward_test_data): Likewise.
4865 (remainder_test_data): Likewise.
4866 (remainder_tonearest_test_data): Likewise.
4867 (remainder_towardzero_test_data): Likewise.
4868 (remainder_downward_test_data): Likewise.
4869 (remainder_upward_test_data): Likewise.
4870 (remquo_test_data): Likewise.
4871 (rint_test_data): Likewise.
4872 (rint_tonearest_test_data): Likewise.
4873 (rint_towardzero_test_data): Likewise.
4874 (rint_downward_test_data): Likewise.
4875 (rint_upward_test_data): Likewise.
4876 (round_test_data): Likewise.
4877 (scalb_test_data): Likewise.
4878 (scalbn_test_data): Likewise.
4879 (scalbln_test_data): Likewise.
4880 (signbit_test_data): Likewise.
4881 (sin_test_data): Likewise.
4882 (sin_tonearest_test_data): Likewise.
4883 (sin_towardzero_test_data): Likewise.
4884 (sin_downward_test_data): Likewise.
4885 (sin_upward_test_data): Likewise.
4886 (sincos_test_data): Likewise.
4887 (sinh_test_data): Likewise.
4888 (sinh_tonearest_test_data): Likewise.
4889 (sinh_towardzero_test_data): Likewise.
4890 (sinh_downward_test_data): Likewise.
4891 (sinh_upward_test_data): Likewise.
4892 (sqrt_test_data): Likewise.
4893 (tan_test_data): Likewise.
4894 (tan_tonearest_test_data): Likewise.
4895 (tan_towardzero_test_data): Likewise.
4896 (tan_downward_test_data): Likewise.
4897 (tan_upward_test_data): Likewise.
4898 (tanh_test_data): Likewise.
4899 (tgamma_test_data): Likewise.
4900 (trunc_test_data): Likewise.
4901 (y0_test_data): Likewise.
4902 (y1_test_data): Likewise.
4903 (yn_test_data): Likewise.
4904 (significand_test_data): Likewise.
4906 * math/gen-libm-test.pl (@functions): Remove variable.
4907 (generate_testfile): Don't handle START and END lines.
4908 * math/libm-test.inc (START): New macro.
4910 (END_COMPLEX): Likewise.
4911 (acos_test): Use END macro without arguments.
4912 (acos_test_tonearest): Likewise.
4913 (acos_test_towardzero): Likewise.
4914 (acos_test_downward): Likewise.
4915 (acos_test_upward): Likewise.
4916 (acosh_test): Likewise.
4917 (asin_test): Likewise.
4918 (asin_test_tonearest): Likewise.
4919 (asin_test_towardzero): Likewise.
4920 (asin_test_downward): Likewise.
4921 (asin_test_upward): Likewise.
4922 (asinh_test): Likewise.
4923 (atan_test): Likewise.
4924 (atanh_test): Likewise.
4925 (atan2_test): Likewise.
4926 (cabs_test): Likewise.
4927 (cacos_test): Use END_COMPLEX macro without arguments.
4928 (cacosh_test): Likewise.
4929 (carg_test): Use END macro without arguments.
4930 (casin_test): Use END_COMPLEX macro without arguments.
4931 (casinh_test): Likewise.
4932 (catan_test): Likewise.
4933 (catanh_test): Likewise.
4934 (cbrt_test): Use END macro without arguments.
4935 (ccos_test): Use END_COMPLEX macro without arguments.
4936 (ccosh_test): Likewise.
4937 (ceil_test): Use END macro without arguments.
4938 (cexp_test): Use END_COMPLEX macro without arguments.
4939 (cimag_test): Use END macro without arguments.
4940 (clog_test): Use END_COMPLEX macro without arguments.
4941 (clog10_test): Likewise.
4942 (conj_test): Likewise.
4943 (copysign_test): Use END macro without arguments.
4944 (cos_test): Likewise.
4945 (cos_test_tonearest): Likewise.
4946 (cos_test_towardzero): Likewise.
4947 (cos_test_downward): Likewise.
4948 (cos_test_upward): Likewise.
4949 (cosh_test): Likewise.
4950 (cosh_test_tonearest): Likewise.
4951 (cosh_test_towardzero): Likewise.
4952 (cosh_test_downward): Likewise.
4953 (cosh_test_upward): Likewise.
4954 (cpow_test): Use END_COMPLEX macro without arguments.
4955 (cproj_test): Likewise.
4956 (creal_test): Use END macro without arguments.
4957 (csin_test): Use END_COMPLEX macro without arguments.
4958 (csinh_test): Likewise.
4959 (csqrt_test): Likewise.
4960 (ctan_test): Likewise.
4961 (ctan_test_tonearest): Likewise.
4962 (ctan_test_towardzero): Likewise.
4963 (ctan_test_downward): Likewise.
4964 (ctan_test_upward): Likewise.
4965 (ctanh_test): Likewise.
4966 (ctanh_test_tonearest): Likewise.
4967 (ctanh_test_towardzero): Likewise.
4968 (ctanh_test_downward): Likewise.
4969 (ctanh_test_upward): Likewise.
4970 (erf_test): Use END macro without arguments.
4971 (erfc_test): Likewise.
4972 (exp_test): Likewise.
4973 (exp_test_tonearest): Likewise.
4974 (exp_test_towardzero): Likewise.
4975 (exp_test_downward): Likewise.
4976 (exp_test_upward): Likewise.
4977 (exp10_test): Likewise.
4978 (exp2_test): Likewise.
4979 (expm1_test): Likewise.
4980 (fabs_test): Likewise.
4981 (fdim_test): Likewise.
4982 (finite_test): Likewise.
4983 (floor_test): Likewise.
4984 (fma_test): Likewise.
4985 (fma_test_towardzero): Likewise.
4986 (fma_test_downward): Likewise.
4987 (fma_test_upward): Likewise.
4988 (fmax_test): Likewise.
4989 (fmin_test): Likewise.
4990 (fmod_test): Likewise.
4991 (fpclassify_test): Likewise.
4992 (frexp_test): Likewise.
4993 (gamma_test): Likewise.
4994 (hypot_test): Likewise.
4995 (ilogb_test): Likewise.
4996 (isfinite_test): Likewise.
4997 (isgreater_test): Likewise.
4998 (isgreaterequal_test): Likewise.
4999 (isinf_test): Likewise.
5000 (isless_test): Likewise.
5001 (islessequal_test): Likewise.
5002 (islessgreater_test): Likewise.
5003 (isnan_test): Likewise.
5004 (isnormal_test): Likewise.
5005 (issignaling_test): Likewise.
5006 (isunordered_test): Likewise.
5007 (j0_test): Likewise.
5008 (j1_test): Likewise.
5009 (jn_test): Likewise.
5010 (ldexp_test): Likewise.
5011 (lgamma_test): Likewise.
5012 (lrint_test): Likewise.
5013 (lrint_test_tonearest): Likewise.
5014 (lrint_test_towardzero): Likewise.
5015 (lrint_test_downward): Likewise.
5016 (lrint_test_upward): Likewise.
5017 (llrint_test): Likewise.
5018 (llrint_test_tonearest): Likewise.
5019 (llrint_test_towardzero): Likewise.
5020 (llrint_test_downward): Likewise.
5021 (llrint_test_upward): Likewise.
5022 (log_test): Likewise.
5023 (log10_test): Likewise.
5024 (log1p_test): Likewise.
5025 (log2_test): Likewise.
5026 (logb_test): Likewise.
5027 (logb_test_downward): Likewise.
5028 (lround_test): Likewise.
5029 (llround_test): Likewise.
5030 (modf_test): Likewise.
5031 (nearbyint_test): Likewise.
5032 (nextafter_test): Likewise.
5033 (nexttoward_test): Likewise.
5034 (pow_test): Likewise.
5035 (pow_test_tonearest): Likewise.
5036 (pow_test_towardzero): Likewise.
5037 (pow_test_downward): Likewise.
5038 (pow_test_upward): Likewise.
5039 (remainder_test): Likewise.
5040 (remainder_test_tonearest): Likewise.
5041 (remainder_test_towardzero): Likewise.
5042 (remainder_test_downward): Likewise.
5043 (remainder_test_upward): Likewise.
5044 (remquo_test): Likewise.
5045 (rint_test): Likewise.
5046 (rint_test_tonearest): Likewise.
5047 (rint_test_towardzero): Likewise.
5048 (rint_test_downward): Likewise.
5049 (rint_test_upward): Likewise.
5050 (round_test): Likewise.
5051 (scalb_test): Likewise.
5052 (scalbn_test): Likewise.
5053 (scalbln_test): Likewise.
5054 (signbit_test): Likewise.
5055 (sin_test): Likewise.
5056 (sin_test_tonearest): Likewise.
5057 (sin_test_towardzero): Likewise.
5058 (sin_test_downward): Likewise.
5059 (sin_test_upward): Likewise.
5060 (sincos_test): Likewise.
5061 (sinh_test): Likewise.
5062 (sinh_test_tonearest): Likewise.
5063 (sinh_test_towardzero): Likewise.
5064 (sinh_test_downward): Likewise.
5065 (sinh_test_upward): Likewise.
5066 (sqrt_test): Likewise.
5067 (tan_test): Likewise.
5068 (tan_test_tonearest): Likewise.
5069 (tan_test_towardzero): Likewise.
5070 (tan_test_downward): Likewise.
5071 (tan_test_upward): Likewise.
5072 (tanh_test): Likewise.
5073 (tgamma_test): Likewise.
5074 (trunc_test): Likewise.
5075 (y0_test): Likewise.
5076 (y1_test): Likewise.
5077 (yn_test): Likewise.
5078 (significand_test): Likewise.
5080 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5083 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5085 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5088 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5089 __ppc_mdoio and __ppc_mdoom.
5090 * manual/platform.texi: Document new functions __ppc_yield,
5091 __ppc_mdoio and __ppc_mdoom.
5093 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5095 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5096 (main): Mention "tls" pseudo-hwcap is legacy.
5097 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5099 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5101 * math/gen-libm-test.pl (parse_args): Output only string of
5102 arguments as text for test name, not full call or descriptions of
5103 tests for extra outputs.
5104 (generate_testfile): Do not pass function name to parse_args.
5105 Generate this_func variable from START.
5106 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5108 (struct test_ff_f_data): Likewise.
5109 (test_ff_f_data_nexttoward): Likewise.
5110 (struct test_fi_f_data): Likewise.
5111 (struct test_fl_f_data): Likewise.
5112 (struct test_if_f_data): Likewise.
5113 (struct test_fff_f_data): Likewise.
5114 (struct test_c_f_data): Likewise.
5115 (struct test_f_f1_data): Likewise. Remove field extra_name.
5116 (struct test_fF_f1_data): Likewise.
5117 (struct test_ffI_f1_data): Likewise.
5118 (struct test_c_c_data): Rename test_name field to arg_str.
5119 (struct test_cc_c_data): Likewise.
5120 (struct test_f_i_data): Likewise.
5121 (struct test_ff_i_data): Likewise.
5122 (struct test_f_l_data): Likewise.
5123 (struct test_f_L_data): Likewise.
5124 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5126 (COMMON_TEST_SETUP): New macro.
5127 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5128 (COMMON_TEST_CLEANUP): Likewise.
5129 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5130 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5132 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5133 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5135 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5136 (RUN_TEST_fff_f): Take argument string. Call new setup and
5138 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5139 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5141 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5142 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5144 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5145 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5147 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5148 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5150 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5151 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5153 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5154 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5156 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5157 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5159 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5160 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5162 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5163 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5165 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5166 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5168 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5169 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5171 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5172 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5174 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5175 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5177 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5178 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5180 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5181 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5183 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5185 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5187 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5188 to _sifields.sigfault.
5189 (si_addr_lsb): Define new macro.
5190 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5192 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5194 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5197 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5199 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5201 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5204 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5206 * math/gen-libm-test.pl (parse_args): Do not include expected
5207 result in test name.
5208 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5211 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5215 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 * benchtests/Makefile: Sort function entries.
5219 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5220 tanh, asinh, acosh, atanh.
5221 * benchtests/acos-inputs: New file.
5222 * benchtests/acosh-inputs: New file.
5223 * benchtests/asin-inputs: New file.
5224 * benchtests/asinh-inputs: New file.
5225 * benchtests/atanh-inputs: New file.
5226 * benchtests/cosh-inputs: New file.
5227 * benchtests/log-inputs: New file.
5228 * benchtests/sinh-inputs: New file.
5229 * benchtests/tanh-inputs: New file.
5231 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5234 * posix/tst-getaddrinfo4.c: New test.
5235 * posix/Makefile (tests): Add it.
5237 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5240 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5241 when no services were used.
5242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5243 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5245 2013-05-21 Andreas Schwab <schwab@suse.de>
5248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5249 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5251 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5252 redundant variable declarations and reallocation of buffer when
5253 parsing as IPv6 address. Always set NSS status when called from
5254 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5255 buffer too small. Correct computation of needed size.
5256 * nss/Makefile (tests): Add test-digits-dots.
5257 * nss/test-digits-dots.c: New test.
5259 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5261 * benchtests/Makefile: Remove instructions for adding
5263 * benchtests/README: New file to explain how to execute and
5264 enhance the benchmark tests.
5266 2013-05-21 Andreas Schwab <schwab@suse.de>
5269 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5270 * setjmp/tst-sigsetjmp.c: New test.
5272 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5274 * sysdeps/x86_64/memset.S (memset): New implementation.
5275 (__bzero): Likewise.
5276 (__memset_tail): New function.
5278 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5280 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5281 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5282 __memcpy_sse2_unaligned ifunc selection.
5283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5284 Add memcpy-sse2-unaligned.S.
5285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5286 Add: __memcpy_sse2_unaligned.
5288 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5292 math_force_eval before restoring floating-point envrionment.
5293 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5296 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5298 (__nearbyintl): Use math_force_eval before restoring
5299 floating-point environment.
5300 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5302 * math/gen-libm-test.pl (special_functions): Remove.
5303 (parse_args): Don't handle TEST_extra. Handle functions with no
5305 * math/libm-test.inc (struct test_sincos_data): Replace with
5306 struct test_fFF_11_data.
5307 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5308 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5309 (sincos_test_data): Change element type to struct
5310 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5311 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5312 RUN_TEST_LOOP_sincos.
5313 * math/README.libm-test: Don't mention special handling of
5314 individual functions.
5315 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5317 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5318 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5319 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5322 * math/gen-libm-test.pl (get_variable): Remove function.
5323 (parse_args): Don't show pointer parameters to call in test
5324 names. Use "extra output N" in test names for extra outputs
5325 rather than naming variables.
5327 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5330 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5331 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5332 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5334 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5336 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5339 * math/gen-libm-test.pl (@tests): Remove variable.
5341 (new_test): Remove function.
5342 (show_exceptions): New function.
5343 (special_functions): Use show_exceptions instead of new_test.
5344 (parse_args): Likewise.
5345 (generate_testfile): Pass only function name in generated call to
5346 print_max_error or print_complex_max_error.
5347 (get_ulps): Do not handle complex tests specially.
5348 (output_test): Rename to ...
5349 (get_all_ulps_for_test): ... this. Return a string rather than
5350 printing to a file. Require ulps to be present.
5351 (output_ulps): Generate arrays rather than #defines.
5352 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5353 (struct ulp_data): New type.
5354 (BUILD_COMPLEX_ULP): Remove macro.
5355 (compare_ulp_data): New function.
5356 (find_ulps): Likewise.
5357 (find_test_ulps): Likewise.
5358 (find_function_ulps): Likewise.
5359 (find_complex_function_ulps): Likewise.
5360 (print_max_error): Determine allowed ulps using
5362 (print_complex_max_error): Determine allowed ulps using
5363 find_complex_function_ulps.
5364 (check_float_internal): Determine max ulps using find_test_ulps.
5365 (check_float): Do not take max_ulp parameter. Update call to
5366 check_float_internal.
5367 (check_complex): Likewise.
5368 (check_int): Do not take max_ulp parameter.
5369 (check_long): Likewise.
5370 (check_bool): Likewise.
5371 (check_longlong): Likewise.
5372 (struct test_f_f_data): Remove max_ulp field.
5373 (struct test_ff_f_data): Likewise.
5374 (struct test_ff_f_data_nexttoward): Likewise.
5375 (struct test_fi_f_data): Likewise.
5376 (struct test_fl_f_data): Likewise.
5377 (struct test_if_f_data): Likewise.
5378 (struct test_fff_f_data): Likewise.
5379 (struct test_c_f_data): Likewise.
5380 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5381 (struct test_fF_f1_data): Likewise.
5382 (struct test_ffI_f1_data): Likewise.
5383 (struct test_c_c_data): Remove max_ulp field.
5384 (struct test_cc_c_data): Likewise.
5385 (struct test_f_i_data): Likewise.
5386 (struct test_ff_i_data): Likewise.
5387 (struct test_f_l_data): Likewise.
5388 (struct test_f_L_data): Likewise.
5389 (struct test_sincos_data): Likewise.
5390 (RUN_TEST_f_f): Do not handle ulps.
5391 (RUN_TEST_LOOP_f_f): Likewise.
5392 (RUN_TEST_2_f): Likewise.
5393 (RUN_TEST_LOOP_2_f): Likewise.
5394 (RUN_TEST_fff_f): Likewise.
5395 (RUN_TEST_LOOP_fff_f): Likewise.
5396 (RUN_TEST_c_f): Likewise.
5397 (RUN_TEST_LOOP_c_f): Likewise.
5398 (RUN_TEST_f_f1): Likewise.
5399 (RUN_TEST_LOOP_f_f1): Likewise.
5400 (RUN_TEST_fF_f1): Likewise.
5401 (RUN_TEST_LOOP_fF_f1): Likewise.
5402 (RUN_TEST_fI_f1): Likewise.
5403 (RUN_TEST_LOOP_fI_f1): Likewise.
5404 (RUN_TEST_ffI_f1): Likewise.
5405 (RUN_TEST_LOOP_ffI_f1): Likewise.
5406 (RUN_TEST_c_c): Likewise.
5407 (RUN_TEST_LOOP_c_c): Likewise.
5408 (RUN_TEST_cc_c): Likewise.
5409 (RUN_TEST_LOOP_cc_c): Likewise.
5410 (RUN_TEST_f_i): Likewise.
5411 (RUN_TEST_LOOP_f_i): Likewise.
5412 (RUN_TEST_f_i_tg): Likewise.
5413 (RUN_TEST_LOOP_f_i_tg): Likewise.
5414 (RUN_TEST_ff_i_tg): Likewise.
5415 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5416 (RUN_TEST_f_b): Likewise.
5417 (RUN_TEST_LOOP_f_b): Likewise.
5418 (RUN_TEST_f_b_tg): Likewise.
5419 (RUN_TEST_LOOP_f_b_tg): Likewise.
5420 (RUN_TEST_f_l): Likewise.
5421 (RUN_TEST_LOOP_f_l): Likewise.
5422 (RUN_TEST_f_L): Likewise.
5423 (RUN_TEST_LOOP_f_L): Likewise.
5424 (RUN_TEST_sincos): Likewise.
5425 (RUN_TEST_LOOP_sincos): Likewise.
5427 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5431 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5432 main case of finite arguments, set rounding mode to FE_TONEAREST
5433 and discard exceptions.
5434 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5436 (remainder_tonearest_test_data): New variable.
5437 (remainder_test_tonearest): New function.
5438 (remainder_towardzero_test_data): New variable.
5439 (remainder_test_towardzero): New function.
5440 (remainder_downward_test_data): New variable.
5441 (remainder_test_downward): New function.
5442 (remainder_upward_test_data): New variable.
5443 (remainder_test_upward): New function.
5444 (main): Call the new test functions.
5446 * math/libm-test.inc (struct test_f_f1_data): Remove field
5448 (struct test_fF_f1_data): Likewise.
5449 (struct test_ffI_f1_data): Likewise.
5450 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5451 based on value of EXTRA_EXPECTED.
5452 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5453 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5454 EXTRA_VAR based on value of EXTRA_EXPECTED.
5455 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5456 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5457 EXTRA_VAR based on value of EXTRA_EXPECTED.
5458 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5459 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5460 EXTRA_VAR based on value of EXTRA_EXPECTED.
5461 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5462 * math/gen-libm-test.pl (parse_args): Don't output initializers
5463 for extra output values.
5465 * math/libm-test.inc (check_int): Expect result to be exactly
5466 equal to expected value and do not handle ulps.
5467 (check_long): Likewise.
5468 (check_longlong): Likewise.
5470 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5472 (cimag_test_data): Likewise.
5473 (conj_test_data): Likewise.
5474 (copysign_test_data): Likewise.
5475 (cproj_test_data): Likewise.
5476 (creal_test_data): Likewise.
5477 (fabs_test_data): Likewise.
5478 (fdim_test_data): Likewise.
5479 (finite_test_data): Likewise.
5480 (floor_test_data): Likewise.
5481 (fmax_test_data): Likewise.
5482 (fmin_test_data): Likewise.
5483 (fmod_test_data): Likewise.
5484 (fpclassify_test_data): Likewise.
5485 (frexp_test_data): Likewise.
5486 (ilogb_test_data): Likewise.
5487 (isfinite_test_data): Likewise.
5488 (isgreater_test_data): Likewise.
5489 (isgreaterequal_test_data): Likewise.
5490 (isinf_test_data): Likewise.
5491 (isless_test_data): Likewise.
5492 (islessequal_test_data): Likewise.
5493 (islessgreater_test_data): Likewise.
5494 (isnan_test_data): Likewise.
5495 (isnormal_test_data): Likewise.
5496 (issignaling_test_data): Likewise.
5497 (isunordered_test_data): Likewise.
5498 (ldexp_test_data): Likewise.
5499 (lrint_test_data): Likewise.
5500 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5501 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5502 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5503 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5504 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5505 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5507 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5508 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5509 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5510 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5512 (lrint_downward_test_data): Test for "inexact" exceptions.
5513 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5514 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5515 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5517 (lrint_upward_test_data): Test for "inexact" exceptions.
5518 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5520 (llrint_test_data): Test for "inexact" exceptions.
5521 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5522 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5523 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5524 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5525 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5526 (llrint_downward_test_data): Test for "inexact" exceptions.
5527 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5528 (llrint_upward_test_data): Test for "inexact" exceptions.
5529 (logb_test_data): Likewise.
5530 (logb_downward_test_data): Likewise.
5531 (nextafter_test_data): Likewise.
5532 (nexttoward_test_data): Likewise.
5533 (remainder_test_data): Likewise.
5534 (remquo_test_data): Likewise.
5535 (scalbn_test_data): Likewise.
5536 (scalbln_test_data): Likewise.
5537 (signbit_test_data): Likewise.
5538 (sqrt_test_data): Likewise.
5539 (significand_test_data): Likewise.
5541 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5544 * benchtests/bench-modf.c (struct args): Mark arg0 as
5546 * scripts/bench.pl: Mark members of struct args as volatile.
5548 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5552 negative infinity on POWER6 or lower.
5553 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5555 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5558 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5559 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5560 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5561 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5562 (_FP_SETQNAN): New macro.
5563 (_FP_SETQNAN_SEMIRAW): Likewise.
5564 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5565 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5566 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5567 (FP_EXTEND): Use _FP_FRAC_SNANP.
5568 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5569 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5571 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5573 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5576 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5578 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5579 with DIVIDE_BY_ZERO_EXCEPTION.
5580 (gamma_test_data): Likewise.
5581 (lgamma_test_data): Likewise.
5582 (log_test_data): Likewise.
5583 (log10_test_data): Likewise.
5584 (log2_test_data): Likewise.
5585 (tgamma_test_data): Likewise.
5587 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5588 (acos_test_tonearest): Likewise.
5589 (acos_test_towardzero): Likewise.
5590 (acos_test_downward): Likewise.
5591 (acos_test_upward): Likewise.
5592 (acosh_test): Likewise.
5593 (asin_test): Likewise.
5594 (asin_test_tonearest): Likewise.
5595 (asin_test_towardzero): Likewise.
5596 (asin_test_downward): Likewise.
5597 (asin_test_upward): Likewise.
5598 (asinh_test): Likewise.
5599 (atan_test): Likewise.
5600 (atanh_test): Likewise.
5601 (atan2_test): Likewise.
5602 (cabs_test): Likewise.
5603 (cacos_test): Likewise.
5604 (cacosh_test): Likewise.
5605 (casin_test): Likewise.
5606 (casinh_test): Likewise.
5607 (catan_test): Likewise.
5608 (catanh_test): Likewise.
5609 (cbrt_test): Likewise.
5610 (ccos_test): Likewise.
5611 (ccosh_test): Likewise.
5612 (cexp_test): Likewise.
5613 (clog_test): Likewise.
5614 (clog10_test): Likewise.
5615 (cos_test): Likewise.
5616 (cos_test_tonearest): Likewise.
5617 (cos_test_towardzero): Likewise.
5618 (cos_test_downward): Likewise.
5619 (cos_test_upward): Likewise.
5620 (cosh_test): Likewise.
5621 (cosh_test_tonearest): Likewise.
5622 (cosh_test_towardzero): Likewise.
5623 (cosh_test_downward): Likewise.
5624 (cosh_test_upward): Likewise.
5625 (cpow_test): Likewise.
5626 (csin_test): Likewise.
5627 (csinh_test): Likewise.
5628 (csqrt_test): Likewise.
5629 (ctan_test): Likewise.
5630 (ctan_test_tonearest): Likewise.
5631 (ctan_test_towardzero): Likewise.
5632 (ctan_test_downward): Likewise.
5633 (ctan_test_upward): Likewise.
5634 (ctanh_test): Likewise.
5635 (ctanh_test_tonearest): Likewise.
5636 (ctanh_test_towardzero): Likewise.
5637 (ctanh_test_downward): Likewise.
5638 (ctanh_test_upward): Likewise.
5639 (erf_test): Likewise.
5640 (erfc_test): Likewise.
5641 (exp_test): Likewise.
5642 (exp_test_tonearest): Likewise.
5643 (exp_test_towardzero): Likewise.
5644 (exp_test_downward): Likewise.
5645 (exp_test_upward): Likewise.
5646 (exp10_test): Likewise.
5647 (exp2_test): Likewise.
5648 (expm1_test): Likewise.
5649 (fmod_test): Likewise.
5650 (gamma_test): Likewise.
5651 (hypot_test): Likewise.
5652 (j0_test): Likewise.
5653 (j1_test): Likewise.
5654 (jn_test): Likewise.
5655 (lgamma_test): Likewise.
5656 (log_test): Likewise.
5657 (log10_test): Likewise.
5658 (log1p_test): Likewise.
5659 (log2_test): Likewise.
5660 (logb_test_downward): Likewise.
5661 (pow_test): Likewise.
5662 (pow_test_tonearest): Likewise.
5663 (pow_test_towardzero): Likewise.
5664 (pow_test_downward): Likewise.
5665 (pow_test_upward): Likewise.
5666 (remainder_test): Likewise.
5667 (remquo_test): Likewise.
5668 (sin_test): Likewise.
5669 (sin_test_tonearest): Likewise.
5670 (sin_test_towardzero): Likewise.
5671 (sin_test_downward): Likewise.
5672 (sin_test_upward): Likewise.
5673 (sincos_test): Likewise.
5674 (sinh_test): Likewise.
5675 (sinh_test_tonearest): Likewise.
5676 (sinh_test_towardzero): Likewise.
5677 (sinh_test_downward): Likewise.
5678 (sinh_test_upward): Likewise.
5679 (sqrt_test): Likewise.
5680 (tan_test): Likewise.
5681 (tan_test_tonearest): Likewise.
5682 (tan_test_towardzero): Likewise.
5683 (tan_test_downward): Likewise.
5684 (tan_test_upward): Likewise.
5685 (tanh_test): Likewise.
5686 (tgamma_test): Likewise.
5687 (y0_test): Likewise.
5688 (y1_test): Likewise.
5689 (yn_test): Likewise.
5691 * math/gen-libm-test.pl (adjust_arg): Remove function.
5692 (special_function): Remove argument $in_func. Only handle
5693 generating output for tables of tests, not inside functions.
5694 (parse_args): Likewise.
5695 (generate_testfile): Remove variable $in_func. Update call to
5697 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5698 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5699 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5700 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5701 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5702 (MAX_VALUE_INIT): Rename macro to max_value.
5703 (MIN_VALUE_INIT): Rename macro to min_value.
5704 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5705 (plus_zero): Remove variable.
5706 (minus_zero): Likewise.
5707 (plus_infty): Likewise.
5708 (minus_infty): Likewise.
5709 (qnan_value): Likewise.
5710 (max_value): Likewise.
5711 (min_value): Likewise.
5712 (min_subnorm_value): Likewise.
5714 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5716 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5717 uint64_t or uint32_t usage.
5718 * crypt/sha256-block.c: Likewise.
5719 * crypt/sha256-crypt.c: Likewise.
5720 * crypt/sha256.c: Likewise.
5721 * crypt/sha512-block.c: Likewise.
5722 * crypt/sha512-crypt.c: Likewise.
5723 * crypt/sha512.c: Likewise.
5724 * debug/backtrace-tst.c: Likewise.
5725 * debug/pcprofiledump.c: Likewise.
5726 * elf/cache.c: Likewise.
5727 * elf/dl-cache.c: Likewise.
5728 * elf/dl-misc.c: Likewise.
5729 * elf/dl-profile.c: Likewise.
5730 * elf/dl-support.c: Likewise.
5731 * elf/ldconfig.c: Likewise.
5732 * elf/sprof.c: Likewise.
5733 * iconv/dummy-repertoire.c: Likewise.
5734 * iconv/iconv_charmap.c: Likewise.
5735 * iconv/skeleton.c: Likewise.
5736 * iconvdata/8bit-generic.c: Likewise.
5737 * iconvdata/cp737.h: Likewise.
5738 * iconvdata/cp775.h: Likewise.
5739 * iconvdata/ibm1008.h: Likewise.
5740 * iconvdata/ibm1025.h: Likewise.
5741 * iconvdata/ibm1046.h: Likewise.
5742 * iconvdata/ibm1097.h: Likewise.
5743 * iconvdata/ibm1112.h: Likewise.
5744 * iconvdata/ibm1122.h: Likewise.
5745 * iconvdata/ibm1123.h: Likewise.
5746 * iconvdata/ibm1124.h: Likewise.
5747 * iconvdata/ibm1129.h: Likewise.
5748 * iconvdata/ibm1130.h: Likewise.
5749 * iconvdata/ibm1132.h: Likewise.
5750 * iconvdata/ibm1133.h: Likewise.
5751 * iconvdata/ibm1137.h: Likewise.
5752 * iconvdata/ibm1140.h: Likewise.
5753 * iconvdata/ibm1141.h: Likewise.
5754 * iconvdata/ibm1142.h: Likewise.
5755 * iconvdata/ibm1143.h: Likewise.
5756 * iconvdata/ibm1144.h: Likewise.
5757 * iconvdata/ibm1145.h: Likewise.
5758 * iconvdata/ibm1146.h: Likewise.
5759 * iconvdata/ibm1147.h: Likewise.
5760 * iconvdata/ibm1148.h: Likewise.
5761 * iconvdata/ibm1149.h: Likewise.
5762 * iconvdata/ibm1153.h: Likewise.
5763 * iconvdata/ibm1154.h: Likewise.
5764 * iconvdata/ibm1155.h: Likewise.
5765 * iconvdata/ibm1156.h: Likewise.
5766 * iconvdata/ibm1157.h: Likewise.
5767 * iconvdata/ibm1158.h: Likewise.
5768 * iconvdata/ibm1160.h: Likewise.
5769 * iconvdata/ibm1161.h: Likewise.
5770 * iconvdata/ibm1162.h: Likewise.
5771 * iconvdata/ibm1163.h: Likewise.
5772 * iconvdata/ibm1164.h: Likewise.
5773 * iconvdata/ibm1166.h: Likewise.
5774 * iconvdata/ibm1167.h: Likewise.
5775 * iconvdata/ibm12712.h: Likewise.
5776 * iconvdata/ibm1390.h: Likewise.
5777 * iconvdata/ibm1399.h: Likewise.
5778 * iconvdata/ibm16804.h: Likewise.
5779 * iconvdata/ibm4517.h: Likewise.
5780 * iconvdata/ibm4899.h: Likewise.
5781 * iconvdata/ibm4909.h: Likewise.
5782 * iconvdata/ibm4971.h: Likewise.
5783 * iconvdata/ibm5347.h: Likewise.
5784 * iconvdata/ibm803.h: Likewise.
5785 * iconvdata/ibm856.h: Likewise.
5786 * iconvdata/ibm901.h: Likewise.
5787 * iconvdata/ibm902.h: Likewise.
5788 * iconvdata/ibm9030.h: Likewise.
5789 * iconvdata/ibm9066.h: Likewise.
5790 * iconvdata/ibm921.h: Likewise.
5791 * iconvdata/ibm922.h: Likewise.
5792 * iconvdata/ibm9448.h: Likewise.
5793 * iconvdata/isiri-3342.h: Likewise.
5794 * iconvdata/jis0201.h: Likewise.
5795 * include/link.h: Likewise.
5796 * include/netdb.h: Likewise.
5797 * inet/check_native.c: Likewise.
5798 * inet/check_pf.c: Likewise.
5799 * inet/getipv4sourcefilter.c: Likewise.
5800 * inet/getnameinfo.c: Likewise.
5801 * inet/getsourcefilter.c: Likewise.
5802 * inet/htonl.c: Likewise.
5803 * inet/setipv4sourcefilter.c: Likewise.
5804 * inet/setsourcefilter.c: Likewise.
5805 * inet/test-inet6_opt.c: Likewise.
5806 * inet/tst-network.c: Likewise.
5807 * locale/C-collate.c: Likewise.
5808 * locale/C-ctype.c: Likewise.
5809 * locale/C-time.c: Likewise.
5810 * locale/C-translit.h: Likewise.
5811 * locale/loadarchive.c: Likewise.
5812 * locale/programs/3level.h: Likewise.
5813 * locale/programs/charmap.c: Likewise.
5814 * locale/programs/charmap.h: Likewise.
5815 * locale/programs/ld-address.c: Likewise.
5816 * locale/programs/ld-collate.c: Likewise.
5817 * locale/programs/ld-ctype.c: Likewise.
5818 * locale/programs/ld-identification.c: Likewise.
5819 * locale/programs/ld-measurement.c: Likewise.
5820 * locale/programs/ld-messages.c: Likewise.
5821 * locale/programs/ld-monetary.c: Likewise.
5822 * locale/programs/ld-name.c: Likewise.
5823 * locale/programs/ld-numeric.c: Likewise.
5824 * locale/programs/ld-paper.c: Likewise.
5825 * locale/programs/ld-telephone.c: Likewise.
5826 * locale/programs/ld-time.c: Likewise.
5827 * locale/programs/linereader.c: Likewise.
5828 * locale/programs/locale.c: Likewise.
5829 * locale/programs/locarchive.c: Likewise.
5830 * locale/programs/locfile.h: Likewise.
5831 * locale/programs/repertoire.c: Likewise.
5832 * locale/programs/simple-hash.c: Likewise.
5833 * locale/programs/simple-hash.h: Likewise.
5834 * malloc/memusage.c: Likewise.
5835 * malloc/memusagestat.c: Likewise.
5836 * nis/nis_defaults.c: Likewise.
5837 * nis/nis_hash.c: Likewise.
5838 * nis/nis_print.c: Likewise.
5839 * nis/nis_xdr.c: Likewise.
5840 * nscd/connections.c: Likewise.
5841 * nscd/hstcache.c: Likewise.
5842 * nscd/nscd_gethst_r.c: Likewise.
5843 * nscd/nscd_getserv_r.c: Likewise.
5844 * nscd/nscd_helper.c: Likewise.
5845 * nscd/servicescache.c: Likewise.
5846 * nss/makedb.c: Likewise.
5847 * nss/nss_db/db-XXX.c: Likewise.
5848 * nss/nss_db/db-initgroups.c: Likewise.
5849 * nss/nss_db/db-netgrp.c: Likewise.
5850 * nss/nss_files/files-network.c: Likewise.
5851 * nss/nss_files/files-parse.c: Likewise.
5852 * posix/bug-regex5.c: Likewise.
5853 * posix/fnmatch_loop.c: Likewise.
5854 * posix/regcomp.c: Likewise.
5855 * posix/regexec.c: Likewise.
5856 * posix/tst-rfc3484-2.c: Likewise.
5857 * posix/tst-rfc3484-3.c: Likewise.
5858 * posix/tst-rfc3484.c: Likewise.
5859 * resolv/nss_dns/dns-canon.c: Likewise.
5860 * resolv/nss_dns/dns-network.c: Likewise.
5861 * resolv/res_init.c: Likewise.
5862 * resolv/res_mkquery.c: Likewise.
5863 * resolv/tst-aton.c: Likewise.
5864 * stdlib/cxa_atexit.c: Likewise.
5865 * stdlib/cxa_finalize.c: Likewise.
5866 * stdlib/gen-fpioconst.c: Likewise.
5867 * stdlib/strtol_l.c: Likewise.
5868 * string/tst-endian.c: Likewise.
5869 * sunrpc/auth_des.c: Likewise.
5870 * sunrpc/clnt_udp.c: Likewise.
5871 * sunrpc/rtime.c: Likewise.
5872 * sunrpc/svcauth_des.c: Likewise.
5873 * sunrpc/xdr.c: Likewise.
5874 * sunrpc/xdr_intXX_t.c: Likewise.
5875 * sunrpc/xdr_rec.c: Likewise.
5876 * sysdeps/generic/ldconfig.h: Likewise.
5877 * sysdeps/generic/ldsodefs.h: Likewise.
5878 * sysdeps/generic/memusage.h: Likewise.
5879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5882 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5889 * sysdeps/posix/getaddrinfo.c: Likewise.
5890 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5891 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5892 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5893 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5894 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5895 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5896 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5897 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5898 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5900 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5901 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5902 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5903 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5904 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5905 * sysdeps/x86_64/dl-tls.h: Likewise.
5906 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5907 * time/alt_digit.c: Likewise.
5908 * time/era.c: Likewise.
5909 * wcsmbs/tst-c16c32-1.c: Likewise.
5911 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5913 * math/libm-test.inc (struct test_sincos_data): New type.
5914 (RUN_TEST_LOOP_sincos): New macro.
5915 (sincos_test_data): New variable.
5916 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5918 2013-05-16 Richard Henderson <rth@redhat.com>
5920 * math/atest-exp2.c (LIMB64): New macro.
5921 (CONSTSZ): New macro.
5922 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5924 (print_mpn_fp): ... to function scope.
5925 (read_mpn_hex): Remove.
5927 (exp2_mpn): Use mp_log2.
5928 (main): Use mp_exp1.
5930 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5932 * math/libm-test.inc: Remove comment about not testing "inexact"
5934 (INEXACT_EXCEPTION): New macro.
5935 (NO_INEXACT_EXCEPTION): Likewise.
5936 (INVALID_EXCEPTION_OK): Update value.
5937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5938 (OVERFLOW_EXCEPTION_OK): Likewise.
5939 (UNDERFLOW_EXCEPTION_OK): Likewise.
5940 (IGNORE_ZERO_INF_SIGN): Likewise.
5941 (ERRNO_UNCHANGED): Likewise.
5942 (ERRNO_EDOM): Likewise.
5943 (ERRNO_ERANGE): Likewise.
5944 (test_exceptions): Handle testing "inexact" exceptions.
5945 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5946 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5947 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5948 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5950 (rint_towardzero_test_data): Likewise.
5951 (rint_downward_test_data): Likewise.
5952 (rint_upward_test_data): Likewise.
5954 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5955 with OVERFLOW_EXCEPTION.
5956 (exp10_test_data): Likewise.
5957 (exp2_test_data): Likewise.
5958 (expm1_test_data): Likewise.
5959 (lgamma_test_data): Likewise.
5960 (pow_test_data): Likewise.
5961 (tgamma_test_data): Likewise.
5962 (yn_test_data): Remove duplicate test of overflow.
5964 * math/libm-test.inc (struct test_cc_c_data): New type.
5965 (RUN_TEST_LOOP_cc_c): New macro.
5966 (cpow_test_data): New variable.
5967 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5969 * math/libm-test.inc (struct test_f_L_data): New type.
5970 (RUN_TEST_LOOP_f_L): New macro.
5971 (llrint_test_data): New variable.
5972 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5973 (llrint_tonearest_test_data): New variable.
5974 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5975 (llrint_towardzero_test_data): New variable.
5976 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5977 (llrint_downward_test_data): New variable.
5978 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5979 (llrint_upward_test_data): New variable.
5980 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5981 (llround_test_data): New variable.
5982 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5984 2013-05-13 Peter Collingbourne <pcc@google.com>
5986 * math/atest-exp2.c (get_log2): Remove const attribute.
5988 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5990 * math/libm-test.inc (struct test_f_l_data): New type.
5991 (RUN_TEST_LOOP_f_l): New macro.
5992 (lrint_test_data): New variable.
5993 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5994 (lrint_tonearest_test_data): New variable.
5995 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5996 (lrint_towardzero_test_data): New variable.
5997 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5998 (lrint_downward_test_data): New variable.
5999 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6000 (lrint_upward_test_data): New variable.
6001 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6002 (lround_test_data): New variable.
6003 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6005 2013-05-15 Peter Collingbourne <pcc@google.com>
6007 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6008 (EXTRACT_WORDS64) Use where appropriate.
6009 (INSERT_WORDS64) Likewise.
6011 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6012 constraints with x constraints.
6013 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6015 * malloc/obstack.c (_obstack_compat): Add initializer.
6017 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6019 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6020 si_trapno and add si_addr_lsb to _sifields.sigfault.
6021 (si_trapno): Remove macro.
6022 (si_addr_lsb): Define new macro.
6023 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6025 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6027 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6028 instead of TEST_f_l.
6029 (llrint_test_tonearest): Likewise.
6030 (llrint_test_towardzero): Likewise.
6031 (llrint_test_downward): Likewise.
6032 (llrint_test_upward): Likewise.
6033 (llround_test): Likewise.
6035 * math/libm-test.inc (struct test_f_i_data): Add comment.
6036 (RUN_TEST_LOOP_f_b): New macro.
6037 (RUN_TEST_LOOP_f_b_tg): Likewise.
6038 (finite_test_data): New variable.
6039 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6040 (isfinite_test_data): New variable.
6041 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6042 (isinf_test_data): New variable.
6043 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6044 (isnan_test_data): New variable.
6045 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6046 (isnormal_test_data): New variable.
6047 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6048 (issignaling_test_data): New variable.
6049 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6050 (signbit_test_data): New variable.
6051 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6053 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6054 with INVALID_EXCEPTION.
6055 (acosh_test_data): Likewise.
6056 (asin_test_data): Likewise.
6057 (atanh_test_data): Likewise.
6058 (fmod_test_data): Likewise.
6059 (log_test_data): Likewise.
6060 (log10_test_data): Likewise.
6061 (log2_test_data): Likewise.
6062 (pow_test_data): Likewise.
6063 (sqrt_test_data): Likewise.
6064 (y0_test_data): Likewise.
6065 (y1_test_data): Likewise.
6066 (yn_test_data): Likewise.
6068 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6071 * math/libm-test.inc (struct test_ff_i_data): New type.
6072 (RUN_TEST_LOOP_ff_i_tg): New macro.
6073 (isgreater_test_data): New variable.
6074 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6075 (isgreaterequal_test_data): New variable.
6076 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6077 (isless_test_data): New variable.
6078 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6079 (islessequal_test_data): New variable.
6080 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6081 (islessgreater_test_data): New variable.
6082 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6083 (isunordered_test_data): New variable.
6084 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6086 2013-05-14 David S. Miller <davem@davemloft.net>
6088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6090 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6092 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6094 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6096 (struct test_f_i_data): Change type of max_ulp to int.
6098 * math/libm-test.inc (test_ffI_f1_data): New type.
6099 (RUN_TEST_LOOP_ffI_f1): New macro.
6100 (remquo_test_data): New variable.
6101 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6103 * setjmp/tst-setjmp-fp.c: New file.
6104 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6105 (link-libm): New variable.
6106 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6108 * math/libm-test.inc (struct test_f_i_data): New type.
6109 (RUN_TEST_LOOP_f_i): New macro.
6110 (RUN_TEST_LOOP_f_i_tg): Likewise.
6111 (fpclassify_test_data): New variable.
6112 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6113 (ilogb_test_data): New variable.
6114 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6116 * math/libm-test.inc (scalbln_test): Correct function name in END
6119 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6120 (RUN_TEST_LOOP_fI_f1): New macro.
6121 (frexp_test_data): New variable.
6122 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6124 * math/libm-test.inc (struct test_fF_f1_data): New type.
6125 (RUN_TEST_LOOP_fF_f1): New macro.
6126 (modf_test_data): New variable.
6127 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6129 * math/libm-test.inc (struct test_f_f1_data): New type.
6130 (RUN_TEST_LOOP_f_f1): New macro.
6131 (gamma_test_data): New variable.
6132 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6133 (lgamma_test_data): New variable.
6134 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6136 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6138 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6139 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6140 (main): Comment "tls" pseudo-hwcap.
6142 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6144 * math/libm-test.inc (struct test_fl_f_data): New type.
6145 (RUN_TEST_LOOP_fl_f): New variable.
6146 (scalbln_test_data): New variable.
6147 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6149 * math/libm-test.inc (struct test_fi_f_data): New type.
6150 (RUN_TEST_LOOP_fi_f): New macro.
6151 (ldexp_test_data): New variable.
6152 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6153 (scalbn_test_data): New variable.
6154 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6156 * math/libm-test.inc (struct test_c_f_data): New type.
6157 (RUN_TEST_LOOP_c_f): New macro.
6158 (cabs_test_data): New variable.
6159 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6160 (carg_test_data): New variable.
6161 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6162 (cimag_test_data): New variable.
6163 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6164 (creal_test_data): New variable.
6165 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6167 * math/libm-test.inc (struct test_if_f_data): New type.
6168 (RUN_TEST_LOOP_if_f): New macro.
6169 (jn_test_data): New variable.
6170 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6171 (yn_test_data): New variable.
6172 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6174 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6176 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6179 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6181 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6183 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6184 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6185 (bench-deps): Add bench-timing.h.
6186 * benchtests-bench-skeleton.c: Include bench-timing.h.
6187 (main): Use TIMING_* macros instead of clock_gettime.
6188 * benchtests/bench-timing.h: New file.
6191 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6192 Renamed from _LIB_VERSION.
6193 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6195 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6197 * math/libm-test.inc (struct test_fff_f_data): New type.
6198 (RUN_TEST_LOOP_fff_f): New macro.
6199 (fma_test_data): New variable.
6200 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6201 (fma_towardzero_test_data): New variable.
6202 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6203 (fma_downward_test_data): New variable.
6204 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6205 (fma_upward_test_data): New variable.
6206 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6208 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6209 (struct test_c_c_data): New type.
6210 (RUN_TEST_LOOP_c_c): New macro.
6211 (cacos_test_data): New variable.
6212 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6213 (cacosh_test_data): New variable.
6214 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6215 (casin_test_data): New variable.
6216 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6217 (casinh_test_data): New variable.
6218 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6219 (catan_test_data): New variable.
6220 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6221 (catanh_test_data): New variable.
6222 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6223 (ccos_test_data): New variable.
6224 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6225 (ccosh_test_data): New variable.
6226 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6227 (cexp_test_data): New variable.
6228 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6229 (clog_test_data): New variable.
6230 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6231 (clog10_test_data): New variable.
6232 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6233 (conj_test_data): New variable.
6234 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6235 (cproj_test_data): New variable.
6236 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6237 (csin_test_data): New variable.
6238 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6239 (csinh_test_data): New variable.
6240 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6241 (csqrt_test_data): New variable.
6242 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6243 (ctan_test_data): New variable.
6244 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6245 (ctan_tonearest_test_data): New variable.
6246 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6247 (ctan_towardzero_test_data): New variable.
6248 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6249 (ctan_downward_test_data): New variable.
6250 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6251 (ctan_upward_test_data): New variable.
6252 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6253 (ctanh_test_data): New variable.
6254 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6255 (ctanh_tonearest_test_data): New variable.
6256 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6257 (ctanh_towardzero_test_data): New variable.
6258 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6259 (ctanh_downward_test_data): New variable.
6260 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6261 (ctanh_upward_test_data): New variable.
6262 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6263 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6266 * math/libm-test.inc (struct test_ff_f_data): New type.
6267 (struct test_ff_f_data_nexttoward): Likewise.
6268 (RUN_TEST_LOOP_2_f): New macro.
6269 (RUN_TEST_LOOP_ff_f): Likewise.
6270 (atan2_test_data): New variable.
6271 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6272 (copysign_test_data): New variable.
6273 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6274 (fdim_test_data): New variable.
6275 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6276 (fmax_test_data): New variable.
6277 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6278 (fmin_test_data): New variable.
6279 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6280 (fmod_test_data): New variable.
6281 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6282 (hypot_test_data): New variable.
6283 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6284 (nextafter_test_data): New variable.
6285 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6286 (nexttoward_test_data): New variable.
6287 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6288 (pow_test_data): New variable.
6289 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6290 (pow_tonearest_test_data): New variable.
6291 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6292 (pow_towardzero_test_data): New variable.
6293 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6294 (pow_downward_test_data): New variable.
6295 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6296 (pow_upward_test_data): New variable.
6297 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6298 (remainder_test_data): New variable.
6299 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6300 (scalb_test_data): New variable.
6301 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6302 * sysdeps/i386/fpu/libm-test-ulps: Update.
6304 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6306 * math/libm-test.inc (fma_test): Use max_value instead of local
6308 (nextafter_test): Likewise.
6310 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6311 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6312 (acos_downward_test_data): New variable.
6313 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6314 (acos_upward_test_data): New variable.
6315 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6316 (acosh_test_data): New variable.
6317 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6318 (asin_test_data): New variable.
6319 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6320 (asin_tonearest_test_data): New variable.
6321 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6322 (asin_towardzero_test_data): New variable.
6323 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6324 (asin_downward_test_data): New variable.
6325 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6326 (asin_upward_test_data): New variable.
6327 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6328 (asinh_test_data): New variable.
6329 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6330 (atan_test_data): New variable.
6331 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6332 (atanh_test_data): New variable.
6333 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6334 (cbrt_test_data): New variable.
6335 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6336 (ceil_test_data): New variable.
6337 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6338 (cos_test_data): New variable.
6339 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6340 (cos_tonearest_test_data): New variable.
6341 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6342 (cos_towardzero_test_data): New variable.
6343 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6344 (cos_downward_test_data): New variable.
6345 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6346 (cos_upward_test_data): New variable.
6347 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6348 (cosh_test_data): New variable.
6349 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6350 (cosh_tonearest_test_data): New variable.
6351 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6352 (cosh_towardzero_test_data): New variable.
6353 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6354 (cosh_downward_test_data): New variable.
6355 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6356 (cosh_upward_test_data): New variable.
6357 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6358 (erf_test_data): New variable.
6359 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6360 (erfc_test_data): New variable.
6361 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6362 (exp_test_data): New variable.
6363 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6364 (exp_tonearest_test_data): New variable.
6365 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6366 (exp_towardzero_test_data): New variable.
6367 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6368 (exp_downward_test_data): New variable.
6369 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6370 (exp_upward_test_data): New variable.
6371 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6372 (exp10_test_data): New variable.
6373 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6374 (exp2_test_data): New variable.
6375 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6376 (expm1_test_data): New variable.
6377 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6378 (fabs_test_data): New variable.
6379 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6380 (floor_test_data): New variable.
6381 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6382 (j0_test_data): New variable.
6383 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6384 (j1_test_data): New variable.
6385 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6386 (log_test_data): New variable.
6387 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6388 (log10_test_data): New variable.
6389 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6390 (log1p_test_data): New variable.
6391 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6392 (log2_test_data): New variable.
6393 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6394 (logb_test_data): New variable.
6395 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6396 (logb_downward_test_data): New variable.
6397 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6398 (nearbyint_test_data): New variable.
6399 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6400 (rint_test_data): New variable.
6401 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6402 (rint_tonearest_test_data): New variable.
6403 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6404 (rint_towardzero_test_data): New variable.
6405 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6406 (rint_downward_test_data): New variable.
6407 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6408 (rint_upward_test_data): New variable.
6409 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6410 (round_test_data): New variable.
6411 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6412 (sin_test_data): New variable.
6413 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6414 (sin_tonearest_test_data): New variable.
6415 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6416 (sin_towardzero_test_data): New variable.
6417 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6418 (sin_downward_test_data): New variable.
6419 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6420 (sin_upward_test_data): New variable.
6421 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6422 (sinh_test_data): New variable.
6423 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6424 (sinh_tonearest_test_data): New variable.
6425 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6426 (sinh_towardzero_test_data): New variable.
6427 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6428 (sinh_downward_test_data): New variable.
6429 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6430 (sinh_upward_test_data): New variable.
6431 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6432 (sqrt_test_data): New variable.
6433 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6434 (tan_test_data): New variable.
6435 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6436 (tan_tonearest_test_data): New variable.
6437 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6438 (tan_towardzero_test_data): New variable.
6439 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6440 (tan_downward_test_data): New variable.
6441 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6442 (tan_upward_test_data): New variable.
6443 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6444 (tanh_test_data): New variable.
6445 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6446 (tgamma_test_data): New variable.
6447 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6448 (trunc_test_data): New variable.
6449 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6450 (y0_test_data): New variable.
6451 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6452 (y1_test_data): New variable.
6453 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6454 (significand_test_data): New variable.
6455 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6457 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6460 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6462 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6464 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6466 2013-05-10 Andreas Jaeger <aj@suse.de>
6469 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6470 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6472 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6474 * math/gen-libm-test.pl (adjust_arg): New function.
6475 (special_functions): Handle generating output in both functions
6477 (parse_args): Likewise.
6478 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6479 $in_func argument to parse_args.
6480 * math/libm-test.inc (struct test_f_f_data): New type.
6481 (IF_ROUND_INIT_): New macro.
6482 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6483 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6484 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6485 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6486 (ROUND_RESTORE_): Likewise.
6487 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6488 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6489 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6490 (ROUND_RESTORE_FE_UPWARD): Likewise.
6491 (RUN_TEST_LOOP_f_f): New macro.
6492 (acos_test_data): New variable.
6493 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6494 (acos_tonearest_test_data): New variable.
6495 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6497 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6499 * benchtests/bench-skeleton.c (startup): Fix coding style.
6501 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6504 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6505 negative infinity argument.
6506 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6507 negative infinity argument.
6508 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6509 negative infinity argument.
6510 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6513 2013-05-10 Florian Weimer <fweimer@redhat.com>
6515 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6516 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6517 * iconv/iconv_prog.c (main): Likewise.
6518 * locale/programs/charmap-dir.c (charmap_readdir)
6519 (fopen_uncompressed): Likewise.
6520 * locale/programs/locfile.c (siblings_uncached)
6521 (write_locale_data): Use lstat64 instead of lstat.
6522 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6525 2013-05-10 Andreas Jaeger <aj@suse.de>
6528 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6532 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6534 * elf/dl-close.c (_dl_close_worker): Add comments.
6536 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6539 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6541 (__ieee754_rem_pio2l): Update comments.
6544 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6546 (__ieee754_rem_pio2l): Update comments.
6548 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6549 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6551 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6554 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6555 (M_PI_34_LOG10El): Likewise.
6556 (M_PI2_LOG10El): Likewise.
6557 (M_PI4_LOG10El): Likewise.
6558 (M_PI_LOG10El): Likewise.
6560 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6564 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6566 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6567 (MINUS_ZERO_INIT): Likewise.
6568 (PLUS_INFTY_INIT): Likewise.
6569 (MINUS_INFTY_INIT): Likewise.
6570 (QNAN_VALUE_INIT): Likewise.
6571 (MAX_VALUE_INIT): Likewise.
6572 (MIN_VALUE_INIT): Likewise.
6573 (MIN_SUBNORM_VALUE_INIT): Likewise.
6574 (plus_zero): Initialize with PLUS_ZERO_INIT.
6575 (minus_zero): Initialize with MINUS_ZERO_INIT.
6576 (plus_infty): Initialize with PLUS_INFTY_INIT.
6577 (minus_infty): Initialize with MINUS_INFTY_INIT.
6578 (qnan_value): Initialize with QNAN_VALUE_INIT.
6579 (max_value): Initialize with MAX_VALUE_INIT.
6580 (min_value): Initialize with MIN_VALUE_INIT.
6581 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6583 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6584 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6585 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6586 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6588 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6589 (RUN_TEST_2_f): Likewise.
6590 (RUN_TEST_ff_f): Likewise.
6591 (RUN_TEST_fi_f): Likewise.
6592 (RUN_TEST_fl_f): Likewise.
6593 (RUN_TEST_fff_f): Likewise.
6594 (RUN_TEST_c_f): Likewise.
6595 (RUN_TEST_f_f1): Likewise.
6596 (RUN_TEST_fF_f1): Likewise.
6597 (RUN_TEST_fI_f1): Likewise.
6598 (RUN_TEST_ffI_f1): Likewise.
6599 (RUN_TEST_c_c): Likewise.
6600 (RUN_TEST_cc_c): Likewise.
6601 (RUN_TEST_f_i): Likewise.
6602 (RUN_TEST_f_i_tg): Likewise.
6603 (RUN_TEST_ff_i_tg): Likewise.
6604 (RUN_TEST_f_b): Likewise.
6605 (RUN_TEST_f_b_tg): Likewise.
6606 (RUN_TEST_f_l): Likewise.
6607 (RUN_TEST_f_L): Likewise.
6608 (RUN_TEST_sincos): Likewise.
6609 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6610 whether to show exceptions. Do not include ");\n" in return
6612 (special_functions): Output call to RUN_TEST_sincos instead of
6613 check_float calls. Update calls to new_test.
6614 (parse_args): Output call to single RUN_TEST_* macro instead of
6615 check_* calls and other assignments. Update calls to new_test.
6621 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6622 input to result for tgamma overflow.
6623 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6624 (gamma_coeff): New variable.
6625 (NCOEFF): New macro.
6626 (gamma_positive): New function.
6627 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6628 underflow here. Use gamma_positive instead of exp (lgamma) for
6630 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6631 (gamma_coeff): New variable.
6632 (NCOEFF): New macro.
6633 (gammaf_positive): New function.
6634 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6635 underflow here. Use gamma_positive instead of exp (lgamma) for
6637 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6638 (gamma_coeff): New variable.
6639 (NCOEFF): New macro.
6640 (gammal_positive): New function.
6641 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6642 underflow here. Use gamma_positive instead of exp (lgamma) for
6644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6645 (gamma_coeff): New variable.
6646 (NCOEFF): New macro.
6647 (gammal_positive): New function.
6648 (__ieee754_gammal_r): Handle positive infinity, overflow and
6649 underflow here. Handle NaN the same as positive infinity. Remove
6650 check x < 0xffffffff for negative integers. Use gamma_positive
6651 instead of exp (lgamma) for other arguments.
6652 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6653 (gamma_coeff): New variable.
6654 (NCOEFF): New macro.
6655 (gammal_positive): New function.
6656 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6657 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6661 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6662 * sysdeps/generic/math_private.h (__gamma_productf): New
6664 (__gamma_product): Likewise.
6665 (__gamma_productl): Likewise.
6666 * math/Makefile (libm-calls): Add gamma_product.
6667 * math/libm-test.inc (tgamma_test): Add more tests.
6668 * sysdeps/i386/fpu/libm-test-ulps: Update.
6669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6673 * benchtests/bench-skeleton.c (main): Preheat CPU.
6675 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6677 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6679 2013-05-07 Roland McGrath <roland@hack.frob.com>
6681 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6682 and _dl_skip_args_internal.
6684 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6686 * manual/message.texi (Message Translation): Talk about users.
6687 Message to key mapping impacts design.
6689 2013-05-06 Roland McGrath <roland@hack.frob.com>
6691 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6693 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6695 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6696 * sysdeps/wordsize-64/glob64.c: ... here.
6698 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6699 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6702 * debug/getlogin_r_chk.c: Moved to ...
6703 * login/getlogin_r_chk.c: ... here.
6704 * debug/Makefile (routines): Move getlogin_r_chk to ...
6705 * login/Makefile (routines): ... here.
6706 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6707 * login/Versions (libc: GLIBC_2.4): ... here.
6709 * io/poll.c (__poll): Renamed from poll.
6710 Add libc_hidden_def.
6711 (poll): Define as weak alias.
6713 * debug/ptsname_r_chk.c: Moved to ...
6714 * login/ptsname_r_chk.c: ... here.
6715 * debug/Makefile (routines): Move ptsname_r_chk to ...
6716 * login/Makefile (routines): ... here.
6717 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6718 * login/Versions (libc: GLIBC_2.4): ... here.
6720 * posix/getlogin.c: Moved to ...
6721 * login/getlogin.c: ... here.
6722 * posix/getlogin_r.c: Moved to ...
6723 * login/getlogin_r.c: ... here.
6724 * posix/getlogin_r.c: Moved to ...
6725 * login/getlogin_r.c: ... here.
6726 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6727 * login/Makefile (routines): ... here.
6728 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6729 * login/Versions (libc: GLIBC_2.0): ... here.
6731 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6732 (setrlimit): Define as weak alias.
6734 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6735 Call __ names for open, ftruncate, and close.
6736 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6737 (truncate): Define as weak alias.
6739 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6741 * math/gen-libm-test.pl (parse_args): Initialize x before each
6742 test of frexp, modf and remquo.
6744 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6747 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6751 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6755 2013-05-06 Roland McGrath <roland@hack.frob.com>
6757 * elf/dl-writev.h: New file.
6758 * elf/dl-misc.c: Include it.
6759 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6760 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6762 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6764 * math/libm-test.inc (noXFails): Remove variable.
6765 (noXPasses): Likewise.
6766 (BUILD_COMPLEX_INT): Remove macro.
6767 (print_screen): Remove xfail argument.
6768 (print_screen_max_error): Likewise.
6769 (update_stats): Likewise.
6770 (print_max_error): Likewise. Update calls to other affected
6772 (print_complex_max_error): Likewise.
6773 (test_single_exception): Update calls to print_screen.
6774 (test_single_errno): Likewise.
6775 (check_float_internal): Remove xfail argument. Update calls to
6776 other affected functions.
6777 (check_float): Likewise.
6778 (check_complex): Likewise.
6779 (check_int): Likewise.
6780 (check_long): Likewise.
6781 (check_bool): Likewise.
6782 (check_longlong): Likewise.
6783 (main): Don't print noXFails and noXPasses.
6784 * math/gen-libm-test.pl (top level): Don't mention expected
6785 failure handling in comment.
6786 (new_test): Don't handle expected failures.
6787 (parse_args): Don't mention expected failure handling in comment.
6788 (generate_testfile): Don't handle expected failures.
6789 (parse_ulps): Likewise.
6790 (print_ulps_file): Likewise.
6791 (get_failure): Remove function.
6792 (output_test): Don't handle expected failures.
6793 * make/README.libm-test: Don't mention expected failure handling.
6795 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6796 (minus_zero): Likewise.
6797 (plus_infty): Likewise.
6798 (minus_infty): Likewise.
6799 (qnan_value): Likewise.
6800 (max_value): Likewise.
6801 (min_value): Likewise.
6802 (min_subnorm_value): Likewise.
6803 (initialize): Do not initialize those variables dynamically.
6805 2013-05-03 Roland McGrath <roland@hack.frob.com>
6807 * io/open.c (__open_2): Moved to ...
6808 * io/open_2.c: ... this new file.
6809 * io/open64.c (__open64_2): Moved to ...
6810 * io/open64_2.c: ... this new file.
6811 * io/openat.c (__openat_2): Moved to ...
6812 * io/openat_2.c: ... this new file.
6813 * io/openat64.c (__openat64_2): Moved to ...
6814 * io/openat64_2.c: ... this new file.
6815 * io/Makefile (routines): Add them.
6816 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6817 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6818 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6819 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6820 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6821 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6822 (__openat64): Add hidden_ver.
6823 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6824 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6826 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6827 Separately conditionalize setting of GLRO(dl_sysinfo) so
6828 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6829 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6831 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6836 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6837 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6838 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6839 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6840 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6842 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6844 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6847 * math/libm-test.inc (hypot_test): Do not use
6848 IGNORE_ZERO_INF_SIGN.
6850 2013-05-03 Andreas Jaeger <aj@suse.de>
6852 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6854 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6855 (PF_MAX): Adjust for VSOCK change.
6857 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6861 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6864 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6865 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6866 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6868 2013-05-02 David S. Miller <davem@davemloft.net>
6870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6872 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6874 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6876 2013-05-01 Roland McGrath <roland@hack.frob.com>
6878 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6880 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6883 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6884 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6885 Use __attribute__ ((__gnu_inline__)).
6886 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6887 Don't use __attribute__ ((__gnu_inline__)).
6889 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6892 * math/s_catan.c (__catan): Handle small real or imaginary part of
6893 input specially to avoid spurious underflow.
6894 * math/s_catanf.c (__catanf): Likewise.
6895 * math/s_catanh.c (__catanh): Likewise.
6896 * math/s_catanhf.c (__catanhf): Likewise.
6897 * math/s_catanhl.c (__catanhl): Likewise.
6898 * math/s_catanl.c (__catanl): Likewise.
6899 * math/libm-test.inc (catan_test): Add more tests.
6900 (catanh_test): Likewise.
6901 * sysdeps/i386/fpu/libm-test-ulps: Update.
6902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6908 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6911 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6912 accurately for denominator in atan2.
6913 * math/s_catanf.c (__catanf): Likewise.
6914 * math/s_catanh.c (__catanh): Likewise.
6915 * math/s_catanhf.c (__catanhf): Likewise.
6916 * math/s_catanhl.c (__catanhl): Likewise.
6917 * math/s_catanl.c (__catanl): Likewise.
6918 * math/libm-test.inc (catan_test): Add more tests.
6919 (catanh_test): Likewise.
6920 * sysdeps/i386/fpu/libm-test-ulps: Update.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6923 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6925 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6927 * benchtests/Makefile (bench): Remove slow benchmarks.
6928 * benchtests/atan-inputs: Add slow benchmark inputs.
6929 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6930 (BENCH_FUNC): Accept variant offset.
6932 * benchtests/bench-skeleton.c (main): Run benchmark for each
6934 * benchtests/cos-inputs: Add slow benchmark inputs.
6935 * benchtests/exp-inputs: Likewise.
6936 * benchtests/pow-inputs: Likewise.
6937 * benchtests/sin-inputs: Likewise.
6938 * benchtests/slowatan-inputs: Remove.
6939 * benchtests/slowatan.c: Remove.
6940 * benchtests/slowcos-inputs: Remove.
6941 * benchtests/slowcos.c: Remove.
6942 * benchtests/slowexp-inputs: Remove.
6943 * benchtests/slowexp.c: Remove.
6944 * benchtests/slowpow-inputs: Remove.
6945 * benchtests/slowpow.c: Remove.
6946 * benchtests/slowsin-inputs: Remove.
6947 * benchtests/slowsin.c: Remove.
6948 * benchtests/slowtan-inputs: Remove.
6949 * benchtests/slowtan.c: Remove.
6950 * benchtests/tan-inputs: Add slow benchmark inputs.
6951 * scripts/bench.pl: Parse comments and directives.
6953 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6955 ($(objpfx)bench-%.c): Remove *-ITER.
6956 * benchtests/bench-modf.c: Remove definition of ITER.
6957 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6958 (main): Loop for DURATION seconds instead of fixed number of
6960 * scripts/bench.pl: Don't expect iterations in parameters.
6962 2013-04-29 Roland McGrath <roland@hack.frob.com>
6964 * io/fchdir.c (__fchdir): Renamed from fchdir.
6965 (fchdir): Define as weak alias.
6967 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6969 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6970 (ERRNO_EDOM): Likewise.
6971 (ERRNO_ERANGE): Likewise.
6972 (noErrnoTests): New variable.
6973 (init_max_error): Set errno to 0.
6974 (test_single_errno): New function.
6975 (test_errno): Likewise.
6976 (check_float_internal): Call test_errno. Set errno to 0.
6977 (check_complex): Refer to errno tests in comment.
6978 (check_int): Call test_errno. Set errno to 0.
6979 (check_long): Likewise.
6980 (check_bool): Likewise.
6981 (check_longlong): Likewise.
6982 (cos_test): Use ERRNO_* flags for errno tests instead of
6984 (expm1_test): Likewise.
6985 (fmod_test): Likewise.
6986 (ilogb_test): Likewise.
6987 (lgamma_test): Likewise.
6988 (pow_test): Likewise.
6989 (remainder_test): Likewise.
6990 (sin_test): Likewise.
6991 (tan_test): Likewise.
6992 (yn_test): Likewise.
6993 (initialize): Set errno to 0.
6994 (main): Print number of errno tests.
6995 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6997 2013-04-29 Andreas Jaeger <aj@suse.de>
7000 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7004 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7005 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7009 * stdlib/random.c (__initstate): Return NULL if
7013 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7014 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7017 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7021 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7023 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7024 of individual tests.
7025 (casin_test): Likewise.
7026 (casinh_test): Likewise.
7028 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7031 * math/s_catan.c (__catan): Handle arguments with large real or
7032 imaginary part separately without squaring.
7033 * math/s_catanf.c (__catanf): Likewise.
7034 * math/s_catanh.c (__catanh): Likewise.
7035 * math/s_catanhf.c (__catanhf): Likewise.
7036 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7038 (__catanhl): Handle arguments with large real or imaginary part
7039 separately without squaring.
7040 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7042 (__catanl): Handle arguments with large real or imaginary part
7043 separately without squaring.
7044 * math/libm-test.inc (catan_test): Add more tests.
7045 (catanh_test): Likewise.
7046 * sysdeps/i386/fpu/libm-test-ulps: Update.
7047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7049 2013-04-27 Andreas Jaeger <aj@suse.de>
7052 * stdlib/stdlib.h: Update guards for qecvt.
7053 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7056 2013-04-27 Allan McRae <allan@archlinux.org>
7058 * sysdeps/i386/fpu/libm-test-ulps: Update.
7060 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7063 * math/s_catan.c: Include <float.h>.
7064 (__catan): Ensure underflow exception occurs for underflowed
7066 * math/s_catanf.c: Include <float.h>.
7067 (__catanf): Ensure underflow exception occurs for underflowed
7069 * math/s_catanh.c: Include <float.h>.
7070 (__catanh): Ensure underflow exception occurs for underflowed
7072 * math/s_catanhf.c: Include <float.h>.
7073 (__catanhf): Ensure underflow exception occurs for underflowed
7075 * math/s_catanhl.c: Include <float.h>.
7076 (__catanhl): Ensure underflow exception occurs for underflowed
7078 * math/s_catanl.c: Include <float.h>.
7079 (__catanl): Ensure underflow exception occurs for underflowed
7081 * math/libm-test.inc (catan_test): Add more tests.
7082 (catanh_test): Likewise.
7085 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7087 * math/s_ccoshf.c (__ccoshf): Likewise.
7088 * math/s_ccoshl.c (__ccoshl): Likewise.
7089 * math/s_csin.c (__csin): Likewise.
7090 * math/s_csinf.c (__csinf): Likewise.
7091 * math/s_csinh.c (__csinh): Likewise.
7092 * math/s_csinhf.c (__csinhf): Likewise.
7093 * math/s_csinhl.c (__csinhl): Likewise.
7094 * math/s_csinl.c (__csinl): Likewise.
7095 * math/libm-test.inc (ccos_test): Add more tests.
7096 (ccosh_test): Likewise.
7097 (csin_test): Likewise.
7098 (csinh_test): Likewise.
7100 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7102 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7103 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7104 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7105 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7106 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7107 powerpc/power5+/fpu folders.
7108 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7111 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7115 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7117 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7118 additions to variable.
7119 [$(config-machine) = x86_64] (modules-names): Likewise.
7120 ($(objpfx)tst-audit3): Remove dependency.
7121 ($(objpfx)tst-audit3.out): Likewise.
7122 ($(objpfx)tst-audit4): Likewise.
7123 ($(objpfx)tst-audit4.out): Likewise.
7124 ($(objpfx)tst-audit5): Likewise.
7125 ($(objpfx)tst-audit5.out): Likewise.
7126 ($(objpfx)tst-audit6): Likewise.
7127 ($(objpfx)tst-audit6.out): Likewise.
7128 ($(objpfx)tst-audit7): Likewise.
7129 ($(objpfx)tst-audit7.out): Likewise.
7130 (tst-audit3-ENV): Remove variable.
7131 (tst-audit4-ENV): Likewise.
7132 (tst-audit5-ENV): Likewise.
7133 (tst-audit6-ENV): Likewise.
7134 (tst-audit7-ENV): Likewise.
7135 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7136 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7137 addition to variable.
7138 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7139 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7140 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7141 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7142 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7143 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7144 tst-audit3, tst-audit4 and tst-audit5.
7145 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7146 tst-audit6 and tst-audit7.
7147 [$(subdir) = elf] (modules-names): Add audit modules for those
7149 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7150 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7151 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7152 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7153 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7154 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7155 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7156 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7157 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7158 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7159 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7160 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7161 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7162 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7163 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7164 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7166 [$(subdir) = elf && $(config-cflags-avx) = yes]
7167 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7168 [$(subdir) = elf && $(config-cflags-avx) = yes]
7169 (CFLAGS-tst-auditmod4a.c): Likewise.
7170 [$(subdir) = elf && $(config-cflags-avx) = yes]
7171 (CFLAGS-tst-auditmod4b.c): Likewise.
7172 [$(subdir) = elf && $(config-cflags-avx) = yes]
7173 (CFLAGS-tst-auditmod6b.c): Likewise.
7174 [$(subdir) = elf && $(config-cflags-avx) = yes]
7175 (CFLAGS-tst-auditmod6c.c): Likewise.
7176 [$(subdir) = elf && $(config-cflags-avx) = yes]
7177 (CFLAGS-tst-auditmod7b.c): Likewise.
7178 * elf/tst-audit3.c: Move to ...
7179 * sysdeps/x86_64/tst-audit3.c: ... here.
7180 * elf/tst-audit4.c: Move to ...
7181 * sysdeps/x86_64/tst-audit4.c: ... here.
7182 * elf/tst-audit5.c: Move to ...
7183 * sysdeps/x86_64/tst-audit5.c: ... here.
7184 * elf/tst-audit6.c: Move to ...
7185 * sysdeps/x86_64/tst-audit6.c: ... here.
7186 * elf/tst-audit7.c: Move to ...
7187 * sysdeps/x86_64/tst-audit7.c: ... here.
7188 * elf/tst-auditmod3a.c: Move to ...
7189 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7190 * elf/tst-auditmod3b.c: Move to ...
7191 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7192 * elf/tst-auditmod4a.c: Move to ...
7193 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7194 * elf/tst-auditmod4b.c: Move to ...
7195 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7196 * elf/tst-auditmod5a.c: Move to ...
7197 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7198 * elf/tst-auditmod5b.c: Move to ...
7199 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7200 * elf/tst-auditmod6a.c: Move to ...
7201 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7202 * elf/tst-auditmod6b.c: Move to ...
7203 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7204 * elf/tst-auditmod6c.c: Move to ...
7205 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7206 * elf/tst-auditmod7a.c: Move to ...
7207 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7208 * elf/tst-auditmod7b.c: Move to ...
7209 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7211 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7214 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7215 define unconditionally.
7216 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7217 define unconditionally.
7218 (INT8_C, INT16_C, etc.): Likewise.
7220 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7222 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7223 __ehdr_start with hidden visibility.
7225 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7227 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7229 * math/libm-test.inc (cos_test): Use accurate hex constants.
7230 (sincost_test): Likewise.
7232 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7234 * math/libm-test.inc (catan_test): Add more tests.
7235 (catanh_test): Likewise.
7237 * math/s_catanf.c (__catanf): Use suffixed floating-point
7239 * math/s_catanhf.c (__catanhf): Likewise.
7240 * math/s_catanhl.c (__catanhl): Likewise.
7241 * math/s_catanl.c (__catanl): Likewise.
7244 * math/s_catan.c (__catan): Calculate imaginary part of result
7245 with log1p not log unless computing log of number close to 0.
7246 * math/s_catanf.c (__catanf): Likewise.
7247 * math/s_catanl.c (__catanl): Likewise.
7248 * math/s_catanh.c (__catanh): Calculate real part of result with
7249 log1p not log unless computing log of number close to 0.
7250 * math/s_catanhf.c (__catanhf): Likewise.
7251 * math/s_catanhl.c (__catanhl): Likewise.
7252 * math/libm-test.inc (catan_test): Add more tests.
7253 (catanh_test): Likewise.
7254 * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7259 * benchtests/Makefile: Mention files in which fast and slow
7260 paths of math functions are implemented.
7262 2013-04-23 Roland McGrath <roland@hack.frob.com>
7264 * sysdeps/posix/timespec_get.c: New file.
7266 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7268 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7270 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7272 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7273 powerpc/power5/fpu folders.
7274 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7275 * benchtests/Makefile: Add modf testcase.
7276 * benchtests/bench-modf.c: New file: Benchmark test for mo
7278 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7281 * time/Makefile (tests): Add tst-strptime-whitespace.
7282 * time/strptime_l.c (get_number): Use ISSPACE.
7283 (__strptime_internal): Likewise.
7284 * time/tst-strptime-whitespace.c: New test case.
7286 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7288 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7290 (_nss_files_init): Set it here.
7292 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7294 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7295 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7298 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7300 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7302 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7307 2013-04-21 David S. Miller <davem@davemloft.net>
7309 * po/ru.po: Update Russion translation from translation project.
7311 2013-04-17 Adam Conrad <adconrad@0c3.net>
7313 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7316 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7318 * configure.in: Remove i386 configure warning. Remove i386 case.
7319 * configure: Regenerate.
7320 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7321 Add example to error message.
7322 * sysdeps/i386/configure: Regenerate.
7324 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7326 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7328 * benchtests/cos-inputs: New file.
7329 * benchtests/slowcos-inputs: New file.
7330 * benchtests/slowcos.c: New file.
7331 * benchtests/slowtan-inputs: New file.
7332 * benchtests/slowtan.c: New file.
7333 * benchtests/tan-inputs: New file.
7335 2013-04-16 Roland McGrath <roland@hack.frob.com>
7337 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7340 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7342 * benchtests/Makefile: Include cppflags-iterator.mk to add
7343 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7345 * Makefile.in (bench-clean): New target.
7346 * benchtests/Makefile (bench-clean): Likewise.
7348 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7350 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7352 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7354 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7356 2013-04-15 Andreas Schwab <schwab@suse.de>
7358 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7360 * nscd/pwdcache.c (cache_addpw): Likewise.
7361 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7364 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7366 * benchtests/Makefile (bench): Write all output to
7367 bench-out.tmp together.
7369 2013-04-15 Andreas Schwab <schwab@suse.de>
7371 * nscd/nscd.c (main): Don't fork again after closing files.
7373 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7375 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7377 * benchtests/Rules (bench-deps): Collect dependencies into a
7378 single variable. Add Makefile to dependencies.
7379 ($(objpfx)bench-%.c): Depend on bench-deps.
7381 2013-04-12 Roland McGrath <roland@hack.frob.com>
7382 Xavier Roche <roche+kml2@exalead.com>
7385 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7386 just that it's a file descriptor.
7387 * manual/llio.texi (Synchronizing AIO Operations): Update description
7388 for EBADF error from aio_fsync.
7390 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7392 * Rules (bench): Move target definition...
7393 * benchtests/Makefile: ... here.
7395 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7397 * math/libm-test.inc (cos_test): Fix PI/2 test.
7398 (sincos_test): Likewise.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7400 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7402 2013-04-11 Andreas Schwab <schwab@suse.de>
7405 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7406 accept exponent character only when digits were seen.
7407 * stdio-common/Makefile (tests): Add bug26.
7408 * stdio-common/bug26.c: New file.
7411 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7414 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7416 * Makeconfig (rtld-prefix): Define built linker prefix.
7417 * Rules (run-bench): Use it.
7418 * math/Makefile (run-regen-ulps): Likewise.
7420 * Rules (bench): Remove eval.
7422 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7423 Roland McGrath <roland@hack.frob.com>
7424 Ondrej Bilka <neleai@seznam.cz>
7427 * time/getdate.c: Include ctype.h and alloca.h.
7428 (__getdate_r): Trim leading and trailing spaces of input.
7429 * time/tst-getdate.c (tests): Add tests with leading and
7432 2013-04-08 Roland McGrath <roland@hack.frob.com>
7435 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7436 when computing value.
7438 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7440 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7441 Use testrun.sh to run libm tests.
7444 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7446 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7449 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7451 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7453 * Makefile.in (regen-ulps): New target.
7454 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7455 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7456 [ifneq (no,$(PERL)] (regen-ulps): New target.
7457 [ifeq (no,$(PERL)] (regen-ulps): New target.
7458 * math/libm-test.inc (ulps_file_name): Define.
7459 (output_dir): New variable.
7460 (options): Add "output-dir" option.
7461 (parse_opt): Handle 'o' case.
7462 (main): If output_dir is non-NULL use it as a prefix
7464 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7466 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7469 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7470 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7471 fail configure if __sync_val_compare_and_swap is not inlined.
7472 * sysdeps/i386/configure: Regenerate.
7473 * configure.in: Build for i686 when configured for i386.
7474 * configure: Regenerate.
7475 * README: Remove i386 reference.
7477 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7479 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7482 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7484 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7485 (lmsnanval): New variables.
7486 (F): Add conversion tests.
7487 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7488 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7490 * stdio-common/tstdiomisc.c (F): Properly collect individual
7494 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7495 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7496 Instead, use input NaN values or generate a qNaN by arithmetic
7497 operation. Also fix bugs to comply with the standard.
7498 * math/libm-test.inc (remainder_test): Add more tests.
7501 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7503 input NaN values or generate a qNaN by arithmetic operation.
7505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7508 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7511 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7514 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7516 * math/s_cexpf.c (__cexpf): Likewise.
7517 * math/s_cexpl.c (__cexpl): Likewise.
7518 * math/libm-test.inc (cexp_test): Add more tests.
7520 2013-04-03 Andreas Schwab <schwab@suse.de>
7523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7524 order arrays from heap if bigger than alloca cutoff.
7526 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7528 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7529 (SNAN_TESTS_double): Refer to GCC PR56831.
7530 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7533 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7535 * Rules (bench): Move bench.out after the run is complete.
7537 * Rules (bench): Echo currently running benchmark.
7539 * benchtests/Makefile (bench): Add atan and slowatan.
7540 * benchtests/atan-inputs: New file.
7541 * benchtests/slowatan-inputs: New file.
7542 * benchtests/slowatan.c: New file.
7544 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7549 * sysdeps/unix/sysv/linux/kernel-features.h
7550 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7551 __ASSUME_XFS_RESTRICTED_CHOWN.
7552 * sysdeps/unix/sysv/linux/pathconf.c
7553 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7554 Save and restore errno.
7556 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7559 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7560 arguments using __kernel_casinh.
7561 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7562 arguments using __kernel_casinhf.
7563 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7564 arguments using __kernel_casinhl.
7565 * math/libm-test.inc (cacosh_test): Add more tests.
7566 * sysdeps/i386/fpu/libm-test-ulps: Update.
7567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7569 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7571 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7574 * bench/Makefile (bench): Add sin and slowsin.
7575 * benchtests/sin-inputs: New file.
7576 * benchtests/slowsin-inputs: New file.
7577 * benchtests/slowsin.c: New file.
7579 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7580 (bench): Add slowexp and slowpow.
7581 (exp-ITER): Increase iterations.
7582 (pow-ITER): Likewise.
7583 * benchtests/exp-inputs: Change input.
7584 * benchtests/pow-inputs: Likewise.
7585 * benchtests/slowexp-inputs: New file.
7586 * benchtests/slowexp.c: New file.
7587 * benchtests/slowpow-inputs: New file.
7588 * benchtests/slowpow.c: New file.
7590 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7592 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7594 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7595 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7596 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7597 * benchtests/Makefile: Add rint benchtest.
7598 * benchtests/rint-inputs: Input for rint benchtest.
7600 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7602 * Versions.def (libm): Add GLIBC_2.18.
7603 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7604 hidden libm prototypes.
7605 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7606 * math/Makefile (libm-calls): Add s_issignaling.
7607 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7608 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7609 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7611 * math/math.h [__USE_GNU] (issignaling): New macro.
7612 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7613 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7618 * manual/arith.texi (issignaling): New section.
7619 * manual/libm-err-tab.pl (@all_functions): Update comment.
7620 * math/gen-libm-test.pl (parse_args): Apply special handling for
7622 * math/libm-test.inc (print_float, issignaling_test): New
7624 (check_float_internal): Add issignaling checks.
7625 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7627 * sysdeps/powerpc/math-tests.h: New file.
7628 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7630 * math/test-snan.c (TEST_FUNC): Likewise.
7632 2013-03-30 David S. Miller <davem@davemloft.net>
7634 * po/de.po: Update from translation team.
7636 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7639 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7640 imaginary part less than 1.0 and real part less than 0.5
7642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7644 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7645 (cacos_test): Add more tests.
7646 (casin_test): Likewise.
7647 (casinh_test): Likewise.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7651 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7653 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7656 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7657 (__pow_mp): Replace ONE and MONE with their values.
7658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7660 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7661 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7662 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7665 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7667 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7668 (__pow_mp): Replace ZERO and MZERO with their values.
7669 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7671 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7673 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7674 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7677 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7679 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7681 2013-03-28 Roland McGrath <roland@hack.frob.com>
7683 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7684 Declare with __attribute__ ((weak)).
7685 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7686 Call __call_tls_dtors only if it's not NULL.
7688 2013-03-28 Roland McGrath <roland@hack.frob.com>
7690 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7691 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7692 magic __ehdr_start linker symbol if it's defined.
7693 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7694 them up here if it was already done.
7696 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7697 (_dl_aux_init): Use const in cast when setting it.
7698 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7699 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7700 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7702 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7704 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7705 * csu/libc-tls.c: Nor here.
7706 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7708 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7709 (__libc_message): Never call vsyslog.
7711 2013-03-28 Alan Modra <amodra@gmail.com>
7713 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7715 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7718 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7725 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7728 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7729 Don't add gid passed as argument.
7731 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7733 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7737 imaginary part between 1.0 and 1.5 and real part less than 0.5
7739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7741 * math/libm-test.inc (cacos_test): Add more tests.
7742 (casin_test): Likewise.
7743 (casinh_test): Likewise.
7744 * sysdeps/i386/fpu/libm-test-ulps: Update.
7745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7747 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7749 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7753 (__dbl_mp): Likewise.
7754 (add_magnitudes): Likewise.
7755 (sub_magnitudes): Likewise.
7763 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7765 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7766 (__dubcos): Likewise.
7767 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7768 (__ieee754_acos): Likewise.
7769 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7770 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7775 (my_log2): Likewise.
7776 (checkint): Likewise.
7777 * sysdeps/ieee754/dbl-64/e_remainder.c
7778 (__ieee754_remainder): Likewise.
7779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7784 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7785 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7786 MANTISSA_STORE_T to store computations on mantissa. Use
7787 macros for rounding and division.
7789 (__dbl_mp): Likewise.
7790 (add_magnitudes): Likewise.
7791 (sub_magnitudes): Likewise.
7794 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7795 powers of two in terms of TWOPOW macro.
7796 (mp_no): Make type of mantissa as MANTISSA_T.
7797 [!RADIXI]: Define RADIXI.
7798 [!TWO52]: Define TWO52.
7799 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7801 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7803 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7804 llroundl symbol when building for PPC32.
7806 2013-03-24 Mark H Weaver <mhw@netris.org>
7808 * manual/arith.texi (Normalization Functions): Fix prototypes for
7809 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7811 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7815 high value to check if expl overflow.
7816 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7817 to check for underflow and overflow.
7818 * math/libm-test.inc: Add exp test.
7820 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7823 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7826 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7828 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7831 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7833 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7834 wrap blocks consisting of several statements.
7836 * sysdeps/generic/math-tests.h: New file.
7837 * sysdeps/i386/fpu/math-tests.h: Likewise.
7838 * math/test-snan.c: Include it.
7839 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7841 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7845 (__ieee754_j0l): Do not improve calculations using cos of twice
7846 input for inputs above LDBL_MAX / 2.0L.
7847 (__ieee754_y0l): Likewise.
7848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7849 (__ieee754_j1l): Do not improve calculations using cos of twice
7850 input for inputs above LDBL_MAX / 2.0L.
7851 (__ieee754_y1l): Likewise.
7852 * math/libm-test.inc (j0_test): Add another test.
7853 (j1_test): Likewise.
7854 (y0_test): Likewise.
7855 (y1_test): Likewise.
7856 * sysdeps/i386/fpu/libm-test-ulps: Update.
7858 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7860 * Rules ($(objpfx)bench-%.c): Include code from a C source
7863 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7866 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7867 imaginary part 1.0 and real part less than 0.5 specially.
7868 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7869 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7870 * math/libm-test.inc (cacos_test): Add more tests.
7871 (casin_test): Likewise.
7872 (casinh_test): Likewise.
7873 * sysdeps/i386/fpu/libm-test-ulps: Update.
7874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7876 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7879 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7881 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7883 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7884 * config.make.in (config-cflags-sse4): Remove variable.
7885 (config-cflags-avx): Likewise.
7886 (config-cflags-sse2avx): Likewise.
7887 (config-cflags-novzeroupper): Likewise.
7888 (config-asflags-i686): Likewise.
7889 (have-mfma4): Likewise.
7890 (have-as-vis3): Likewise.
7892 * configure.in (MIG): Do not AC_SUBST.
7893 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7894 (libc_cv_cc_sse4): Do not AC_SUBST.
7895 (libc_cv_cc_avx): Likewise.
7896 (libc_cv_cc_sse2avx): Likewise.
7897 (libc_cv_cc_novzeroupper): Likewise.
7898 (libc_cv_cc_fma4): Likewise.
7899 (libc_cv_as_i686): Likewise.
7900 (libc_cv_sparc_as_vis3): Likewise.
7901 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7903 (config-asflags-i686): Likewise.
7904 (config-cflags-avx): Likewise.
7905 (config-cflags-sse2avx): Likewise.
7906 (have-mfma4): Likewise.
7907 (config-cflags-novzeroupper): Likewise.
7908 * sysdeps/mach/configure.in (MIG): Likewise.
7909 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7910 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7912 (config-cflags-avx): Likewise.
7913 (config-cflags-sse2avx): Likewise.
7914 (have-mfma4): Likewise.
7915 (config-cflags-novzeroupper): Likewise.
7916 * configure: Regenerated.
7917 * sysdeps/i386/configure: Likewise.
7918 * sysdeps/mach/configure: Likewise.
7919 * sysdeps/sparc/configure: Likewise.
7920 * sysdeps/x86_64/configure: Likewise.
7922 2013-03-20 Roland McGrath <roland@hack.frob.com>
7925 * locale/programs/localedef.c (options): Put N_ translation marker
7926 on argument names, not just descriptions.
7928 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7930 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7932 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7935 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7937 2013-03-19 Roland McGrath <roland@hack.frob.com>
7939 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7940 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7941 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7942 [!BEFORE_ABORT] (before_abort): New function.
7943 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7944 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7945 (writev_for_fatal): New function.
7946 (WRITEV_FOR_FATAL): New macro; call that.
7947 (backtrace_and_maps): New function.
7948 (BEFORE_ABORT): New macro; call that.
7949 (struct str_list): Type removed.
7950 (__libc_message, __libc_fatal): Functions removed.
7951 Include <sysdeps/posix/libc_fatal.c> instead.
7953 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7955 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7957 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7960 2013-03-19 Andreas Schwab <schwab@suse.de>
7962 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7963 * sysdeps/gnu/configure: Regenerate.
7965 * configure.in: Substitute libc_cv_rtlddir.
7966 * configure: Regenerate.
7967 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7968 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7969 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7970 * elf/Makefile (install-others, CFLAGS-interp.c)
7971 (ldso_install, common-ldd-rewrite): Likewise.
7972 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7973 $(inst_slibdir)/$(rtld-installed-name).
7974 * scripts/rellns-sh: Add -p option.
7975 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7978 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7980 * manual/nptl.texi: Renamed to ...
7981 * manual/threads.texi: ... this.
7982 * manual/Makefile (chapters): Update.
7984 2013-03-18 Roland McGrath <roland@hack.frob.com>
7987 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7988 on argument names, not just descriptions.
7989 * malloc/memusagestat.c (options): Likewise.
7990 * nss/getent.c (options): Likewise.
7992 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7995 * iconv/iconv_prog.c (options): Put N_ translation marker
7996 on argument names, not just descriptions.
7997 * iconv/iconvconfig.c (options): Likewise.
7999 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8001 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8002 implementation which is faster on all x86_64 architectures.
8003 Tested on AMD, Intel Nehalem, SNB, IVB.
8004 * sysdeps/x86_64/strnlen.S: Likewise.
8006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8007 Remove all multiarch strlen and strnlen versions.
8008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8009 Remove strlen and strnlen related parts.
8011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8013 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8015 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8016 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8017 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8018 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8019 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8020 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8022 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8024 * manual/memory.texi (Malloc Tunable Parameters):
8025 Sort parameters alphabetically. Add comments for missing entries.
8027 2013-03-17 David S. Miller <davem@davemloft.net>
8029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8031 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8035 for arguments at most half maximum finite value.
8036 * math/libm-test.inc (j0_test): Add more tests.
8037 (j1_test): Likewise.
8038 (y0_test): Likewise.
8039 (y1_test): Likewise.
8040 * sysdeps/i386/fpu/libm-test-ulps: Update.
8041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8044 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8045 1 / x and functions P and Q for arguments above 0x1p256L.
8046 (__ieee754_y0l): Likewise.
8047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8048 (__ieee754_y1l): Likewise.
8049 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8050 (j1_test): Likewise.
8051 (y0_test): Likewise.
8052 (y1_test): Likewise.
8054 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8056 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8059 2013-03-15 Roland McGrath <roland@hack.frob.com>
8061 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8062 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8063 zero since it's initialized to EXEC_PAGESIZE.
8065 * sysdeps/unix/sysv/linux/ldsodefs.h
8066 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8067 * sysdeps/generic/ldsodefs.h: ... here.
8069 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8071 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8073 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8075 * math/test-snan.c: Renamed from
8076 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8077 * math/Makefile (tests): Add test-snan.
8078 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8081 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8082 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8084 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8085 __builtin_nan family of functions.
8086 * math/libm-test.inc (initialize): Initialize qnan_value with
8087 __builtin_nan family of functions.
8088 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8090 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8092 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8093 storage class. Initialize qNaN_var and sNaN_var with
8094 __builtin_nan and __builtin_nans families of functions,
8097 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8098 (sqrt_test): Remove duplicate test with qNaN input.
8099 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8100 (round_test, signbit_test, significand_test): Note missing +/-Inf
8101 as well as qNaN tests.
8103 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8104 qNaN_var. Fix a few strings, too.
8105 * math/libm-test.inc (nan_value): Rename to qnan_value.
8106 * math/gen-libm-test.pl (%beautify): Adjust to that.
8107 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8108 * math/test-misc.c (main): Likewise.
8109 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8110 to __qnan_bytes, and __qnan_union, respectively.
8111 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8113 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8114 and lqnanval, respectively.
8115 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8116 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8117 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8118 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8120 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8121 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8124 * math/test-misc.c (main): Fix copy'n'pastos.
8125 * misc/tst-efgcvt.c (special): Likewise.
8127 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8128 Remove declarations.
8130 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8132 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8133 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8134 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8135 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8137 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8140 macro to return vdso values correctly in IFUNC implementations.
8141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8142 Optimization by using IFUNC.
8144 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8145 Richard Henderson <rth@redhat.com>
8146 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8148 * Makefile.in (bench): New target.
8149 * NEWS: Mention the benchmark framework.
8150 * Rules (bench): Likewise.
8151 (binaries-bench): Generate binaries for functions to
8153 * benchtests/Makefile: New makefile for benchmark tests.
8154 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8156 * benchtests/exp-inputs: New input file for EXP function.
8157 * benchtests/pow-inputs: New input file for POW function.
8158 * scripts/bench.pl: New script to generate source files for
8161 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8163 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8164 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8165 computations on mantissa. Use macros for rounding and
8168 (__dbl_mp): Likewise.
8169 (add_magnitudes): Likewise.
8170 (sub_magnitudes): Likewise.
8173 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8174 powers of two in terms of TWOPOW macro.
8175 (mp_no): Make type of mantissa as MANTISSA_T.
8176 [!RADIXI]: Define RADIXI.
8177 [!TWO52]: Define TWO52.
8178 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8180 * manual/nptl.texi (cindex): Modify threads to pthreads.
8182 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8184 * sysdeps/x86_64/preconfigure: Regenerated.
8186 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8189 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8191 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8192 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8194 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8195 * math/libm-test.inc (j0_test): Do not allow one spurious
8196 underflow exception.
8197 (y1_test): Likewise.
8199 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8201 * manual/Makefile (chapters): Add nptl.
8202 * manual/debug.texi (Debugging Support): Add link to Threads
8204 * manual/nptl.texi: New file.
8206 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8208 2013-03-14 Petr Baudis <pasky@ucw.cz>
8210 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8211 for non-NULL pointer before the memory validity test. Pointed
8212 out by Holger Brunck <holger.brunck@keymile.com>.
8214 2013-03-13 Andreas Schwab <schwab@suse.de>
8216 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8219 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8221 * timezone/zic.c: Update from tzcode 2013b.
8223 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8225 * manual/install.texi (Configuring and compiling):
8226 Mention i686 and i586.
8227 * INSTALL: Regenerate.
8229 2013-03-12 Roland McGrath <roland@hack.frob.com>
8231 * sysdeps/init_array/elf-init.c: New file.
8233 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8234 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8236 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8237 __gmon_start__ as global, but as static with a .preinit_array pointer.
8238 * sysdeps/init_array/gmon-start.c: New file. Use that.
8239 * sysdeps/init_array/crti.S: New file, empty except for comments.
8240 * sysdeps/init_array/crtn.S: Likewise.
8242 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8244 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8247 Remove Prefer_SSE_for_memop.
8248 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8249 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8250 HAS_PREFER_SSE_FOR_MEMOP.
8251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8254 Remove bzero, memset ifunc support.
8255 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8256 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8257 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8260 2013-03-11 Andreas Schwab <schwab@suse.de>
8263 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8266 (GLIBC_2.16): Remove pthread_atfork.
8268 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8270 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8271 (ptestcases.h): Likewise.
8273 2013-03-08 Roland McGrath <roland@hack.frob.com>
8275 * Makeconfig ($(common-objpfx)config.status): Depend on
8276 sysdeps/*/preconfigure{,.in} too.
8278 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8280 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8281 (__free_hook): Use void * instead of __malloc_ptr_t.
8282 (__malloc_hook): Likewise.
8283 (__realloc_hook): Likewise.
8284 (__memalign_hook): Likewise.
8285 (__after_morecore_hook): Likewise.
8286 * malloc/arena.c (save_malloc_hook): Likewise.
8287 (save_free_hook): Likewise.
8288 * malloc/hooks.c (malloc_hook_ini): Likewise.
8289 (realloc_hook_ini): Likewise.
8290 (memalign_hook_ini): Likewise.
8291 * malloc/malloc.c (malloc_hook_ini): Likewise.
8292 (realloc_hook_ini): Likewise.
8293 (memalign_hook_ini): Likewise.
8294 (__free_hook): Likewise.
8295 (__malloc_hook): Likewise.
8296 (__realloc_hook): Likewise.
8297 (__memalign_hook): Likewise.
8298 (__libc_malloc): Likewise.
8299 (__libc_free): Likewise.
8300 (__libc_realloc): Likewise.
8301 (__libc_memalign): Likewise.
8302 (__libc_valloc): Likewise.
8303 (__libc_pvalloc): Likewise.
8304 (__libc_calloc): Likewise.
8305 (__posix_memalign): Likewise.
8306 * malloc/morecore.c (__sbrk): Likewise.
8307 (__default_morecore): Likewise.
8309 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8311 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8312 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8315 * malloc/malloc.h (__malloc_size_t): Remove macro.
8316 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8318 (old_memalign_hook): Likewise.
8319 (old_realloc_hook): Likewise.
8320 (struct hdr): Likewise.
8322 (mallochook): Likewise.
8323 (memalignhook): Likewise.
8324 (reallochook): Likewise.
8325 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8326 (tr_old_realloc_hook): Likewise.
8327 (tr_old_memalign_hook): Likewise.
8328 (tr_mallochook): Likewise.
8329 (tr_reallochook): Likewise.
8330 (tr_memalignhook): Likewise.
8332 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8335 default_ldbl_pack and using as default implementation.
8336 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8338 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8339 redundant definition.
8340 (ldbl_insert_mantissa): Likewise.
8341 (ldbl_canonicalize): Likewise.
8342 (ldbl_nearbyint): Likewise.
8343 (ldbl_pack): Rename to ldbl_pack_ppc.
8344 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8345 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8346 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8348 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8351 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8353 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8356 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8357 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8359 2013-03-07 Andreas Jaeger <aj@suse.de>
8361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8364 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8366 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8367 Include mpa.h and declare __MPEXP.
8368 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8370 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8372 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8373 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8374 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8376 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8377 (__slowpow): Use long double EXPL and LOGL functions to
8379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8380 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8382 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8383 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8384 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8387 intermediate variable to calculate exponent.
8389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8393 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8394 [!NO__SQR]: Define __sqr.
8395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8396 and NO__SQR. Remove all code except __mul and __sqr. Include
8397 sysdeps/ieee754/dbl-64/mpa.c.
8398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8401 * posix/Makefile (tests): Add tst-pathconf.
8402 * posix/tst-pathconf.c: New test case.
8403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8405 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8407 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8409 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8411 2013-03-06 Andreas Jaeger <aj@suse.de>
8413 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8414 definition via __MAP_ANONYMOUS.
8416 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8417 it's not part of Linux headers.
8419 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8420 (MAP_HUGE_MASK): Define.
8422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8428 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8430 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8433 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8435 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8436 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8437 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8438 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8439 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8440 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8446 Handle f2fs and efivarfs.
8448 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8451 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8452 (EFIVARFS_MAGIC): Add.
8453 (F2FS_LINK_MAX): Add.
8455 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8457 * stdio-common/vfprintf.c: Replace __builtin_expect with
8460 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8463 * sysdeps/generic/bp-sym.h: Remove file.
8464 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8465 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8466 <bp-sym.h> and <bp-asm.h>.
8467 (__longjmp): Don't use BP_SYM.
8468 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8470 (memcpy): Don't use BP_SYM.
8471 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8472 <bp-sym.h> and <bp-asm.h>.
8473 (memcpy): Don't use BP_SYM.
8474 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8476 (memcpy): Don't use BP_SYM.
8477 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8479 (memset): Don't use BP_SYM.
8480 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8481 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8482 (__bzero): Don't use BP_SYM.
8483 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8484 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8485 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8486 <bp-sym.h> and <bp-asm.h>.
8487 (memcmp): Don't use BP_SYM. Remove comment about bounded
8489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8490 <bp-sym.h> and <bp-asm.h>.
8491 (memcpy): Don't use BP_SYM.
8492 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8493 <bp-sym.h> and <bp-asm.h>.
8494 (memset): Don't use BP_SYM.
8495 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8496 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8497 (__bzero): Don't use BP_SYM.
8498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8500 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8501 <bp-sym.h> and <bp-asm.h>.
8502 (strncmp): Don't use BP_SYM. Remove comment about bounded
8504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8505 <bp-sym.h> and <bp-asm.h>.
8506 (memcpy): Don't use BP_SYM.
8507 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8508 <bp-sym.h> and <bp-asm.h>.
8509 (memset): Don't use BP_SYM.
8510 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8511 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8512 (__bzero): Don't use BP_SYM.
8513 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8514 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8516 <bp-sym.h> and <bp-asm.h>.
8517 (__memchr): Don't use BP_SYM.
8518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8519 <bp-sym.h> and <bp-asm.h>.
8520 (memcmp): Don't use BP_SYM. Remove comment about bounded
8522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8523 <bp-sym.h> and <bp-asm.h>.
8524 (memcpy): Don't use BP_SYM.
8525 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (__mempcpy): Don't use BP_SYM.
8528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8529 <bp-sym.h> and <bp-asm.h>.
8530 (__memrchr): Don't use BP_SYM.
8531 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8532 <bp-sym.h> and <bp-asm.h>.
8533 (memset): Don't use BP_SYM.
8534 (__bzero): Likewise.
8535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8536 <bp-sym.h> and <bp-asm.h>.
8537 (__rawmemchr): Don't use BP_SYM.
8538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8539 <bp-sym.h> and <bp-asm.h>.
8540 (__STRCMP): Don't use BP_SYM.
8541 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8542 <bp-sym.h> and <bp-asm.h>.
8543 (strchr): Don't use BP_SYM.
8544 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8545 <bp-sym.h> and <bp-asm.h>.
8546 (__strchrnul): Don't use BP_SYM.
8547 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8548 <bp-sym.h> and <bp-asm.h>.
8549 (strlen): Don't use BP_SYM.
8550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8551 <bp-sym.h> and <bp-asm.h>.
8552 (strncmp): Don't use BP_SYM. Remove comment about bounded
8554 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8555 <bp-sym.h> and <bp-asm.h>.
8556 (__strnlen): Don't use BP_SYM.
8557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8558 <bp-sym.h> and <bp-asm.h>.
8559 (__GI__setjmp): Don't use BP_SYM.
8560 (_setjmp): Likewise.
8561 (__sigsetjmp): Likewise.
8562 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8563 (L(start_addresses)): Don't use BP_SYM.
8565 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8567 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8568 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8569 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8570 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8571 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8573 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8574 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8575 about bounded pointers.
8576 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8577 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8578 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8580 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8581 about bounded pointers. Remove GKM FIXME comments.
8582 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8583 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8585 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8586 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8587 Remove GKM FIXME comments.
8588 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8589 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8590 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8592 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8593 about bounded pointers. Remove GKM FIXME comment.
8594 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8596 (strncmp): Don't use BP_SYM. Remove comment about bounded
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8599 <bp-sym.h> and <bp-asm.h>.
8600 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8602 <bp-sym.h> and <bp-asm.h>.
8603 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8606 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8608 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8611 2013-03-05 David S. Miller <davem@davemloft.net>
8613 * po/es.po: Update from translation team.
8615 2013-03-05 Andreas Jaeger <aj@suse.de>
8617 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8618 <bits/mman-linux.h>.
8619 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8622 <bits/mman-linux.h> to end of file.
8623 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8625 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8626 <bits/mman-linux.h> to end of file.
8627 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8629 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8630 <bits/mman-linux.h> to end of file.
8632 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8633 (MCL_CURRENT, MCL_FUTURE): Define here.
8635 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8638 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8640 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8642 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8645 fourth parameter needed for rt_sigprocmask syscall.
8646 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8647 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8648 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8649 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8653 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8656 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8657 comment about bounded pointers.
8658 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8659 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8661 2013-03-04 Andreas Jaeger <aj@suse.de>
8663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8666 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8667 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8669 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8671 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8673 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8676 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8677 __ieee754_sqrl instead of __sqrl.
8679 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8682 * sysdeps/powerpc/fpu_control.h: ... here.
8683 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8684 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8685 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8686 * sysdeps/powerpc/bits/mathinline.h: ... here.
8688 2013-03-01 Roland McGrath <roland@hack.frob.com>
8690 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8691 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8692 to just [NEED_DL_SYSINFO_DSO].
8693 * elf/dl-support.c: Likewise.
8694 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8695 * elf/rtld.c (dl_main): Likewise.
8696 * elf/setup-vdso.h (setup_vdso): Likewise.
8697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8698 * sysdeps/unix/sysv/linux/dl-sysdep.c
8699 (_dl_discover_osversion): Likewise.
8701 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8703 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8704 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8706 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8708 * NEWS: Mention libm performance improvements and non-x86 PI
8711 * csu/libc-start.c (__pthread_initialize_minimal): Change
8713 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8715 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8718 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8719 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8720 <bp-sym.h> and <bp-asm.h>.
8721 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8724 (memcpy): Don't use BP_SYM.
8725 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8727 (__mpn_add_n): Don't use BP_SYM.
8728 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8729 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8731 (__mpn_addmul_1): Don't use BP_SYM.
8732 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8733 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8735 (_setjmp): Don't use BP_SYM.
8736 (__novmx_setjmp): Likewise.
8737 (__GI__setjmp): Likewise.
8738 (__vmx_setjmp): Likewise.
8739 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8741 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8742 (__bzero): Don't use BP_SYM.
8743 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8744 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8745 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8746 <bp-sym.h> and <bp-asm.h>.
8747 (memcpy): Don't use BP_SYM.
8748 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8749 <bp-sym.h> and <bp-asm.h>.
8750 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8751 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8752 <bp-sym.h> and <bp-asm.h>.
8753 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8754 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8756 (__mpn_lshift): Don't use BP_SYM.
8757 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8758 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8760 (memset): Don't use BP_SYM.
8761 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8762 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8763 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8765 (__mpn_mul_1): Don't use BP_SYM.
8766 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8768 <bp-sym.h> and <bp-asm.h>.
8769 (memcmp): Don't use BP_SYM.
8770 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8771 <bp-sym.h> and <bp-asm.h>.
8772 (memcpy): Don't use BP_SYM.
8773 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8774 <bp-sym.h> and <bp-asm.h>.
8775 (memset): Don't use BP_SYM.
8776 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8777 <bp-sym.h> and <bp-asm.h>.
8778 (strncmp): Don't use BP_SYM.
8779 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8780 <bp-sym.h> and <bp-asm.h>.
8781 (memcpy): Don't use BP_SYM.
8782 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8783 <bp-sym.h> and <bp-asm.h>.
8784 (memset): Don't use BP_SYM.
8785 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8786 <bp-sym.h> and <bp-asm.h>.
8787 (__memchr): Don't use BP_SYM.
8788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8789 <bp-sym.h> and <bp-asm.h>.
8790 (memcmp): Don't use BP_SYM.
8791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8792 <bp-sym.h> and <bp-asm.h>.
8793 (memcpy): Don't use BP_SYM.
8794 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8795 <bp-sym.h> and <bp-asm.h>.
8796 (__mempcpy): Don't use BP_SYM.
8797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8798 <bp-sym.h> and <bp-asm.h>.
8799 (__memrchr): Don't use BP_SYM.
8800 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8801 <bp-sym.h> and <bp-asm.h>.
8802 (memset): Don't use BP_SYM.
8803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8804 <bp-sym.h> and <bp-asm.h>.
8805 (__rawmemchr): Don't use BP_SYM.
8806 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8807 <bp-sym.h> and <bp-asm.h>.
8808 (__STRCMP): Don't use BP_SYM.
8809 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8810 <bp-sym.h> and <bp-asm.h>.
8811 (strchr): Don't use BP_SYM.
8812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8813 <bp-sym.h> and <bp-asm.h>.
8814 (__strchrnul): Don't use BP_SYM.
8815 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8816 <bp-sym.h> and <bp-asm.h>.
8817 (strlen): Don't use BP_SYM.
8818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8819 <bp-sym.h> and <bp-asm.h>.
8820 (strncmp): Don't use BP_SYM.
8821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8822 <bp-sym.h> and <bp-asm.h>.
8823 (__strnlen): Don't use BP_SYM.
8824 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8826 (__mpn_rshift): Don't use BP_SYM.
8827 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8828 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8829 <bp-sym.h> and <bp-asm.h>.
8830 (__sigsetjmp): Don't use BP_SYM.
8831 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8832 (L(start_addresses)): Don't use BP_SYM.
8834 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8836 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8837 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8838 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8839 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8841 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8842 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8843 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8844 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8846 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8848 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8849 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8851 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8853 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8854 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8855 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8857 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8859 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8861 (strncmp): Don't use BP_SYM,
8862 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8864 (__mpn_sub_n): Don't use BP_SYM.
8865 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8866 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8868 (__mpn_submul_1): Don't use BP_SYM.
8869 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8871 <bp-sym.h> and <bp-asm.h>.
8872 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8874 <bp-sym.h> and <bp-asm.h>.
8875 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8878 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8881 Use ZK to minimize writes to Z.
8882 (sub_magnitudes): Simplify code a bit.
8883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8884 Use ZK to minimize writes to Z.
8885 (sub_magnitudes): Simplify code a bit.
8887 2013-02-27 Roland McGrath <roland@hack.frob.com>
8889 * csu/gmon-start.c: Add special exception to license text.
8891 2013-02-27 Richard Henderson <rth@redhat.com>
8893 * scripts/config.guess: Update from config.git.
8894 * scripts/config.sub: Likewise.
8896 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8900 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8902 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8904 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8906 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8908 2013-02-26 Roland McGrath <roland@hack.frob.com>
8910 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8911 [$(build-shared = yes].
8913 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8915 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8916 (__mul): Reduce iterations for calculating mantissa.
8918 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8920 (__mpranred): Likewise.
8923 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8924 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8926 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8928 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8929 Define __attribute__.
8931 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8933 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8935 * posix/regex_internal.h (__attribute): Remove.
8936 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8937 (re_string_context_at): Likewise.
8938 (bitset_not): Use __attribute__ and mark function as possibly
8940 (bitset_merge): Likewise.
8941 (bitset_mask): Likewise.
8942 (re_string_char_size_at): Likewise.
8943 (re_string_wchar_at): Likewise.
8944 (re_string_elem_size_at): Likewise.
8946 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8948 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8952 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8957 (__dbl_mp): Likewise.
8958 (add_magnitudes): Likewise.
8959 (sub_magnitudes): Likewise.
8963 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8966 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8969 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8973 up changes with default code.
8974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8977 2013-02-24 Allan McRae <allan@archlinux.org>
8979 * manual/socket.texi (The Internet Namespace): Order menu items
8980 to match that in the file.
8982 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8983 node listing of the info page menu.
8985 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/i386/bp-asm.h: Remove file.
8989 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8990 (PARMS): Do not use macros from bp-asm.h.
8994 (__mpn_add_n): Do not use BP_SYM
8995 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8997 (PARMS): Do not use macros from bp-asm.h.
9000 (__mpn_addmul_1): Do not use BP_SYM
9001 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9003 (PARMS): Do not use macros from bp-asm.h.
9005 (_setjmp): Likewise. Do not use BP_SYM.
9006 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9008 (PARMS): Do not use macros from bp-asm.h.
9010 (setjmp): Likewise. Do not use BP_SYM.
9011 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9013 (PARMS): Do not use macros from bp-asm.h.
9014 (__frexp): Do not use BP_SYM.
9016 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9018 (PARMS): Do not use macros from bp-asm.h.
9019 (__frexpf): Do not use BP_SYM.
9021 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9023 (PARMS): Do not use macros from bp-asm.h.
9024 (__frexpl): Do not use BP_SYM.
9026 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9028 (PARMS): Do not use macros from bp-asm.h.
9029 (__remquo): Do not use BP_SYM.
9031 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9033 (PARMS): Do not use macros from bp-asm.h.
9034 (__remquof): Do not use BP_SYM.
9035 (remquof): Likewise.
9036 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9038 (PARMS): Do not use macros from bp-asm.h.
9039 (__remquol): Do not use BP_SYM.
9040 (remquol): Likewise.
9041 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9043 (PARMS): Do not use macros from bp-asm.h.
9046 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9047 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9049 (PARMS): Do not use macros from bp-asm.h.
9050 (strlen): Do not use BP_SYM.
9051 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9053 (PARMS): Do not use macros from bp-asm.h.
9057 (__mpn_add_n): Do not use BP_SYM.
9058 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9060 (PARMS): Do not use macros from bp-asm.h.
9063 (__mpn_addmul_1): Do not use BP_SYM.
9064 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9067 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9069 (PARMS): Do not use macros from bp-asm.h.
9072 (__mpn_lshift): Do not use BP_SYM.
9073 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9075 (PARMS): Do not use macros from bp-asm.h.
9079 (memcpy): Likewise. Do not use BP_SYM.
9080 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9081 libc_hidden_def and weak_alias.
9082 (mempcpy): Do not use BP_SYM in weak_alias.
9083 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9085 (PARMS): Do not use macros from bp-asm.h.
9088 [!BZERO_P] (CHR): Likewise.
9089 (memset): Likewise. Do not use BP_SYM.
9090 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9092 (PARMS): Do not use macros from bp-asm.h.
9095 (__mpn_mul_1): Do not use BP_SYM.
9096 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9098 (PARMS): Do not use macros from bp-asm.h.
9101 (__mpn_rshift): Do not use BP_SYM.
9102 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9104 (PARMS): Do not use macros from bp-asm.h.
9107 (strchr): Likewise. Do not use BP_SYM.
9108 (index): Do not use BP_SYM in weak_alias.
9109 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9111 (PARMS): Do not use macros from bp-asm.h.
9114 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9115 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9117 (PARMS): Do not use macros from bp-asm.h.
9118 (strlen): Do not use BP_SYM.
9119 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9121 (PARMS): Do not use macros from bp-asm.h.
9125 (__mpn_sub_n): Do not use BP_SYM.
9126 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9128 (PARMS): Do not use macros from bp-asm.h.
9131 (__mpn_submul_1): Do not use BP_SYM.
9132 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9134 (PARMS): Do not use macros from bp-asm.h.
9138 (__mpn_add_n): Do not use BP_SYM.
9139 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9142 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9144 (PARMS): Do not use macros from bp-asm.h.
9147 (memcmp): Do not use BP_SYM.
9148 (bcmp): Do not use BP_SYM in weak_alias.
9149 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9151 (PARMS): Do not use macros from bp-asm.h.
9155 (memcpy): Likewise. Do not use BP_SYM.
9156 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9158 (PARMS): Do not use macros from bp-asm.h.
9162 (memmove): Likewise. Do not use BP_SYM.
9163 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9165 (PARMS): Do not use macros from bp-asm.h.
9169 (__mempcpy): Likewise. Do not use BP_SYM.
9170 (mempcpy): Do not use BP_SYM in weak_alias.
9171 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9173 (PARMS): Do not use macros from bp-asm.h.
9176 [!BZERO_P] (CHR): Likewise.
9177 (memset): Likewise. Do not use BP_SYM.
9178 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9180 (PARMS): Do not use macros from bp-asm.h.
9182 (strcmp): Do not use BP_SYM.
9183 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9185 (PARMS): Do not use macros from bp-asm.h.
9188 [USE_AS_STRTOK_R] (SAVE): Likewise.
9189 (FUNCTION): Likewise. Do not use BP_SYM.
9190 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9192 (strtok_r): Likewise.
9193 (__GI___strtok_r): Likewise.
9194 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9195 (PARMS): Do not use macros from bp-asm.h.
9198 (__mpn_lshift): Do not use BP_SYM.
9199 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9200 (PARMS): Do not use macros from bp-asm.h.
9203 (__memchr): Do not use BP_SYM.
9204 (memchr): Do not use BP_SYM in weak_alias.
9205 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9206 (PARMS): Do not use macros from bp-asm.h.
9209 (memcmp): Do not use BP_SYM.
9210 (bcmp): Do not use BP_SYM in weak_alias.
9211 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9212 (PARMS): Do not use macros from bp-asm.h.
9215 (__mpn_mul_1): Do not use BP_SYM.
9216 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9218 (PARMS): Do not use macros from bp-asm.h.
9221 (__rawmemchr): Do not use BP_SYM.
9222 (rawmemchr): Do not use BP_SYM in weak_alias.
9223 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9224 (PARMS): Do not use macros from bp-asm.h.
9227 (__mpn_rshift): Do not use BP_SYM.
9228 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9229 (PARMS): Do not use macros from bp-asm.h.
9231 (__sigsetjmp): Likewise. Do not use BP_SYM.
9232 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9233 (_start): Do not use BP_SYM.
9234 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9235 (PARMS): Do not use macros from bp-asm.h.
9238 (__stpcpy): Likewise. Do not use BP_SYM.
9239 (stpcpy): Do not use BP_SYM in weak_alias.
9240 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9242 (PARMS): Do not use macros from bp-asm.h.
9246 (__stpncpy): Likewise. Do not use BP_SYM.
9247 (stpncpy): Do not use BP_SYM in weak_alias.
9248 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9249 (PARMS): Do not use macros from bp-asm.h.
9252 (strchr): Likewise. Do not use BP_SYM.
9253 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9255 (PARMS): Do not use macros from bp-asm.h.
9258 (__strchrnul): Likewise. Do not use BP_SYM.
9259 (strchrnul): Do not use BP_SYM in weak_alias.
9260 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9262 (PARMS): Do not use macros from bp-asm.h.
9264 (strcspn): Do not use BP_SYM.
9265 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9267 (PARMS): Do not use macros from bp-asm.h.
9270 (strpbrk): Likewise. Do not use BP_SYM.
9271 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9273 (PARMS): Do not use macros from bp-asm.h.
9276 (strrchr): Likewise. Do not use BP_SYM.
9277 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9278 (PARMS): Do not use macros from bp-asm.h.
9280 (strspn): Do not use BP_SYM.
9281 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9282 (PARMS): Do not use macros from bp-asm.h.
9286 (FUNCTION): Likewise. Do not use BP_SYM.
9287 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9289 (strtok_r): Likewise.
9290 (__GI___strtok_r): Likewise.
9291 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9292 (PARMS): Do not use macros from bp-asm.h.
9296 (__mpn_sub_n): Do not use BP_SYM.
9297 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9299 (PARMS): Do not use macros from bp-asm.h.
9302 (__mpn_submul_1): Do not use BP_SYM.
9303 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9305 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9307 (PARMS): Do not use macros from bp-asm.h.
9312 (__clone): Do not use BP_SYM.
9313 (clone): Do not use BP_SYM in weak_alias.
9314 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9316 (PARMS): Do not use macros from bp-asm.h.
9318 (__mmap64): Do not use BP_SYM.
9319 (mmap64): Do not use BP_SYM in weak_alias.
9320 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9321 <bp-sym.h> and <bp-asm.h>.
9322 (PARMS): Do not use macros from bp-asm.h.
9323 (__posix_fadvise64_l64): Do not use BP_SYM.
9324 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9325 (PARMS): Do not use macros from bp-asm.h.
9327 (semtimedop): Do not use BP_SYM.
9328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9331 2013-02-21 Allan McRae <allan@archlinux.org>
9333 * manual/message.texi (Charset conversion in gettext):
9334 Move @end statement to beginning of line.
9336 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9343 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9348 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9350 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9351 tail-call to the resolved function if pltexit isn't needed.
9353 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9356 or Y being zero as being unlikely.
9357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9360 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9362 * manual/nss.texi (System Databases and Name Service Switch):
9363 Remove frobnicate @pxref.
9365 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9367 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9368 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9370 2013-02-20 Petr Machata <pmachata@redhat.com>
9372 * elf/elf.h (R_ARM_TARGET1): New macro.
9373 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9374 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9375 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9376 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9377 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9378 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9379 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9380 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9381 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9382 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9383 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9384 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9385 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9386 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9387 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9388 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9389 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9390 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9391 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9392 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9393 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9394 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9395 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9396 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9397 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9398 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9399 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9400 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9401 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9402 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9403 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9404 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9405 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9406 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9407 (R_ARM_THM_GOT_BREL12): Likewise.
9408 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9409 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9410 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9411 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9412 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9413 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9414 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9415 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9416 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9418 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9420 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9421 __attribute_used__ to __attribute__ ((unused)).
9423 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9431 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9434 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9436 (ENTER): Remove both macro definitions.
9438 (CHECK_BOUNDS_LOW): Likewise.
9439 (CHECK_BOUNDS_HIGH): Likewise.
9440 (CHECK_BOUNDS_BOTH): Likewise.
9441 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9442 (RETURN_BOUNDED_POINTER): Likewise.
9443 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9444 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9445 (POP_ERRNO_LOCATION_RETURN): Likewise.
9446 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9447 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9448 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9450 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9451 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9452 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9453 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9454 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9455 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9456 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9457 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9458 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9459 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9460 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9461 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9462 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9463 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9465 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9466 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9468 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9469 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9470 * sysdeps/i386/i586/memset.S (memset): Likewise.
9471 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9472 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9473 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9476 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9477 Change uses of L(2) to L(out).
9478 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9479 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9480 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9481 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9482 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9484 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9487 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9488 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9489 (RETURN): Do not use macro LEAVE.
9490 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9491 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9492 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9493 * sysdeps/i386/i686/memset.S (memset): Likewise.
9494 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9495 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9496 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9497 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9500 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9501 L(1_2) and L(1_3) into L(1).
9502 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9503 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9504 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9505 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9506 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9507 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9508 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9510 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9512 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9513 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9514 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9515 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9516 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9517 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9518 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9519 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9520 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9521 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9522 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9523 * sysdeps/i386/strspn.S (strspn): Likewise.
9524 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9526 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9527 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9528 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9529 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9531 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9532 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9533 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9535 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9537 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9539 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9542 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9544 * math/atest-exp.c (exp_mpn): Remove ROUND.
9545 * math/atest-exp2.c (exp_mpn): Likewise.
9546 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9548 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9549 * stdlib/tst-tls-atexit-lib.c: Likewise.
9550 * stdlib/tst-tls-atexit.c: Likewise.
9552 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9554 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9555 and __attribute_alloc_size__.
9557 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9559 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9560 __attribute_alloc_size__.
9561 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9562 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9564 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9566 * include/programs/xmalloc.h: New file.
9567 * catgets/gencat.c: Include it.
9568 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9569 * elf/pldd.c: Likewise.
9570 * iconv/iconv_charmap.c: Likewise.
9571 * iconv/iconvconfig.c: Likewise.
9572 * iconv/strtab.c: Likewise.
9573 * locale/programs/locale.c: Likewise.
9574 * locale/programs/localedef.h: Likewise.
9575 * locale/programs/simple-hash.c: Likewise.
9576 * nscd/nscd.h: Likewise.
9577 * nss/makedb.c: Likewise.
9578 * sysdeps/generic/ldconfig.h: Likewise.
9580 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9582 * Versions.def: Add GLIBC_2.18.
9583 * include/link.h (struct link_map): New member l_tls_dtor_count.
9584 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9585 (__call_tls_dtors): Likewise.
9586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9587 __cxa_thread_atexit_impl.
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9604 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9605 (tests): Add test case tst-tls-atexit.
9606 (modules-names): Add shared library for tst-tls-atexit.
9607 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9608 (GLIBC_PRIVATE): Add __call_tls_dtors.
9609 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9611 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9612 * stdlib/tst-tls-atexit.c: New test case.
9613 * stdlib/tst-tls-atexit-lib.c: New test case.
9615 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9617 * elf/Versions (ld): Add _dl_find_dso_for_object.
9618 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9619 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9620 (dl_open_worker): Use _dl_find_dso_for_object.
9621 * elf/dl-sym.c (do_sym): Likewise.
9622 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9624 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9626 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9627 Syntactic changes only.
9628 (_dl_runtime_profile): Do a tail-call to the resolved function.
9630 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9633 * sysdeps/x86_64/bp-asm.h: Remove file.
9634 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9635 <bp-sym.h> and <bp-asm.h>.
9636 (__clone): Do not use BP_SYM.
9637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9638 <bp-sym.h> and <bp-asm.h>.
9639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9640 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9642 (_setjmp): Do not use BP_SYM.
9643 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9645 (setjmp): Do not use BP_SYM.
9646 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9648 (mempcpy): Do not use BP_SYM in weak_alias.
9649 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9651 (strchr): Do not use BP_SYM.
9652 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9654 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9655 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9656 (_start): Do not use BP_SYM.
9657 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9659 (strcat): Do not use BP_SYM.
9660 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9662 (STRCMP): Do not use BP_SYM.
9663 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9665 (STRCPY): Do not use BP_SYM.
9666 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9668 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9670 (FUNCTION): Do not use BP_SYM.
9671 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9673 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9675 2013-02-17 Andreas Jaeger <aj@suse.de>
9677 * time/Versions: Sort entries.
9678 * string/Versions: Likewise.
9679 * resolv/Versions: Likewise.
9680 * posix/Versions: Likewise.
9681 * iconv/Versions: Likewise.
9682 * elf/Versions: Likewise.
9683 * wcsmbs/Versions: Likewise.
9685 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9688 loop termination condition.
9690 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9691 variable to calculate EZ.
9694 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9695 the lower precision input.
9697 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9700 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9701 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9702 (run-via-rtld-prefix): Do not handle %-bp tests.
9703 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9704 (all-object-suffixes): Remove .ob.
9705 (bppfx): Remove variable.
9706 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9707 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9708 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9709 [$(build-bounded) = yes] (libtype.ob): Likewise.
9710 * Makerules (elide-routines.ob): Remove variable.
9711 (do-tests-clean): Do not handle *-bp.out.
9712 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9713 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9714 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9715 (tests): Do not include $(tests-bp.out).
9716 (xtests): Do not include $(xtests-bp.out).
9717 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9718 [$(build-bounded) = yes] ($(addprefix
9719 $(objpfx),$(binaries-bounded))): Remove rule.
9720 ($(objpfx)%-bp.out): Remove rule.
9721 * config.make.in (build-bounded): Remove variable.
9722 * crypt/Makefile [$(build-bounded) = yes]
9723 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9724 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9726 [$(build-bounded) = yes] (install-lib): Likewise.
9727 [$(build-bounded) = yes] (generated): Likewise.
9728 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9730 * intl/Makefile [$(build-bounded) = yes]
9731 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9732 * math/Makefile [$(build-bounded) = yes]
9733 ($(tests:%=$(objpfx)%-bp): Likewise.
9734 * misc/Makefile [$(build-bounded) = yes]
9735 ($(objpfx)tst-tsearch-bp): Likewise.
9736 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9737 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9739 * string/Makefile (o-objects.ob): Remove variable.
9740 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9741 (CFLAGS-.ob): Remove variable.
9742 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9744 both definitions of variable.
9745 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9746 (ASFLAGS-.ob): Remove variable.
9748 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9751 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9752 Remove __BOUNDED_POINTERS__ from condition.
9753 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9754 * string/bits/string2.h [!__NO_STRING_INLINES &&
9755 !__BOUNDED_POINTERS__]: Likewise.
9756 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9758 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9759 Remove conditional code.
9760 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9761 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9762 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9766 * csu/libc-start.c: Do not include <bp-sym.h>.
9767 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9768 * elf/dl-open.c: Do not include <bp-sym.h>.
9769 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9770 * math/fegetenv.c: Do not include <bp-sym.h>.
9771 (fegetenv): Do not use BP_SYM in versioned symbols.
9772 * nptl/sysdeps/pthread/bits/libc-lockP.h
9773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9776 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9778 (__pthread_mutex_destroy): Likewise.
9779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9780 (__pthread_mutex_lock): Likewise.
9781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9782 (__pthread_mutex_trylock): Likewise.
9783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9784 (__pthread_mutex_unlock): Likewise.
9785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9786 (__pthread_mutexattr_init): Likewise.
9787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9788 (__pthread_mutexattr_destroy): Likewise.
9789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9790 (__pthread_mutexattr_settype): Likewise.
9791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9792 (__pthread_rwlock_init): Likewise.
9793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9794 (__pthread_rwlock_destroy): Likewise.
9795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9796 (__pthread_rwlock_rdlock): Likewise.
9797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9798 (__pthread_rwlock_tryrdlock): Likewise.
9799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9800 (__pthread_rwlock_wrlock): Likewise.
9801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9802 (__pthread_rwlock_trywrlock): Likewise.
9803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9804 (__pthread_rwlock_unlock): Likewise.
9805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9806 (__pthread_key_create): Likewise.
9807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9808 (__pthread_setspecific): Likewise.
9809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9810 (__pthread_getspecific): Likewise.
9811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9814 (_pthread_cleanup_push_defer): Likewise.
9815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9816 (_pthread_cleanup_pop_restore): Likewise.
9817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9818 (pthread_setcancelstate): Likewise.
9819 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9821 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9822 (memchr): Do not use BP_SYM in weak_alias.
9823 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9824 (fegetenv): Do not use BP_SYM in versioned symbols.
9825 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9826 (fesetenv): Do not use BP_SYM in versioned symbols.
9827 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9828 (feupdateenv): Do not use BP_SYM in versioned symbols.
9829 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9830 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9831 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9832 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9833 (open64): Do not use BP_SYM in weak_alias.
9834 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9835 (fegetenv): Do not use BP_SYM in versioned symbols.
9836 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9837 (fesetenv): Do not use BP_SYM in versioned symbols.
9838 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9839 (feupdateenv): Do not use BP_SYM in versioned symbols.
9840 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9841 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9842 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9843 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9844 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9845 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9848 (__libc_start_main): Do not use BP_SYM.
9850 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9853 redundant return line.
9857 (sub_magnitudes): Likewise.
9863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9867 (sub_magnitudes): Likewise.
9874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9876 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9880 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9881 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9883 of __mul for squares.
9884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9889 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9891 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9894 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9896 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9897 prototype or function definition. Rename ubp_* variables and
9898 parameters. Remove argv definitions conditional on
9899 [__BOUNDED_POINTERS__].
9900 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9901 * elf/dl-runtime.c (_dl_fixup): Likewise.
9902 * include/set-hooks.h (RUN_HOOK): Likewise.
9903 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9905 * string/strcpy.c (strcpy): Do not use __unbounded.
9906 * sysdeps/generic/frame.h (struct layout): Likewise.
9907 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9908 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9909 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9910 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9911 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9912 (__backtrace): Likewise.
9913 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9915 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9916 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9917 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9919 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9920 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9921 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9922 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9923 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9924 Do not use __unbounded.
9925 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9926 Rename __unboundedrlimits parameter to rlimits in prototype.
9927 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9928 Do not use __unbounded.
9929 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9931 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9932 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9934 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9935 __ptrvalue or __unbounded.
9936 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9937 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9939 (__new_msgctl): Do not use __ptrvalue.
9940 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9942 (__libc_msgrcv): Do not use __ptrvalue.
9943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9944 startup_info): Do not use __unbounded.
9945 (__libc_start_main): Likewise. Rename ubp_* variables and
9946 parameters. Remove argv definitions conditional on
9947 [__BOUNDED_POINTERS__].
9948 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9950 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9954 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9956 (__new_shmctl): Do not use __ptrvalue.
9957 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9958 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9960 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9961 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9962 (__libc_sigaction): Likewise.
9963 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9964 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9966 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9968 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9970 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9972 * string/mempcpy.c: Implement by calling memcpy.
9974 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9981 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9982 values in the mantissa.
9984 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9985 minimize writes to Z.
9986 (sub_magnitudes): Simplify code a bit.
9988 2013-02-12 Roland McGrath <roland@hack.frob.com>
9990 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9991 from the message. The linker prefixes all warnings with that already.
9993 2013-02-12 Andreas Schwab <schwab@suse.de>
9996 * posix/regexec.c (extend_buffers): Add parameter min_len.
9997 (check_matching): Pass minimum needed length.
9998 (clean_state_log_if_needed): Likewise.
9999 (get_subexp): Likewise.
10000 * posix/Makefile (tests): Add bug-regex34.
10001 (bug-regex34-ENV): Define.
10002 * posix/bug-regex34.c: New file.
10005 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10006 elements compare against the byte sequence of it, not its name.
10007 * posix/Makefile (tests): Add bug-regex35.
10008 (bug-regex35-ENV): Define.
10009 * posix/bug-regex35.c: New file.
10011 2013-02-11 Tom de Vries <tom@codesourcery.com>
10013 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10015 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10016 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10017 (CHECK_EOL): Add undef.
10019 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10021 * bits/stdlib-bsearch.h: New file.
10022 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10023 * stdlib/stdlib.h: Likewise.
10025 2013-02-11 Roland McGrath <roland@hack.frob.com>
10027 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10028 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10030 * manual/search.texi (Array Search Function): Add missing const in
10032 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10033 declaration to use rlim_t.
10034 (Basic Scheduling Functions): Remove erroneous const from
10035 sched_getparam prototype. Remove erroneous * from
10036 sched_get_priority_max and sched_get_priority_min prototypes.
10037 (Resource Usage): Fix summary @comment on vtimes to refer to
10038 sys/vtimes.h rather than vtimes.h.
10039 Add missing *s in vtimes prototype.
10040 (Limits on Resources): Fix ulimit prototype to return long int.
10041 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10042 prototypes to use long int rather than double.
10043 (BSD Random): Fix initstate and setstate to use char *, not void *.
10044 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10045 prototype to make second argument 'struct aiocb64 *const[]'.
10046 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10047 (Status of AIO Operations): Remove erroneous const in aio_return and
10048 aio_return64 prototypes.
10049 (Synchronizing I/O): Fix sync prototype to return void.
10050 * manual/startup.texi (Suboptions): Remove an erroneous const in
10051 getsubopt prototype.
10052 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10053 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10054 use size_t rather than int.
10055 (Scanning All Users): Likewise for getpwent_r.
10056 (Setting Groups): Add missing const to setgroups prototype.
10057 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10058 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10059 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10060 'const void *' rather than 'const char *'.
10061 (Host Address Functions): Likewise for inet_ntop.
10062 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10063 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10064 ssize_t for return value.
10065 (Sending Data): Likewise for send, sendto, sendmsg.
10066 (Socket Option Functions): Add a missing const in setsockopt prototype.
10067 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10068 use wchar_t for the argument.
10069 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10070 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10072 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10073 double/float/long double for second argument.
10074 Fix return types of significand, significandf, significandl.
10075 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10076 argument in fchmod prototype.
10077 (File Owner): Use uid_t and gid_t in fchown prototype.
10078 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10079 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10080 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10081 use 'const struct dirent **' as argument types to CMP function pointer
10083 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10084 (File Times): Fix summary magic @comment for struct utimbuf and utime
10085 to refer to utime.h, not time.h.
10086 * manual/string.texi (Argz Functions): Add missing const in
10087 argz_extract and argz_next prototypes.
10088 (Finding Tokens in a String): Likewise for basename.
10089 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10090 (Copying and Concatenation): Fix typo in wmemmove prototype.
10091 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10092 (Signal Stack): Remove erroneous const in sigstack prototype.
10093 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10095 (Simple Calendar Time): Likewise for stime.
10096 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10098 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10099 say sys/sysctl.h instead.
10100 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10101 and vsyslog prototypes.
10103 2013-02-11 Tom de Vries <tom@codesourcery.com>
10105 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10108 2013-02-11 Roland McGrath <roland@hack.frob.com>
10110 * misc/sys/mman.h: Fix typo in mremap comment.
10112 2013-02-08 Roland McGrath <roland@hack.frob.com>
10114 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10115 the '\0' terminator.
10117 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10120 * debug/segfault.c: Don't include <bp-checks.h>.
10121 * sysdeps/generic/bp-checks.h: Remove file.
10122 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10123 (__GETDENTS): Don't use CHECK_N.
10124 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10125 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10126 (__getgroups): Don't use CHECK_N.
10127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10128 (setgroups): Don't use CHECK_N.
10129 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10130 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10131 (__libc_msgrcv): Don't use CHECK_N.
10132 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10133 (__libc_msgsnd): Don't use CHECK_N.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10136 (__libc_pread): Don't use CHECK_N.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10138 include <bp-checks.h>.
10139 (__libc_pread64): Don't use CHECK_N.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10141 include <bp-checks.h>.
10142 (__libc_pwrite): Don't use CHECK_N.
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10144 include <bp-checks.h>.
10145 (__libc_pwrite64): Don't use CHECK_N.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10148 (__libc_pread): Don't use CHECK_N.
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10150 include <bp-checks.h>.
10151 (__libc_pread64): Don't use CHECK_N.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10153 include <bp-checks.h>.
10154 (__libc_pwrite): Don't use CHECK_N.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10156 include <bp-checks.h>.
10157 (__libc_pwrite64): Don't use CHECK_N.
10158 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10159 (do_pread): Don't use CHECK_N.
10160 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10161 (do_pread64): Don't use CHECK_N.
10162 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10163 (do_pwrite): Don't use CHECK_N.
10164 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10165 (do_pwrite64): Don't use CHECK_N.
10166 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10167 (__libc_readv): Don't use CHECK_N.
10168 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10169 (semop): Don't use CHECK_N.
10170 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10172 (semtimedop): Don't use CHECK_N.
10173 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10174 (__libc_pread): Don't use CHECK_N.
10175 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10177 (__libc_pread64): Don't use CHECK_N.
10178 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10180 (__libc_pwrite): Don't use CHECK_N.
10181 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10183 (__libc_pwrite64): Don't use CHECK_N.
10184 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10186 (__libc_msgrcv): Don't use CHECK_N.
10187 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10188 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10189 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10190 (__libc_writev): Don't use CHECK_N.
10192 2013-02-08 Roland McGrath <roland@hack.frob.com>
10194 * string/strcpy.c: Removed unused variable.
10196 * Makeconfig (+sysdep-includes): Define with := rather than =.
10197 Use an existing include/ subdir of each sysdeps dir before it.
10199 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10201 * nscd/connection.c (register_traced_file): Comment function.
10202 [HAVE_INOTIFY] (union __inev): Define.
10203 [HAVE_INOTIFY] (inotify_check_files): New function.
10204 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10205 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10207 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10209 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10211 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10212 loaded if not already and that a failure is permanent.
10214 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10217 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10218 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10220 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10223 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10224 (CHECK_1_NULL_OK): Likewise.
10225 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10226 (__fxstat): Do not use CHECK_1.
10227 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10229 (___fxstat64): Do not use CHECK_1.
10230 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10232 (__fxstatat): Do not use CHECK_1.
10233 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10235 (__fxstatat64): Do not use CHECK_1.
10236 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10238 (__fxstat): Do not use CHECK_1.
10239 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10241 (__fxstatat): Do not use CHECK_1.
10242 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10244 (__getresgid): Do not use CHECK_1.
10245 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10247 (__getresuid): Do not use CHECK_1.
10248 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10250 (__lxstat): Do not use CHECK_1.
10251 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10253 (__old_msgctl): Do not use CHECK_1.
10254 (__new_msgctl): Likewise.
10255 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10257 (__new_setrlimit): Do not use CHECK_1.
10258 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10260 (__old_shmctl): Do not use CHECK_1.
10261 (__new_shmctl): Likewise.
10262 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10264 (__xstat): Do not use CHECK_1.
10265 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10266 (__lxstat): Do not use CHECK_1.
10267 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10269 (___lxstat64): Do not use CHECK_1.
10270 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10271 (__old_msgctl): Do not use CHECK_1.
10272 (__new_msgctl): Likewise.
10273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10275 (__gettimeofday): Do not use CHECK_1.
10276 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10277 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10278 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10280 (__gettimeofday): Do not use CHECK_1.
10281 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10282 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10283 (__new_shmctl): Do not use CHECK_1.
10284 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10286 (do_sigtimedwait): Do not use CHECK_1.
10287 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10289 (do_sigwaitinfo): Do not use CHECK_1.
10290 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10292 (msgctl): Do not use CHECK_1.
10293 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10295 (shmctl): Do not use CHECK_1.
10296 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10297 (ustat): Do not use CHECK_1.
10298 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10300 (__fxstat): Do not use CHECK_1.
10301 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10303 (__fxstatat): Do not use CHECK_1.
10304 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10306 (__lxstat): Do not use CHECK_1.
10307 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10309 (__xstat): Do not use CHECK_1.
10310 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10311 (__xstat): Do not use CHECK_1.
10312 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10313 (___xstat64): Do not use CHECK_1.
10316 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10318 (CHECK_BOUNDS_HIGH): Likewise.
10319 * string/strcpy.c: Do not include <bp-checks.h>.
10320 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10322 2013-02-07 Roland McGrath <roland@hack.frob.com>
10324 * nscd/nscd-client.h (__nscd_drop_map_ref):
10325 Add __attribute__ ((unused)).
10326 * nis/nss-nisplus.h (niserr2nss): Likewise.
10328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10329 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10331 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10332 Remove inline keyword.
10333 * include/rounding-mode.h (round_away): Likewise.
10334 * libio/wfileops.c (adjust_wide_data): Likewise.
10335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10336 (__m128i_strloadu_tolower): Likewise.
10337 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10338 (__m128i_strloadu_tolower): Likewise.
10339 * time/mktime.c (ydhms_diff): Likewise.
10340 * locale/elem-hash.h (elem_hash): Likewise.
10341 * locale/setlocale.c (setdata): Likewise.
10342 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10343 (re_string_wchar_at): Likewise.
10344 (bitset_not, bitset_merge, bitset_mask): Likewise.
10345 [!(__GNUC__ > 3)] (inline): Remove macro.
10346 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10347 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10348 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10349 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10350 * string/memcmp.c (memcmp_bytes): Likewise.
10351 * locale/programs/locarchive.c (compute_hashval): Likewise.
10352 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10353 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10354 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10355 * nss/getent.c (print_rpc, print_protocols): Likewise.
10356 (print_passwd, print_group, print_aliases): Likewise.
10357 * nis/nss-nisplus.h (niserr2nss): Likewise.
10358 * nscd/connections.c (restart_p): Likewise.
10359 Change return type to bool.
10361 2013-02-05 Roland McGrath <roland@hack.frob.com>
10363 * Makeconfig (all-Depend-files): Add existing
10364 $(sorted-subdirs:=/Depend) files.
10365 (all-subdirs): Remove nss.
10366 * sysdeps/unix/inet/Subdirs: Add it here instead.
10367 * hesiod/Depend: New file.
10369 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10370 instead of calling alloca.
10372 * io/lseek.c (__lseek): Rename to __libc_lseek.
10373 Define __lseek as an alias.
10375 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10377 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10379 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10380 else clause and remove check for non-standard endianness.
10382 2013-02-04 David S. Miller <davem@davemloft.net>
10384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10386 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10389 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10390 (__ubp_memchr): Remove prototype.
10391 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10392 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10393 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10394 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10395 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10397 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10398 (__ubp_memchr): Likewise.
10399 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10400 (__ubp_memchr): Likewise.
10401 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10402 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10403 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10404 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10406 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10407 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10408 (__getcwd): Do not use CHECK_STRING.
10409 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10411 (__real_chown): Do not use CHECK_STRING.
10412 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10414 (fchownat): Do not use CHECK_STRING.
10415 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10417 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10419 (__lchown): Do not use CHECK_STRING.
10420 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10421 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10422 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10423 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10425 include <bp-checks.h>.
10426 (truncate64): Do not use CHECK_STRING.
10427 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10429 (__real_chown): Do not use CHECK_STRING.
10430 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10432 (__lchown): Do not use CHECK_STRING.
10433 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10435 (__chown): Do not use CHECK_STRING.
10436 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10438 (truncate64): Do not use CHECK_STRING.
10439 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10441 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10442 (__xmknod): Do not use CHECK_STRING.
10443 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10445 (__xmknodat): Do not use CHECK_STRING.
10446 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10447 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10449 2013-02-04 Andreas Schwab <schwab@suse.de>
10452 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10453 * include/netdb.h: Likewise for h_errno.
10454 * elf/tst-stackguard1.c: Include <tls.h>.
10456 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10458 * elf/link.h (struct link_map): Extend the l_addr comment.
10459 * include/link.h (struct link_map): Likewise.
10461 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10464 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10465 (BOUNDED_1): Remove macro.
10466 * debug/backtrace.c: Don't include <bp-checks.h>.
10467 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10468 (__backtrace): Likewise.
10469 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10471 (__backtrace): Don't use BOUNDED_1.
10472 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10474 (__backtrace): Don't use BOUNDED_1.
10475 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10476 (__backtrace): Don't use BOUNDED_1.
10477 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10478 (shmat): Don't use BOUNDED_N.
10480 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10483 * sysdeps/generic/bp-start.h: Remove file.
10484 * csu/libc-start.c: Don't include <bp-start.h>.
10485 (LIBC_START_MAIN): Set up __environ directly instead of using
10486 INIT_ARGV_and_ENVIRON.
10487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10491 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10493 (CHECK_FCNTL): Likewise.
10494 (CHECK_N_PAGES): Likewise.
10497 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10499 (CHECK_SIGSET_NULL_OK): Likewise.
10500 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10502 (sigpending): Don't use CHECK_SIGSET.
10503 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10505 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10506 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10508 (do_sigsuspend): Don't use CHECK_SIGSET.
10509 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10511 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10512 (do_sigwait): Don't use CHECK_SIGSET.
10513 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10516 include <bp-checks.h>.
10517 (sigpending): Don't use CHECK_SIGSET.
10518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10519 include <bp-checks.h>.
10520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10521 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10523 (sigpending): Don't use CHECK_SIGSET.
10524 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10526 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10529 * sysdeps/generic/bp-semctl.h: Remove file.
10530 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10531 <bp-checks.h> and <bp-semctl.h>.
10532 (__old_semctl): Don't use CHECK_SEMCTL.
10533 (__new_semctl): Likewise.
10534 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10536 (__old_semctl): Don't use CHECK_SEMCTL.
10537 (__new_semctl): Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10539 <bp-checks.h> and <bp-semctl.h>.
10540 (__old_semctl): Don't use CHECK_SEMCTL.
10541 (__new_semctl): Likewise.
10542 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10543 <bp-checks.h> and <bp-semctl.h>.
10544 (semctl): Don't use CHECK_SEMCTL.
10547 * Makerules (elide-bp-thunks): Remove variable.
10548 (elide-routines.oS): Don't use $(elide-bp-thunks).
10549 (elide-routines.os): Likewise.
10550 (elide-routines.o): Likewise.
10551 (elide-routines.op): Likewise.
10552 (elide-routines.og): Likewise.
10553 (objects): Don't use $(bp-thunks).
10554 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10556 (common-generated): Do not add s-proto-bp.d.
10557 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10560 Do not generate makefile rules for bounded-pointer thunks.
10561 * sysdeps/generic/bp-thunks.h: Remove file.
10562 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10563 * sysdeps/unix/s-proto-bp.S: Likewise.
10566 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10567 parts of result separately when argument is not close to line from
10568 -i to i and one part of argument is small.
10569 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10570 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10571 * math/libm-test.inc (cacos_test): Add more tests.
10572 (casin_test): Likewise.
10573 (casinh_test): Likewise.
10574 * sysdeps/i386/fpu/libm-test-ulps: Update.
10575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10577 2013-01-31 David S. Miller <davem@davemloft.net>
10579 * po/de.po: Update from translation team.
10581 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10583 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10585 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10587 * configure.in (_AC_PROG_CC_C89): New definition.
10588 * configure: Regenerate.
10590 * configure.in (AC_PROG_CPP): New definition.
10591 * configure: Regenerate.
10593 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10595 * debug/tst-backtrace.h: New file.
10596 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10597 (ret): Remove variable.
10599 (FAIL): Remove macro.
10600 (NO_INLINE): Likewise.
10601 (fn1): Use match function instead of strstr.
10602 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10603 (ret): Remove variable.
10605 (FAIL): Remove macro.
10606 (NO_INLINE): Likewise.
10607 (fn): Use match function instead of strstr.
10608 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10609 (ret): Remove variable.
10611 (FAIL): Remove macro.
10612 (NO_INLINE): Likewise.
10613 (handle_signal): Use match function instead of strstr.
10614 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10615 (ret): Remove variable.
10617 (FAIL): Remove macro.
10618 (NO_INLINE): Likewise.
10619 (handle_signal): Use match function instead of strstr.
10621 2013-01-23 Roland McGrath <roland@hack.frob.com>
10623 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10625 2013-01-23 David S. Miller <davem@davemloft.net>
10627 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10628 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10629 argument of CAS if possible.
10630 * sysdeps/sparc/sparc64/bits/atomic.h
10631 (__arch_compare_and_exchange_val_32_acq): Likewise.
10632 (__arch_compare_and_exchange_val_64_acq): Likewise.
10634 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10636 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10637 * sysdeps/posix/ulimit.c: ... this.
10638 Include <limits.h>.
10639 * sysdeps/unix/bsd/ulimit.c: Remove file.
10641 2013-01-23 Adam Conrad <adconrad@0c3.net>
10643 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10644 (LDFLAGS-tst-array5): Likewise.
10646 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10649 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10650 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10651 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10652 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10654 2013-01-21 David S. Miller <davem@davemloft.net>
10656 * sysdeps/sparc/backtrace.c: New file.
10657 * sysdeps/sparc/sparc32/backtrace.h: New file.
10658 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10659 * sysdeps/sparc/sparc64/backtrace.h: New file.
10660 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10661 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10664 2013-01-21 Andreas Schwab <schwab@suse.de>
10667 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10670 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10676 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10677 Mark Mitchell <mark@codesourcery.com>
10678 Tom de Vries <tom@codesourcery.com>
10679 Paul Pluzhnikov <ppluzhnikov@google.com>
10681 * debug/tst-backtrace2.c: New file.
10682 * debug/tst-backtrace3.c: Likewise.
10683 * debug/tst-backtrace4.c: Likewise.
10684 * debug/tst-backtrace5.c: Likewise.
10685 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10686 (CFLAGS-tst-backtrace3.c): Likewise.
10687 (CFLAGS-tst-backtrace4.c): Likewise.
10688 (CFLAGS-tst-backtrace5.c): Likewise.
10689 (LDFLAGS-tst-backtrace2): Likewise.
10690 (LDFLAGS-tst-backtrace3): Likewise.
10691 (LDFLAGS-tst-backtrace4): Likewise.
10692 (LDFLAGS-tst-backtrace5): Likewise.
10693 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10694 tst-backtrace4 and tst-backtrace5.
10696 2013-01-18 Anton Blanchard <anton@samba.org>
10697 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10700 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10701 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10702 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10704 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10705 "+r" and remove output regs list as redundant. Add explicit inline
10706 asm to specify register of return val to work around compiler codegen
10707 bug. Remove (int) cast on return value. Add return type parameter to
10708 use in macro so that this macro does not truncate return value for
10710 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10711 pass to INTERNAL_VSYSCALL_NCS.
10712 (INLINE_VSYSCALL): Add 'long int' as return type to
10713 INTERNAL_VSYSCALL_NCS macro invocation.
10714 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10715 INTERNAL_VSYSCALL_NCS macro invocation.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10718 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10721 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10722 Fix application of SIMD FP exception mask.
10724 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10725 mp_no from a power of two.
10726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10727 __mpexp_twomm1. Use __pow_mp.
10729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10732 2013-01-17 David S. Miller <davem@davemloft.net>
10734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10736 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10739 * include/complex.h: Condition contents on [!_COMPLEX_H].
10740 (__kernel_casinhf): New prototype.
10741 (__kernel_casinh): Likewise.
10742 (__kernel_casinhl): Likewise.
10743 * math/Makefile (libm_calls): Add k_casinh.
10744 * math/k_casinh.c: New file.
10745 * math/k_casinhf.c: Likewise.
10746 * math/k_casinhl.c: Likewise.
10747 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10748 finite nonzero arguments.
10749 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10750 finite nonzero arguments.
10751 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10752 finite nonzero arguments.
10753 * math/s_casinh.c: Do not include <float.h>.
10754 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10755 * math/s_casinhf.c: Do not include <float.h>.
10756 (__casinhf): Move code for finite nonzero arguments to
10758 * math/s_casinhl.c: Do not include <float.h>.
10759 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10761 (__casinhl): Move code for finite nonzero arguments to
10763 * math/libm-test.inc (cacos_test): Add more tests.
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10767 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10769 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10770 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10771 [!HAVE_MREMAP]: Remove [defined linux] case.
10772 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10774 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10776 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10778 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10780 * elf/elf.h (R_386_SIZE32): New relocation.
10781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10783 (elf_machine_rela): Likewise.
10784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10785 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10787 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10789 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10790 (FP_FAST_FMA): Do not define.
10791 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10792 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10793 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10794 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10795 !_SOFT_FLOAT]: Likewise.
10796 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10797 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10799 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10800 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10801 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10803 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10804 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10807 2013-01-16 Andreas Schwab <schwab@suse.de>
10810 * include/stdlib.h (__mktemp): Add declaration.
10811 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10812 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10814 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10816 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10818 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10819 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10820 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10822 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10823 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10827 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10828 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10829 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10831 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10832 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10834 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10836 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10838 2013-01-15 David S. Miller <davem@davemloft.net>
10840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10841 trunc{,f} to libm-sysdep_routes.
10842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10853 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10854 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10855 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10856 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10857 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10860 nearbyint{,f} to libm-sysdep_routes.
10861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10874 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10875 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10878 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10882 libc_feholdexcept and libc_fesetenv.
10884 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10886 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10888 2013-01-14 David S. Miller <davem@davemloft.net>
10890 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10891 (SPARC_ASM_VIS2_IFUNC): Likewise.
10892 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10894 use of 'siam' instruction.
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10928 routines to libm-sysdep_routines.
10929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10932 fdim/fdimf to libm-sysdep_routines.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10941 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10942 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10943 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10944 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10946 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10949 to optimize copies.
10951 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10956 local variable MPTWO.
10957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10960 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10962 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10965 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10967 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10969 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10971 * manual/pattern.texi (glob_t): Document gl_flags.
10972 (glob64_t): Likewise.
10974 2013-01-11 David S. Miller <davem@davemloft.net>
10976 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10977 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10978 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10979 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10980 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10981 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10982 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10983 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10984 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10985 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10986 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10987 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10988 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10990 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10991 sparc V9 rather than using V8 code.
10992 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10993 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11000 2013-01-11 Roland McGrath <roland@hack.frob.com>
11002 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11003 not in the main loop.
11004 * configure: Regenerated.
11006 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11008 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11009 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11011 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11012 [!__GLIBC_HAVE_LONG_LONG] case.
11013 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11014 condition to just #else.
11015 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11016 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11017 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11018 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11020 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11021 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11022 #elif condition to just #else.
11023 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11024 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11025 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11026 #elif condition to just #else.
11028 2013-01-11 Steve Ellcey <sellcey@mips.com>
11030 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11031 (EF_MIPS_ARCH_64): Fix value.
11032 (EF_MIPS_ARCH_32R2): New.
11033 (EF_MIPS_ARCH_64R2): New.
11035 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11037 * Makeconfig (+link-pie-before-libc): New.
11038 (+link-pie-after-libc): Likewise.
11039 (+link-pie-tests): Likewise.
11040 (+link-pie): Rewritten.
11041 (link-before-libc): Remove $(config-LDFLAGS).
11042 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11043 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11044 (config-LDFLAGS): Renamed to ...
11045 (rtld-LDFLAGS): This.
11046 (rtld-tests-LDFLAGS): New macro.
11047 (link-libc-rpath-link): Likewise.
11048 (link-libc-tests-rpath-link): Likewise.
11049 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11050 (link-libc): Prepand $(link-libc-rpath-link).
11051 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11052 (test-program-prefix): New macro.
11053 (test-via-rtld-prefix): Likewise.
11054 (test-program-cmd): Likewise.
11055 (host-test-program-cmd): Likewise.
11056 * Makefile ($(common-objpfx)testrun.sh): Replace
11057 $(run-program-prefix) with $(test-program-prefix).
11058 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11060 ($(common-objpfx)shlib.lds): Likewise.
11061 (build-module-helper): Likewise.
11062 ($(common-objpfx)format.lds): Likewise.
11063 * Rules (binaries-pie-tests): New.
11064 (binaries-pie-notests): Likewise.
11065 (binaries-pie): Rewritten.
11066 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11067 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11068 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11069 (make-test-out): Replace $(host-built-program-cmd) with
11070 $(host-test-program-cmd).
11071 * config.make.in (build-hardcoded-path-in-tests): New variable.
11072 * configure.in (--enable-hardcoded-path-in-tests): New configure
11074 (hardcoded_path_in_tests): New AC_SUBST.
11075 * configure: Regenerated.
11076 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11077 $(built-program-cmd) with $(test-program-cmd).
11078 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11079 (test_program_cmd): This.
11080 * elf/Makefile ($(objpfx)order.out): Run test with
11081 $(test-program-prefix).
11082 ($(objpfx)order2.out): Likewise.
11083 ($(objpfx)tst-initorder.out): Likewise.
11084 ($(objpfx)tst-initorder2.out): Likewise.
11085 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11086 $(test-program-cmd).
11087 ($(objpfx)tst-array1-static.out): Likewise.
11088 ($(objpfx)tst-array2.out): Likewise.
11089 ($(objpfx)tst-array3.out): Likewise.
11090 ($(objpfx)tst-array4.out): Likewise.
11091 ($(objpfx)tst-array5.out): Likewise.
11092 ($(objpfx)tst-array5-static.out): Likewise.
11093 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11094 $(test-program-cmd).
11095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11096 $(run-program-prefix) with $(test-program-prefix).
11097 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11098 (test_program_prefix): This.
11099 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11100 $(run-program-prefix) with $(test-program-prefix).
11101 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11102 (test_program_prefix): This.
11103 * iconvdata/tst-tables.sh: Likewise.
11104 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11105 $(run-program-prefix) with $(test-program-prefix).
11106 ($(objpfx)tst-translit.out): Likewise.
11107 ($(objpfx)tst-gettext2.out): Likewise.
11108 ($(objpfx)tst-gettext4.out): Likewise.
11109 ($(objpfx)tst-gettext6.out): Likewise.
11110 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11111 (test_program_prefix): This.
11112 * intl/tst-gettext2.sh: Likewise.
11113 * intl/tst-gettext4.sh Likewise.
11114 * intl/tst-gettext6.sh: Likewise.
11115 * intl/tst-translit.sh: Likewise.
11116 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11117 with $(test-program-cmd).
11118 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11119 $(run-program-prefix) with $(test-program-prefix).
11120 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11121 (test_program_prefix): This.
11122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11123 $(run-program-prefix) with $(test-program-prefix).
11124 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11125 (test_program_prefix): This.
11126 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11127 * posix/Makefile ($(objpfx)globtest.out): Replace
11128 $(run-via-rtld-prefix) and $(test-wrapper) with
11129 $(test-program-prefix) and $(test-via-rtld-prefix).
11130 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11131 $(test-program-prefix).
11132 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11133 $(host-test-program-cmd).
11134 (tst-spawn-ARGS): Likewise.
11135 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11136 $(test-program-prefix).
11137 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11138 (test_via_rtld_prefix): This.
11139 (test_wrapper): Renamed to ...
11140 (test_program_prefix): This.
11141 (run_program_prefix): Replaced by test_program_prefix.
11142 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11143 (test_program_prefix): This.
11144 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11145 with $(host-test-program-cmd).
11146 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11147 $(run-program-prefix) with $(test-program-prefix).
11148 ($(objpfx)tst-printf.out): Likewise.
11149 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11150 $(test-program-cmd).
11151 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11152 (test_program_prefix): This.
11153 * stdio-common/tst-unbputc.sh: Likewise.
11154 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11155 $(run-program-prefix) with $(test-program-prefix).
11156 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11157 (test_program_prefix): This.
11158 * string/Makefile ($(objpfx)tst-svc.out): Replace
11159 $(built-program-cmd) with $(test-program-cmd).
11161 2013-01-11 Andreas Jaeger <aj@suse.de>
11164 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11165 value. Sync with Linux 3.7.
11167 2013-01-10 David S. Miller <davem@davemloft.net>
11169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11173 2013-01-10 Roland McGrath <roland@hack.frob.com>
11175 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11177 * configure: Regenerated.
11179 2013-01-10 David S. Miller <davem@davemloft.net>
11181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11182 sparc V9 rather than using V8 code.
11183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11186 2013-01-10 Roland McGrath <roland@hack.frob.com>
11188 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11189 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11190 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11191 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11192 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11193 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11194 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11195 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11196 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11197 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11198 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11199 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11200 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11201 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11202 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11203 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11204 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11205 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11206 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11207 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11208 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11209 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11210 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11211 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11212 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11213 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11214 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11216 2013-01-10 David S. Miller <davem@davemloft.net>
11218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11220 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11222 * posix/Makefile (tests-static): New variable.
11223 (tests): Add $(tests-static).
11224 (tst-exec-static-ARGS): New variable.
11225 (tst-spawn-static-ARGS): Likewise.
11226 * posix/tst-exec-static.c: New file.
11227 * posix/tst-spawn-static.c: Likewise.
11228 * posix/tst-exec.c: Support run directly.
11229 * posix/tst-spawn.c: Likewise.
11231 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11233 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11235 * math/bits/mathcalls.h (llrint): Likewise.
11236 (llround): Likewise.
11237 * stdlib/stdlib.h (struct drand48_data): Likewise.
11238 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11239 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11240 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11242 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11244 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11245 (elf_greg_t): Likewise.
11246 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11247 (__jmp_buf): Likewise.
11248 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11250 (llrint): Likewise, for all definitions.
11251 (llrintl): Likewise.
11253 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11254 Remove [__GNUC__] condition.
11255 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11256 condition to just [__USE_ISOC99].
11257 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11259 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11262 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11263 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11265 (_POSIX_V6_ILP32_OFF32): Likewise.
11266 (_XBS5_ILP32_OFF32): Likewise.
11267 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11268 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11270 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11272 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11275 doubles __mpexp_twomm1. Adjust usage.
11276 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11279 2013-01-10 Andreas Schwab <schwab@suse.de>
11282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11283 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11285 2013-01-09 David S. Miller <davem@davemloft.net>
11288 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11289 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11290 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11291 TCP_FASTOPEN): Define.
11292 (tcp_repair_opt): New structure.
11293 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11295 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11296 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11297 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11298 (tcp_cookie_transactions): New structure.
11300 2013-01-09 Anton Blanchard <anton@samba.org>
11302 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11303 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11304 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11307 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11309 * include/features.h (__USE_ANSI): Remove.
11311 2013-01-09 Roland McGrath <roland@hack.frob.com>
11313 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11315 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11317 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11319 * sysdeps/s390/fpu/libm-test-ulps: Update.
11321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11323 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11327 (denorm): Likewise.
11328 (__mp_dbl): Likewise.
11329 (__dbl_mp): Likewise.
11330 (add_magnitudes): Likewise.
11331 (sub_magnitudes): Likewise.
11337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11341 (denorm): Likewise.
11342 (__mp_dbl): Likewise.
11343 (__dbl_mp): Likewise.
11344 (add_magnitudes): Likewise.
11345 (sub_magnitudes): Likewise.
11351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11355 (denorm): Likewise.
11356 (__mp_dbl): Likewise.
11357 (__dbl_mp): Likewise.
11358 (add_magnitudes): Likewise.
11359 (sub_magnitudes): Likewise.
11366 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11368 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11369 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11370 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11371 2 && __USE_EXTERN_INLINES]: Likewise.
11373 2013-01-08 Andreas Jaeger <aj@suse.de>
11376 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11378 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11379 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11381 2013-01-07 Anton Blanchard <anton@samba.org>
11383 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11384 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11385 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11386 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11388 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11389 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11390 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11392 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11393 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11394 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11397 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11401 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11404 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11406 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11407 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11408 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11409 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11410 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11413 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11416 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11422 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11423 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11425 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11427 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11429 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11430 (__MALLOC_PMT): Likewise.
11431 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11432 [__GNUC__], only on [_LIBC].
11433 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11434 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11435 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11436 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11437 forward declaration.
11438 (realloc_hook_ini): Likewise.
11439 (memalign_hook_ini): Likewise.
11440 (__libc_memalign): Do not use __MALLOC_PMT in variable
11442 (__libc_valloc): Likewise.
11443 (__libc_pvalloc): Likewise.
11444 (__libc_calloc): Likewise.
11445 (__posix_memalign): Likewise.
11448 * math/s_casinh.c: Include <float.h>.
11449 (__casinh): Do not do computation with squaring and square root
11450 for large arguments.
11451 * math/s_casinhf.c: Include <float.h>.
11452 (__casinhf): Do not do computation with squaring and square root
11453 for large arguments.
11454 * math/s_casinhl.c: Include <float.h>.
11455 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11456 (__casinhl): Do not do computation with squaring and square root
11457 for large arguments.
11458 * math/libm-test.inc (casin_test): Add more tests.
11459 (casinh_test): Likewise.
11460 * sysdeps/i386/fpu/libm-test-ulps: Update.
11461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11463 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11465 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11466 (__x86_64_raw_data_cache_size): Likewise.
11467 (__x86_64_data_cache_size_half): Likewise.
11468 (__x86_64_raw_data_cache_size_half): Likewise.
11469 (__x86_64_shared_cache_size): Likewise.
11470 (__x86_64_raw_shared_cache_size): Likewise.
11471 (__x86_64_shared_cache_size_half): Likewise.
11472 (__x86_64_raw_shared_cache_size_half): Likewise.
11473 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11475 (__x86_data_cache_size): This.
11476 (__x86_64_raw_data_cache_size): Renamed to ...
11477 (__x86_raw_data_cache_size): This.
11478 (__x86_64_data_cache_size_half): Renamed to ...
11479 (__x86_data_cache_size_half): This.
11480 (__x86_64_raw_data_cache_size_half): Renamed to ...
11481 (__x86_raw_data_cache_size_half): This.
11482 (__x86_64_shared_cache_size): Renamed to ...
11483 (__x86_shared_cache_size): This.
11484 (__x86_64_raw_shared_cache_size): Renamed to ...
11485 (__x86_raw_shared_cache_size): This.
11486 (__x86_64_shared_cache_size_half): Renamed to ...
11487 (__x86_shared_cache_size_half): This.
11488 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11489 (__x86_raw_shared_cache_size_half): This.
11490 * sysdeps/x86_64/memcpy.S: Updated.
11491 * sysdeps/x86_64/memset.S: Likewise.
11492 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11493 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11496 2013-01-04 David S. Miller <davem@davemloft.net>
11498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11500 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11502 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11503 1 to avoid redefinition warning.
11504 (__USE_GNU): Don't define.
11505 (init_signaling_nan): Protoize.
11507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11509 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11511 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11513 (__cpymn): Likewise.
11514 (norm): Remove commented code.
11515 (denorm): Likewise.
11516 (__mp_dbl): Likewise.
11518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11519 (__cpymn): Likewise.
11520 (norm): Remove commented code.
11521 (denorm): Likewise.
11522 (__mp_dbl): Likewise.
11525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11526 mp_no value for 1.0 and 2.0.
11527 (norm): Use RADIXI instead of radixi.d.
11528 (denorm): Likewise.
11529 (__mul): Use 0.0 instead of zero.d.
11530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11531 mp_no value for 1.0 and 2.0.
11532 (norm): Use RADIXI instead of radixi.d.
11533 (denorm): Likewise.
11534 (__mul): Use 0.0 instead of zero.d.
11536 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11539 * math/s_casinh.c (__casinh): Reduce finite argument to first
11540 quadrant then set signs of results at the end.
11541 * math/s_casinhf.c (__casinhf): Likewise.
11542 * math/s_casinhl.c (__casinhl): Likewise.
11543 * math/libm-test.inc (casin_test): Add more tests.
11544 (casinh_test): Likewise.
11545 * sysdeps/i386/fpu/libm-test-ulps: Update.
11546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11548 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11550 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11552 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11554 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11556 (denorm): Likewise.
11557 (__mp_dbl): Likewise.
11560 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11561 and adjust the header comment.
11563 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11564 variable name from declaration.
11566 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11569 Initialize COMMON_CPUID_INDEX_7 element.
11570 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11571 (CPUID_RTM): Likewise.
11572 (HAS_RTM): Likewise.
11573 (COMMON_CPUID_INDEX_7): New enum.
11575 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11578 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11579 size is zero, record memory as freed.
11581 2013-01-03 Andreas Jaeger <aj@suse.de>
11583 * po/ia.po: Add new Interlingua translation.
11585 2012-01-03 Allan McRae <allan@archlinux.org>
11587 * locale/programs/localedef.c: Fix description of '--posix' flag.
11589 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11591 * NEWS: Update dates in second copyright notice.
11592 * README: Update copyright dates in example.
11593 * manual/libc.texinfo: Update copyright dates.
11594 * scripts/test-installation.pl: Update copyright date in --version
11597 * hurd/ctty-input.c: Fix copyright notice formatting.
11598 * hurd/ctty-output.c: Likewise.
11599 * hurd/dtable.c: Likewise.
11600 * hurd/hurd-raise.c: Likewise.
11601 * hurd/hurdprio.c: Likewise.
11602 * hurd/msgportdemux.c: Likewise.
11603 * misc/sys/file.h: Likewise.
11604 * misc/sys/ioctl.h: Likewise.
11605 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11606 * sysdeps/mach/hurd/chdir.c: Likewise.
11607 * sysdeps/mach/hurd/fchdir.c: Likewise.
11608 * sysdeps/mach/hurd/rename.c: Likewise.
11609 * sysdeps/mach/hurd/rmdir.c: Likewise.
11610 * sysdeps/mach/hurd/seekdir.c: Likewise.
11611 * sysdeps/mach/hurd/setsid.c: Likewise.
11612 * sysdeps/posix/wait3.c: Likewise.
11614 * All files with FSF copyright notices: Update copyright dates
11615 using scripts/update-copyrights.
11616 * intl/plural.c: Regenerated.
11617 * locale/programs/charmap-kw.h: Likewise.
11618 * locale/programs/locfile-kw.h: Likewise.
11620 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11622 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11625 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11626 calculation loop and add branch prediction.
11628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11629 check access beyond bounds of m1np.
11631 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11633 (__inv): Remove local variable MPTWO to use the global
11635 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11636 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11638 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11639 MP3HALFS static const.
11641 2013-01-01 David S. Miller <davem@davemloft.net>
11643 * po/ca.po: Update from translation team.
11645 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11647 * scripts/update-copyrights: New file.
11648 * Makeconfig: Reformat copyright notice.
11649 * ctype/ctype.h: Likewise.
11650 * debug/swprintf_chk.c: Likewise.
11651 * elf/dl-cache.c: Likewise.
11652 * elf/dl-debug.c: Likewise.
11653 * elf/dl-object.c: Likewise.
11654 * grp/initgroups.c: Likewise.
11655 * hurd/Makefile: Likewise.
11656 * hurd/hurd/signal.h: Likewise.
11657 * hurd/hurdfault.c: Likewise.
11658 * hurd/hurdioctl.c: Likewise.
11659 * hurd/hurdlookup.c: Likewise.
11660 * hurd/intr-msg.c: Likewise.
11661 * iconv/gconv_open.c: Likewise.
11662 * libio/swprintf.c: Likewise.
11663 * locale/lc-ctype.c: Likewise.
11664 * locale/nl_langinfo.c: Likewise.
11665 * mach/Machrules: Likewise.
11666 * mach/Makefile: Likewise.
11667 * malloc/obstack.h: Likewise.
11668 * manual/Makefile: Likewise.
11669 * manual/tsort.awk: Likewise.
11670 * misc/bits/stab.def: Likewise.
11671 * nis/nis_print_group_entry.c: Likewise.
11672 * nis/nis_table.c: Likewise.
11673 * nis/nss_compat/compat-pwd.c: Likewise.
11674 * nis/nss_compat/compat-spwd.c: Likewise.
11675 * po/Makefile: Likewise.
11676 * posix/fnmatch.c: Likewise.
11677 * posix/regex.h: Likewise.
11678 * resolv/Makefile: Likewise.
11679 * resolv/nss_dns/dns-network.c: Likewise.
11680 * resolv/res_hconf.c: Likewise.
11681 * scripts/gen-sorted.awk: Likewise.
11682 * soft-fp/soft-fp.h: Likewise.
11683 * stdio-common/printf.h: Likewise.
11684 * stdlib/monetary.h: Likewise.
11685 * stdlib/random.c: Likewise.
11686 * stdlib/random_r.c: Likewise.
11687 * sysdeps/generic/Makefile: Likewise.
11688 * sysdeps/gnu/Makefile: Likewise.
11689 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11691 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11696 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11717 * sysdeps/mach/hurd/errnos.awk: Likewise.
11718 * sysdeps/mach/hurd/fork.c: Likewise.
11719 * sysdeps/mach/hurd/getcwd.c: Likewise.
11720 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11721 * sysdeps/mach/hurd/mmap.c: Likewise.
11722 * sysdeps/mach/hurd/utimes.c: Likewise.
11723 * sysdeps/mach/hurd/xmknod.c: Likewise.
11724 * sysdeps/posix/profil.c: Likewise.
11725 * sysdeps/posix/readdir_r.c: Likewise.
11726 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11727 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11728 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11729 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11733 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11735 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11736 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11737 * sysdeps/pthread/lio_listio.c: Likewise.
11738 * sysdeps/sparc/dl-procinfo.h: Likewise.
11739 * sysdeps/unix/i386/sysdep.S: Likewise.
11740 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11741 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11742 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11743 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11745 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11746 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11747 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11748 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11749 * sysdeps/wordsize-32/divdi3.c: Likewise.
11750 * time/sys/time.h: Likewise.
11751 * wcsmbs/Makefile: Likewise.
11753 2013-01-01 David S. Miller <davem@davemloft.net>
11755 * po/fr.po: Update from translation team.
11757 * catgets/gencat.c: Update copyright year.
11758 * csu/version.c: Likewise.
11759 * debug/catchsegv.sh: Likewise.
11760 * debug/pcprofiledump.c: Likewise.
11761 * debug/xtrace.sh: Likewise.
11762 * elf/ldconfig.c: Likewise.
11763 * elf/ldd.bash.in: Likewise.
11764 * elf/pldd.c: Likewise.
11765 * elf/sotruss.ksh: Likewise.
11766 * elf/sprof.c: Likewise.
11767 * iconv/iconv_prog.c: Likewise.
11768 * iconv/iconvconfig.c: Likewise.
11769 * locale/programs/locale.c: Likewise.
11770 * locale/programs/localedef.c: Likewise.
11771 * login/programs/pt_chown.c: Likewise.
11772 * malloc/memusage.sh: Likewise.
11773 * malloc/memusagestat.c: Likewise.
11774 * malloc/mtrace.pl: Likewise.
11775 * nscd/nscd.c: Likewise.
11776 * nss/getent.c: Likewise.
11777 * nss/makedb.c: Likewise.
11778 * posix/getconf.c: Likewise.
11780 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11782 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11785 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11787 * math/bits/mathcalls.h (modf): Use __nonnull.
11789 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11791 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11792 (split): Use macro CN instead of the bare value.
11793 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11796 instead of the bare value.
11797 (power1): Likewise.
11799 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11805 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11807 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11809 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11810 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11812 2012-12-28 Andreas Jaeger <aj@suse.de>
11814 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11815 values are from Linux 3.7.
11817 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11818 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11820 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11822 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11827 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11828 variables with preprocessor constants.
11829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11830 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11831 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11833 2012-12-27 Bruno Haible <bruno@clisp.org>
11836 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11839 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11842 and use variable directly.
11843 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11845 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11847 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11850 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11852 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11853 include directive. Remove local variable MPONE.
11854 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11855 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11858 2012-12-25 David S. Miller <davem@davemloft.net>
11860 * version.h (RELEASE): Set to "development".
11861 (VERSION): Set to "2.17.90".
11862 * NEWS: Add 2.18 section.
11864 2012-12-21 David S. Miller <davem@davemloft.net>
11866 * po/hr.po: Update from translation team.
11868 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11870 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11872 2012-12-19 Steve Ellcey <sellcey@mips.com>
11874 * NEWS: Mention new memcpy for MIPS.
11876 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11878 * manual/contrib.texi (Contributors): Spelling correction.
11880 2012-12-15 David S. Miller <davem@davemloft.net>
11882 * po/ru.po: Update from translation team.
11884 2012-12-13 David S. Miller <davem@davemloft.net>
11886 * NEWS: Mention IFUNC testsuite enhancements.
11888 * po/pl.po: Update from translation team.
11889 * po/bg.po: Likewise.
11891 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11892 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11894 2012-12-11 David S. Miller <davem@davemloft.net>
11896 * po/sv.po: Update from translation team.
11898 * po/vi.po: Update from translation team.
11900 * po/cs.po: Update from translation team.
11902 * po/de.po: Update from translation team.
11903 * po/eo.po: Likewise.
11904 * po/nl.po: Likewise.
11906 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11909 * manual/argp.texi (Argp Helper Functions): Move node to follow
11910 Argp Parsing State.
11913 * manual/conf.texi (Limits on File System Capacity): Mention if
11914 terminating null is included in the max size.
11916 2012-12-10 Andreas Jaeger <aj@suse.de>
11918 * po/cs.po: Update from translation team.
11920 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11922 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11923 void pointer and cast to uintptr_t.
11924 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11926 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11927 * sysdeps/s390/s390-64/memset.S: Likewise.
11929 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11932 * menual/message.texi (Message Translation): Fix typos.
11933 (Helper programs for gettext): Likewise.
11935 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11938 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11941 2012-12-07 David S. Miller <davem@davemloft.net>
11943 * po/libc.pot: Update.
11945 2012-12-07 Richard Henderson <rth@redhat.com>
11948 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11949 normal/normal case to before the switch.
11950 (_FP_DIV): Likewise.
11952 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11953 Mike Frysinger <vapier@gentoo.org>
11955 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11956 check for __NR_fadvise64_64.
11958 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11960 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11961 0, not just to plain "0" as a statement.
11962 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11965 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11967 * NEWS: Use sourceware.org in Bugzilla URL.
11969 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11972 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11974 * stdio-common/tst-put-error.c (do_test): Add newline to the
11975 padded test to ensure flush.
11977 2012-12-05 Jeff Law <law@redhat.com>
11979 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11981 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11983 * README: Don't refer to ports add-on as distributed separately.
11984 Mention AArch64 in list of systems supported in the ports add-on.
11986 * LICENSES: Add more non-FSF copyright and license notices.
11988 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11991 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11993 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11994 10000 as width of padded output.
11996 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11998 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12001 variable LX with __attribute__ ((unused)).
12002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12004 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12006 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12007 with __attribute__ ((unused)).
12009 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12011 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12013 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12015 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12016 (CFLAGS-nldbl-acos.c): New variable.
12017 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12018 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12019 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12020 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12021 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12022 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12023 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12024 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12025 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12026 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12027 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12028 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12029 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12030 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12031 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12032 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12033 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12034 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12039 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12040 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12085 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12086 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12087 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12088 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12089 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12090 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12091 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12092 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12093 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12094 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12095 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12096 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12097 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12098 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12099 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12100 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12101 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12102 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12103 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12104 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12105 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12106 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12107 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12108 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12109 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12110 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12111 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12112 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12113 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12116 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12120 whole low double instead of just low 47 bits when splitting values
12123 2012-12-03 Allan McRae <allan@archlinux.org>
12125 * manual/stdio.texi (Predefined Printf Handlers): Remove
12126 @hsep and @vsep usage.
12128 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12130 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12131 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12133 2012-12-03 Jeff Law <law@redhat.com>
12135 * time/sys/time.h (settimeofday): Do not mark TV argument
12138 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12140 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12141 when currently writing and seek to current position when not.
12142 * libio/Makefile (tests): Remove bug-fclose1.
12143 * libio/bug-fclose1.c: Delete.
12145 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12147 * manual/arith.texi (feenableexcept): Fix typo.
12148 (fedisableexcept): Likewise.
12150 2012-11-30 Roland McGrath <roland@hack.frob.com>
12152 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12153 second, differently-typed declaration, rather than a cast.
12155 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12157 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12158 * include/rpc/svc.h: ... here.
12160 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12163 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12164 depending n and resplen2 to catch cases where answer
12167 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12169 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12170 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12172 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12176 2012-11-29 Roland McGrath <roland@hack.frob.com>
12178 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12180 2012-11-28 Jeff Law <law@redhat.com>
12183 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12184 dataset_temporary. Track alloca usage into alloca_used.
12185 If dataset is large allocate and release it via malloc/free.
12187 2012-06-04 Florian Weimer <fweimer@redhat.com>
12190 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12192 2012-11-28 David S. Miller <davem@davemloft.net>
12194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12196 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12199 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12200 of pi/2 rounded to nearest to 64 bits.
12201 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12202 nearest to 64 bits.
12203 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12206 2012-11-28 Jeff Law <law@redhat.com>
12207 Martin Osvald <mosvald@redhat.com>
12210 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12211 * sunrpc/svc.c: Include time.h.
12212 (__svc_accept_failed): New function.
12213 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12214 any reason other than EINTR, call __svc_accept_failed.
12215 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12216 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12218 2012-11-28 Andreas Schwab <schwab@suse.de>
12220 * scripts/abilist.awk: Also handle indirect functions in .opd
12223 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12226 * sysdeps/x86/fpu/powl_helper.c: New file.
12227 * sysdeps/x86/fpu/Makefile: Likewise.
12228 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12230 (__ieee754_powl): Use __powl_helper for finite arguments except
12231 integer exponents below 8.
12232 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12234 (__ieee754_powl): Use __powl_helper for finite arguments except
12235 integer exponents below 8.
12236 * math/libm-test.inc (pow_test): Add more tests and enable some
12237 previously disabled tests.
12238 * sysdeps/i386/fpu/libm-test-ulps: Update.
12239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12241 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 Carlos O'Donell <carlos_odonell@mentor.com>
12244 * nss/makedb.c (is_prime): Assert that input is odd and greater
12245 than 4. Note that fact in a comment too.
12246 (next_prime): Add 4 to input.
12248 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12251 * libio/Makefile (tests): Add test case tst-fwrite-error.
12252 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12253 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12254 * libio/tst-fwrite-error.c: New test case.
12256 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12258 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12259 before casting to void *.
12260 * include/libc-internal.h (__pointer_type): New macro.
12261 (__integer_if_pointer_type_sub): Likewise.
12262 (__integer_if_pointer_type): Likewise.
12263 (cast_to_integer): Likewise.
12264 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12265 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12266 before casting to atomic64_t.
12267 (atomic_exchange_acq): Likewise.
12268 (__arch_exchange_and_add_body): Likewise.
12269 (__arch_add_body): Likewise.
12270 (atomic_add_negative): Likewise.
12271 (atomic_add_zero): Likewise.
12273 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12275 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12276 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12277 (add_fdes): Likewise.
12278 (linear_search_fdes): Likewise.
12279 (binary_search_unencoded_fdes): Likewise.
12281 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12283 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12285 2012-11-24 Adam Conrad <adconrad@0c3.net>
12287 * configure.in: Autodetect C++ header directories.
12288 * configure: Regenerated.
12290 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12292 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12294 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12298 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12300 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12301 LDBL_MANT_DIG == 106]: Disable some tests.
12302 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12304 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12308 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12309 input for small inputs. Return +/- pi/2 for large inputs.
12310 * math/libm-test.inc (atan_test): Add more tests.
12312 * sysdeps/generic/unwind-dw2-fde-glibc.c
12313 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12314 __attribute__ ((unused)).
12317 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12318 x * y if x and y are nonzero and z is zero.
12321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12322 nonzero exponents with absolute value below 0x1p-117 to +/-
12326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12327 up arguments below 2**-450, not just those below 2**-500.
12328 * math/libm-test.inc (hypot_test): Add another test.
12331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12332 Return a+b for ratio over 2**120, not 2**60.
12333 * math/libm-test.inc (hypot_test): Add another test.
12335 * math/libm-test.inc (clog_test): Use
12336 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12337 (clog10_test): Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12342 2012-11-22 Andreas Schwab <schwab@suse.de>
12344 * sysdeps/i386/fpu/libm-test-ulps: Update.
12346 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12348 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12349 printf output with newline.
12351 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12354 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12355 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12356 -z nodlopen, -z initfirst and -z execstack support.
12357 * configure: Regenerated.
12359 * elf/elf.h (DF_1_NODIRECT): New macro.
12360 (DF_1_IGNMULDEF): Likewise.
12361 (DF_1_NOKSYMS): Likewise.
12362 (DF_1_NOHDR): Likewise.
12363 (DF_1_EDITED): Likewise.
12364 (DF_1_NORELOC): Likewise.
12365 (DF_1_SYMINTPOSE): Likewise.
12366 (DF_1_GLOBAUDIT): Likewise.
12367 (DF_1_SINGLETON): Likewise.
12368 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12369 DT_1_SUPPORTED_MASK bits.
12370 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12372 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12374 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12376 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12378 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12381 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12382 (sendmmsg): Move declarations...
12383 * socket/sys/socket.h: ... here.
12384 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12385 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12387 * socket/recvmmsg.c: ... this new file.
12388 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12389 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12390 definition of __sendmmsg hidden.
12391 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12392 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12393 Move ENOSYS stub into and include it from...
12394 * socket/sendmmsg.c: ... this new file.
12395 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12396 (sysdep_routines): Move recvmmsg and sendmmsg...
12397 * socket/Makefile (routines): ... here.
12398 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12399 (GLIBC_PRIVATE): Add __sendmmsg.
12400 * include/sys/socket.h (__sendmmsg): Add declarations.
12401 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12404 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12406 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12407 variable I1 with __attribute__ ((unused)).
12408 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12410 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12412 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12413 DUMMY variables with __attribute__ ((unused)).
12415 * bits/byteswap.h: Include <bits/types.h>.
12416 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12418 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12420 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12421 string_t. Do not manually set errno.
12422 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12423 length with __strnlen. Make sure to both set errno and return it on
12426 2012-11-19 David S. Miller <davem@davemloft.net>
12428 With help from Joseph Myers.
12429 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12430 very large arguments properly.
12431 * math/libm-test.inc (atan_test): New tests.
12432 (atan2_test): New tests.
12433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12436 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12439 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12442 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12443 [POSIX] (EADDRNOTAVAIL): Likewise.
12444 [POSIX] (EAFNOSUPPORT): Likewise.
12445 [POSIX] (EALREADY): Likewise.
12446 [POSIX] (ECONNABORTED): Likewise.
12447 [POSIX] (ECONNREFUSED): Likewise.
12448 [POSIX] (ECONNRESET): Likewise.
12449 [POSIX] (EDESTADDRREQ): Likewise.
12450 [POSIX] (EDQUOT): Likewise.
12451 [POSIX] (EHOSTUNREACH): Likewise.
12452 [POSIX] (EIDRM): Likewise.
12453 [POSIX] (EISCONN): Likewise.
12454 [POSIX] (ELOOP): Likewise.
12455 [POSIX] (EMULTIHOP): Likewise.
12456 [POSIX] (ENETDOWN): Likewise.
12457 [POSIX] (ENETUNREACH): Likewise.
12458 [POSIX] (ENOBUFS): Likewise.
12459 [POSIX] (ENODATA): Likewise.
12460 [POSIX] (ENOLINK): Likewise.
12461 [POSIX] (ENOMSG): Likewise.
12462 [POSIX] (ENOPROTOOPT): Likewise.
12463 [POSIX] (ENOSR): Likewise.
12464 [POSIX] (ENOSTR): Likewise.
12465 [POSIX] (ENOTCONN): Likewise.
12466 [POSIX] (ENOTSOCK): Likewise.
12467 [POSIX] (EOPNOTSUPP): Likewise.
12468 [POSIX] (EOVERFLOW): Likewise.
12469 [POSIX] (EPROTO): Likewise.
12470 [POSIX] (EPROTONOSUPPORT): Likewise.
12471 [POSIX] (EPROTOTYPE): Likewise.
12472 [POSIX] (ESTALE): Likewise.
12473 [POSIX] (ETIME): Likewise.
12474 [POSIX] (ETXTBSY): Likewise.
12475 [POSIX] (EWOULDBLOCK): Likewise.
12476 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12477 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12478 [POSIX] (SEEK_CUR): Likewise.
12479 [POSIX] (SEEK_END): Likewise.
12480 [POSIX || UNIX98] (mode_t): Do not require.
12481 [POSIX] (off_t): Likewise.
12482 [POSIX] (pid_t): Likewise.
12483 [POSIX] (sys/stat.h): Do not allow header.
12484 [POSIX] (unistd.h): Likewise.
12485 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12486 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12487 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12488 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12490 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12491 sigevent): Specify elements.
12492 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12494 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12495 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12497 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12498 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12499 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12500 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12501 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12502 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12503 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12504 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12505 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12506 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12507 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12508 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12509 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12512 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12514 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12516 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12518 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12519 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12520 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12521 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12522 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12523 Specify lower bound on value.
12524 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12525 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12530 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12531 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12533 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12535 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12537 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12538 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12539 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12540 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12541 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12542 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12544 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12545 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12546 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12547 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12550 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12552 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12554 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12555 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12556 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12557 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12558 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12559 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12561 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12562 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12563 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12564 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12566 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12567 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12569 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12570 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12571 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12572 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12573 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12574 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12575 specify as optional.
12576 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12577 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12578 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12579 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12580 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12581 [XPG3] (NL_LANGMAX): Likewise.
12582 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12583 [POSIX || XPG3] (NL_NMAX): Likewise.
12584 [POSIX || XPG3] (NL_SETMAX): Likewise.
12585 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12586 [XPG3] (NZERO): Likewise.
12587 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12588 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12589 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12590 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12591 (REG_ERANGE): Expect.
12592 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12594 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12595 Use (void) in prototype.
12596 [POSIX] (*_t): Allow.
12597 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12598 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12599 (WRDE_BADVAL): Expect.
12601 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12603 [XPG3 || XPG4] (O_RSYNC): Likewise.
12604 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12606 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12607 [XPG3 || XPG4] (sigqueue): Likewise.
12608 [XPG3 || XPG4] (sigtimedwait): Likewise.
12609 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12610 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12611 [XPG3 || XPG4] (vsnprintf): Likewise.
12612 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12614 [XPG3 || XPG4] (blksize_t): Likewise.
12615 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12617 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12618 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12619 [XPG3 || XPG4] (struct itimerspec): Likewise.
12620 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12621 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12622 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12623 [XPG3 || XPG4] (clockid_t): Likewise.
12624 [XPG3 || XPG4] (timer_t): Likewise.
12625 [XPG3 || XPG4] (clock_getres): Likewise.
12626 [XPG3 || XPG4] (clock_gettime): Likewise.
12627 [XPG3 || XPG4] (clock_settime): Likewise.
12628 [XPG3 || XPG4] (nanosleep): Likewise.
12629 [XPG3 || XPG4] (timer_create): Likewise.
12630 [XPG3 || XPG4] (timer_delete): Likewise.
12631 [XPG3 || XPG4] (timer_gettime): Likewise.
12632 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12633 [XPG3 || XPG4] (timer_settime): Likewise.
12634 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12635 [XPG3 || XPG4] (getlogin_r): Likewise.
12636 [XPG3 || XPG4] (pread): Likewise.
12637 [XPG3 || XPG4] (pthread_atfork): Likewise.
12638 [XPG3 || XPG4] (pwrite): Likewise.
12641 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12644 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12646 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12647 finalizing MALLSTREAM.
12649 * sysdeps/mach/hurd/syncfs.c: New file.
12651 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12654 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12655 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12656 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12657 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12658 (_nss_dns_gethostbyname4_r): Likewise.
12659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12660 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12662 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12665 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12667 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12669 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12670 * elf/cache.c (print_entry): Print ",AArch64" for
12673 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12674 * elf/cache.c (print_entry): Print ",hard-float" for
12677 2012-11-18 David S. Miller <davem@davemloft.net>
12679 With help from Joseph Myers.
12680 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12682 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12684 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12685 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12688 * math/libm-test.inc (y0_test): New tests.
12689 (y1_test): New tests.
12690 * sysdeps/i386/fpu/libm-test-ulps: Update.
12691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12694 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12696 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12698 * configure: Regenerated.
12700 2012-11-17 David S. Miller <davem@davemloft.net>
12703 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12704 nonzero exponents with absolute value below 0x1p-128 to +/-
12707 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12709 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12711 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12713 * posix/getconf-speclist.c: New file.
12714 * posix/posix-envs.def: Likewise.
12715 * posix/confstr.c (START_ENV_GROUP): New macro.
12716 (END_ENV_GROUP): Likewise.
12717 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12718 (KNOWN_PRESENT_ENV_STRING): Likewise.
12719 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12720 (UNKNOWN_ENVIRONMENT): Likewise.
12721 (confstr): Include posix-envs.def instead of handling
12722 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12723 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12724 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12725 (END_ENV_GROUP): Likewise.
12726 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12727 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12728 (UNKNOWN_ENVIRONMENT): Likewise.
12729 (__sysconf): Include posix-envs.def instead of handling associated
12730 cases directly here.
12731 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12732 preprocessing getconf-speclist.c rather than running getconf or
12733 generating empty file.
12735 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12737 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12739 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12742 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12744 2012-11-16 David S. Miller <davem@davemloft.net>
12746 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12747 smaller than LDBL_EPSILON/2.0L, just return xm1.
12749 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12751 * elf/tst-array1.c (init): Set constructor priority to 1000.
12752 (fini): Set destructor priority to 1000.
12753 * elf/tst-array2dep.c: Likewise.
12755 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12758 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12759 (_IO_new_file_xsputn): Also return EOF if none of the input
12760 data was written when overflow failed.
12761 * libio/iopadn.c (_IO_padn): Likewise.
12762 * libio/iowpadn.c (_IO_wpadn): Likewise.
12763 * stdio-common/tst-put-error.c: Add copyright notice.
12764 (do_test): Add case for printing padded string.
12765 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12766 _IO_padn returned error.
12767 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12768 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12771 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12773 * libio/libioP.h: Add comment note that the references to C++
12774 bits are now obsolete.
12776 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12778 * math/libm-test.inc (check_complex): Use asprintf.
12780 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12782 * debug/pcprofiledump.c (print_version): Update copyright year.
12783 * malloc/memusagestat.c (print_version): Likewise.
12785 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12788 * elf/Makefile (tests): Add tst-audit8.
12789 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12790 ($(objpfx)tst-audit8.out): New target.
12791 (tst-audit8-ENV): New variable.
12792 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12793 audit if l_reloc_result is NULL.
12794 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12795 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12796 * elf/tst-audit8.c: New file.
12798 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12800 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12801 * misc/Makefile (CFLAGS-select.c): Define.
12802 * posix/Makefile (CFLAGS-pause.c): Define.
12804 2012-11-13 David S. Miller <davem@davemloft.net>
12806 * crypt/Makefile: Move test targets after toplevel Rules
12807 inclusion. Grab any necessary sysdep routines when linking.
12808 * crypt/md5.c (md5_process_block): Remove define, we will always
12809 name it __md5_process_block.
12810 (md5_finish_ctx): Update md5_process_block call.
12811 (md5_stream): Likewise.
12812 (md5_process_bytes): Likewise.
12813 (md5_process_block): Rename to __md5_process_block and move to ...
12814 * crypt/md5-block.c: ... here.
12815 * crypt/sha256.c (sha256_process_block): Move to ...
12816 * crypt/sha256-block.c: ... here.
12817 * crypt/sha512.c (sha512_process_block): Move to ...
12818 * crypt/sha512-block.c: ... here.
12819 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12821 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12822 * sysdeps/sparc/sparc64/multiarch/Makefile
12823 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12825 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12828 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12829 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12830 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12831 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12832 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12833 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12834 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12835 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12836 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12838 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12843 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12845 * timezone/tzselect.ksh: Update from tzcode git revision
12846 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12847 * timezone/zdump.c: Likewise.
12848 * timezone/zic.c: Likewise.
12849 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12850 in TZVERSION setting, not $(PKGVERSION).
12851 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12852 REPORT_BUGS_TO settings.
12855 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12858 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12860 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12861 detection to immediately after _FP_ROUND().
12862 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12865 2012-11-11 David S. Miller <davem@davemloft.net>
12867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12869 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12870 __close rather than their public counterparts.
12872 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12874 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12876 [UNIX98] (sem_timedwait): Do not expect.
12877 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12878 [XPG4 || UNIX98] (sockatmark): Do not expect.
12879 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12880 (clock_getcpuclockid): Do not expect.
12881 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12882 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12884 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12885 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12886 [UNIX98] (vwscanf): Likewise.
12887 [UNIX98] (vswscanf): Likewise.
12889 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12891 * timezone/version.h: Remove file.
12892 * timezone/README: Do not refer to version.h.
12893 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12894 $(objpfx)version.h.
12895 ($(objpfx)zdump.o): Likewise.
12896 ($(objpfx)version.h): New target.
12898 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12900 * timezone/README: Don't mention modification to tzselect.ksh.
12901 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12902 work on unmodified tzselect.ksh. Substitute version numbers in
12905 * Makefile (format-me): Remove.
12906 (INSTALL): Adjust indentation. Use commands directly instead of
12907 using $(format-me).
12909 * aclocal.m4 (ACX_PKGVERSION): New macro.
12910 (ACX_BUGURL): Likewise.
12911 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12912 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12913 (REPORT_BUGS_TO): Likewise.
12914 * configure: Regenerated.
12915 * config.h.in (PKGVERSION): New macro.
12916 (REPORT_BUGS_TO): Likewise.
12917 * config.make.in (PKGVERSION): New variable.
12918 (PKGVERSION_TEXI): Likewise.
12919 (REPORT_BUGS_TO): Likewise.
12920 (REPORT_BUGS_TEXI): Likewise.
12921 * Makefile (format-me): Use -I$(common-objpfx)manual.
12922 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12923 ($(common-objpfx)manual/%): New target.
12924 (manual/%): Remove target.
12925 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12926 (print_version): Use PKGVERSION.
12927 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12928 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12929 and REPORT_BUGS_TO.
12930 ($(objpfx)xtrace): Likewise.
12931 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12932 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12933 (print_version): Use PKGVERSION.
12934 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12935 (do_version): Use PKGVERSION.
12936 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12938 (common-ldd-rewrite): Likewise.
12939 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12940 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12941 (print_version): Use PKGVERSION.
12942 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12943 * elf/pldd.c (argp_program_bug_address): Remove variable.
12944 (more_help): New function.
12945 (argp): Use more_help.
12946 (print_version): Use PKGVERSION.
12947 * elf/sln.c (main): Use PKGVERSION.
12948 (usage): Use REPORT_BUGS_TO.
12949 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12950 (top level): Use PKGVERSION.
12951 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12952 (print_version): Use PKGVERSION.
12953 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12954 (print_version): Use PKGVERSION.
12955 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12956 (print_version): Use PKGVERSION.
12957 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12958 (print_version): Use PKGVERSION.
12959 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12960 (print_version): Use PKGVERSION.
12961 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12962 (print_version): Use PKGVERSION.
12963 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12965 ($(objpfx)memusage): Likewise.
12966 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12967 (do_version): Use PKGVERSION.
12968 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12969 (print_version): Use PKGVERSION.
12970 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12971 ($PKGVERSION): New variable.
12972 ($REPORT_BUGS_TO): Likewise.
12973 (usage): Use $REPORT_BUGS_TO.
12974 (top level): Use $PKGVERSION.
12975 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12976 ($(objpfx)pkgvers.texi): New rule.
12977 ($(objpfx)stamp-pkgvers): Likewise.
12978 * manual/install.texi: Include pkgvers.texi.
12979 (--with-pkgversion): Document new configure option.
12980 (--with-bugurl): Likewise.
12981 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12982 than necessarily for this particular distribution. Use
12983 REPORT_BUGS_TO for where to report bugs.
12984 * INSTALL: Regenerated.
12985 * manual/libc.texinfo: Include pkgvers.texi.
12986 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12987 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12988 (print_version): Use PKGVERSION.
12989 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12990 (print_version): Use PKGVERSION.
12991 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12992 (print_version): Use PKGVERSION.
12993 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12994 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12996 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12997 (print_version): Use PKGVERSION.
12998 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12999 (print_version): Use PKGVERSION.
13000 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13003 * timezone/checktab.awk: Update from tzcode 2012i.
13004 * timezone/ialloc.c: Likewise.
13005 * timezone/private.h: Likewise.
13006 * timezone/scheck.c: Likewise.
13007 * timezone/tzfile.h: Likewise.
13008 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13009 (TZVERSION): Hardcode tzcode version number.
13010 * timezone/zdump.c: Update from tzcode 2012i.
13011 * timezone/zic.c: Likewise.
13012 * timezone/version.h: New file.
13013 * timezone/README: Describe version.h. Update upstream location.
13016 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13017 (mktemp): Enable declaration.
13018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13035 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13036 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13037 for copies of such integer values.
13038 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13039 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13041 2012-11-09 Andreas Jaeger <aj@suse.de>
13043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13044 definitions and declarations that are provided by
13045 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13047 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13049 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13050 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13051 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13054 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13056 * elf/elf.h: Update comment before AArch64 relocations.
13058 2012-11-07 David S. Miller <davem@davemloft.net>
13060 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13061 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13062 (__start_context): Declare.
13063 (__makecontext_ret): Delete.
13064 (__makecontext): Hook up __start_context instead of
13066 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13067 (sysdep_routines): Add __start_context when in stdlib.
13069 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13071 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13072 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13073 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13075 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13076 (READELF): New variable. Use it instead of hardcoded "readelf".
13078 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13080 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13081 * sysdeps/x86/Makefile: Here.
13082 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13083 * sysdeps/x86/tst-xmmymm.sh: This.
13085 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13087 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13089 [UNIX98] (pthread_barrier_t): Do not expect.
13090 [UNIX98] (pthread_barrierattr_t): Likewise.
13091 [UNIX98] (pthread_spinlock_t): Likewise.
13092 [UNIX98] (pthread_barrier_destroy): Likewise.
13093 [UNIX98] (pthread_barrier_init): Likewise.
13094 [UNIX98] (pthread_barrier_wait): Likewise.
13095 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13096 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13097 [UNIX98] (pthread_barrierattr_init): Likewise.
13098 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13099 [UNIX98] (pthread_getcpuclockid): Likewise.
13100 [UNIX98] (pthread_mutex_timedlock): Likewise.
13101 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13102 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13103 [UNIX98] (pthread_sigmask): Likewise.
13104 [UNIX98] (pthread_spin_destroy): Likewise.
13105 [UNIX98] (pthread_spin_init): Likewise.
13106 [UNIX98] (pthread_spin_lock): Likewise.
13107 [UNIX98] (pthread_spin_trylock): Likewise.
13108 [UNIX98] (pthread_spin_unlock): Likewise.
13109 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13111 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13112 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13113 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13114 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13115 [XPG3 || XPG4] (pthread_key_t): Likewise.
13116 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13117 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13118 [XPG3 || XPG4] (pthread_once_t): Likewise.
13119 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13120 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13121 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13122 [XPG3 || XPG4] (pthread_t): Likewise.
13124 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13126 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13128 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13129 Change function return type to int.
13131 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13132 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13133 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13134 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13135 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13136 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13137 [!POSIX] (posix_madvise): Likewise.
13138 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13140 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13141 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13142 (mode_t): Likewise.
13143 (posix_mem_offset): Likewise.
13144 (posix_typed_mem_get_info): Likewise.
13145 (posix_typed_mem_open): Likewise.
13147 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13148 Change condition to [XOPEN2K8].
13150 * conform/conformtest.pl: Preprocess allow-header data with -x c
13151 instead of from stdin.
13152 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13153 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13154 [C99-based standards] (cerfc): Likewise.
13155 [C99-based standards] (cexp2): Likewise.
13156 [C99-based standards] (cexpm1): Likewise.
13157 [C99-based standards] (clog10): Likewise.
13158 [C99-based standards] (clog1p): Likewise.
13159 [C99-based standards] (clog2): Likewise.
13160 [C99-based standards] (clgamma): Likewise.
13161 [C99-based standards] (ctgamma): Likewise.
13162 [C99-based standards] (cerff): Likewise.
13163 [C99-based standards] (cerfcf): Likewise.
13164 [C99-based standards] (cexp2f): Likewise.
13165 [C99-based standards] (cexpm1f): Likewise.
13166 [C99-based standards] (clog10f): Likewise.
13167 [C99-based standards] (clog1pf): Likewise.
13168 [C99-based standards] (clog2f): Likewise.
13169 [C99-based standards] (clgammaf): Likewise.
13170 [C99-based standards] (ctgammaf): Likewise.
13171 [C99-based standards] (cerfl): Likewise.
13172 [C99-based standards] (cerfcl): Likewise.
13173 [C99-based standards] (cexp2l): Likewise.
13174 [C99-based standards] (cexpm1l): Likewise.
13175 [C99-based standards] (clog10l): Likewise.
13176 [C99-based standards] (clog1pl): Likewise.
13177 [C99-based standards] (clog2l): Likewise.
13178 [C99-based standards] (clgammal): Likewise.
13179 [C99-based standards] (ctgammal): Likewise.
13180 * conform/data/inttypes.h-data [C99-based standards]: Include
13181 stdint.h-data. Remove all expectations for stdint.h contents.
13182 [C99-based standards] (PRI*): Do not allow.
13183 [C99-based standards] (SCN*): Likewise.
13184 [C99-based standards] (*_t): Likewise.
13185 [C99-based-standards] (PRId8): Expect macro.
13186 [C99-based-standards] (PRIi8): Likewise.
13187 [C99-based-standards] (PRIo8): Likewise.
13188 [C99-based-standards] (PRIu8): Likewise.
13189 [C99-based-standards] (PRIx8): Likewise.
13190 [C99-based-standards] (PRIX8): Likewise.
13191 [C99-based-standards] (SCNd8): Likewise.
13192 [C99-based-standards] (SCNi8): Likewise.
13193 [C99-based-standards] (SCNo8): Likewise.
13194 [C99-based-standards] (SCNu8): Likewise.
13195 [C99-based-standards] (SCNx8): Likewise.
13196 [C99-based-standards] (PRIdLEAST8): Likewise.
13197 [C99-based-standards] (PRIiLEAST8): Likewise.
13198 [C99-based-standards] (PRIoLEAST8): Likewise.
13199 [C99-based-standards] (PRIuLEAST8): Likewise.
13200 [C99-based-standards] (PRIxLEAST8): Likewise.
13201 [C99-based-standards] (PRIXLEAST8): Likewise.
13202 [C99-based-standards] (SCNdLEAST8): Likewise.
13203 [C99-based-standards] (SCNiLEAST8): Likewise.
13204 [C99-based-standards] (SCNoLEAST8): Likewise.
13205 [C99-based-standards] (SCNuLEAST8): Likewise.
13206 [C99-based-standards] (SCNxLEAST8): Likewise.
13207 [C99-based-standards] (PRIdFAST8): Likewise.
13208 [C99-based-standards] (PRIiFAST8): Likewise.
13209 [C99-based-standards] (PRIoFAST8): Likewise.
13210 [C99-based-standards] (PRIuFAST8): Likewise.
13211 [C99-based-standards] (PRIxFAST8): Likewise.
13212 [C99-based-standards] (PRIXFAST8): Likewise.
13213 [C99-based-standards] (SCNdFAST8): Likewise.
13214 [C99-based-standards] (SCNiFAST8): Likewise.
13215 [C99-based-standards] (SCNoFAST8): Likewise.
13216 [C99-based-standards] (SCNuFAST8): Likewise.
13217 [C99-based-standards] (SCNxFAST8): Likewise.
13218 [C99-based-standards] (PRId16): Likewise.
13219 [C99-based-standards] (PRIi16): Likewise.
13220 [C99-based-standards] (PRIo16): Likewise.
13221 [C99-based-standards] (PRIu16): Likewise.
13222 [C99-based-standards] (PRIx16): Likewise.
13223 [C99-based-standards] (PRIX16): Likewise.
13224 [C99-based-standards] (SCNd16): Likewise.
13225 [C99-based-standards] (SCNi16): Likewise.
13226 [C99-based-standards] (SCNo16): Likewise.
13227 [C99-based-standards] (SCNu16): Likewise.
13228 [C99-based-standards] (SCNx16): Likewise.
13229 [C99-based-standards] (PRIdLEAST16): Likewise.
13230 [C99-based-standards] (PRIiLEAST16): Likewise.
13231 [C99-based-standards] (PRIoLEAST16): Likewise.
13232 [C99-based-standards] (PRIuLEAST16): Likewise.
13233 [C99-based-standards] (PRIxLEAST16): Likewise.
13234 [C99-based-standards] (PRIXLEAST16): Likewise.
13235 [C99-based-standards] (SCNdLEAST16): Likewise.
13236 [C99-based-standards] (SCNiLEAST16): Likewise.
13237 [C99-based-standards] (SCNoLEAST16): Likewise.
13238 [C99-based-standards] (SCNuLEAST16): Likewise.
13239 [C99-based-standards] (SCNxLEAST16): Likewise.
13240 [C99-based-standards] (PRIdFAST16): Likewise.
13241 [C99-based-standards] (PRIiFAST16): Likewise.
13242 [C99-based-standards] (PRIoFAST16): Likewise.
13243 [C99-based-standards] (PRIuFAST16): Likewise.
13244 [C99-based-standards] (PRIxFAST16): Likewise.
13245 [C99-based-standards] (PRIXFAST16): Likewise.
13246 [C99-based-standards] (SCNdFAST16): Likewise.
13247 [C99-based-standards] (SCNiFAST16): Likewise.
13248 [C99-based-standards] (SCNoFAST16): Likewise.
13249 [C99-based-standards] (SCNuFAST16): Likewise.
13250 [C99-based-standards] (SCNxFAST16): Likewise.
13251 [C99-based-standards] (PRId32): Likewise.
13252 [C99-based-standards] (PRIi32): Likewise.
13253 [C99-based-standards] (PRIo32): Likewise.
13254 [C99-based-standards] (PRIu32): Likewise.
13255 [C99-based-standards] (PRIx32): Likewise.
13256 [C99-based-standards] (PRIX32): Likewise.
13257 [C99-based-standards] (SCNd32): Likewise.
13258 [C99-based-standards] (SCNi32): Likewise.
13259 [C99-based-standards] (SCNo32): Likewise.
13260 [C99-based-standards] (SCNu32): Likewise.
13261 [C99-based-standards] (SCNx32): Likewise.
13262 [C99-based-standards] (PRIdLEAST32): Likewise.
13263 [C99-based-standards] (PRIiLEAST32): Likewise.
13264 [C99-based-standards] (PRIoLEAST32): Likewise.
13265 [C99-based-standards] (PRIuLEAST32): Likewise.
13266 [C99-based-standards] (PRIxLEAST32): Likewise.
13267 [C99-based-standards] (PRIXLEAST32): Likewise.
13268 [C99-based-standards] (SCNdLEAST32): Likewise.
13269 [C99-based-standards] (SCNiLEAST32): Likewise.
13270 [C99-based-standards] (SCNoLEAST32): Likewise.
13271 [C99-based-standards] (SCNuLEAST32): Likewise.
13272 [C99-based-standards] (SCNxLEAST32): Likewise.
13273 [C99-based-standards] (PRIdFAST32): Likewise.
13274 [C99-based-standards] (PRIiFAST32): Likewise.
13275 [C99-based-standards] (PRIoFAST32): Likewise.
13276 [C99-based-standards] (PRIuFAST32): Likewise.
13277 [C99-based-standards] (PRIxFAST32): Likewise.
13278 [C99-based-standards] (PRIXFAST32): Likewise.
13279 [C99-based-standards] (SCNdFAST32): Likewise.
13280 [C99-based-standards] (SCNiFAST32): Likewise.
13281 [C99-based-standards] (SCNoFAST32): Likewise.
13282 [C99-based-standards] (SCNuFAST32): Likewise.
13283 [C99-based-standards] (SCNxFAST32): Likewise.
13284 [C99-based-standards] (PRId64): Likewise.
13285 [C99-based-standards] (PRIi64): Likewise.
13286 [C99-based-standards] (PRIo64): Likewise.
13287 [C99-based-standards] (PRIu64): Likewise.
13288 [C99-based-standards] (PRIx64): Likewise.
13289 [C99-based-standards] (PRIX64): Likewise.
13290 [C99-based-standards] (SCNd64): Likewise.
13291 [C99-based-standards] (SCNi64): Likewise.
13292 [C99-based-standards] (SCNo64): Likewise.
13293 [C99-based-standards] (SCNu64): Likewise.
13294 [C99-based-standards] (SCNx64): Likewise.
13295 [C99-based-standards] (PRIdLEAST64): Likewise.
13296 [C99-based-standards] (PRIiLEAST64): Likewise.
13297 [C99-based-standards] (PRIoLEAST64): Likewise.
13298 [C99-based-standards] (PRIuLEAST64): Likewise.
13299 [C99-based-standards] (PRIxLEAST64): Likewise.
13300 [C99-based-standards] (PRIXLEAST64): Likewise.
13301 [C99-based-standards] (SCNdLEAST64): Likewise.
13302 [C99-based-standards] (SCNiLEAST64): Likewise.
13303 [C99-based-standards] (SCNoLEAST64): Likewise.
13304 [C99-based-standards] (SCNuLEAST64): Likewise.
13305 [C99-based-standards] (SCNxLEAST64): Likewise.
13306 [C99-based-standards] (PRIdFAST64): Likewise.
13307 [C99-based-standards] (PRIiFAST64): Likewise.
13308 [C99-based-standards] (PRIoFAST64): Likewise.
13309 [C99-based-standards] (PRIuFAST64): Likewise.
13310 [C99-based-standards] (PRIxFAST64): Likewise.
13311 [C99-based-standards] (PRIXFAST64): Likewise.
13312 [C99-based-standards] (SCNdFAST64): Likewise.
13313 [C99-based-standards] (SCNiFAST64): Likewise.
13314 [C99-based-standards] (SCNoFAST64): Likewise.
13315 [C99-based-standards] (SCNuFAST64): Likewise.
13316 [C99-based-standards] (SCNxFAST64): Likewise.
13317 [C99-based-standards] (PRIdMAX): Likewise.
13318 [C99-based-standards] (PRIiMAX): Likewise.
13319 [C99-based-standards] (PRIoMAX): Likewise.
13320 [C99-based-standards] (PRIuMAX): Likewise.
13321 [C99-based-standards] (PRIxMAX): Likewise.
13322 [C99-based-standards] (PRIXMAX): Likewise.
13323 [C99-based-standards] (SCNdMAX): Likewise.
13324 [C99-based-standards] (SCNiMAX): Likewise.
13325 [C99-based-standards] (SCNoMAX): Likewise.
13326 [C99-based-standards] (SCNuMAX): Likewise.
13327 [C99-based-standards] (SCNxMAX): Likewise.
13328 [C99-based-standards] (PRIdPTR): Likewise.
13329 [C99-based-standards] (PRIiPTR): Likewise.
13330 [C99-based-standards] (PRIoPTR): Likewise.
13331 [C99-based-standards] (PRIuPTR): Likewise.
13332 [C99-based-standards] (PRIxPTR): Likewise.
13333 [C99-based-standards] (PRIXPTR): Likewise.
13334 [C99-based-standards] (SCNdPTR): Likewise.
13335 [C99-based-standards] (SCNiPTR): Likewise.
13336 [C99-based-standards] (SCNoPTR): Likewise.
13337 [C99-based-standards] (SCNuPTR): Likewise.
13338 [C99-based-standards] (SCNxPTR): Likewise.
13339 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13341 * conform/data/stdint.h-data: Update comments to clarify
13343 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13345 [C99-based standards] (INT8_MAX): Likewise.
13346 [C99-based standards] (INT16_MIN): Likewise.
13347 [C99-based standards] (INT16_MAX): Likewise.
13348 [C99-based standards] (INT32_MIN): Likewise.
13349 [C99-based standards] (INT32_MAX): Likewise.
13350 [C99-based standards] (INT64_MIN): Likewise.
13351 [C99-based standards] (INT64_MAX): Likewise.
13352 [C99-based standards] (UINT8_MAX): Likewise.
13353 [C99-based standards] (UINT16_MAX): Likewise.
13354 [C99-based standards] (UINT32_MAX): Likewise.
13355 [C99-based standards] (UINT64_MAX): Likewise.
13356 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13357 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13358 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13359 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13360 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13361 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13362 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13363 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13364 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13365 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13366 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13367 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13368 [C99-based standards] (INT_FAST8_MIN): Likewise.
13369 [C99-based standards] (INT_FAST8_MAX): Likewise.
13370 [C99-based standards] (INT_FAST16_MIN): Likewise.
13371 [C99-based standards] (INT_FAST16_MAX): Likewise.
13372 [C99-based standards] (INT_FAST32_MIN): Likewise.
13373 [C99-based standards] (INT_FAST32_MAX): Likewise.
13374 [C99-based standards] (INT_FAST64_MIN): Likewise.
13375 [C99-based standards] (INT_FAST64_MAX): Likewise.
13376 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13377 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13378 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13379 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13380 [C99-based standards] (INTPTR_MIN): Likewise.
13381 [C99-based standards] (INTPTR_MAX): Likewise.
13382 [C99-based standards] (UINTPTR_MAX): Likewise.
13383 [C99-based standards] (INTMAX_MIN): Likewise.
13384 [C99-based standards] (INTMAX_MAX): Likewise.
13385 [C99-based standards] (UINTMAX_MAX): Likewise.
13386 [C99-based standards] (PTRDIFF_MIN): Likewise.
13387 [C99-based standards] (PTRDIFF_MAX): Likewise.
13388 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13389 [C99-based standards] (SIZE_MAX): Likewise.
13390 [C99-based standards] (WCHAR_MAX): Likewise.
13391 [C99-based standards] (WINT_MAX): Likewise.
13392 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13393 constraint on value.
13394 [C99-based standards] (WCHAR_MIN): Likewise.
13395 [C99-based standards] (WINT_MIN): Likewise.
13396 [C99-based standards] (*_t): Allow.
13397 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13398 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13399 Include math.h-data and complex.h-data. Remove all expectations
13400 of math.h and complex.h contents.
13401 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13403 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13404 (struct tm): Expect tag.
13405 [C99-based-standards] (wcstof): Expect function.
13406 [C99-based-standards] (wcstold): Likewise.
13407 [C99-based-standards] (wcstoll): Likewise.
13408 [C99-based-standards] (wcstoull): Likewise.
13409 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13410 macro-int-constant. Specify type.
13411 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13412 constraint on value.
13413 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13415 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13417 [ISO C standards]: Do not allow headers.
13418 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13419 wcs[abcdefghijklmnopqrstuvwxyz]*.
13420 [ISO C standards] (*_t): Do not allow.
13421 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13423 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13424 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13426 [ISO C standards]: Do not allow headers.
13427 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13428 is[abcdefghijklmnopqrstuvwxyz]*.
13429 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13430 to[abcdefghijklmnopqrstuvwxyz]*.
13431 [ISO C standards] (*_t): Do not allow.
13432 * conform/data/stdalign.h-data: New file.
13433 * conform/data/stdbool.h-data: Likewise.
13434 * conform/data/stdnoreturn.h-data: Likewise.
13436 2012-11-07 Roland McGrath <roland@hack.frob.com>
13439 * manual/filesys.texi (Directory Entries): Typo fix.
13440 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13442 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13444 * elf/elf.h (EM_AARCH64): New macro.
13445 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13446 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13447 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13448 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13449 (R_AARCH64_TLSDESC): Likewise.
13450 (NT_ARM_TLS): Likewise.
13451 (NT_ARM_HW_BREAK): Likewise.
13452 (NT_ARM_HW_WATCH): Likewise.
13454 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13457 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13458 (__ieee754_powl): Saturate nonzero exponents with absolute value
13459 below 0x1p-79 to +/- 0x1p-79.
13460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13461 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13462 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13463 nonzero exponents with absolute value below 0x1p-32 to +/-
13465 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13466 (__ieee754_powl): Saturate nonzero exponents with absolute value
13467 below 0x1p-79 to +/- 0x1p-79.
13468 * math/libm-test.inc (pow_test): Add more tests.
13470 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13472 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13473 _dl_s390_cap_flags with kernel. Increase string length.
13474 (_dl_s390_platforms): Add z196 and zEC12.
13476 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13478 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13479 Change XOPEN21K to XOPEN2K.
13481 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13483 * string/memmove.c: Use memcpy when possible.
13485 2012-11-06 Andreas Jaeger <aj@suse.de>
13487 * po/eo.po: Update from translation team.
13489 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13493 exponent and small x and y exponents, scale x or y up. Increase
13494 by 2 the exponent used in scaling up.
13495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13497 * math/libm-test.inc (fma_test): Add more tests.
13498 (fma_test_towardzero): Likewise.
13499 (fma_test_downward): Likewise.
13500 (fma_test_upward): Likewise.
13502 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13505 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13509 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13510 namespace for names of struct fields.
13511 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13513 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13514 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13516 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13519 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13521 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13523 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13527 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13530 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13534 definitely overflow as x * y not x * y + z.
13535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13537 * math/libm-test.inc (fma_test): Add more tests.
13538 (fma_test_towardzero): Likewise.
13539 (fma_test_downward): Likewise.
13540 (fma_test_upward): Likewise.
13542 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13546 * include/stub-tag.h: Remove file.
13547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13549 * manual/maint.texi (Porting): Don't reference it.
13550 * Makerules ($(objpfx)stubs): Likewise.
13551 * dirent/closedir.c: Don't include <stub-tag.h>.
13552 * dirent/dirfd.c: Likewise.
13553 * dirent/fdopendir.c: Likewise.
13554 * dirent/getdents.c: Likewise.
13555 * dirent/getdents64.c: Likewise.
13556 * dirent/opendir.c: Likewise.
13557 * dirent/readdir.c: Likewise.
13558 * dirent/readdir64.c: Likewise.
13559 * dirent/readdir64_r.c: Likewise.
13560 * dirent/readdir_r.c: Likewise.
13561 * dirent/rewinddir.c: Likewise.
13562 * dirent/seekdir.c: Likewise.
13563 * dirent/telldir.c: Likewise.
13564 * gmon/profil.c: Likewise.
13565 * grp/setgroups.c: Likewise.
13566 * inet/if_index.c: Likewise.
13567 * io/access.c: Likewise.
13568 * io/chdir.c: Likewise.
13569 * io/chmod.c: Likewise.
13570 * io/chown.c: Likewise.
13571 * io/close.c: Likewise.
13572 * io/dup.c: Likewise.
13573 * io/dup2.c: Likewise.
13574 * io/dup3.c: Likewise.
13575 * io/euidaccess.c: Likewise.
13576 * io/faccessat.c: Likewise.
13577 * io/fchdir.c: Likewise.
13578 * io/fchmod.c: Likewise.
13579 * io/fchmodat.c: Likewise.
13580 * io/fchown.c: Likewise.
13581 * io/fchownat.c: Likewise.
13582 * io/fcntl.c: Likewise.
13583 * io/flock.c: Likewise.
13584 * io/fstatfs.c: Likewise.
13585 * io/fstatfs64.c: Likewise.
13586 * io/fstatvfs.c: Likewise.
13587 * io/fstatvfs64.c: Likewise.
13588 * io/futimens.c: Likewise.
13589 * io/fxstat.c: Likewise.
13590 * io/fxstat64.c: Likewise.
13591 * io/fxstatat.c: Likewise.
13592 * io/fxstatat64.c: Likewise.
13593 * io/getcwd.c: Likewise.
13594 * io/isatty.c: Likewise.
13595 * io/lchmod.c: Likewise.
13596 * io/lchown.c: Likewise.
13597 * io/link.c: Likewise.
13598 * io/linkat.c: Likewise.
13599 * io/lseek.c: Likewise.
13600 * io/lseek64.c: Likewise.
13601 * io/lxstat64.c: Likewise.
13602 * io/mkdir.c: Likewise.
13603 * io/mkdirat.c: Likewise.
13604 * io/mkfifo.c: Likewise.
13605 * io/mkfifoat.c: Likewise.
13606 * io/open.c: Likewise.
13607 * io/open64.c: Likewise.
13608 * io/openat.c: Likewise.
13609 * io/openat64.c: Likewise.
13610 * io/pipe.c: Likewise.
13611 * io/pipe2.c: Likewise.
13612 * io/poll.c: Likewise.
13613 * io/posix_fadvise.c: Likewise.
13614 * io/posix_fadvise64.c: Likewise.
13615 * io/posix_fallocate.c: Likewise.
13616 * io/posix_fallocate64.c: Likewise.
13617 * io/read.c: Likewise.
13618 * io/readlink.c: Likewise.
13619 * io/readlinkat.c: Likewise.
13620 * io/rmdir.c: Likewise.
13621 * io/sendfile.c: Likewise.
13622 * io/sendfile64.c: Likewise.
13623 * io/statfs.c: Likewise.
13624 * io/statfs64.c: Likewise.
13625 * io/statvfs.c: Likewise.
13626 * io/statvfs64.c: Likewise.
13627 * io/symlink.c: Likewise.
13628 * io/symlinkat.c: Likewise.
13629 * io/ttyname.c: Likewise.
13630 * io/ttyname_r.c: Likewise.
13631 * io/umask.c: Likewise.
13632 * io/unlink.c: Likewise.
13633 * io/unlinkat.c: Likewise.
13634 * io/utime.c: Likewise.
13635 * io/utimensat.c: Likewise.
13636 * io/write.c: Likewise.
13637 * io/xmknod.c: Likewise.
13638 * io/xmknodat.c: Likewise.
13639 * io/xstat.c: Likewise.
13640 * io/xstat64.c: Likewise.
13641 * login/getpt.c: Likewise.
13642 * login/grantpt.c: Likewise.
13643 * login/unlockpt.c: Likewise.
13644 * math/e_acoshl.c: Likewise.
13645 * math/e_acosl.c: Likewise.
13646 * math/e_asinl.c: Likewise.
13647 * math/e_atan2l.c: Likewise.
13648 * math/e_atanhl.c: Likewise.
13649 * math/e_coshl.c: Likewise.
13650 * math/e_expl.c: Likewise.
13651 * math/e_fmodl.c: Likewise.
13652 * math/e_gammal_r.c: Likewise.
13653 * math/e_hypotl.c: Likewise.
13654 * math/e_j0l.c: Likewise.
13655 * math/e_j1l.c: Likewise.
13656 * math/e_jnl.c: Likewise.
13657 * math/e_lgammal_r.c: Likewise.
13658 * math/e_log10l.c: Likewise.
13659 * math/e_log2l.c: Likewise.
13660 * math/e_logl.c: Likewise.
13661 * math/e_powl.c: Likewise.
13662 * math/e_rem_pio2l.c: Likewise.
13663 * math/e_sinhl.c: Likewise.
13664 * math/e_sqrtl.c: Likewise.
13665 * math/fclrexcpt.c: Likewise.
13666 * math/fedisblxcpt.c: Likewise.
13667 * math/feenablxcpt.c: Likewise.
13668 * math/fegetenv.c: Likewise.
13669 * math/fegetexcept.c: Likewise.
13670 * math/fegetround.c: Likewise.
13671 * math/feholdexcpt.c: Likewise.
13672 * math/fesetenv.c: Likewise.
13673 * math/fesetround.c: Likewise.
13674 * math/feupdateenv.c: Likewise.
13675 * math/fgetexcptflg.c: Likewise.
13676 * math/fraiseexcpt.c: Likewise.
13677 * math/fsetexcptflg.c: Likewise.
13678 * math/ftestexcept.c: Likewise.
13679 * math/k_cosl.c: Likewise.
13680 * math/k_rem_pio2l.c: Likewise.
13681 * math/k_sinl.c: Likewise.
13682 * math/k_tanl.c: Likewise.
13683 * math/s_asinhl.c: Likewise.
13684 * math/s_atanl.c: Likewise.
13685 * math/s_cbrtl.c: Likewise.
13686 * math/s_erfl.c: Likewise.
13687 * math/s_expm1l.c: Likewise.
13688 * math/s_log1pl.c: Likewise.
13689 * math/s_tanhl.c: Likewise.
13690 * misc/acct.c: Likewise.
13691 * misc/brk.c: Likewise.
13692 * misc/chflags.c: Likewise.
13693 * misc/chroot.c: Likewise.
13694 * misc/fchflags.c: Likewise.
13695 * misc/fgetxattr.c: Likewise.
13696 * misc/flistxattr.c: Likewise.
13697 * misc/fremovexattr.c: Likewise.
13698 * misc/fsetxattr.c: Likewise.
13699 * misc/fsync.c: Likewise.
13700 * misc/ftruncate.c: Likewise.
13701 * misc/futimes.c: Likewise.
13702 * misc/futimesat.c: Likewise.
13703 * misc/getdomain.c: Likewise.
13704 * misc/getdtsz.c: Likewise.
13705 * misc/gethostid.c: Likewise.
13706 * misc/gethostname.c: Likewise.
13707 * misc/getloadavg.c: Likewise.
13708 * misc/getpagesize.c: Likewise.
13709 * misc/getsysstats.c: Likewise.
13710 * misc/getxattr.c: Likewise.
13711 * misc/gtty.c: Likewise.
13712 * misc/ioctl.c: Likewise.
13713 * misc/lgetxattr.c: Likewise.
13714 * misc/listxattr.c: Likewise.
13715 * misc/llistxattr.c: Likewise.
13716 * misc/lremovexattr.c: Likewise.
13717 * misc/lsetxattr.c: Likewise.
13718 * misc/lutimes.c: Likewise.
13719 * misc/madvise.c: Likewise.
13720 * misc/mincore.c: Likewise.
13721 * misc/mlock.c: Likewise.
13722 * misc/mlockall.c: Likewise.
13723 * misc/mmap.c: Likewise.
13724 * misc/mprotect.c: Likewise.
13725 * misc/msync.c: Likewise.
13726 * misc/munlock.c: Likewise.
13727 * misc/munlockall.c: Likewise.
13728 * misc/munmap.c: Likewise.
13729 * misc/preadv.c: Likewise.
13730 * misc/preadv64.c: Likewise.
13731 * misc/ptrace.c: Likewise.
13732 * misc/pwritev.c: Likewise.
13733 * misc/pwritev64.c: Likewise.
13734 * misc/readv.c: Likewise.
13735 * misc/reboot.c: Likewise.
13736 * misc/remap_file_pages.c: Likewise.
13737 * misc/removexattr.c: Likewise.
13738 * misc/revoke.c: Likewise.
13739 * misc/select.c: Likewise.
13740 * misc/setdomain.c: Likewise.
13741 * misc/setegid.c: Likewise.
13742 * misc/seteuid.c: Likewise.
13743 * misc/sethostid.c: Likewise.
13744 * misc/sethostname.c: Likewise.
13745 * misc/setregid.c: Likewise.
13746 * misc/setreuid.c: Likewise.
13747 * misc/setxattr.c: Likewise.
13748 * misc/sstk.c: Likewise.
13749 * misc/stty.c: Likewise.
13750 * misc/swapoff.c: Likewise.
13751 * misc/swapon.c: Likewise.
13752 * misc/sync.c: Likewise.
13753 * misc/syncfs.c: Likewise.
13754 * misc/syscall.c: Likewise.
13755 * misc/truncate.c: Likewise.
13756 * misc/ualarm.c: Likewise.
13757 * misc/usleep.c: Likewise.
13758 * misc/ustat.c: Likewise.
13759 * misc/utimes.c: Likewise.
13760 * misc/vhangup.c: Likewise.
13761 * misc/writev.c: Likewise.
13762 * posix/_exit.c: Likewise.
13763 * posix/alarm.c: Likewise.
13764 * posix/execve.c: Likewise.
13765 * posix/fexecve.c: Likewise.
13766 * posix/fork.c: Likewise.
13767 * posix/fpathconf.c: Likewise.
13768 * posix/getaddrinfo.c: Likewise.
13769 * posix/getegid.c: Likewise.
13770 * posix/geteuid.c: Likewise.
13771 * posix/getgid.c: Likewise.
13772 * posix/getgroups.c: Likewise.
13773 * posix/getlogin.c: Likewise.
13774 * posix/getlogin_r.c: Likewise.
13775 * posix/getpgid.c: Likewise.
13776 * posix/getpid.c: Likewise.
13777 * posix/getppid.c: Likewise.
13778 * posix/getresgid.c: Likewise.
13779 * posix/getresuid.c: Likewise.
13780 * posix/getsid.c: Likewise.
13781 * posix/getuid.c: Likewise.
13782 * posix/glob64.c: Likewise.
13783 * posix/nanosleep.c: Likewise.
13784 * posix/pathconf.c: Likewise.
13785 * posix/pause.c: Likewise.
13786 * posix/posix_madvise.c: Likewise.
13787 * posix/pread.c: Likewise.
13788 * posix/pread64.c: Likewise.
13789 * posix/pwrite.c: Likewise.
13790 * posix/pwrite64.c: Likewise.
13791 * posix/sched_getaffinity.c: Likewise.
13792 * posix/sched_getp.c: Likewise.
13793 * posix/sched_gets.c: Likewise.
13794 * posix/sched_primax.c: Likewise.
13795 * posix/sched_primin.c: Likewise.
13796 * posix/sched_rr_gi.c: Likewise.
13797 * posix/sched_setaffinity.c: Likewise.
13798 * posix/sched_setp.c: Likewise.
13799 * posix/sched_sets.c: Likewise.
13800 * posix/sched_yield.c: Likewise.
13801 * posix/setgid.c: Likewise.
13802 * posix/setlogin.c: Likewise.
13803 * posix/setpgid.c: Likewise.
13804 * posix/setresgid.c: Likewise.
13805 * posix/setresuid.c: Likewise.
13806 * posix/setsid.c: Likewise.
13807 * posix/setuid.c: Likewise.
13808 * posix/sleep.c: Likewise.
13809 * posix/spawni.c: Likewise.
13810 * posix/sysconf.c: Likewise.
13811 * posix/times.c: Likewise.
13812 * posix/wait.c: Likewise.
13813 * posix/wait3.c: Likewise.
13814 * posix/wait4.c: Likewise.
13815 * posix/waitpid.c: Likewise.
13816 * resolv/gai_sigqueue.c: Likewise.
13817 * resource/getpriority.c: Likewise.
13818 * resource/getrlimit.c: Likewise.
13819 * resource/getrusage.c: Likewise.
13820 * resource/nice.c: Likewise.
13821 * resource/setpriority.c: Likewise.
13822 * resource/setrlimit.c: Likewise.
13823 * resource/ulimit.c: Likewise.
13824 * rt/aio_cancel.c: Likewise.
13825 * rt/aio_fsync.c: Likewise.
13826 * rt/aio_read.c: Likewise.
13827 * rt/aio_sigqueue.c: Likewise.
13828 * rt/aio_suspend.c: Likewise.
13829 * rt/aio_write.c: Likewise.
13830 * rt/clock_getres.c: Likewise.
13831 * rt/clock_gettime.c: Likewise.
13832 * rt/clock_nanosleep.c: Likewise.
13833 * rt/clock_settime.c: Likewise.
13834 * rt/lio_listio.c: Likewise.
13835 * rt/mq_close.c: Likewise.
13836 * rt/mq_getattr.c: Likewise.
13837 * rt/mq_notify.c: Likewise.
13838 * rt/mq_open.c: Likewise.
13839 * rt/mq_receive.c: Likewise.
13840 * rt/mq_send.c: Likewise.
13841 * rt/mq_setattr.c: Likewise.
13842 * rt/mq_timedreceive.c: Likewise.
13843 * rt/mq_timedsend.c: Likewise.
13844 * rt/mq_unlink.c: Likewise.
13845 * rt/shm_open.c: Likewise.
13846 * rt/shm_unlink.c: Likewise.
13847 * rt/timer_create.c: Likewise.
13848 * rt/timer_delete.c: Likewise.
13849 * rt/timer_getoverr.c: Likewise.
13850 * rt/timer_gettime.c: Likewise.
13851 * rt/timer_settime.c: Likewise.
13852 * setjmp/__longjmp.c: Likewise.
13853 * setjmp/setjmp.c: Likewise.
13854 * signal/kill.c: Likewise.
13855 * signal/killpg.c: Likewise.
13856 * signal/raise.c: Likewise.
13857 * signal/sigaction.c: Likewise.
13858 * signal/sigaltstack.c: Likewise.
13859 * signal/sigblock.c: Likewise.
13860 * signal/sigignore.c: Likewise.
13861 * signal/sigintr.c: Likewise.
13862 * signal/signal.c: Likewise.
13863 * signal/sigpause.c: Likewise.
13864 * signal/sigpending.c: Likewise.
13865 * signal/sigqueue.c: Likewise.
13866 * signal/sigreturn.c: Likewise.
13867 * signal/sigset.c: Likewise.
13868 * signal/sigsetmask.c: Likewise.
13869 * signal/sigstack.c: Likewise.
13870 * signal/sigsuspend.c: Likewise.
13871 * signal/sigtimedwait.c: Likewise.
13872 * signal/sigvec.c: Likewise.
13873 * signal/sigwait.c: Likewise.
13874 * signal/sigwaitinfo.c: Likewise.
13875 * signal/sysv_signal.c: Likewise.
13876 * socket/accept.c: Likewise.
13877 * socket/accept4.c: Likewise.
13878 * socket/bind.c: Likewise.
13879 * socket/connect.c: Likewise.
13880 * socket/getpeername.c: Likewise.
13881 * socket/getsockname.c: Likewise.
13882 * socket/getsockopt.c: Likewise.
13883 * socket/isfdtype.c: Likewise.
13884 * socket/listen.c: Likewise.
13885 * socket/recv.c: Likewise.
13886 * socket/recvfrom.c: Likewise.
13887 * socket/recvmsg.c: Likewise.
13888 * socket/send.c: Likewise.
13889 * socket/sendmsg.c: Likewise.
13890 * socket/sendto.c: Likewise.
13891 * socket/setsockopt.c: Likewise.
13892 * socket/shutdown.c: Likewise.
13893 * socket/sockatmark.c: Likewise.
13894 * socket/socket.c: Likewise.
13895 * socket/socketpair.c: Likewise.
13896 * stdio-common/ctermid.c: Likewise.
13897 * stdio-common/cuserid.c: Likewise.
13898 * stdio-common/remove.c: Likewise.
13899 * stdio-common/rename.c: Likewise.
13900 * stdio-common/renameat.c: Likewise.
13901 * stdio-common/tempname.c: Likewise.
13902 * stdlib/getcontext.c: Likewise.
13903 * stdlib/makecontext.c: Likewise.
13904 * stdlib/setcontext.c: Likewise.
13905 * stdlib/swapcontext.c: Likewise.
13906 * stdlib/system.c: Likewise.
13907 * streams/fattach.c: Likewise.
13908 * streams/fdetach.c: Likewise.
13909 * streams/getmsg.c: Likewise.
13910 * streams/getpmsg.c: Likewise.
13911 * streams/putmsg.c: Likewise.
13912 * streams/putpmsg.c: Likewise.
13913 * sysdeps/unix/bsd/getpt.c: Likewise.
13914 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13915 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13916 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13919 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13920 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13921 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13922 * sysvipc/msgctl.c: Likewise.
13923 * sysvipc/msgget.c: Likewise.
13924 * sysvipc/msgrcv.c: Likewise.
13925 * sysvipc/msgsnd.c: Likewise.
13926 * sysvipc/semctl.c: Likewise.
13927 * sysvipc/semget.c: Likewise.
13928 * sysvipc/semop.c: Likewise.
13929 * sysvipc/semtimedop.c: Likewise.
13930 * sysvipc/shmat.c: Likewise.
13931 * sysvipc/shmctl.c: Likewise.
13932 * sysvipc/shmdt.c: Likewise.
13933 * sysvipc/shmget.c: Likewise.
13934 * termios/tcdrain.c: Likewise.
13935 * termios/tcflow.c: Likewise.
13936 * termios/tcflush.c: Likewise.
13937 * termios/tcgetattr.c: Likewise.
13938 * termios/tcgetpgrp.c: Likewise.
13939 * termios/tcsendbrk.c: Likewise.
13940 * termios/tcsetattr.c: Likewise.
13941 * termios/tcsetpgrp.c: Likewise.
13942 * time/adjtime.c: Likewise.
13943 * time/clock.c: Likewise.
13944 * time/getitimer.c: Likewise.
13945 * time/gettimeofday.c: Likewise.
13946 * time/setitimer.c: Likewise.
13947 * time/settimeofday.c: Likewise.
13948 * time/stime.c: Likewise.
13949 * time/time.c: Likewise.
13951 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13953 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13956 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13958 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13960 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13964 FE_TONEAREST before applying Dekker multiplication and Knuth
13965 addition. Clear inexact exceptions and check for exact zero
13966 results afterwards.
13967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13970 * math/libm-test.inc (fma_test): Add more tests.
13971 (fma_test_towardzero): Likewise.
13972 (fma_test_downward): Likewise.
13973 (fma_test_upward): Likewise.
13974 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13976 (libc_fesetround): New macro.
13977 (libc_fesetroundf): Likewise.
13978 (libc_fesetroundl): Likewise.
13979 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13981 (libc_fesetround_387): Likewise.
13982 (libc_fesetroundf): New macro.
13983 (libc_fesetround): Likewise.
13984 (libc_fesetroundl): Likewise.
13985 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13987 (libc_fesetroundf): New macro.
13988 (libc_fesetround): Likewise.
13989 (libc_fesetroundl): Likewise.
13990 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13991 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13992 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13994 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13995 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13997 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13998 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14000 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14004 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14005 integer constant usable in #if and use that to give value to enum
14007 (FE_DIVBYZERO): Likewise.
14008 (FE_UNDERFLOW): Likewise.
14009 (FE_OVERFLOW): Likewise.
14010 (FE_INVALID): Likewise.
14011 (FE_INVALID_SNAN): Likewise.
14012 (FE_INVALID_ISI): Likewise.
14013 (FE_INVALID_IDI): Likewise.
14014 (FE_INVALID_ZDZ): Likewise.
14015 (FE_INVALID_IMZ): Likewise.
14016 (FE_INVALID_COMPARE): Likewise.
14017 (FE_INVALID_SOFTWARE): Likewise.
14018 (FE_INVALID_SQRT): Likewise.
14019 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14020 (FE_TONEAREST): Likewise.
14021 (FE_TOWARDZERO): Likewise.
14022 (FE_UPWARD): Likewise.
14023 (FE_DOWNWARD): Likewise.
14024 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14025 (FE_DIVBYZERO): Likewise.
14026 (FE_OVERFLOW): Likewise.
14027 (FE_UNDERFLOW): Likewise.
14028 (FE_INEXACT): Likewise.
14029 (FE_TONEAREST): Likewise.
14030 (FE_DOWNWARD): Likewise.
14031 (FE_UPWARD): Likewise.
14032 (FE_TOWARDZERO): Likewise.
14033 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14034 (FE_UNDERFLOW): Likewise.
14035 (FE_OVERFLOW): Likewise.
14036 (FE_DIVBYZERO): Likewise.
14037 (FE_INVALID): Likewise.
14038 (FE_TONEAREST): Likewise.
14039 (FE_TOWARDZERO): Likewise.
14040 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14041 (FE_OVERFLOW): Likewise.
14042 (FE_UNDERFLOW): Likewise.
14043 (FE_DIVBYZERO): Likewise.
14044 (FE_INEXACT): Likewise.
14045 (FE_TONEAREST): Likewise.
14046 (FE_TOWARDZERO): Likewise.
14047 (FE_UPWARD): Likewise.
14048 (FE_DOWNWARD): Likewise.
14049 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14050 (FE_DIVBYZERO): Likewise.
14051 (FE_OVERFLOW): Likewise.
14052 (FE_UNDERFLOW): Likewise.
14053 (FE_INEXACT): Likewise.
14054 (FE_TONEAREST): Likewise.
14055 (FE_DOWNWARD): Likewise.
14056 (FE_UPWARD): Likewise.
14057 (FE_TOWARDZERO): Likewise.
14059 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14061 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14063 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14065 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14066 commands. Quote $PWD.
14067 (blacklist_exports): Don't use remove_newlines. Replace "declare
14069 (remove_newlines): Remove.
14071 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14073 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14074 * stdlib/stdlib.h (atof): Moved to ...
14075 * include/bits/stdlib-float.h: Here. New file.
14076 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14077 * stdlib/bits/stdlib-float.h: New file.
14078 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14080 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14083 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14085 * conform/conformtest.pl (@headers): Add fenv.h.
14086 * conform/data/fenv.h-data: New file.
14087 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14088 include of <math/fenv.h>.
14090 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14091 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14092 && !UNIX98]. Enables tests for XOPEN2K8.
14093 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14094 POSIX2008]: Likewise.
14096 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14097 (struct rusage): Do not expect type or its members.
14100 * math/math.h (FP_NAN): Define macro to integer constant usable in
14101 #if and use that to give value to enum constant.
14102 (FP_INFINITE): Likewise.
14103 (FP_ZERO): Likewise.
14104 (FP_SUBNORMAL): Likewise.
14105 (FP_NORMAL): Likewise.
14107 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14109 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14110 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14113 2012-11-02 Roland McGrath <roland@hack.frob.com>
14115 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14116 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14117 autoconf-time if not.
14118 * configure.in: Remove AC_PREREQ.
14120 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14122 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14123 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14124 of the internal implementation.
14126 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14128 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14129 except include of <misc/sys/syslog.h>.
14131 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14134 function returns with a NULL context exit with zero.
14136 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14138 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14140 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14142 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14143 (run_program_cmd): This.
14144 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14145 (tst_langinfo): New variable. Use it.
14147 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14149 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14150 floating point opcodes.
14152 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14154 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14157 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14159 * sysdeps/mach/hurd/powerpc: Remove directory.
14160 * sysdeps/mach/powerpc: Likewise.
14162 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14164 * scripts/check-local-headers.sh: Ignore c++ headers.
14166 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14168 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14169 __libc_cleanup_region_start argument.
14171 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14176 x * y using scaling, not as x * y + z.
14177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14179 * math/libm-test.inc (fma_test): Add more tests.
14180 (fma_test_towardzero): Likewise.
14181 (fma_test_downward): Likewise.
14182 (fma_test_upward): Likewise.
14184 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14186 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14188 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14190 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14193 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14195 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14197 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14204 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14207 Fix the order of the list for glibc 2.17.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14211 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14215 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14219 for low part of x being zero before using __atanl (y).
14220 * math/libm-test.inc (atan2_test): Add another test.
14222 * manual/install.texi (Configuring and compiling): Document
14223 general use of test-wrapper and test-wrapper-env.
14224 * INSTALL: Regenerated.
14226 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14227 (__fma): Do not extract and scale down low bits on after-rounding
14228 systems when result rounded to normal precision would have normal
14230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14231 (__fmal): Do not extract and scale down low bits on after-rounding
14232 systems when result rounded to normal precision would have normal
14234 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14235 (__fmal): Do not extract and scale down low bits on after-rounding
14236 systems when result rounded to normal precision would have normal
14238 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14240 (fma_test): Add more tests.
14241 (fma_test_towardzero): Likewise.
14242 (fma_test_downward): Likewise.
14243 (fma_test_upward): Likewise.
14245 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14247 * sysdeps/i386/tininess.h: Renamed to ...
14248 * sysdeps/x86/tininess.h: This.
14249 * sysdeps/x86_64/tininess.h: Removed.
14251 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14253 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14254 input. Use $(build-program-cmd).
14255 ($(objpfx)tst-array1-static.out): Likewise.
14256 ($(objpfx)tst-array2.out): Likewise.
14257 ($(objpfx)tst-array3.out): Likewise.
14258 ($(objpfx)tst-array4.out): Likewise.
14259 ($(objpfx)tst-array5.out): Likewise.
14260 ($(objpfx)tst-array5-static.out): Likewise.
14262 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14264 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14267 * nss/nsswitch.h (nss_interface_function): Provide new
14268 macro for use with NSS functions.
14269 * grp/initgroups.c: Use new macro.
14270 * nss/getXXbyYY.c: Likewise.
14271 * nss/getXXbyYY_r.c: Likewise.
14272 * nss/getXXent.c: Likewise.
14273 * nss/getXXent_r.c: Likewise.
14274 * sysdeps/posix/getaddrinfo.c: Likewise.
14276 2012-10-30 Andreas Jaeger <aj@suse.de>
14278 * po/ru.po: Update Russion translation from translation project.
14280 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14285 result and shift together with sticky bit instead of replicating
14286 round-to-nearest rounding.
14287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14289 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14290 missing underflow exceptions.
14291 (fma_test_towardzero): Add more tests.
14292 (fma_test_downward): Likewise.
14293 (fma_test_upward): Likewise.
14296 * sysdeps/generic/tininess.h: New file.
14297 * sysdeps/i386/tininess.h: Likewise.
14298 * sysdeps/sh/tininess.h: Likewise.
14299 * sysdeps/x86_64/tininess.h: Likewise.
14300 * stdlib/tst-strtod-underflow.c: Likewise.
14301 * stdlib/tst-tininess.c: Likewise.
14302 * stdlib/strtod_l.c: Include <tininess.h>.
14303 (round_and_return): Do not set errno for exact underflow cases.
14304 Force an underflow exception when setting errno for underflow.
14305 Determine underflow based on rounding to normal precision if
14306 TININESS_AFTER_ROUNDING.
14307 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14308 ERANGE for exact underflow cases.
14309 * stdlib/Makefile (tests): Add tst-tininess and
14310 tst-strtod-underflow.
14311 ($(objpfx)tst-tininess): Use $(link-libm).
14312 ($(objpfx)tst-strtod-underflow): Likewise.
14314 2012-10-30 Andreas Jaeger <aj@suse.de>
14317 * elf/Makefile (tests): Remove conditional for have-initfini-array
14318 since this is now always required and the variable does not exist
14320 (tests-static): Likewise.
14321 (modules-names): Likewise.
14323 * po/eo.po: Add Esperanto translation from translation project.
14325 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14326 merged with constructor/destructor.
14327 (init_array): Likewise.
14328 * elf/tst-array2dep.c (fini_array): Likewise.
14329 (init_array): Likewise.
14331 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14333 * manual/message.texi: Delete @cartouche tags.
14335 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14337 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14339 * sysdeps/mach/hurd/fsync.c: Likewise.
14341 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14342 [_POSIX_REALTIME_SIGNALS]: Change condition to
14343 [_POSIX_REALTIME_SIGNALS > 0].
14345 2012-10-27 Andreas Jaeger <aj@suse.de>
14347 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14348 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14350 [__WORDSIZE != 64]: Likewise.
14352 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14354 * iconvdata/tst-table.sh: Remove ${SHELL}.
14355 * iconvdata/tst-tables.sh: Likewise.
14357 2012-10-25 David S. Miller <davem@davemloft.net>
14359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14360 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14366 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14367 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14370 2012-10-25 Roland McGrath <roland@hack.frob.com>
14372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14373 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14376 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14377 Jim Blandy <jimb@codesourcery.com>
14379 * scripts/cross-test-ssh.sh: New file.
14380 * manual/install.texi (Configuring and compiling): Document use of
14382 * INSTALL: Regenerated.
14384 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14386 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14389 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14391 * Makeconfig (run-program-prefix): Fix comment.
14393 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14394 Jim Blandy <jimb@codesourcery.com>
14396 * Makeconfig (test-wrapper): New variable,
14397 (test-wrapper-env): Likewise.
14398 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14399 (run-built-tests): Define to yes.
14400 (run-program-prefix): Use $(test-wrapper).
14401 (built-program-cmd): Likewise.
14402 * Rules (make-test-out): Use $(test-wrapper-env) and
14403 $(host-built-program-cmd).
14404 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14405 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14407 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14408 $(test-wrapper-env) to tst-rtld-load-self.sh.
14409 ($(objpfx)order2.out): Use $(test-wrapper).
14410 ($(objpfx)tst-initorder.out): Likewise.
14411 ($(objpfx)tst-initorder2.out): Likewise.
14412 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14413 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14414 (test_wrapper_env): New variable. Use it to run ld.so.
14415 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14416 Use it to run ld.so.
14417 (test_wrapper_env): Likewise.
14418 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14419 $(test-wrapper) to run-iconv-test.sh.
14420 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14421 (ICONV): Use $test_wrapper.
14422 * posix/Makefile ($(objpfx)globtest.out): Pass
14423 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14424 globtest.sh, not $(run-program-prefix).
14425 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14426 (test_wrapper): Likewise.
14427 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14428 set together with run_via_rtld_prefix.
14429 (run_program_prefix): Define in terms of test_wrapper and
14430 run_via_rtld_prefix.
14432 2012-10-24 Roland McGrath <roland@hack.frob.com>
14434 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14435 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14439 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14440 Declare __clock_getres, __clock_gettime, __clock_settime,
14441 __clock_nanosleep, and __clock_getcpuclockid.
14442 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14443 Remove librt_hidden_def (clock_gettime).
14444 * sysdeps/unix/clock_gettime.c: Likewise.
14445 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14447 * rt/clock_getres.c: Define __clock_getres as an alias.
14448 * sysdeps/posix/clock_getres.c: Likewise.
14449 * rt/clock_settime.c: Define __clock_settime as an alias.
14450 * sysdeps/unix/clock_settime.c: Likewise.
14451 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14452 * sysdeps/unix/clock_nanosleep.c: Likewise.
14453 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14454 * rt/clock-compat.c: New file.
14455 * rt/Makefile (librt-routines): Add clock-compat and move
14456 $(clock-routines) to ...
14457 (routines): ... here, new variable.
14458 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14459 Don't add get_clockfreq here.
14460 * rt/Versions (libc: GLIBC_2.17): New version set.
14461 Add clock_* symbols here.
14462 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14464 (GLIBC_2.17): Add clock_* symbols.
14465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14476 * NEWS: Mention the move.
14478 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14479 Use __open, __read, __close rather than their public counterparts.
14480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14481 (__get_clockfreq_via_cpuinfo): Likewise.
14482 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14483 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14485 * config.h.in (HAVE_IFUNC): New #undef.
14486 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14488 * configure: Regenerated.
14490 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14492 * configure.in: Move READELF check to start of file.
14493 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14494 libc_cv_asm_gnu_indirect_function in the process.
14495 * configure: Regenerated.
14497 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14499 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14500 send the output to /dev/null.
14501 (libc_cv_cc_with_libunwind): Likewise.
14502 (libc_cv_as_noexecstack): Likewise.
14503 * configure: Regenerate.
14505 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14507 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14509 * posix/globtest.sh (TMPDIR): Do not set.
14510 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14511 (testout): Likewise.
14513 2012-10-24 Andreas Jaeger <aj@suse.de>
14515 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14516 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14517 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14518 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14519 posix_fadvise64, posix_fallocate64.
14521 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14522 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14523 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14525 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14527 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14530 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14531 <bits/fcntl-linux.h>.
14532 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14535 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14536 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14537 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14538 [__WORDSIZE != 64]: Likewise.
14540 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14542 * Makeconfig (run-built-tests): New variable.
14543 * Rules [$(cross-compiling) = yes]: Change condition to
14544 [$(run-built-tests) = no].
14545 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14546 to [$(run-built-tests) = yes].
14547 * elf/Makefile [$(cross-compiling) = no]: Likewise
14548 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14549 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14550 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14551 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14552 * io/Makefile [$(cross-compiling) = no]: Likewise.
14553 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14554 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14555 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14556 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14557 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14558 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14559 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14560 * string/Makefile [$(cross-compiling) = no]: Likewise.
14562 * posix/Makefile ($(objpfx)globtest.out): Pass
14563 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14564 $(rtld-installed-name).
14565 * posix/globtest.sh (elf_objpfx): Remove variable.
14566 (rtld_installed_name): Likewise.
14567 (library_path): Likewise.
14568 (run_program_prefix): New variable. Use for running globtest
14571 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14572 Joseph Myers <joseph@codesourcery.com>
14574 * Makeconfig (host-built-program-cmd): New variable.
14575 * elf/Makefile (tst-stackguard1-ARGS): Use
14576 $(host-built-program-cmd).
14577 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14578 (tst-spawn-ARGS): Likewise.
14579 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14582 Jim Blandy <jimb@codesourcery.com>
14584 * Makeconfig (run-via-rtld-prefix): New variable.
14585 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14586 (built-program-cmd): Likewise.
14588 2012-10-22 Andreas Jaeger <aj@suse.de>
14590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14591 __O_RSYNC if it exists, otherwise to O_SYNC.
14593 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14594 Joseph Myers <joseph@codesourcery.com>
14596 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14598 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14600 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14603 2012-10-22 Andreas Jaeger <aj@suse.de>
14605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14610 bits/fcntl-linux.h.
14612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14613 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14620 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14621 Joseph Myers <joseph@codesourcery.com>
14623 * config.make.in (NM): New variable.
14625 2012-10-21 Andreas Jaeger <aj@suse.de>
14627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14628 definitions and declarations that are provided by
14629 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14631 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14634 * elf/Makefile (tests-static): Add tst-leaks1-static.
14635 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14636 ($(objpfx)tst-leaks1-static): New rule.
14637 ($(objpfx)tst-leaks1-static-mem): Likewise.
14638 (tst-leaks1-static-ENV): New macro.
14639 * elf/dl-open.c (dl_open_worker): Check the main application
14640 only if SHARED is defined.
14641 * elf/tst-leaks1-static.c: New file.
14643 2012-10-20 Andreas Jaeger <aj@suse.de>
14645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14646 generic values for Linux.
14647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14648 and declarations that are provided by <bits/fcntl-linux.h> and
14649 include <bits/fcntl-linux.h>.
14650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14653 2012-10-20 Roland McGrath <roland@hack.frob.com>
14655 * io/fcntl.h: Move include of <bits/types.h> to the top and
14656 include it unconditionally.
14658 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14660 * wcsmbs/Makefile (tests-ifunc): New variable.
14661 (tests): Add $(tests-ifunc).
14662 * wcsmbs/test-wcschr-ifunc.c: New file.
14663 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14664 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14665 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14666 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14667 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14669 * string/Makefile (tests-ifunc): New variable.
14670 (tests): Add $(tests-ifunc).
14671 * string/test-memccpy.c (TEST_NAME): New macro.
14672 * string/test-memchr.c (TEST_NAME): Likewise.
14673 * string/test-memcmp.c (TEST_NAME): Likewise.
14674 * string/test-memcpy.c (TEST_NAME): Likewise.
14675 * string/test-memmem.c (TEST_NAME): Likewise.
14676 * string/test-memmove.c (TEST_NAME): Likewise.
14677 * string/test-memset.c (TEST_NAME): Likewise.
14678 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14679 * string/test-stpcpy.c (TEST_NAME): Likewise.
14680 * string/test-stpncpy.c (TEST_NAME): Likewise.
14681 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14682 * string/test-strcasestr.c (TEST_NAME): Likewise.
14683 * string/test-strcat.c (TEST_NAME): Likewise.
14684 * string/test-strchr.c (TEST_NAME): Likewise.
14685 * string/test-strcmp.c(TEST_NAME): Likewise.
14686 * string/test-strcpy.c (TEST_NAME): Likewise.
14687 * string/test-strcspn.c (TEST_NAME): Likewise.
14688 * string/test-strlen.c (TEST_NAME): Likewise.
14689 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14690 * string/test-strncmp.c (TEST_NAME): Likewise.
14691 * string/test-strncpy.c (TEST_NAME): Likewise.
14692 * string/test-strnlen.c (TEST_NAME): Likewise.
14693 * string/test-strpbrk.c (TEST_NAME): Likewise.
14694 * string/test-strrchr.c (TEST_NAME): Likewise.
14695 * string/test-strspn.c (TEST_NAME): Likewise.
14696 * string/test-strstr.c (TEST_NAME): Likewise.
14697 * string/test-bcopy-ifunc.c: New file.
14698 * string/test-bzero-ifunc.c: Likewise.
14699 * string/test-memccpy-ifunc.c: Likewise.
14700 * string/test-memchr-ifunc.c: Likewise.
14701 * string/test-memcmp-ifunc.c: Likewise.
14702 * string/test-memcpy-ifunc.c: Likewise.
14703 * string/test-memmem-ifunc.c: Likewise.
14704 * string/test-memmove-ifunc.c: Likewise.
14705 * string/test-mempcpy-ifunc.c: Likewise.
14706 * string/test-memset-ifunc.c: Likewise.
14707 * string/test-rawmemchr-ifunc.c: Likewise.
14708 * string/test-stpcpy-ifunc.c: Likewise.
14709 * string/test-stpncpy-ifunc.c: Likewise.
14710 * string/test-strcasecmp-ifunc.c: Likewise.
14711 * string/test-strcasestr-ifunc.c: Likewise.
14712 * string/test-strcat-ifunc.c: Likewise.
14713 * string/test-strchr-ifunc.c: Likewise.
14714 * string/test-strchrnul-ifunc.c: Likewise.
14715 * string/test-strcmp-ifunc.c: Likewise.
14716 * string/test-strcpy-ifunc.c: Likewise.
14717 * string/test-strcspn-ifunc.c: Likewise.
14718 * string/test-strlen-ifunc.c: Likewise.
14719 * string/test-strncasecmp-ifunc.c: Likewise.
14720 * string/test-strncat-ifunc.c: Likewise.
14721 * string/test-strncmp-ifunc.c: Likewise.
14722 * string/test-strncpy-ifunc.c: Likewise.
14723 * string/test-strnlen-ifunc.c: Likewise.
14724 * string/test-strpbrk-ifunc.c: Likewise.
14725 * string/test-strrchr-ifunc.c: Likewise.
14726 * string/test-strspn-ifunc.c: Likewise.
14727 * string/test-strstr-ifunc.c: Likewise.
14729 * debug/Makefile (tests-ifunc): New variable.
14730 (tests): Add $(tests-ifunc).
14731 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14732 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14733 * debug/test-stpcpy_chk-ifunc.c: New file.
14734 * debug/test-strcpy_chk-ifunc.c: Likewise.
14736 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14739 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14740 header is not read in.
14742 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14744 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14745 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14746 directly. Pass built executable to script as
14747 $(built-program-cmd).
14748 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14749 $testprogram without using LD_LIBRARY_PATH and $ldso.
14751 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14752 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14753 $(rtld-installed-name).
14754 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14755 (rtld_installed_name): Likewise.
14756 (library_path): Likewise.
14757 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14758 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14759 $(run-program-prefix) to tst-tables.sh.
14760 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14761 it to run tst-table-from and tst-table-to.
14762 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14763 Pass it to tst-table.sh.
14764 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14765 $(run-program-prefix) to tst-gettext.sh.
14766 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14768 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14770 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14771 to run tst-gettext.
14772 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14773 to run tst-gettext2.
14774 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14775 to run tst-translit.
14776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14777 $(run-program-prefix) to tst-mtrace.sh.
14778 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14780 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14781 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14782 $(rtld-installed-name).
14783 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14784 (rtld_installed_name): Likewise.
14785 (run_program_prefix): New variable. Use it to run wordexp-test.
14787 * Makeconfig (ARCH): Remove all definitions.
14788 (machine): Likewise.
14789 [ARCH]: Remove conditional code.
14790 [!objdir]: Give error.
14791 [!objdir] (objpfx): Remove.
14792 [!objdir] (common-objpfx): Likewise.
14793 [!objdir] (common-objdir): Likewise.
14794 * configure.in (config_makefile): Remove. Hardcode Makefile in
14795 AC_CONFIG_FILES call.
14796 * configure: Regenerated.
14799 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14801 (testout): Likewise.
14803 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14804 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14805 $(rtld-installed-name).
14806 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14807 (rtld_installed_name): Likwise.
14808 (runit): Remove function.
14809 (run_getconf): New variable, Use it for running getconf binary.
14811 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14814 * string/test-memmem.c (check_result): New function.
14815 (do_one_test): Use it.
14816 (check1): New function.
14817 (test_main): Use it.
14819 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14821 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14823 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14825 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14826 (_G_LSEEK64): Likewise.
14827 (_G_MMAP64): Likewise.
14828 (_G_FSTAT64): Likewise.
14829 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14830 (_G_LSEEK64): Likewise.
14831 (_G_MMAP64): Likewise.
14832 (_G_FSTAT64): Likewise.
14833 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14834 unconditional. Call __mmap64 directly.
14835 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14836 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14837 __lseek64 directly.
14838 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14839 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14841 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14842 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14843 __lseek64 directly.
14844 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14845 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14846 __lseek64 directly.
14847 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14848 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14849 __lseek64 directly.
14850 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14851 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14852 __fxstat64 directly.
14853 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14854 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14856 (freopen64) [!_G_OPEN64]: Remove conditional code.
14857 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14859 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14860 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14862 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14863 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14865 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14866 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14868 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14869 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14871 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14872 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14874 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14875 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14877 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14879 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14882 * manual/memory.texi (Malloc Tunable Parameters): Add note
14883 about free list pointers overwriting some perturb bytes.
14884 Wording suggested by Roland McGrath.
14886 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14888 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14889 (lgamma_test): Likewise.
14890 (tgamma_test): Likewise.
14892 2012-10-16 Florian Weimer <fweimer@redhat.com>
14895 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14896 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14898 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14900 * NEWS: Mention BZ #14716.
14901 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14902 when removing AVAILABLE1_USES_J macro.
14904 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14906 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14907 (__bswap_64): __uint64_t for unsigned 64-bit int.
14909 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14911 * include/string.h (memmem): Declare libc hidden alias.
14912 * string/memmem.c (memmem): Define libc hidden alias.
14913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14914 __read, __close instead of open, read, close.
14916 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14919 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14921 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14922 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14923 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14925 (__rawmemchr_sse2): Likewise.
14926 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14927 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14928 (__strchr_sse2): Likewise.
14929 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14930 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14931 (__strcasecmp_sse2): Likewise.
14932 (__strncasecmp_sse2): Likewise.
14933 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14934 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14935 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14936 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14937 (__strrchr_sse2): Likewise.
14938 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14940 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14941 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14942 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14943 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14944 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14946 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14947 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14948 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14949 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14950 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14951 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14952 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14953 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14954 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14955 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14956 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14957 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14958 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14959 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14960 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14961 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14962 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14964 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14965 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14966 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14967 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14968 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14969 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14971 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14973 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14974 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14975 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14976 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14978 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14980 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14981 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14982 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14983 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14985 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14998 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14999 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15002 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15010 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15011 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15012 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15013 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15019 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15020 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15021 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15022 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15023 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15024 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15027 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15028 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15029 * include/ifunc-impl-list.h: New file.
15030 * misc/ifunc-impl-list.c: Likewise.
15031 * misc/Makefile (routines): Add ifunc-impl-list.
15032 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15033 * string/test-string.h: Include <ifunc-impl-list.h>.
15034 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15035 impl_array): New variables.
15036 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15038 (test_init): Call __libc_ifunc_impl_list to initialize
15039 func_list if TEST_IFUNC and TEST_NAME are defined.
15041 * string/Makefile (strop-tests): Add bcopy and bzero.
15042 * string/test-bcopy.c: New file.
15043 * string/test-bzero.c: Likewise.
15044 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15046 * string/test-memset.c: Support bzero test if TEST_BZERO is
15048 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15050 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15052 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15055 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15057 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15058 * configure: Regenerated.
15060 * Makeconfig (+link-static-before-libc): Don't include
15061 $(link-static-libc).
15063 * libio/libio.h (_IO_pos_t): Remove.
15065 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15067 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15070 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15072 * crypt/crypt-entry.c: Include fips-private.h.
15073 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15074 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15075 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15076 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15078 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15080 * crypt/crypt-private.h: Include stdbool.h.
15081 (_ufc_setup_salt_r): Return bool.
15082 * crypt/crypt-entry.c: Include errno.h.
15083 (__crypt_r): Return NULL with EINVAL for bad salt.
15084 * crypt/crypt_util.c (bad_for_salt): New.
15085 (_ufc_setup_salt_r): Check that salt is long enough and within
15086 the specified alphabet.
15087 * crypt/badsalttest.c: New file.
15088 * crypt/Makefile (tests): Add it.
15089 ($(objpfx)badsalttest): New.
15091 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15093 * NEWS: Add entry for BZ #14602.
15095 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15097 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15099 * math/libm-test.inc: Update comment listing what functions and
15101 (isgreater_test): New function.
15102 (isgreaterequal_test): Likewise.
15103 (isless_test): Likewise.
15104 (islessequal_test): Likewise.
15105 (islessgreater_test): Likewise.
15106 (isunordered_test): Likewise.
15107 (main): Call the new functions.
15109 2012-10-09 Roland McGrath <roland@hack.frob.com>
15111 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15112 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15113 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15114 * sysdeps/i386/configure: Regenerated.
15115 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15116 * sysdeps/mach/configure: Regenerated.
15117 * sysdeps/mach/hurd/configure: Regenerated.
15118 * sysdeps/powerpc/configure: Regenerated.
15119 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15120 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15121 * sysdeps/s390/s390-32/configure: Regenerated.
15122 * sysdeps/s390/s390-64/configure: Regenerated.
15123 * sysdeps/sh/configure: Regenerated.
15124 * sysdeps/sparc/configure: Regenerated.
15125 * sysdeps/unix/sysv/linux/configure: Regenerated.
15126 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15127 * sysdeps/x86_64/configure: Regenerated.
15129 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15130 defined. Don't check if MAP is NULL.
15132 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15134 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15135 (_G_stat64): Likewise.
15136 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15137 (_G_stat64): Likewise.
15138 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15139 instead of struct _G_stat64.
15140 * libio/fileops.c (mmap_remap_check): Likewise.
15141 (decide_maybe_mmap): Likewise.
15142 (_IO_new_file_seekoff): Likewise.
15143 (_IO_file_stat): Likewise.
15144 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15146 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15147 instead of struct _G_stat64.
15148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15150 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15153 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15155 (CHECK_EOL): New macro.
15156 (two_way_short_needle): Check beginning of haystack for EOL. Use
15158 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15159 Replace with CHECK_EOL.
15160 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15161 Replace with CHECK_EOL.
15163 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15165 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15167 * math/libm-test.inc: Update comment listing what functions and
15169 (finite_test): New function.
15170 (isinf_test): Likewise.
15171 (isnan_test): Likewise.
15172 (fpclassify_test): Test subnormal input.
15173 (isfinite_test): Likewise.
15174 (isnormal_test): Likewise.
15175 (main): Call the new functions.
15177 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15180 * Makerules (%.dynsym): Force C locale when running
15181 $(OBJDUMP) --dynamic-syms.
15183 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15188 2012-10-06 David S. Miller <davem@davemloft.net>
15190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15191 upper 32-bits of the length value in %o2 since we use branch-on-register
15192 tests which consider the entire 64-bit register.
15194 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15196 * string/test-strstr.c (check2): Add a test for page boundary.
15198 2012-10-05 David S. Miller <davem@davemloft.net>
15200 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15203 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15206 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15207 and bzero when HWCAP_SPARC_CRYPTO is present.
15209 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15212 * string/test-strstr.c (check2): New function.
15213 (test_main): Call check2.
15215 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15217 * string/bug-strcasestr1.c (do_test): Moved to ...
15218 * string/test-strcasestr.c (check1): Here. New function.
15219 (do_one_test): Break out result checking code into ...
15220 (check_result): This. New function.
15221 (do_one_test): Call check_result.
15222 (test_main): Call check1.
15223 * string/bug-strchr1.c (do_test): Moved to ...
15224 * string/test-strchr.c (check1): Here. New function.
15225 (do_one_test): Break out result checking code into ...
15226 (check_result): This. New function.
15227 (do_one_test): Call check_result.
15228 (test_main): Call check1.
15229 * string/bug-strstr1.c (main): Moved to ...
15230 * string/test-strstr.c (check1): Here. New function.
15231 (do_one_test): Break out result checking code into ...
15232 (check_result): This. New function.
15233 (do_one_test): Call check_result.
15234 (test_main): Call check1.
15235 * string/bug-strcasestr1.c: Removed.
15236 * string/bug-strchr1.c: Likewise.
15237 * string/bug-strstr1.c: Likewise.
15239 * elf/Makefile (dl-routines): Add hwcaps.
15240 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15241 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15242 (_dl_important_hwcaps): Moved to ...
15243 * elf/dl-hwcaps.c: Here. New file.
15244 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15247 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15248 if IS_IN_rtld isn't defined.
15250 * elf/dl-support.c (_dl_sysinfo_map): New.
15251 Include "get-dynamic-info.h" and "setup-vdso.h".
15252 (_dl_non_dynamic_init): Call setup_vdso.
15253 * elf/dynamic-link.h: Don't include <assert.h>.
15254 (elf_get_dynamic_info): Moved to ...
15255 * elf/get-dynamic-info.h: Here. New file.
15256 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15257 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15258 * elf/setup-vdso.h: Here. New file.
15259 * elf/rtld.c: Include "setup-vdso.h".
15260 (dl_main): Call setup_vdso.
15262 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15264 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15265 creal in comment listing functions tested. List finite, isinf,
15266 isnan, isless, islessequal, isgreater, isgreaterequal,
15267 islessgreater, isunordered, lgamma_r and pow10 as functions and
15268 macros not tested. Mention which functions not tested are aliases
15269 for other functions. Fix typo. Note that signs of NaNs are not
15272 * scripts/config.guess: Update from config.git.
15273 * scripts/config.sub: Likewise.
15275 2012-10-04 Roland McGrath <roland@hack.frob.com>
15277 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15278 * misc/madvise.c (madvise): Renamed to __madvise.
15279 Make madvise a weak alias.
15280 * include/sys/mman.h: Declare __madvise.
15281 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15282 * sysdeps/unix/syscalls.list
15283 (madvise): Make __madvise the strong name, and madvise a weak alias.
15284 * sysdeps/unix/sysv/linux/syscalls.list
15285 (madvise, mmap): Remove redundant entries.
15286 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15287 * malloc/malloc.c (mtrim): Likewise.
15288 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15290 2012-10-03 Roland McGrath <roland@hack.frob.com>
15292 * sysdeps/mach/hurd/dl-cache.c: File removed.
15293 * config.h.in (USE_LDCONFIG): New #undef.
15294 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15295 * configure: Regenerated.
15296 * elf/Makefile (dl-routines): Add dl-cache only under
15297 [$(use-ldconfig) = yes].
15298 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15299 cache on [USE_LDCONFIG].
15300 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15302 * elf/rtld.c (dl_main): Likewise.
15304 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15306 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15307 _SC_LEVEL4_CACHE_LINESIZE.
15309 2012-10-03 Roland McGrath <roland@hack.frob.com>
15311 * sysdeps/unix/bsd/confstr.h: File removed.
15313 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15315 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15318 2012-10-02 Roland McGrath <roland@hack.frob.com>
15320 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15321 Make 'mapoff' field ElfW(Off) rather than off_t.
15323 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15325 * nscd/Makefile: Remove nscd-cflags and all its users.
15326 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15327 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15330 * malloc.c (malloc_printerr): Clarify error message.
15332 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15336 Set bit_FMA_Usable if FMA is supported.
15337 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15339 (bit_FMA4_Usable): Updated.
15340 (index_FMA_Usable): New macro.
15341 (CPUID_FMA): Likewise
15342 (HAS_FMA): Defined with bit_FMA_Usable.
15344 2012-10-01 Roland McGrath <roland@hack.frob.com>
15346 * bits/types.h (__swblk_t): Type removed.
15347 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15348 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15350 (__SWBLK_T_TYPE): Likewise.
15351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15352 (__SWBLK_T_TYPE): Likewise.
15353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15354 (__SWBLK_T_TYPE): Likewise.
15355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15356 (__SWBLK_T_TYPE): Likewise.
15358 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15359 Honza Horak <hhorak@redhat.com>
15361 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15362 (xdr_mapname): Use YPMAXMAP as maxsize.
15363 (xdr_peername): Use YPMAXPEER as maxsize.
15364 (xdr_keydat): Use YPAXRECORD as maxsize.
15365 (xdr_valdat): Use YPMAXRECORD as maxsize.
15367 2012-10-01 Roland McGrath <roland@hack.frob.com>
15369 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15371 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15372 * csu/init-first.c: ... here.
15373 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15374 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15375 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15377 * sysdeps/i386/init-first.c: File removed.
15378 * sysdeps/sh/init-first.c: File removed.
15380 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15384 if x * y might underflow to zero and z is zero.
15385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15387 * math/libm-test.inc (min_subnorm_value): New variable.
15388 (fma_test): Add more tests.
15389 (fma_test_towardzero): Likewise.
15390 (fma_test_downward): Likewise
15391 (fma_test_upward): Likewise.
15392 (initialize): Set min_subnorm_value.
15394 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15400 mode for addition resulting in exact zero.
15401 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15404 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15406 * math/libm-test.inc (fma_test): Add more tests.
15407 (fma_test_towardzero): New function.
15408 (fma_test_downward): Likewise.
15409 (fma_test_upward): Likewise.
15410 (main): Call the new functions.
15412 2012-09-28 David S. Miller <davem@davemloft.net>
15414 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15416 2012-09-28 Roland McGrath <roland@hack.frob.com>
15418 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15419 instead of SIGALRM.
15421 * sysdeps/gnu/_G_config.h: Moved to ...
15422 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15423 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15424 * sysdeps/generic/_G_config.h: ... here.
15426 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15428 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15430 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15431 Conditionalize target on [libnss_test1.so-version].
15433 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15435 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15436 (elfobjdir): Move out of conditionals.
15438 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15439 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15440 (__nss_lookup_function): Conditionalize label remove_from_tree on
15441 [!DO_STATIC_NSS || SHARED], matching its only use.
15443 2012-09-28 David S. Miller <davem@davemloft.net>
15445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15446 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15448 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15452 when HWCAP_SPARC_CRYPTO is present.
15454 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15456 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15458 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15461 * stdio-common/vfprintf.c (process_string_arg): Revert
15464 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15466 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15468 * stdio-common/tst-sprintf.c: Include <locale.h>
15469 (main): Test sprintf's handling of incomplete multibyte
15472 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15474 * elf/dl-runtime.c (VERSYMIDX): Removed.
15475 * elf/dl-version.c (VERSYMIDX): Likewise.
15476 * elf/do-rel.h (VERSYMIDX): Likewise.
15477 (VALIDX): Likewise.
15478 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15479 * elf/rtld.c (VALIDX): Likewise.
15480 (ADDRIDX): Likewise.
15481 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15482 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15483 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15484 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15485 (VALIDX): Likewise.
15486 (ADDRIDX): Likewise.
15488 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15490 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15492 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15495 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15497 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15498 addresses are in the same scope as 192.0.2/24.
15499 * posix/gai.conf: Document new scope table defaults.
15501 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15504 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15505 for ftell. Compute offsets from write pointers instead.
15506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15508 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15511 * libio/Makefile (tests): New test case tst-fseek.
15512 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15513 combination works in wide mode.
15514 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15515 state when the external buffer state changes.
15517 2012-09-27 David S. Miller <davem@davemloft.net>
15520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15521 pass reloc->r_addend in as the 'high' argument to
15522 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15526 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15528 * rt/tst-aio2.c: Include <pthread.h>.
15529 * rt/tst-aio3.c: Likewise.
15531 2012-09-27 Steve Ellcey <sellcey@mips.com>
15533 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15535 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15537 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15538 contents on [SHARED].
15540 2012-09-26 Marek Polacek <polacek@redhat.com>
15544 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15545 for C++ and GCC <4.3 as well as for non GCC compilers.
15547 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15551 2012-09-25 Roland McGrath <roland@hack.frob.com>
15553 * Makefile.in (all, install): Declare with .PHONY.
15554 Reported by Michael Hope <michael.hope@linaro.org>.
15556 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15558 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15559 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15561 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15563 (sydep_routines): Add the new and the internal functions.
15564 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15565 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15567 (GLIBC_2.17): Add the new function.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15569 (GLIBC_2.17): Likewise.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15571 (GLIBC_2.17): Likewise.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15573 (GLIBC_2.17): Likewise.
15574 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15576 2012-09-25 Alan Modra <amodra@gmail.com>
15578 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15579 Add release barrier before setting once_control to say
15580 initialisation is done. Add hints on lwarx. Use macro in
15582 (clear_once_control): Add release barrier.
15584 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15587 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15589 * math/s_clog10.c (__clog10): Likewise.
15590 * math/s_clog10f.c (__clog10f): Likewise.
15591 * math/s_clog10l.c (__clog10l): Likewise.
15592 * math/s_clogf.c (__clogf): Likewise.
15593 * math/s_clogl.c (__clogl): Likewise.
15594 * math/Makefile (libm-calls): Add x2y2m1.
15595 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15596 (__x2y2m1): Likewise.
15597 (__x2y2m1l): Likewise.
15598 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15599 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15602 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15603 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15604 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15605 * sysdeps/i386/fpu/libm-test-ulps: Update.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15609 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15610 int as type of variable DEPTH.
15611 (glob): Use size_t instead of int as type of variables NEWCOUNT
15614 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15616 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15617 Add s_sincosf-sse2.
15618 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15619 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15620 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15621 macros for using routine as __sincosf_ia32.
15622 Use macro for function declaration and weak_alias.
15623 * sysdeps/i386/fpu/libm-test-ulps: Update.
15625 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15628 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15629 subnormal argument.
15630 * math/s_cexpf.c (__cexpf): Likewise.
15631 * math/s_csinf.c (__csinf): Likewise.
15632 * math/s_csinhf.c (__csinhf): Likewise.
15633 * math/s_ctanf.c (__ctanf): Likewise.
15634 * math/s_ctanhf.c (__ctanhf): Likewise.
15635 * math/s_ccosh.c (__ccoshf): Likewise.
15636 * math/s_cexp.c (__cexpl): Likewise.
15637 * math/s_csin.c (__csin): Likewise.
15638 * math/s_csinh.c (__csinh): Likewise.
15639 * math/s_ctan.c (__ctan): Likewise.
15640 * math/s_ctanh.c (ctanh): Likewise.
15641 * math/s_ccoshl.c (__ccoshl): Likewise.
15642 * math/s_cexpl.c (__cexpl): Likewise.
15643 * math/s_csinl.c (__csinl): Likewise.
15644 * math/s_csinhl.c (__csinhl): Likewise.
15645 * math/s_ctanl.c (__ctanl): Likewise.
15646 * math/s_ctanhl.c (__ctanhl): Likewise.
15648 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15650 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15651 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15652 (_IO_off_t): Define to __off_t, not _G_off_t.
15653 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15654 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15655 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15656 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15657 type of __dummy and __dummy2 fields.
15658 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15659 (_G_ssize_t): Likewise.
15660 (_G_off_t): Likewise.
15661 (_G_pid_t): Likewise.
15662 (_G_uid_t): Likewise.
15663 (_G_wchar_t): Likewise.
15664 (_G_wint_t): Likewise.
15665 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15666 (_G_ssize_t): Likewise.
15667 (_G_off_t): Likewise.
15668 (_G_pid_t): Likewise.
15669 (_G_uid_t): Likewise.
15670 (_G_wchar_t): Likewise.
15671 (_G_wint_t): Likewise.
15672 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15673 (_G_ssize_t): Likewise.
15674 (_G_off_t): Likewise.
15675 (_G_pid_t): Likewise.
15676 (_G_uid_t): Likewise.
15677 (_G_wchar_t): Likewise.
15678 (_G_wint_t): Likewise.
15680 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15682 * malloc/arena.c: Include malloc-sysdep.h.
15683 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15684 is sufficient to shrink the heap or an unmap is needed.
15685 * sysdeps/generic/malloc-sysdep.h: New file. Define
15686 new function check_may_shrink_heap.
15687 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15688 new function check_may_shrink_heap.
15690 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15692 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15695 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15697 * catgets/test-gencat.sh: Add "set -e".
15698 * elf/tst-pathopt.sh: Likewise.
15699 * grp/tst_fgetgrent.sh: Likewise.
15700 * iconvdata/run-iconv-test.sh: Likewise.
15701 * intl/tst-gettext.sh: Likewise.
15702 * intl/tst-gettext2.sh: Likewise.
15703 * intl/tst-gettext4.sh: Likewise.
15704 * intl/tst-gettext6.sh: Likewise.
15705 * intl/tst-translit.sh: Likewise.
15706 * io/ftwtest-sh: Likewise.
15707 * libio/test-freopen.sh: Likewise.
15708 * malloc/tst-mtrace.sh: Likewise.
15709 * posix/globtest.sh: Likewise.
15710 * posix/tst-getconf.sh: Likewise.
15711 * posix/wordexp-tst.sh: Likewise.
15712 * stdio-common/tst-printf.sh: Likewise.
15713 * stdio-common/tst-unbputc.sh: Likewise.
15714 * stdlib/tst-fmtmsg.sh: Likewise.
15715 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15716 * catgets/Makefile: Do not specify -e option when running
15717 testsuite shell scripts.
15718 * elf/Makefile: Likewise.
15719 * grp/Makefile: Likewise.
15720 * iconvdata/Makefile: Likewise.
15721 * intl/Makefile: Likewise.
15722 * io/Makefile: Likewise.
15723 * libio/Makefile: Likewise.
15724 * malloc/Makefile: Likewise.
15725 * posix/Makefile: Likewise.
15726 * stdio-common/Makefile: Likewise.
15727 * stdlib/Makefile: Likewise.
15728 * sysdeps/x86_64/Makefile: Likewise.
15730 * io/ftwtest-sh: Add copyright header.
15731 * posix/globtest.sh: Likewise.
15732 * posix/tst-getconf.sh: Likewise.
15733 * posix/wordexp-tst.sh: Likewise.
15734 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15736 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15739 * Makeconfig (+link): Defined as $(+link-static) if
15740 $(build-shared) isn't yes.
15741 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15743 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15745 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15748 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15749 new chunk size with MALLOC_ALIGN_MASK.
15751 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15754 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15756 (__printf_fphex): Determine rounding using get_rounding_mode and
15758 * stdio-common/tst-printf-round.c (struct hex_test): New
15760 (hex_tests): New variable.
15761 (test_hex_in_one_mode): New function.
15762 (do_test): Also run tests for hex float output.
15764 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15766 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15767 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15768 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15769 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15771 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15772 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15773 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15775 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15777 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15778 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15779 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15780 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15782 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15785 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15787 * elf/tst-rtld-load-self.sh: New test.
15788 * elf/Makefile: Run it.
15790 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15792 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15793 (tst-writev-ENV): Remove.
15794 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15796 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15798 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15800 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15802 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15804 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15806 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15807 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15811 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15814 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15815 * config.make.in (have-cpp-asm-debuginfo): Removed.
15816 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15817 * configure: Regenerated.
15819 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15822 * stdio-common/printf_fp.c: Include <stdbool.h> and
15824 (___printf_fp): Determine rounding using get_rounding_mode and
15826 * stdio-common/tst-printf-round.c: New file.
15827 * stdio-common/Makefile (tests): Add tst-printf-round.
15828 (link-libm): New variable.
15829 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15831 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15834 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15835 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15837 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15840 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15842 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15843 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15844 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15847 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15850 * include/rounding-mode.h: New file.
15851 * sysdeps/generic/get-rounding-mode.h: Likewise.
15852 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15853 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15854 (MAX_VALUE): New macro.
15855 (MIN_VALUE): Likewise.
15856 (overflow_value): New function.
15857 (underflow_value): Likewise.
15858 (round_and_return): Use overflow_value and underflow_value to
15859 determine return values in overflow and underflow cases. Use
15860 round_away to determine rounding depending on rounding mode.
15861 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15862 determine return values in overflow and underflow cases.
15863 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15864 (struct test_results): New structure.
15865 (struct test): Use struct test_results to store expected results
15866 for all rounding modes.
15867 (TEST): Include expected results for all rounding modes.
15868 (test_in_one_mode): New function.
15869 (do_test): Use test_in_one_mode to compute and check results.
15870 Check results for all rounding modes.
15871 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15874 2012-12-09 Allan McRae <allan@archlinux.org>
15876 * sysdeps/i386/fpu/libm-test-ulps: Update
15878 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15880 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15881 (_G_int32_t): Likewise.
15882 (_G_uint16_t): Likewise.
15883 (_G_uint32_t): Likewise.
15884 (_G_HAVE_BOOL): Likewise.
15885 (_G_HAVE_ATEXIT): Likewise.
15886 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15887 (_G_HAVE_IO_FILE_OPEN): Likewise.
15888 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15889 (_G_int32_t): Likewise.
15890 (_G_uint16_t): Likewise.
15891 (_G_uint32_t): Likewise.
15892 (_G_HAVE_BOOL): Likewise.
15893 (_G_HAVE_ATEXIT): Likewise.
15894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15895 (_G_HAVE_IO_FILE_OPEN): Likewise.
15896 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15897 (_G_int32_t): Likewise.
15898 (_G_uint16_t): Likewise.
15899 (_G_uint32_t): Likewise.
15900 (_G_HAVE_BOOL): Likewise.
15901 (_G_HAVE_ATEXIT): Likewise.
15902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15903 (_G_HAVE_IO_FILE_OPEN): Likewise.
15905 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15907 * csu/libc-tls.c: Update copyright years.
15909 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15911 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15912 [!_G_USING_THUNKS]: Remove conditional code.
15913 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15914 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15916 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15917 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15918 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15919 (_G_VTABLE_LABEL_PREFIX): Likewise.
15920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15921 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15922 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15923 (_G_VTABLE_LABEL_PREFIX): Likewise.
15924 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15925 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15926 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15927 (_G_VTABLE_LABEL_PREFIX): Likewise.
15928 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15930 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15932 * libio/Makefile: Include ../Makeconfig before tests.
15933 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15934 only if $(build-shared) is yes.
15936 * iconv/gconv_db.c: Update copyright years.
15938 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15940 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15941 unwind info if defined PIC. Fix special cases description.
15942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15944 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15946 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15948 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15950 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15952 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15955 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15956 (LDLIBS-tst-chk4): This.
15957 (LDFLAGS-tst-chk5): Renamed to ...
15958 (LDLIBS-tst-chk5): This.
15959 (LDFLAGS-tst-chk6): Renamed to ...
15960 (LDLIBS-tst-chk6): This.
15961 (LDFLAGS-tst-lfschk4): Renamed to ...
15962 (LDLIBS-tst-lfschk4): This.
15963 (LDFLAGS-tst-lfschk5): Renamed to ...
15964 (LDLIBS-tst-lfschk5): This.
15965 (LDFLAGS-tst-lfschk6): Renamed to ...
15966 (LDLIBS-tst-lfschk6): This.
15968 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15969 on $(common-objpfx)soversions.mk.
15971 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15974 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15977 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15979 * malloc/arena.c (arena_get_retry): New function that gets
15980 another arena for the caller to try its request on.
15981 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15982 current arena cannot fulfill the request.
15983 (__libc_memalign): Likewise.
15984 (__libc_memalign): Likewise.
15985 (__libc_pvalloc): Likewise.
15986 (__libc_calloc): Likewise.
15988 2012-09-05 John Tobey <john.tobey@gmail.com>
15991 * manual/arith.texi (Operations on Complex): Fix description
15992 of carg branch cut.
15994 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15997 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16001 * manual/memory.texi (Memory): Make order of menu items match
16004 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16006 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16007 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16008 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16010 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16012 * csu/libc-tls.c (static_dtv): Renamed to ...
16013 (_dl_static_dtv): This. Make it global.
16014 (_dl_initial_dtv): Removed.
16015 (__libc_setup_tls): Updated.
16016 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16017 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16020 2012-09-06 Petr Machata <pmachata@redhat.com>
16022 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16023 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16024 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16025 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16027 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16030 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16031 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16034 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16037 * Makeconfig (link-static-before-libc): Replace $(+prector)
16039 (link-static-after-libc): Replace $(+postctor) with
16041 (link-bounded): Replace $(+prector)/$(+postctor) with
16042 $(+prectorT)/$(+postctorT).
16043 (+prectorT): New macro.
16044 (+postctorT): Likewise.
16046 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16048 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16049 (round_str): Handle values above the maximum for IBM long double
16051 * stdlib/tst-strtod-round.c (tests): Regenerated.
16053 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16055 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16057 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16058 zarch_nohighgprs around the zarch optimized routines.
16059 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16060 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16064 2012-09-05 David S. Miller <davem@davemloft.net>
16066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16068 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16069 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16070 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16071 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16074 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16076 * malloc/arena.c: Fold copyright years.
16077 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16079 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16081 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16083 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16085 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16089 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16090 change internal state upon failure.
16092 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16094 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16095 * malloc/memusage.c (mmap): Likewise.
16096 (mmap64, mremap): Likewise. Adjust name in comment.
16098 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16100 * libio/fileops.c: Fix typos in comments.
16101 * libio/oldfileops.c: Likewise.
16102 * libio/wfileops.c: Likewise.
16104 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16107 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16108 (tst-malloc-usable-ENV): Set environment for test case.
16109 * malloc/hooks.c (malloc_check_get_size): New function to get
16111 * malloc/malloc.c (musable): Use malloc_check_get_size.
16112 * malloc/tst-malloc-usable.c: New test case.
16114 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16116 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16118 2012-09-05 Allan McRae <allan@archlinux.org>
16121 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16122 determine header location.
16123 * configure: Regenerated.
16125 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16127 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16129 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16130 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16132 (test): Regenerate.
16134 2012-09-04 David S. Miller <davem@davemloft.net>
16136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16140 2012-09-04 Florian Weimer <fweimer@redhat.com>
16142 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16145 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16147 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16150 * libio/iogetdelim.c: Include <limits.h>.
16151 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16152 + len + 1 would overflow.
16154 2012-09-03 Andreas Jaeger <aj@suse.de>
16156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16157 * sysdeps/i386/fpu/libm-test-ulps: Update.
16159 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16162 Add s_sinf-sse2, s_conf-sse2.
16164 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16166 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16167 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16169 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16170 for using routine as __sinf_ia32.
16171 Use macro for function declaration and weak_alias.
16172 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16173 for using routine as __cosf_ia32.
16174 Use macro for function declaration and weak_alias.
16176 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16177 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16179 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16180 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16183 * math/libm-test.inc (cos_test): Add more test cases.
16184 (sin_test): Likewise.
16185 (sincos_test): Likewise.
16187 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16190 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16194 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16197 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16198 first element of the GOT.
16199 (elf_machine_load_address): Return the difference between
16200 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16202 2012-09-01 Allan McRae <allan@archlinux.org>
16205 * configure.in (AWK): Require gawk version 3.0 or later.
16206 * configure: Regenerated.
16208 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16210 * sysdeps/unix/sysv/linux/kernel-features.h
16211 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16213 [__NR_clock_getres]: Make code unconditional.
16214 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16215 (clock_getcpuclockid): Remove code left unreachable by removal of
16217 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16218 code unconditional.
16219 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16221 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16222 Make code unconditional.
16223 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16224 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16225 * sysdeps/unix/sysv/linux/clock_settime.c
16226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16228 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16231 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16234 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16235 scripts/test-installation.pl.
16237 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16238 and $ld_so_version if it is set.
16240 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16244 failure if reading from procfs failed.
16245 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16247 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16249 * sysdeps/unix/sysv/linux/kernel-features.h
16250 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16251 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16252 Remove conditional code.
16253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16254 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16255 Remove conditional code.
16256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16257 * sysdeps/unix/sysv/linux/i386/fxstat.c
16258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16260 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16263 * sysdeps/unix/sysv/linux/i386/lxstat.c
16264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16266 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16267 Remove conditional code.
16268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16269 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16270 Remove conditional code.
16271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16273 <kernel-features.h>.
16274 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16276 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16277 Remove conditional code.
16278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16279 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16280 Remove conditional.
16282 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16285 * NEWS: Add fixed bug number.
16287 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16290 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16291 underflowing exponent in case of negative sign.
16292 * stdlib/tst-strtod-round-data: Add more tests.
16293 * stdlib/tst-strtod-round.c (tests): Regenerated.
16296 * stdlib/strtod_l.c (NDIG): Remove.
16297 (HEXNDIG): Likewise.
16298 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16299 smallest representable value.
16300 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16301 lie within an exact representation of 1/2 ulp of the result.
16302 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16304 (TENS_P9_IDX): Define unconditionally.
16305 (TENS_P9_SIZE): Likewise.
16306 (TENS_P10_IDX): Likewise.
16307 (TENS_P10_SIZE): Likewise.
16308 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16309 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16310 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16311 entries for 10^2^13 and 10^2^14.
16312 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16313 (TENS_P13_IDX): Define.
16314 (TENS_P13_SIZE): Likewise.
16315 (TENS_P14_IDX): Likewise.
16316 (TENS_P14_SIZE): Likewise.
16317 (_fpioconst_pow10): Change array size to
16318 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16320 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16321 1024]: Add entries for 10^2^13 and 10^2^14.
16322 [LAST_POW10 > _LAST_POW10]: Remove #error.
16323 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16324 (_fpioconst_pow10): Change array size to
16325 FPIOCONST_POW10_ARRAY_SIZE.
16326 * stdlib/gen-fpioconst.c: New file.
16327 * stdlib/gen-tst-strtod-round.c: Likewise.
16328 * stdlib/tst-strtod-round-data: Likewise.
16329 * stdlib/tst-strtod-round.c: Likewise.
16330 * stdlib/Makefile (tests): Add tst-strtod-round.
16333 * stdlib/strtod_l.c: Include <stdint.h>.
16334 (NDEBUG): Do not define.
16335 (round_and_return): Change EXPONENT parameter to type intmax_t.
16336 Rearrange calculations to avoid internal overflow possibilities.
16337 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16338 Rearrange calculations to avoid internal overflow possibilities.
16339 Assert that number fits inside MPNSIZE limbs.
16340 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16341 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16342 calculations and add assertions to avoid internal overflow
16343 possibilities. Add casts to avoid signed/unsigned operations.
16344 * stdlib/tst-strtod-overflow.c: New file.
16345 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16347 2012-08-25 Marek Polacek <polacek@redhat.com>
16349 * time/time.h: Fix some typos in comments.
16351 2012-08-23 Roland McGrath <roland@hack.frob.com>
16353 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16354 * posix/tst-rfc3484-2.c: Likewise.
16355 * posix/tst-rfc3484-3.c: Likewise.
16357 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16359 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16360 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16362 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16365 #include of fxstatat64.c.
16367 2012-08-22 Roland McGrath <roland@hack.frob.com>
16369 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16370 * shadow/getspent_r.c: Likewise.
16371 * shadow/getspnam.c: Likewise.
16372 * shadow/getspnam_r.c: Likewise.
16373 * gshadow/getsgent.c: Likewise.
16374 * gshadow/getsgent_r.c: Likewise.
16375 * gshadow/getsgnam.c: Likewise.
16376 * gshadow/getsgnam_r.c: Likewise.
16377 * inet/getnetbyad.c: Likewise.
16378 * inet/getnetbyad_r.c: Likewise.
16379 * inet/getnetbynm.c: Likewise.
16380 * inet/getnetbynm_r.c: Likewise.
16381 * inet/getnetent.c: Likewise.
16382 * inet/getnetent_r.c: Likewise.
16383 * inet/getproto.c: Likewise.
16384 * inet/getproto_r.c: Likewise.
16385 * inet/getprtent.c: Likewise.
16386 * inet/getprtent_r.c: Likewise.
16387 * inet/getprtname.c: Likewise.
16388 * inet/getprtname_r.c: Likewise.
16389 * inet/getrpcbyname.c: Likewise.
16390 * inet/getrpcbyname_r.c: Likewise.
16391 * inet/getrpcbynumber.c: Likewise.
16392 * inet/getrpcbynumber_r.c: Likewise.
16393 * inet/getrpcent.c: Likewise.
16394 * inet/getrpcent_r.c: Likewise.
16395 * inet/getaliasent.c: Likewise.
16396 * inet/getaliasent_r.c: Likewise.
16397 * inet/getaliasname.c: Likewise.
16398 * inet/getaliasname_r.c: Likewise.
16399 * nscd/getgrgid_r.c: Likewise.
16400 * nscd/getgrnam_r.c: Likewise.
16401 * nscd/gethstbyad_r.c: Likewise.
16402 * nscd/gethstbynm3_r.c: Likewise.
16403 * nscd/getpwnam_r.c: Likewise.
16404 * nscd/getpwuid_r.c: Likewise.
16405 * nscd/getsrvbynm_r.c: Likewise.
16406 * nscd/getsrvbypt_r.c: Likewise.
16407 * nscd/gai.c: Likewise.
16409 * configure.in (build_nscd): New substituted variable, set
16410 by --disable-build-nscd and defaults to $use_nscd.
16411 * configure: Regenerated.
16412 * config.make.in (build-nscd): New substituted variable.
16413 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16414 Change conditional to require [$(build-nscd) = yes] as well.
16415 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16418 * configure.in (use_nscd): New substituted variable, set by
16419 --disable-nscd. If enabled, define USE_NSCD.
16420 * configure: Regenerated.
16421 * config.h.in: Add USE_NSCD.
16422 * config.make.in (use-nscd): New substituted variable.
16423 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16424 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16425 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16426 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16427 (CFLAGS-getgrnam_r.c): Likewise.
16428 (CFLAGS-initgroups.c): Likewise.
16429 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16430 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16432 * inet/getnetgrent_r.c
16433 (nscd_setnetgrent): New function, broken out of ...
16434 (setnetgrent): ... here. Call it.
16435 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16436 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16437 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16438 * nscd/Makefile (routines, aux): Move definitions after include of
16439 Makeconfig. Conditionalize on [$(use-nscd) != no].
16440 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16441 Conditionalize on [USE_NSCD].
16442 (is_nscd, nscd_init_cb): Likewise.
16443 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16444 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16445 * nss/nss_db/db-init.c: Likewise.
16446 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16448 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16449 (make_request): Use it.
16450 (cache_valid_p): New function.
16451 (__check_pf): Use it.
16452 * NEWS: Add item for --disable-nscd.
16454 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16456 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16457 to support sed >= 4.2.1-20-ga9bf076.
16458 * configure: Regenerated.
16460 2012-08-22 Roland McGrath <roland@hack.frob.com>
16462 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16463 Conditionalize whole body on [IREL].
16465 2012-08-22 Jeff Law <law@redhat.com>
16468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16469 if the family is PF_UNSPEC.
16471 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16473 * Makerules (lib-version): Rename from V.
16474 (install-lib-nosubdir): Change V to lib-version.
16476 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16479 * powerpc32/power6/wcschr.c: New file.
16480 * powerpc32/power6/wcscpy.c: New file.
16481 * powerpc32/power6/wcsrchr.c: New file.
16482 * powerpc64/power6/wcschr.c: New file.
16483 * powerpc64/power6/wcscpy.c: New file.
16484 * powerpc64/power6/wcsrchr.c: New file.
16486 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16488 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16489 (two_way_short_needle): Use it.
16490 * string/strstr.c (AVAILABLE1_USES_J): Define.
16491 * string/strcasestr.c: Likewise.
16493 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16495 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16498 * NEWS: Add an entry.
16499 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16500 define their defaults.
16501 (two_way_short_needle): Detect end-of-string on-the-fly.
16502 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16503 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16504 * string/bug-strcasestr1.c: New test.
16505 * string/Makefile: Run it.
16507 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16510 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16511 the first character.
16513 2012-08-21 Roland McGrath <roland@hack.frob.com>
16515 * csu/elf-init.c (__libc_csu_irel): Function removed.
16516 * csu/libc-start.c (apply_irel): New function.
16517 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16519 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/unix/sysv/linux/kernel-features.h
16522 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16523 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16524 <kernel-features.h>.
16525 [__NR_fadvise64_64]: Make code unconditional.
16526 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16527 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16528 !__NR_fadvise64_64)]: Likewise.
16529 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16530 !__NR_fadvise64_64))]: Likewise.
16531 [__NR_fadvise64]: Make code unconditional.
16532 [!__NR_fadvise64]: Remove conditional code.
16533 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16534 <kernel-features.h>.
16535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16540 not include <kernel-features.h>.
16541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16545 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16546 include <kernel-features.h>.
16547 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16549 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16552 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16555 slight instruction rearrangements per scrollpipe analysis.
16556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16558 2012-08-20 Roland McGrath <roland@hack.frob.com>
16560 * manual/syslog.texi (syslog; vsyslog, closelog):
16561 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16562 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16564 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16565 DSOCAPS to match condition on defining it.
16567 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16569 * sysdeps/unix/sysv/linux/kernel-features.h
16570 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16581 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16582 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16584 * sysdeps/unix/sysv/linux/kernel-features.h
16585 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16586 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16588 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16589 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16590 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16591 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16592 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16593 Make code unconditional.
16594 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16595 (__mmap64) [!__NR_mmap2]: Likewise.
16596 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16597 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16598 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16600 [__NR_mmap2]: Make code unconditional.
16601 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16602 (__mmap64) [!__NR_mmap2]: Likewise.
16604 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16606 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16608 2012-08-18 Andreas Jaeger <aj@suse.de>
16610 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16612 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16614 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16615 * include/unistd.h (__have_sock_cloexec): Likewise.
16616 (__have_pipe2): Likewise.
16617 (__have_dup3): Likewise.
16619 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16622 * include/unistd.h (__have_pipe2): Change define into an extern int.
16623 (__have_dup3): Likewise.
16624 * socket/have_sock_cloexec.c: Include fcntl.h.
16625 (__have_pipe2): New variable.
16626 (__have_dup3): Likewise.
16628 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16630 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16632 2012-08-17 Marek Polacek <polacek@redhat.com>
16634 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16635 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16637 2012-08-17 Roland McGrath <roland@hack.frob.com>
16639 * configure.in: Add AC_SUBST for sysheaders.
16640 * configure: Regenerated.
16641 * config.make.in (sysheaders): New substituted variable.
16643 * sysdeps/unix/mkfifo.c: Moved ...
16644 * sysdeps/posix/mkfifo.c: ... here.
16645 * sysdeps/unix/mkfifoat.c: Moved ...
16646 * sysdeps/posix/mkfifoat.c: ... here.
16648 * sysdeps/unix/utime.c: Moved ...
16649 * sysdeps/posix/utime.c: ... here.
16651 * sysdeps/unix/time.c: Moved ...
16652 * sysdeps/posix/time.c: ... here.
16653 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16654 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16656 * sysdeps/unix/nice.c: Moved ...
16657 * sysdeps/posix/nice.c: ... here.
16659 * sysdeps/unix/alarm.c: Moved ...
16660 * sysdeps/posix/alarm.c: ... here.
16662 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16664 2012-08-17 Jeff Law <law@redhat.com>
16666 * intl/Makefile (codeset_mo): New variable.
16667 ($(codeset_mo)): New target.
16668 (tst-codeset.out): Depend on that. Remove explicit rule.
16669 (tst-gettext3.out, tst-gettext5.out): Likewise.
16670 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16671 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16672 * intl/tst-codeset.sh: Remove.
16673 * intl/tst-gettext3.sh: Likewise.
16674 * intl/tst-gettext5.sh: Likewise.
16676 2012-08-17 Roland McGrath <roland@hack.frob.com>
16678 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16679 * sysdeps/unix/syscalls.list: ... here.
16681 * sysdeps/posix/getaddrinfo.c
16682 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16683 (gaiconf_init, gaiconf_reload): Use them.
16684 [!_STATBUF_ST_NSEC]
16685 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16686 Define using time_t rather than struct timespec.
16688 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16689 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16691 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16693 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16694 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16698 __libc_cleanup_push argument.
16700 * bits/param.h: New file.
16701 * misc/sys/param.h: New file.
16702 * include/sys/param.h: New file.
16703 * misc/Makefile (headers): Add bits/param.h.
16704 * sysdeps/generic/sys/param.h: File removed.
16705 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16706 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16707 * sysdeps/mach/hurd/bits/param.h: New file.
16708 * sysdeps/mach/hurd/sys/param.h: File removed.
16710 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16713 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16715 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16716 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16719 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16720 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16721 rather than -D_IO_MTSAFE_IO conditionally.
16722 * stdio-common/Makefile (CPPFLAGS): Likewise.
16723 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16724 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16725 Use $(libio-mtsafe).
16726 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16727 of -D_IO_MTSAFE_IO.
16728 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16729 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16730 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16731 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16732 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16733 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16734 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16735 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16736 (CFLAGS-fread_u_chk.c): Likewise.
16737 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16738 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16739 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16740 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16741 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16742 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16743 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16744 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16745 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16747 * libio/Makefile: Test [$(libc-reentrant) = yes]
16748 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16751 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16752 * sysdeps/pthread/configure: File removed.
16753 * sysdeps/pthread/Makeconfig: New file.
16754 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16755 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16757 2012-08-16 Gary Benson <gbenson@redhat.com>
16759 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16760 unmapping the first object in a namespace.
16762 2012-08-16 Roland McGrath <roland@hack.frob.com>
16764 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16765 (__internal_setnetgrent): ... this. Add internal_function to
16766 definition. Add libc_hidden_def.
16767 (setnetgrent): Update caller.
16768 (internal_endnetgrent): Renamed to ...
16769 (__internal_endnetgrent): ... this. Add internal_function to
16770 definition. Add libc_hidden_def.
16771 (endnetgrent): Update caller.
16772 (internal_getnetgrent_r): Renamed to ...
16773 (__internal_getnetgrent_r): ... this. Add internal_function to
16774 definition. Add libc_hidden_def.
16775 (__getnetgrent_r): Update caller.
16776 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16778 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16780 * stdlib/longlong.h: Update from GCC.
16782 2012-08-16 Roland McGrath <roland@hack.frob.com>
16784 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16785 on _QL, which is set by umul_ppmm but never used.
16786 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16787 variables, which are set by GMP macros but never used.
16788 * stdio-common/_itowa.c (_itowa): Likewise.
16789 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16790 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16792 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16794 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16795 struct La_sh_regs is not constant.
16796 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16797 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16798 and struct La_sparc64_regs are not constant.
16800 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16802 * sysdeps/unix/sysv/linux/kernel-features.h
16803 (__ASSUME_POSIX_TIMERS): Remove.
16804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16806 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16807 Make code unconditional.
16808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16809 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16810 Make code unconditional.
16811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16812 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16813 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16815 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16816 Make code unconditional.
16817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16818 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16819 (__libc_missing_posix_timers): Remove.
16821 2012-08-15 Roland McGrath <roland@hack.frob.com>
16823 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16824 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16826 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16828 * elf/dl-sym.c: Include <stdlib.h>.
16830 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16831 constants, which avoids warnings in 32-bit builds.
16833 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16834 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16836 * misc/lseek.c: File moved to ...
16837 * io/lseek.c: ... here.
16839 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16841 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16842 shifting LEN more than 31 bits at once.
16844 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16847 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16848 segmentation fault for a case of two empty input strings.
16849 * string/test-strncasecmp.c (check1): Renamed to...
16850 (bz12205): ...this.
16851 (bz14195): Add new testcase for two empty input strings and N > 0.
16852 (test_main): Call new testcase, adapt for renamed function.
16854 2012-08-15 Andreas Jaeger <aj@suse.de>
16857 * crypt/md5test2.c: New test, based on test supplied by Serge
16858 Belyshev <belyshev@depni.sinp.msu.ru>.
16859 * crypt/Makefile (xtests): Add md5test-giant..
16860 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16862 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16865 * crypt/md5.c (md5_process_block): Don't assume the buffer
16866 length is less than 2**32.
16867 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16868 length is less than 2**64.
16870 2012-08-15 Roland McGrath <roland@hack.frob.com>
16872 * string/str-two-way.h: Include <sys/param.h>.
16873 (MAX): Macro removed.
16875 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16876 Move #define and #undef of memmove to just before and after
16877 including <string.h>.
16879 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16880 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16881 and after including <string.h>. Move declarations of
16882 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16883 to before #include "string/memmove.c".
16885 * include/dirent.h: Declare __getdirentries.
16887 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16888 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16890 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16892 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16893 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16894 * sysdeps/i386/configure: Regenerated.
16895 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16896 STABS_CURRENT_FILE, and STABS_FUN.
16897 (END): Remove call to STABS_FUN_END.
16898 (STABS_CURRENT_FILE1): Delete.
16899 (STABS_CURRENT_FILE): Likewise.
16900 (STABS_FUN): Likewise.
16901 (STABS_FUN_END): Likewise.
16902 (STABS_FUN2): Likewise.
16903 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16904 * sysdeps/x86_64/configure: Regenerated.
16906 2012-08-14 Roland McGrath <roland@hack.frob.com>
16908 * elf/dl-open.c: Include <atomic.h>.
16909 * elf/dl-lookup.c: Likewise.
16911 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16913 * sysdeps/unix/sysv/linux/kernel-features.h
16914 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16915 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16917 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16919 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16920 condition on __ASSUME_CLONE_THREAD_FLAGS.
16922 2012-08-14 Andreas Jaeger <aj@suse.de>
16924 * sysdeps/i386/fpu/libm-test-ulps: Update.
16926 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16928 * include/atomic.h (atomic_exchange_and_add): Split into ...
16929 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16932 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16936 2012-08-13 Jeff Law <law@redhat.com>
16938 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16939 null byte in the output string.
16941 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16943 * sysdeps/unix/sysv/linux/kernel-features.h
16944 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16945 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16946 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16947 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16948 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16949 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16950 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16952 2012-08-09 Jeff Law <law@redhat.com>
16955 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16956 When avoid_arena is set, don't retry in the that arena. Pick the
16957 next one, whatever it might be.
16958 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16959 (arena_lock): Pass in new parameter to arena_get2.
16960 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16962 (__libc_malloc): Unify retrying after main arena failure with
16963 __libc_memalign version.
16964 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16966 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16969 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16970 to __redirect_strstr.
16971 (__strstr_sse42): Use typeof __redirect_strstr.
16972 (__strstr_ia32): Likewise.
16973 (__libc_strstr): New prototype.
16974 (strstr): Renamed to ...
16975 (__libc_strstr): This.
16976 (strstr): New strong alias of __libc_strstr.
16977 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16978 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16981 (__libc_time): New prototype.
16982 (time_ifunc): Replace time with __libc_time.
16983 (time): New strong alias and hidden definition of __libc_time.
16984 (__GI_time): Remove strong alias.
16985 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16986 Include <stddef.h>.
16987 (memmove): Redefined to __redirect_memmove.
16988 (__memmove_sse2): Use typeof __redirect_memmove.
16989 (__memmove_ssse3): Likewise.
16990 (__memmove_ssse3_back): Likewise.
16991 (__libc_memmove): New prototype.
16992 (memmove): Renamed to ...
16993 (__libc_memmove): This.
16994 (memmove): New strong alias of __libc_memmove.
16996 2012-08-08 Mark Salter <msalter@redhat.com>
16999 (R_MN10300_TLS_GD): Define.
17000 (R_MN10300_TLS_LD): Likewise.
17001 (R_MN10300_TLS_LDO): Likewise.
17002 (R_MN10300_TLS_GOTIE): Likewise.
17003 (R_MN10300_TLS_IE): Likewise.
17004 (R_MN10300_TLS_LE): Likewise.
17005 (R_MN10300_TLS_DTPMOD): Likewise.
17006 (R_MN10300_TLS_DTPOFF): Likewise.
17007 (R_MN10300_TLS_TPOFF): Likewise.
17008 (R_MN10300_SYM_DIFF): Likewise.
17009 (R_MN10300_ALIGN): Likewise.
17010 (R_MN10300_NUM): Update.
17012 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17017 2012-08-08 Roland McGrath <roland@hack.frob.com>
17019 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17021 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17022 sysdeps/unix -> sysdeps/posix move.
17023 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17025 2012-08-07 Allan McRae <allan@archlinux.org>
17028 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17029 (SUNOS_CPP): Likewise.
17030 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17032 (open_input): Call CPP using execvp.
17034 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17036 * sysdeps/unix/sysv/linux/kernel-features.h
17037 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17038 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17039 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17040 (__ASSUME_WAITID_SYSCALL): Likewise.
17041 * sysdeps/unix/sysv/linux/dl-execstack.c
17042 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17043 code unconditional.
17044 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17046 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17047 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17048 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17050 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17052 [__ASSUME_WAITID_SYSCALL]: Likewise.
17053 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17055 2012-08-07 Roland McGrath <roland@hack.frob.com>
17057 * sysdeps/unix/closedir.c: Renamed to ...
17058 * sysdeps/posix/closedir.c: ... here.
17059 * sysdeps/unix/dirfd.c: Renamed to ...
17060 * sysdeps/posix/dirfd.c: ... here.
17061 * sysdeps/unix/dirstream.h: Renamed to ...
17062 * sysdeps/posix/dirstream.h: ... here.
17063 * sysdeps/unix/fdopendir.c: Renamed to ...
17064 * sysdeps/posix/fdopendir.c: ... here.
17065 * sysdeps/unix/opendir.c: Renamed to ...
17066 * sysdeps/posix/opendir.c: ... here.
17067 * sysdeps/unix/readdir.c: Renamed to ...
17068 * sysdeps/posix/readdir.c: ... here.
17069 * sysdeps/unix/readdir_r.c: Renamed to ...
17070 * sysdeps/posix/readdir_r.c: ... here.
17071 * sysdeps/unix/rewinddir.c: Renamed to ...
17072 * sysdeps/posix/rewinddir.c: ... here.
17073 * sysdeps/unix/seekdir.c: Renamed to ...
17074 * sysdeps/posix/seekdir.c: ... here.
17075 * sysdeps/unix/telldir.c: Renamed to ...
17076 * sysdeps/posix/telldir.c: ... here.
17077 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17078 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17079 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17080 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17082 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17083 * bits/fcntl.h: ... here.
17085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17087 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17088 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17089 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17090 (struct flock): Move l_start, l_len to the beginning.
17091 Use __pid_t for l_pid.
17092 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17093 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17094 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17095 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17096 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17097 [__USE_LARGEFILE64] (struct flock64): New type.
17098 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17100 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17101 * bits/dirent.h: ... here.
17103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17104 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17106 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17109 Change from 2.6.0 to 2.6.16.
17110 * sysdeps/unix/sysv/linux/configure: Regenerated.
17111 * sysdeps/unix/sysv/linux/kernel-features.h
17112 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17113 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17115 (__ASSUME_UTIMES): Likewise.
17116 (__ASSUME_CLONE_STOPPED): Remove.
17117 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17118 architectures, not kernel version.
17119 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17120 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17121 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17122 (__ASSUME_WAITID_SYSCALL): Likewise.
17123 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17124 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17125 * README: State 2.6.16 as minimum Linux kernel version. Do not
17126 refer to older versions.
17128 2012-08-06 Roland McGrath <roland@hack.frob.com>
17130 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17131 Define alphasort64 as an alias.
17132 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17133 Define versionsort64 as an alias.
17134 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17135 Define scandir64 as an alias.
17136 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17137 Define scandirat64 as an alias.
17138 * dirent/alphasort64.c (alphasort64):
17139 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17140 * dirent/versionsort64.c: Likewise.
17141 * dirent/scandir64.c: Likewise.
17142 * dirent/scandirat64.c: Likewise.
17143 * sysdeps/wordsize-64/alphasort.c: File removed.
17144 * sysdeps/wordsize-64/alphasort64.c: File removed.
17145 * sysdeps/wordsize-64/scandir.c: File removed.
17146 * sysdeps/wordsize-64/scandir64.c: File removed.
17147 * sysdeps/wordsize-64/scandirat.c: File removed.
17148 * sysdeps/wordsize-64/scandirat64.c: File removed.
17149 * sysdeps/wordsize-64/versionsort.c: File removed.
17150 * sysdeps/wordsize-64/versionsort64.c: File removed.
17151 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17152 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17157 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17160 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17162 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17164 [defined __arch64__ || defined __sparcv9]
17165 (__INO_T_MATCHES_INO64_T): New macro.
17166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17167 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17168 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17169 * sysdeps/unix/sysv/linux/bits/dirent.h
17170 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17171 (_DIRENT_MATCHES_DIRENT64): New macro.
17173 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17174 Define lockf64 as an alias.
17175 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17176 Define fseeko64 as an alias.
17177 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17178 Define ftello64 as an alias.
17179 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17180 Define _IO_fgetpos64 and fgetpos64 as aliases.
17181 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17182 Define _IO_fsetpos64 and fsetpos64 as aliases.
17183 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17184 Conditionalize body on this.
17185 * libio/fseeko64.c: Likewise.
17186 * libio/ftello64.c: Likewise.
17187 * libio/iofgetpos64.c: Likewise.
17188 * libio/iofsetpos64.c: Likewise.
17189 * sysdeps/wordsize-64/lockf.c: File removed.
17190 * sysdeps/wordsize-64/lockf64.c: File removed.
17191 * sysdeps/wordsize-64/fseeko.c: File removed.
17192 * sysdeps/wordsize-64/fseeko64.c: File removed.
17193 * sysdeps/wordsize-64/ftello.c: File removed.
17194 * sysdeps/wordsize-64/ftello64.c: File removed.
17195 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17196 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17197 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17198 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17205 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17207 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17208 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17210 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17212 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17214 [defined __arch64__ || defined __sparcv9]
17215 (__OFF_T_MATCHES_OFF64_T): New macro.
17216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17217 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17219 (__OFF_T_MATCHES_OFF64_T): New macro.
17221 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17223 * stdlib/secure-getenv.c (__secure_getenv): Replace
17224 GLIBC_2_16 with GLIBC_2_17.
17226 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17229 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17231 2012-08-03 David S. Miller <davem@davemloft.net>
17233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17235 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17239 (__ASSUME_CORRECT_SI_PID): Likewise.
17240 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17241 (__ASSUME_TMPFS_NAME): Likewise.
17242 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17243 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17244 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17245 (HAVE_AUX_SECURE): Make definition unconditional.
17246 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17247 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17249 2012-08-03 Roland McGrath <roland@hack.frob.com>
17251 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17252 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17253 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17254 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17255 __eloop_threshold instead of SYMLOOP_MAX.
17257 * sysdeps/generic/eloop-threshold.h: New file.
17258 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17260 * elf/chroot_canon.c (chroot_canon): Likewise.
17262 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17266 Change to 2.6.0 everywhere.
17267 * sysdeps/unix/sysv/linux/configure: Regenerated.
17268 * sysdeps/unix/sysv/linux/kernel-features.h
17269 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17270 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17272 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17273 (__ASSUME_FUTEX_REQUEUE): Remove.
17274 (__ASSUME_STATFS64): Define unconditionally.
17275 (__ASSUME_AT_SECURE): Likewise.
17276 (__ASSUME_CORRECT_SI_PID): Likewise.
17277 (__ASSUME_TGKILL): Define without depending on kernel version for
17279 (__ASSUME_UTIMES): Likewise.
17280 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17282 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17283 (__ASSUME_TMPFS_NAME): Likewise.
17284 * README: Update reference to Linux kernel versions.
17286 2012-08-02 Marek Polacek <polacek@redhat.com>
17289 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17290 libc_cv_asm_type_prefix with %.
17291 * configure: Regenerated.
17292 * include/libc-symbols.h: Remove comment about
17293 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17294 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17295 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17296 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17297 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17298 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17299 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17300 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17301 * elf/tst-unique2mod1.c: Likewise.
17302 * elf/tst-unique1mod2.c: Likewise.
17303 * elf/tst-unique1mod1.c: Likewise.
17304 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17305 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17306 Replace ASM_TYPE_DIRECTIVE with .type.
17307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17308 * sysdeps/i386/sysdep.h: Likewise.
17309 * sysdeps/x86_64/sysdep.h: Likewise.
17310 * sysdeps/sh/sysdep.h: Likewise.
17311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17312 Do not define ASM_TYPE_DIRECTIVE.
17313 * sysdeps/powerpc/sysdep.h: Likewise.
17314 * sysdeps/powerpc/powerpc32/sysdep.h:
17315 Replace ASM_TYPE_DIRECTIVE with .type.
17316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17317 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17318 * sysdeps/i386/fpu/e_powf.S: Likewise.
17319 * sysdeps/i386/fpu/e_expl.S: Likewise.
17320 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17321 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17322 * sysdeps/i386/fpu/e_pow.S: Likewise.
17323 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17324 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17325 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17326 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17327 * sysdeps/i386/fpu/e_log2.S: Likewise.
17328 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17330 * sysdeps/i386/fpu/e_powl.S: Likewise.
17331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17333 * sysdeps/i386/fpu/e_logl.S: Likewise.
17334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17335 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17336 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17337 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17338 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17339 * sysdeps/i386/fpu/e_log.S: Likewise.
17340 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17341 * sysdeps/i386/fpu/e_logf.S: Likewise.
17342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17345 * sysdeps/i386/fpu/e_log10.S: Likewise.
17346 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17348 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17349 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17353 * sysdeps/i386/i686/strtok.S: Likewise.
17354 * sysdeps/i386/i386-mcount.S: Likewise.
17355 * sysdeps/i386/strtok.S: Likewise.
17356 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17357 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17359 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17362 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17363 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17365 * sysdeps/x86_64/_mcount.S: Likewise.
17366 * sysdeps/x86_64/strtok.S: Likewise.
17367 * sysdeps/sh/_mcount.S: Likewise.
17369 2012-08-01 Roland McGrath <roland@hack.frob.com>
17371 * libio/iofopen.c: Include <fcntl.h>.
17372 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17373 (_IO_fopen64, fopen64): Define as aliases.
17374 * libio/iofopen64.c: Include <fcntl.h>.
17375 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17376 Conditionalize body on this.
17377 * sysdeps/wordsize-64/iofopen.c: File removed.
17378 * sysdeps/wordsize-64/iofopen64.c: File removed.
17380 2012-08-01 Marek Polacek <polacek@redhat.com>
17382 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17383 Use dlfcn directly instead of a variable.
17384 (binfmt-subdir): Do not define.
17387 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17390 Remove all definitions.
17391 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17392 <kernel-features.h>.
17393 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17394 (miss_F_GETOWN_EX): Remove all definitions.
17395 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17397 [!__ASSUME_FCNTL64]: Remove conditional code.
17398 [__ASSUME_FCNTL64]: Make code unconditional.
17399 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17400 <kernel-features.h>.
17401 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17402 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17403 (lockf64) [__NR_fcntl64]: Make code unconditional.
17404 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17406 * sysdeps/unix/sysv/linux/kernel-features.h
17407 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17408 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17409 Make code unconditional.
17410 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17411 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17413 [__NR_vfork]: Make code unconditional.
17414 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17415 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17417 [__NR_vfork]: Make code unconditional.
17418 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17419 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17421 2012-08-01 Roland McGrath <roland@hack.frob.com>
17423 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17424 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17426 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17427 Define mkstemp64 as an alias.
17428 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17429 Define mkstemps64 as an alias.
17430 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17431 Define mkostemp64 as an alias.
17432 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17433 Define mkostemps64 as an alias.
17434 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17435 Conditionalize body on this.
17436 * misc/mkostemp64.c: Likewise.
17437 * misc/mkostemps64.c: Likewise.
17438 * misc/mkstemps64.c: Likewise.
17439 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17440 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17441 * sysdeps/wordsize-64/mkostemp.c: File removed.
17442 * sysdeps/wordsize-64/mkstemp.c: File removed.
17443 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17444 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17445 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17449 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17451 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17452 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17454 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17455 compat_symbol macros from <shlib-compat.h> rather than the underlying
17456 default_symbol_version and symbol_version macros, so that DEFAULT
17457 lines in shlib-versions are respected.
17458 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17460 2012-08-01 Florian Weimer <fweimer@redhat.com>
17462 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17463 Declare with warn_unused_result.
17464 (setgid, setregid, setegid, setresgid): Likewise.
17465 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17467 * WUR-REPORT: Remove set*id functions.
17469 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17471 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17473 2012-07-31 Roland McGrath <roland@hack.frob.com>
17476 * include/sys/socket.h (__libc_accept, __libc_accept4):
17477 Add attribute_hidden.
17478 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17480 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17482 * inet/getnetgrent_r.c (setup): Likewise.
17484 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17486 2012-07-31 David S. Miller <davem@davemloft.net>
17488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17490 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17493 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17494 value between 1.0 and 2.0 and smaller part has absolute value less
17496 * math/s_clog10.c (__clog10): Likewise.
17497 * math/s_clog10f.c (__clog10f): Likewise.
17498 * math/s_clog10l.c (__clog10l): Likewise.
17499 * math/s_clogf.c (__clogf): Likewise.
17500 * math/s_clogl.c (__clogl): Likewise.
17501 * math/libm-test.inc (clog_test): Add more tests.
17502 (clog10_test): Likewise.
17503 * sysdeps/i386/fpu/libm-test-ulps: Update.
17504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17506 2012-07-31 Florian Weimer <fweimer@redhat.com>
17508 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17509 Exit with zero in case no suitable GID is found, and write a
17510 message to standard error.
17512 2012-07-30 Roland McGrath <roland@hack.frob.com>
17514 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17516 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17517 (MAXPATHLEN): Removed.
17518 (NOGROUP, NODEV): New macros.
17519 (setbit, clrbit, isset, isclr): New macros.
17520 (howmany, roundup, powerof2): New macros.
17521 (DEV_BSIZE): New macro.
17523 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17524 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17526 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17527 definition on [!__NO_LONG_DOUBLE_MATH].
17529 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17530 PTR_MANGLE and PTR_DEMANGLE.
17532 * socket/accept4.c (accept4): Rename to __libc_accept4.
17533 Define accept4 as a weak alias.
17535 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17536 on [_DIRENT_HAVE_D_TYPE].
17537 * io/ftw.c (ftw_dir): Likewise.
17539 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17541 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17543 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17544 Use the BSD numbers rather than the arbitrary ones we had.
17545 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17546 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17547 (SIGXCPU, SIGXFSZ): New macros.
17550 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17551 initializer on [_LIBC_REENTRANT].
17553 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17554 definitions inside [_POSIX_MAPPED_FILES].
17556 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17558 * dirent/opendir.c: Include <fcntl.h>.
17560 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17561 (__libc_getspecific): Likewise.
17562 (__libc_key_create): Likewise.
17564 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17565 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17566 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17567 (tmpfile64): Define as alias.
17568 * sysdeps/wordsize-64/tmpfile.c: File removed.
17569 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17570 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17571 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17573 * stdio-common/vfscanf.c: Include <stdbool.h>.
17574 * nss/makedb.c: Likewise.
17575 * stdio-common/_i18n_number.h: Likewise.
17576 * argp/argp-help.c: Likewise.
17577 * posix/wordexp.c: Likewise.
17578 * sysdeps/posix/spawni.c: Likewise.
17579 * nss/nss_files/files-initgroups.c: Likewise.
17580 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17581 * nss/nss_files/files-initgroups.c: Likewise.
17582 * nss/nss_db/db-netgrp.c: Likewise.
17583 * nss/nss_db/db-initgroups.c: Likewise.
17584 * io/fchmodat.c: Include <sys/stat.h>.
17586 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17587 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17589 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17592 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17593 Add multiple inclusion protection.
17595 2012-07-27 David S. Miller <davem@davemloft.net>
17597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17599 2012-07-27 Gary Benson <gbenson@redhat.com>
17602 * elf/rtld.c: Include <stap-probe.h>.
17603 (dl_main): Added static probes "init_start" and "init_complete".
17604 * elf/dl-load.c: Include <stap-probe.h>.
17605 (lose): Take new parameter "nsid".
17606 Added static probe "map_failed".
17607 (_dl_map_object_from_fd): Pass namespace id to lose.
17608 Added static probe "map_start".
17609 (open_verify): Pass namespace id to lose.
17610 * elf/dl-open.c: Include <stap-probe.h>.
17611 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17612 and "reloc_complete".
17613 * elf/dl-close.c: Include <stap-probe.h>.
17614 (_dl_close_worker): Added static probes "unmap_start" and
17616 * elf/rtld-debugger-interface.txt: New file documenting the above.
17618 2012-07-26 Roland McGrath <roland@hack.frob.com>
17620 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17621 rather than a string variable.
17622 * sunrpc/rpc_main.c (h_output): Likewise.
17623 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17625 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17627 * inet/check_native.c: New file.
17629 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17632 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17633 if larger part has absolute value 1.0.
17634 * math/s_clog10.c (__clog10): Likewise.
17635 * math/s_clog10f.c (__clog10f): Likewise.
17636 * math/s_clog10l.c (__clog10l): Likewise.
17637 * math/s_clogf.c (__clogf): Likewise.
17638 * math/s_clogl.c (__clogl): Likewise.
17639 * math/libm-test.inc (clog_test): Add more tests.
17640 (clog10_test): Likewise.
17641 * sysdeps/i386/fpu/libm-test-ulps: Update.
17642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17644 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17645 (pltexit): Likewise.
17646 (La_regs): Likewise.
17647 (La_retval): Likewise.
17648 (int_retval): Likewise.
17649 Update #error for removed macros to refer only to definitions in
17651 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17653 (pltexit): Likewise.
17654 (La_regs): Likewise.
17655 (La_retval): Likewise.
17656 (int_retval): Likewise.
17657 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17659 (pltexit): Likewise.
17660 (La_regs): Likewise.
17661 (La_retval): Likewise.
17662 (int_retval): Likewise.
17663 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17665 (pltexit): Likewise.
17666 (La_regs): Likewise.
17667 (La_retval): Likewise.
17668 (int_retval): Likewise.
17669 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17671 (pltexit): Likewise.
17672 (La_regs): Likewise.
17673 (La_retval): Likewise.
17674 (int_retval): Likewise.
17675 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17677 (pltexit): Likewise.
17678 (La_regs): Likewise.
17679 (La_retval): Likewise.
17680 (int_retval): Likewise.
17681 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17683 (pltexit): Likewise.
17684 (La_regs): Likewise.
17685 (La_retval): Likewise.
17686 (int_retval): Likewise.
17687 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17688 macro definitions in tst-audit.h.
17689 * sysdeps/i386/tst-audit.h: New file.
17690 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17691 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17692 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17693 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17694 * sysdeps/sh/tst-audit.h: Likewise.
17695 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17696 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17697 * sysdeps/x86_64/tst-audit.h: Likewise.
17699 2012-07-26 Andreas Jaeger <aj@suse.de>
17701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17704 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17705 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17706 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17708 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17709 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17710 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17712 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17715 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17717 (si_call_addr, si_syscall, si_arch): Define new macro.
17718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17720 (si_call_addr, si_syscall, si_arch): Define new marcro.
17721 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17723 (si_call_addr, si_syscall, si_arch): Define new macro.
17724 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17726 (si_call_addr, si_syscall, si_arch): Define new macro.
17728 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17732 Change to 2.4.21 where previously 2.4.1.
17733 * sysdeps/unix/sysv/linux/configure: Regenerated.
17734 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17735 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17736 Linux kernel version.
17737 (__ASSUME_STD_AUXV): Remove.
17738 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17740 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17741 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17742 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17743 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17744 (__ASSUME_NETLINK_SUPPORT): Likewise.
17745 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17746 (__no_netlink_support): Remove conditional definition.
17747 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17749 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17750 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17751 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17752 (if_nameindex_ioctl): Remove.
17753 (if_nameindex_netlink): Do not handle __no_netlink_support.
17754 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17756 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17757 Remove conditional code.
17758 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17760 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17762 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17763 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17764 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17766 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17767 [!__ASSUME_STD_AUXV]: Remove conditional code.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17769 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17770 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17772 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17773 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17775 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17777 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17778 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17780 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17782 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17788 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17789 code unconditional.
17790 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17792 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17794 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17797 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17799 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17802 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17803 code unconditional.
17804 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17806 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17808 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17811 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17812 code unconditional.
17813 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17815 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17817 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17820 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17822 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17823 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17824 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17825 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17826 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17827 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17828 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17829 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17830 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17831 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17832 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17833 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17834 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17835 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17837 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17842 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17843 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17846 2012-07-25 Florian Weimer <fweimer@redhat.com>
17848 * Versions.def: Add GLIBC_2.17.
17849 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17850 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17851 Introduce __libc_secure_getenv.
17852 * stdlib/Versions (2.17): Add secure_getenv
17853 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17854 * stdlib/secure-getenv.c: Rename __secure_getenv to
17855 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17856 symbol __secure_getenv for GLIBC_2.0.
17857 * stdlib/tst-secure-getenv.c: New.
17858 * stdlib/Makefile (tests): Add testcase.
17859 * manual/startup.texi (Environment Access): Document
17861 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17862 __libc_secure_getenv.
17863 * inet/ruserpass.c (ruserpass): Likewise.
17864 * malloc/mtrace.c (mtrace): Likewise.
17865 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17866 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17867 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17868 * sysdeps/posix/tempname.c: Likewise. Evaluate
17869 HAVE_SECURE_GETENV.
17870 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17871 __secure_getenv to __libc_secure_getenv.
17872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17885 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17887 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17888 (struct La_i86_retval): Likewise.
17889 (struct La_x86_64_regs): Likewise.
17890 (struct La_x86_64_retval): Likewise.
17891 (struct La_x32_regs): Likewise.
17892 (struct La_x32_retval): Likewise.
17893 (struct La_ppc32_regs): Likewise.
17894 (struct La_ppc32_retval): Likewise.
17895 (struct La_ppc64_regs): Likewise.
17896 (struct La_ppc64_retval): Likewise.
17897 (struct La_sh_regs): Likewise.
17898 (struct La_sh_retval): Likewise.
17899 (struct La_s390_32_regs): Likewise.
17900 (struct La_s390_32_retval): Likewise.
17901 (struct La_s390_64_regs): Likewise.
17902 (struct La_s390_64_retval): Likewise.
17903 (struct La_sparc32_regs): Likewise.
17904 (struct La_sparc32_retval): Likewise.
17905 (struct La_sparc64_regs): Likewise.
17906 (struct La_sparc64_retval): Likewise.
17907 (struct audit_ifaces): Remove architecture-specific pltenter and
17909 * sysdeps/i386/ldsodefs.h: New file.
17910 * sysdeps/powerpc/ldsodefs.h: Likewise.
17911 * sysdeps/s390/ldsodefs.h: Likewise.
17912 * sysdeps/sh/ldsodefs.h: Likewise.
17913 * sysdeps/sparc/ldsodefs.h: Likewise.
17914 * sysdeps/x86_64/ldsodefs.h: Likewise.
17916 2012-07-25 Marek Polacek <polacek@redhat.com>
17919 * math/libm-test.inc (yn_test): Add another test.
17920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17921 to ERANGE when the result is +-Inf.
17922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17923 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17924 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17925 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17927 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17929 * conform/data/time.h-data (NULL): Use macro-constant. Require
17931 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17933 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17935 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17937 * configure.in <sysdeps resolving>: Correct printing
17939 * configure: Regenerate.
17941 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17943 * math/w_ilogb.c: Include <limits.h>.
17944 * math/w_ilogbl.c: Likewise.
17946 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17948 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17949 va_copy. Document allowing for unavailable va_copy only as
17950 pre-C99 compatibility.
17951 * manual/string.texi (Copying and Concatenation): Use va_copy
17952 instead of __va_copy in concat example.
17954 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17956 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17957 (__sendto): Use create_address_port. Initialize APORT and deallocate
17960 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17961 with O_NOLINK passed to __file_name_lookup.
17963 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17964 with O_NOLINK passed to __file_name_lookup.
17966 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17967 negative N or less than NGIDS.
17969 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17970 type to string_t. Set ERANGE as errno and return it if NAME is not big
17971 enough. Use memcpy instead of strncpy.
17973 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17975 * elf/Makefile (check-data): Remove.
17976 (localplt.data): New vpath directive.
17977 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17978 instead of $(check-data).
17979 * scripts/data/localplt-generic.data: Move to ...
17980 * sysdeps/generic/localplt.data: ... here.
17981 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17982 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17983 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17986 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17989 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17992 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17995 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17998 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18002 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18004 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18005 PPC32 and PPC64 files.
18006 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18007 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18009 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18011 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18012 __makecontext_ret to ...
18013 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18014 ... here and call exit if uc_link is NULL. New file.
18015 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18016 __makecontext_ret.S.
18017 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18018 __makecontext_ret to ...
18019 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18020 ... here and call exit if uc_link is NULL. New file.
18021 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18022 __makecontext_ret.S.
18024 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18026 * elf/elf.h (R_390_IRELATIVE): New definition.
18027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18028 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18029 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18031 (elf_machine_lazy_rel): Likewise.
18032 * sysdeps/s390/dl-irel.h: New file.
18033 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18034 * sysdeps/s390/s390-64/memset.S: New asm code.
18035 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18036 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18037 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18038 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18039 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18040 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18042 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18043 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18044 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18045 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18046 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18047 * sysdeps/s390/s390-32/memset.S: New asm code.
18048 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18050 2012-07-17 Marek Polacek <polacek@redhat.com>
18053 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18054 * sysdeps/s390/s390-64/configure.in: Likewise.
18055 * sysdeps/sparc/configure.in: Likewise.
18056 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18057 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18058 * sysdeps/i386/configure.in: Likewise.
18059 * sysdeps/x86_64/configure.in: Likewise.
18060 * sysdeps/sh/configure.in: Likewise.
18061 * sysdeps/s390/s390-32/configure: Regenerated.
18062 * sysdeps/s390/s390-64/configure: Likewise.
18063 * sysdeps/x86_64/configure: Likewise.
18064 * sysdeps/sh/configure: Likewise.
18065 * sysdeps/powerpc/powerpc64/configure: Likewise.
18066 * sysdeps/powerpc/powerpc32/configure: Likewise.
18067 * sysdeps/sparc/configure: Likwise.
18068 * sysdeps/i386/configure: Likewise.
18070 * elf/dl-open.c: Comment fixes.
18072 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18074 * Makefile [CXX] (check-data): Remove.
18075 [CXX] (c++-types.data): New vpath directive.
18076 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18077 vpath. Do not allow for C++ type data being missing.
18078 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18079 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18080 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18081 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18082 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18083 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18084 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18087 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18090 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18093 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18096 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18099 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18102 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18105 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18108 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18109 definitions to architecture-specific files.
18110 (TLS_IE): Likewise.
18111 (TLS_LD): Likewise.
18112 (TLS_GD): Likewise.
18113 * sysdeps/i386/tls-macros.h: New file.
18114 * sysdeps/powerpc/tls-macros.h: Likewise.
18115 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18116 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18117 * sysdeps/sh/tls-macros.h: Likewise.
18118 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18119 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18120 * sysdeps/x86_64/tls-macros.h: Likewise.
18122 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18125 zero value for regular exit case.
18127 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18128 (__start_context): Preserve zero value for regular exit case.
18130 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18131 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18133 * manual/setjmp.texi (setcontext): Clarify normal process
18134 termination when uc_link is the null pointer.
18135 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18138 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18140 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18141 preprocessor. Test for each exception mask separately.
18143 2012-07-16 Andreas Jaeger <aj@suse.de>
18145 * po/ru.po: Update from translation team.
18147 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18149 * conform/data/string.h-data (NULL): Use macro-constant. Require
18151 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18152 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18153 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18154 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18157 2012-07-13 Andreas Jaeger <aj@suse.de>
18159 * po/fr.po: Update from translation team.
18161 2012-07-12 Marek Polacek <polacek@redhat.com>
18164 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18168 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18172 Change to 2.4.1 where previously 2.4.0.
18173 * sysdeps/unix/sysv/linux/configure: Regenerated.
18174 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18175 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18177 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18178 (__ASSUME_AT_CLKTCK): Remove.
18179 (__ASSUME_AT_PAGESIZE): Likewise.
18180 (__ASSUME_AT_XID): Likewise.
18181 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18182 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18183 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18185 (HAVE_AUX_PAGESIZE): Likewise.
18186 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18187 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18188 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18190 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18194 the temporary buffer used to invoke __gethostbyname2_r,
18195 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18196 host_data / struct gaih_addrtuple.
18197 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18198 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18199 header file nss/nsswitch.h.
18200 * nss/nsswitch.h (global scope): Add definition of implementation
18201 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18202 resolv/nss_dns/dns-host.c).
18204 2012-07-11 Andreas Jaeger <aj@suse.de>
18206 * po/fr.po: Update from translation team.
18208 * po/sv.po: Update from translation team
18209 * po/fr.po: Another update from translation team.
18211 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18214 for subnormals or multiply small sinh result by itself.
18215 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18218 2012-07-11 David S. Miller <davem@davemloft.net>
18220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18222 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18225 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18226 (INTERNAL_MARK): Shift it here.
18228 2012-07-10 Marek Polacek <polacek@redhat.com>
18231 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18232 libc_cv_asm_global_directive with .globl.
18233 * configure: Regenerated.
18234 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18236 * sysdeps/i386/configure: Regenerated.
18237 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18239 * sysdeps/x86_64/configure: Regenerated.
18240 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18241 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18242 * elf/tst-unique2mod2.c: Likewise.
18243 * elf/tst-unique2mod1.c: Likewise.
18244 * elf/tst-unique1mod2.c: Likewise.
18245 * elf/tst-unique1mod1.c: Likewise.
18246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18247 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18250 * sysdeps/mach/sysdep.h: Likewise.
18251 * sysdeps/i386/sysdep.h: Likewise.
18252 * sysdeps/i386/i386-mcount.S: Likewise.
18253 * sysdeps/x86_64/_mcount.S: Likewise.
18254 * sysdeps/x86_64/sysdep.h: Likewise.
18255 * sysdeps/sh/_mcount.S: Likewise.
18256 * sysdeps/sh/sysdep.h: Likewise.
18257 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18258 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18259 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18260 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18261 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18262 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18263 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18264 * locale/localeinfo.h: Likewise.
18265 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18266 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18268 2012-07-09 Roland McGrath <roland@hack.frob.com>
18271 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18273 * manual/message.texi (The Uniforum approach): Likewise.
18274 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18275 (glibc iconv Implementation): Likewise.
18277 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18280 * math/s_clog.c (__clog): Avoid scaling a value down where that
18281 could result in underflow.
18282 * math/s_clog10.c (__clog10): Likewise.
18283 * math/s_clog10f.c (__clog10f): Likewise.
18284 * math/s_clog10l.c (__clog10l): Likewise.
18285 * math/s_clogf.c (__clogf): Likewise.
18286 * math/s_clogl.c (__clogl): Likewise.
18287 * math/libm-test.inc (clog_test): Add more tests.
18288 (clog10_test): Likewise.
18289 * sysdeps/i386/fpu/libm-test-ulps: Update.
18290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18292 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18296 by 7 not 8 to examine high bit of fractional part.
18299 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18300 for call to __mcount_internal.
18301 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18302 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18303 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18305 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18308 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18309 approximation for values within 0x1p-13f of an odd multiple of
18311 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18312 exception. Add more tests.
18313 * sysdeps/i386/fpu/libm-test-ulps: Update.
18316 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18317 inputs and return -1 for them. Do not check for +Inf in case not
18318 reachable for +Inf.
18319 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18320 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18322 and return -1 for them. Do not check for +Inf in case not
18323 reachable for +Inf.
18324 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18327 and return -1 for them. Do not check for +Inf in case not
18328 reachable for +Inf.
18329 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18330 spurious underflow.
18331 * sysdeps/i386/fpu/libm-test-ulps: Update.
18332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18334 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18336 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18338 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18342 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18343 could result in spurious underflow. Scale down values above
18344 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18345 * math/s_csqrtf.c (__csqrtf): Likewise.
18346 * math/s_csqrtl.c (__csqrtl): Likewise.
18347 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18348 spurious underflow.
18349 * sysdeps/i386/fpu/libm-test-ulps: Update.
18350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18352 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18354 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18356 * catgets/xopen-msg.awk: New file.
18357 * catgets/xopen-msg.sed: Removed.
18359 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18361 * intl/po2test.awk: New file.
18362 * intl/po2test.sed: Removed.
18364 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18367 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18368 or multiply small sinh result by itself.
18369 * math/s_ctanf.c (__ctanf): Likewise.
18370 * math/s_ctanh.c (__ctanh): Likewise.
18371 * math/s_ctanhf.c (__ctanhf): Likewise.
18372 * math/s_ctanhl.c (__ctanhl): Likewise.
18373 * math/s_ctanl.c (__ctanl): Likewise.
18374 * math/libm-test.inc (ctan_test_tonearest): New function.
18375 (ctan_test_towardzero): Likewise.
18376 (ctan_test_downward): Likewise.
18377 (ctan_test_upward): Likewise.
18378 (ctanh_test_tonearest): Likewise.
18379 (ctanh_test_towardzero): Likewise.
18380 (ctanh_test_downward): Likewise.
18381 (ctanh_test_upward): Likewise.
18382 (main): Call these new functions.
18383 * sysdeps/i386/fpu/libm-test-ulps: Update.
18384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18386 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18388 * .gitignore: Delete /ports entry.
18390 2012-07-03 Andreas Jaeger <aj@suse.de>
18392 * po/bg.po: Update from translation team.
18393 * po/cs.po: Likewise.
18394 * po/de.po: Likewise.
18395 * po/hr.po: Likewise.
18396 * po/nl.pl: Likewise.
18397 * po/pl.po: Likewise.
18398 * po/vi.po: Likewise.
18400 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18402 * Makeconfig [!+link] (+link-before-libc): New variable.
18403 [!+link] (+link-after-libc): Likewise.
18404 [!+link] (+link-tests): Likewise.
18405 [!+link] (+link): Define in terms of $(+link-before-libc) and
18406 $(+link-after-libc).
18407 [!+link-static] (+link-static-before-libc): New variable.
18408 [!+link-static] (+link-static-after-libc): Likewise.
18409 [!+link-static] (+link-static-tests): Likewise.
18410 [!+link-static] (+link-static): Define in terms of
18411 $(+link-static-before-libc) and $(+link-static-after-libc).
18412 [build-shared] (link-libc-before-gnulib): New variable.
18413 [build-shared] (link-libc-tests): Likewise.
18414 [build-shared] (link-libc): Define in terms of
18415 $(link-libc-before-gnulib).
18416 [!build-shared] (link-libc-tests): New variable.
18417 (link-libc-static-tests): New variable.
18418 [!gnulib] (gnulib-arch): New variable.
18419 [!gnulib] (gnulib-tests): Likewise.
18420 [!gnulib] (static-gnulib-arch): Likewise.
18421 [!gnulib] (static-gnulib-tests): Likewise.
18422 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18423 Define with "=" instead of ":=".
18424 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18425 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18426 * Rules (binaries-all-notests): New variable.
18427 (binaries-all-tests): Likewise.
18428 (binaries-static-notests): Likewise.
18429 (binaries-static-tests): Likewise.
18430 (binaries-all): Define using $(binaries-all-notests) and
18431 $(binaries-all-tests).
18432 (binaries-static): Define using $(binaries-static-notests) and
18433 $(binaries-static-tests).
18434 (binaries-shared-tests): New variable.
18435 (binaries-shared-notests): Likewise.
18436 (binaries-shared): Remove variable.
18437 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18438 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18439 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18440 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18441 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18442 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18443 * elf/Makefile (sln-modules): New variable.
18444 (extra-objs): Add $(sln-modules:=.o).
18445 (ldconfig-modules): Add static-stubs.
18446 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18447 * elf/static-stubs.c: New file.
18450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18451 by 7 not 8 to examine high bit of fractional part. Use volatile
18452 variables when splitting into final array of floats if
18453 __FLT_EVAL_METHOD__ != 0.
18454 * math/libm-test.inc (cos_test): Add another test.
18455 (sin_test): Likewise.
18456 * sysdeps/i386/fpu/libm-test-ulps: Update.
18459 * math/libm-test.inc (cosh_test): Add more tests.
18461 * version.h (RELEASE): Set to "development".
18462 (VERSION): Set to "2.16.90".
18464 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18466 * NEWS: Update copyright. Remove last-updated date.
18467 Mention math library bug fixes and timezone data changes.
18468 * README: Mention GNU/Hurd, x32, and HPPA support status.
18470 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18472 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18474 2012-06-27 Andreas Jaeger <aj@suse.de>
18476 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18478 2012-06-25 Andreas Jaeger <aj@suse.de>
18480 * sysdeps/s390/fpu/libm-test-ulps: Update.
18482 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18483 Thomas Schwinge <thomas@codesourcery.com>
18485 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18486 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18490 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18492 * sysdeps/mach/start.c: Remove file.
18493 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18494 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18495 * sysdeps/sh/init-first.c: Likewise.
18497 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18498 registers for frame unwinding purposes, add CFI directives.
18499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18500 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18501 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18505 __fortify_fail returning.
18506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18508 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18509 sysdeps/sh/____longjmp_chk.S.
18510 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18511 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18512 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18513 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18515 * sysdeps/sh/abort-instr.h: New file.
18516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18517 process in case exit returns.
18519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18520 initialize the GOT register before use.
18522 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18523 calculation of ARGC > 4.
18525 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18526 meaningful names to some local labels.
18528 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18529 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18531 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18532 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18533 (__arch_compare_and_exchange_val_16_acq): Likewise.
18534 (__arch_compare_and_exchange_val_32_acq): Likewise.
18535 (atomic_exchange_and_add): Fix gUSA sequence.
18536 (atomic_add): Likewise.
18537 (atomic_add_negative): Likewise.
18538 (atomic_add_zero): Likewise.
18539 (atomic_bit_test_set): Likewise.
18541 2012-06-22 Andreas Schwab <schwab@redhat.com>
18544 * include/link.h (struct link_map): Add l_free_initfini.
18545 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18547 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18548 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18549 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18552 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18554 * configure.in: Use AC_LANG_SOURCE.
18555 * configure: Regenerate.
18557 2012-06-22 Roland McGrath <roland@hack.frob.com>
18559 * configure.in (libc_cv_localstatedir): New substituted variable.
18560 * configure: Regenerated.
18561 * config.make.in (localstatedir): New variable, substituted from
18562 libc_cv_localstatedir.
18563 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18564 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18565 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18566 * sysdeps/gnu/configure: Regenerated.
18568 2012-06-21 Jeff Law <law@redhat.com>
18571 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18572 free. Simplify list management for _LIBC case.
18574 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18577 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18578 Clear sign bit of 64-bit integer value before comparing against
18581 * sysdeps/mach/configure: Regenerated.
18583 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18586 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18588 2012-06-21 Jeff Law <law@redhat.com>
18591 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18592 uint16_t for elements in the "seen" array to avoid char overflows.
18593 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18594 * elf/dl-open.c (dl_open_worker): Likewise.
18596 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18598 * scripts/list-sources.sh: Scan PORTS for translations.
18599 * po/libc.pot: Regenerated.
18601 2012-06-21 Andreas Jaeger <aj@suse.de>
18604 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18606 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18607 * bits/byteswap-16.h (__bswap_16): Likewise.
18608 * bits/byteswap.h (__bswap_constant_16): Likewise.
18610 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18613 * sysdeps/i386/fpu_control.h: Removed.
18614 * sysdeps/x86_64/fpu_control.h: Moved to ...
18615 * sysdeps/x86/fpu_control.h: Here.
18617 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18618 (_FPU_SETCW): Likewise.
18620 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18623 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18624 * sysdeps/x86/fpu/bits/mathinline.h: This.
18625 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18629 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18630 functions if __x86_64__ is defined.
18632 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18634 * string/endian.h: Add !__ASSEMBLER__ condition for including
18635 conversion interfaces.
18637 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18641 of ABS(x) in calculating zero to negative powers other than odd
18643 * math/libm-test.inc (pow_test): Add more tests.
18645 2012-06-15 Andreas Jaeger <aj@suse.de>
18647 * manual/contrib.texi (Contributors): Update entry of Liubov
18648 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18651 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18653 * string/string.h: Add __wur to GNU version of strerror_r.
18655 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18658 * string/Makefile (tests): Add tst-strtok_r.
18659 * string/tst-strtok_r.c: New file.
18660 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18661 RAX_LP/RDX_LP on SAVE_PTR.
18663 2012-06-14 Roland McGrath <roland@hack.frob.com>
18665 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18667 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18669 * libm_test.inc (csqrt_test): Allow more spurious underflow
18671 (j0_test): Likewise.
18672 (j1_test): Likewise.
18673 (y0_test): Likewise.
18674 (y1_test): Likewise.
18676 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18678 * po/Makefile (libc.pot): Use UTF-8 charset.
18680 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18683 Suppress sign-conversion warning from FD_SET.
18684 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18685 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18686 not unsigned long int.
18687 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18689 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18693 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18694 __extern_always_inline instead of __extern_inline.
18695 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18696 (__signbit): Likewise.
18697 (__signbitl): Support C++ namespace.
18698 (lrintf): New inline function.
18700 (llrintf): Likewise.
18701 (llrint): Likewise.
18711 (floorf): Likewise.
18712 (nearbyint): Likewise.
18713 (nearbyintf): Likewise.
18715 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18717 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18718 non-default versions.
18720 2012-06-11 Roland McGrath <roland@hack.frob.com>
18723 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18725 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18727 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18728 (FE_UPWARD, FE_DOWNWARD): Don't define.
18729 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18730 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18734 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18737 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18739 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18741 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18744 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18747 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18748 * sysdeps/i386/fpu/Implies: New file.
18749 * sysdeps/x86_64/fpu/Implies: Likewise.
18750 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18751 * sysdeps/x86/fpu/bits/fenv.h: This.
18753 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18756 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18759 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18760 character 0xffff that matches the last element of the
18763 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18768 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18771 values higher than 25.6283.
18773 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18776 subnormal exponent extraction and add some __builtin_expect.
18777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18778 Fix for subnormal mantissa calculation.
18780 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18782 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18783 cpu2 is -1 and errno is not ENOSYS.
18785 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18788 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18789 * sysdeps/x86/bits/string.h: This.
18790 * sysdeps/x86_64/bits/string.h: Removed.
18792 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18793 if not compiling for x86-64, but compiling for >= i486.
18795 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18796 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18799 New macro from Linux kernel 3.4.0.
18800 (FP_XSTATE_MAGIC2): Likewise.
18801 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18802 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18803 (struct _fpx_sw_bytes): New struct.
18804 (struct _xsave_hdr): Likewise.
18805 (struct _ymmh_state): Likewise.
18806 (struct _xstate): Likewise.
18808 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18809 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18810 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18811 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18812 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18813 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18815 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18816 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18817 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18818 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18819 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18820 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18822 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18825 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18826 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18827 (sysdep_headers): Include sys/platform/ppc.h.
18828 * sysdeps/powerpc/test-gettimebase.c: Test for
18829 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18830 * manual/Makefile (appendices): Include platform.texi.
18831 * manual/contrib.texi (Contributors): Update @node pointers.
18832 * manual/maint.texi (Maintenance): Likewise.
18833 (Platform): New node.
18834 * manual/platform.texi: New file. Document the new features.
18836 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18837 Jakub Jelinek <jakub@redhat.com>
18840 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18841 where __builtin_expect is unavailable.
18843 2012-06-03 David S. Miller <davem@davemloft.net>
18845 * stdlib/longlong.h: Updated from GCC.
18847 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18850 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18851 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18854 (GLIBC_2.16): Likewise.
18856 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18860 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18863 (default-abi): New variable.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18867 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18869 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18871 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18874 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18875 definition. Document in comment.
18877 2012-06-01 David S. Miller <davem@davemloft.net>
18879 * stdlib/longlong.h: Updated from GCC.
18881 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18884 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18885 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18886 sys/debugreg.h sys/io.h here.
18887 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18888 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18890 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18891 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18892 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18893 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18894 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18895 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18898 Define only if __x86_64__ is defined.
18900 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18903 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18904 Use int64_t for variable i.
18905 * math/libm-test.inc (fmod_test): Add more tests.
18907 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18908 z computation is not scheduled after fetestexcept.
18909 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18910 Use math_force_eval instead of asm to ensure calculation scheduled
18911 before exception test.
18912 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18913 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18915 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18918 computation is not scheduled after fetestexcept.
18920 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18923 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18924 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18926 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18928 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18929 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18931 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18934 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18936 (__WCHAR_MIN): Support __WORDSIZE == 64.
18937 (__WCHAR_MAX): Likewise.
18939 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18944 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18947 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18948 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18950 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18951 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18953 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18954 Defined to 1 if __x86_64__ isn't defined.
18955 (_STAT_VER_LINUX_OLD): New.
18956 (st_atime): Remove duplicate.
18957 (st_mtime): Likewise.
18958 (st_ctime): Likewise.
18960 2012-05-31 David S. Miller <davem@davemloft.net>
18962 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18965 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18967 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18971 * elf/dl-reloc.c: Include <_itoa.h>.
18972 (_dl_reloc_bad_type): Remove use of INTUSE.
18973 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18974 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18975 * stdio-common/psiginfo.c (psiginfo): Likewise.
18976 * stdio-common/psignal.c (psignal): Likewise.
18977 * string/strsignal.c (strsignal): Likewise.
18978 * include/signal.h (_sys_siglist): Declare hidden proto.
18979 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18980 INTVARDEF with libc_hidden_data_def.
18981 * stdio-common/itoa-udigits.c: Likewise.
18982 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18983 (_itoa_lower_digits_internal): Remove declaration.
18984 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18985 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18986 (_sys_sigabbrev_internal): Remove aliases.
18987 (_sys_siglist): Define hidden alias.
18989 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18994 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18997 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18998 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19000 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19001 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19002 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19003 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19005 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19007 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19008 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19009 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19011 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19019 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19021 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19023 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19024 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19026 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19027 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19028 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19030 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19031 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19033 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19034 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19037 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19038 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19040 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19041 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19043 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19045 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19046 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19047 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19049 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19051 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19053 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19055 * math/math.h (M_El): Use two more decimal places.
19056 (M_LOG2El): Likewise.
19057 (M_LOG10El): Likewise.
19058 (M_LN2l): Likewise.
19059 (M_LN10l): Likewise.
19061 (M_PI_2l): Likewise.
19062 (M_PI_4l): Likewise.
19063 (M_1_PIl): Likewise.
19064 (M_2_PIl): Likewise.
19065 (M_2_SQRTPIl): Likewise.
19066 (M_SQRT2l): Likewise.
19067 (M_SQRT1_2l): Likewise.
19069 2012-05-31 David S. Miller <davem@davemloft.net>
19071 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19072 values between float registers.
19073 * sysdeps/sparc/sparc64/memset.S: Likewise.
19074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19076 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19078 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19079 -D_FORTIFY_SOURCE=1.
19080 (CPPFLAGS-tst-longjmp_chk.c): Define.
19081 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19082 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19083 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19084 CFLAGS-tst-wchar-h.c.
19086 2012-05-31 Marek Polacek <polacek@redhat.com>
19089 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19090 __endmntent_internal): Remove declaration.
19091 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19092 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19093 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19095 2012-05-30 David S. Miller <davem@davemloft.net>
19097 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19098 (___Q_simulate_exceptions): Use real FP ops rather than writing
19100 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19103 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19106 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19107 * sysdeps/x86/bits/xtitypes.h: This.
19109 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19110 * sysdeps/x86/bits/wordsize.h: This.
19112 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19113 * sysdeps/x86/bits/huge_vall.h: This.
19115 * sysdeps/i386/bits/select.h: Removed.
19116 * sysdeps/x86_64/bits/select.h: Renamed to ...
19117 * sysdeps/x86/bits/select.h: This.
19119 * sysdeps/i386/bits/setjmp.h: Removed.
19120 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19121 * sysdeps/x86/bits/setjmp.h: This.
19123 * sysdeps/i386/bits/mathdef.h: Removed.
19124 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19125 * sysdeps/x86/bits/mathdef.h: This.
19127 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19130 * include/sys/socket.h (__connect_internal)
19131 (__libc_sa_len_internal): Remove declaration.
19132 (__connect, __libc_sa_len): Declare hidden_proto.
19133 (SA_LEN): Remove use of INTUSE.
19134 * socket/connect.c: Add libc_hidden_def.
19135 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19136 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19137 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19139 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19140 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19141 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19142 of adding _internal alias.
19144 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19147 * sysdeps/i386/bits/link.h: Removed.
19148 * sysdeps/i386/bits/linkmap.h: Likewise.
19149 * sysdeps/x86_64/bits/link.h: Renamed to ...
19150 * sysdeps/x86/bits/link.h: This.
19151 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19152 * sysdeps/x86/bits/linkmap.h: This.
19154 * sysdeps/i386/bits/endian.h: Removed.
19155 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19156 * sysdeps/x86/bits/endian.h: This.
19158 * sysdeps/i386/bits/byteswap.h: Removed.
19159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19160 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19161 * sysdeps/x86/bits/byteswap.h: This.
19162 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19163 * sysdeps/x86/bits/byteswap-16.h: This.
19164 * sysdeps/i386/Implies: Add x86.
19165 * sysdeps/x86_64/Implies: Likewise.
19167 2012-05-30 David S. Miller <davem@davemloft.net>
19169 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19170 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19171 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19172 (FP_TRAPPING_EXCEPTIONS): Define.
19173 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19174 (FP_TRAPPING_EXCEPTIONS): Define.
19175 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19176 subnormals only when inexact has been signalled or underflow
19177 exceptions are enabled.
19178 (_FP_PACK_CANONICAL): Likewise.
19180 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19183 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19184 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19186 2012-05-30 Richard Henderson <rth@twiddle.net>
19188 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19189 with #ifndef NOT_IN_libc.
19191 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19192 marked to avoid plt entry.
19194 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19197 * Makeconfig (default-abi): New macro.
19198 (abi-includes): Likewise.
19199 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19200 $(abi-$(default-abi)-lib-soname) for soname if defined.
19201 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19203 * Makefile (installed-stubs): Likewise.
19204 * include/stubs-biarch.h: Removed.
19205 * scripts/lib-names.awk: Only handle one library at a time.
19206 * scripts/soversions.awk: Remove WORDSIZE support.
19207 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19209 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19211 (syscall-list-default-condition): Likewise.
19212 (syscall-list-default-condition): Likewise.
19213 (syscall-list-includes): Likewise.
19214 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19215 syscall-list-* with abi-*. Handle undefined abi-variants.
19216 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19217 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19218 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19219 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19220 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19221 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19223 (syscall-list-32-options): Likewise.
19224 (syscall-list-32-condition): Likewise.
19225 (syscall-list-64-options): Likewise.
19226 (syscall-list-64-condition): Likewise.
19227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19229 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19232 (abi-64-ld-soname): New macro.
19233 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19234 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19237 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19238 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19240 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19242 * sysdeps/unix/sysv/linux/kernel-features.h
19243 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19244 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19245 include <kernel-features.h>.
19246 [!__NR_ftruncate64]: Remove conditional code.
19247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19248 [__NR_ftruncate64]: Make code unconditional.
19249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19250 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19251 include <kernel-features.h>.
19252 [!__NR_ftruncate64]: Remove conditional code.
19253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19254 [__NR_ftruncate64]: Make code unconditional.
19255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19257 include <kernel-features.h>.
19258 [!__NR_ftruncate64]: Remove conditional code.
19259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19260 [__NR_ftruncate64]: Make code unconditional.
19261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19263 include <kernel-features.h>.
19264 [!__NR_ftruncate64]: Remove conditional code.
19265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19266 [__NR_ftruncate64]: Make code unconditional.
19267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19269 * configure.in (libc_cv_fpie): Weaken to a compile test using
19270 LIBC_TRY_CC_OPTION.
19271 * configure: Regenerated.
19273 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19288 2012-05-27 David S. Miller <davem@davemloft.net>
19290 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19292 (__Q_simulate_exceptions): Return void. Change to simulate
19293 exceptions by writing into the %fsr.
19294 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19295 (__Qp_handle_exceptions): Likewise.
19297 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19298 __Qp_handle_exceptions.
19299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19300 __Qp_handle_exceptions.
19301 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19302 as unused and give dummy FP_RND_NEAREST initializer.
19303 (FP_INHIBIT_RESULTS): Define.
19304 (___Q_simulate_exceptions): Update declaration.
19305 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19307 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19308 as unused and give dummy FP_RND_NEAREST initializer.
19309 (__Qp_handle_exceptions): Update declaration.
19310 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19313 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19315 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19316 the temporary FPU control word.
19317 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19318 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19319 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19320 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19321 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19322 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19323 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19324 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19325 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19326 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19329 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19331 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19334 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19336 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19337 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19338 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19339 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19341 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19342 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19345 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19347 * po/h.po: Update from translation team.
19349 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19351 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19353 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19354 handling of denormals.
19355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19356 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19357 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19358 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19364 2012-05-26 Marek Polacek <polacek@redhat.com>
19367 * math/libm-test.inc (fma_test): Don't always expect underflow
19370 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19373 * elf/tst-execstack.c: Include stackinfo.h.
19374 (do_test): Adjust test case to ensure that pthread_getattr_np
19375 behaviour remains the same after marking stack executable.
19377 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19379 * sysdeps/unix/sysv/linux/kernel-features.h
19380 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19381 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19383 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19384 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19385 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19387 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19388 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19390 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19392 * configure.in: Define the default includes to being none.
19393 * configure: Regenerated.
19395 2012-05-25 Roland McGrath <roland@hack.frob.com>
19397 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19398 * sysdeps/x86_64/setjmp.S: Likewise.
19399 * sysdeps/i386/bsd-setjmp.S: Likewise.
19400 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19401 * sysdeps/i386/setjmp.S: Likewise.
19402 * sysdeps/i386/__longjmp.S: Likewise.
19403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19404 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19406 * include/stap-probe.h: New file.
19407 * configure.in: Handle --enable-systemtap.
19408 * configure: Regenerated.
19409 * config.h.in (USE_STAP_PROBE): New #undef.
19410 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19411 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19412 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19414 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19417 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19418 to 2.4.0 where earlier.
19419 * sysdeps/unix/sysv/linux/configure: Regenerated.
19420 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19421 <kernel-features.h>.
19422 [__ASSUME_32BITUIDS]: Make code unconditional.
19423 [!__ASSUME_32BITUIDS]: Remove conditional code.
19424 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19425 <kernel-features.h>.
19426 [__ASSUME_32BITUIDS]: Make code unconditional.
19427 [!__ASSUME_32BITUIDS]: Remove conditional code.
19428 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19429 [__ASSUME_32BITUIDS]: Make code unconditional.
19430 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19431 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19432 <kernel-features.h>.
19433 [__ASSUME_32BITUIDS]: Make code unconditional.
19434 [!__ASSUME_32BITUIDS]: Remove conditional code.
19435 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19436 <kernel-features.h>.
19437 [__ASSUME_32BITUIDS]: Make code unconditional.
19438 [!__ASSUME_32BITUIDS]: Remove conditional code.
19439 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19440 <kernel-features.h>.
19441 [__ASSUME_32BITUIDS]: Make code unconditional.
19442 [!__ASSUME_32BITUIDS]: Remove conditional code.
19443 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19444 <kernel-features.h>.
19445 [__ASSUME_32BITUIDS]: Make code unconditional.
19446 [!__ASSUME_32BITUIDS]: Remove conditional code.
19447 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19448 <kernel-features.h>.
19449 [__ASSUME_32BITUIDS]: Make code unconditional.
19450 [!__ASSUME_32BITUIDS]: Remove conditional code.
19451 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19452 <kernel-features.h>.
19453 [__ASSUME_32BITUIDS]: Make code unconditional.
19454 [!__ASSUME_32BITUIDS]: Remove conditional code.
19455 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19456 <kernel-features.h>.
19457 [__ASSUME_32BITUIDS]: Make code unconditional.
19458 [!__ASSUME_32BITUIDS]: Remove conditional code.
19459 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19460 <kernel-features.h>.
19461 [__ASSUME_32BITUIDS]: Make code unconditional.
19462 [!__ASSUME_32BITUIDS]: Remove conditional code.
19463 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19464 <kernel-features.h>.
19465 [__ASSUME_32BITUIDS]: Make code unconditional.
19466 [!__ASSUME_32BITUIDS]: Remove conditional code.
19467 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19468 <kernel-features.h>.
19469 [__ASSUME_32BITUIDS]: Make code unconditional.
19470 [!__ASSUME_32BITUIDS]: Remove conditional code.
19471 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19472 <kernel-features.h>.
19473 [__NR_setresgid] (__setresgid): Do not declare.
19474 [__ASSUME_32BITUIDS]: Make code unconditional.
19475 [!__ASSUME_32BITUIDS]: Remove conditional code.
19476 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19477 <kernel-features.h>.
19478 [__NR_setresuid] (__setresuid): Do not declare.
19479 [__ASSUME_32BITUIDS]: Make code unconditional.
19480 [!__ASSUME_32BITUIDS]: Remove conditional code.
19481 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19482 <kernel-features.h>.
19483 [__ASSUME_32BITUIDS]: Make code unconditional.
19484 [!__ASSUME_32BITUIDS]: Remove conditional code.
19485 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19486 <kernel-features.h>.
19487 [__ASSUME_32BITUIDS]: Make code unconditional.
19488 [!__ASSUME_32BITUIDS]: Remove conditional code.
19489 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19490 <kernel-features.h>.
19491 [__ASSUME_32BITUIDS]: Make code unconditional.
19492 [!__ASSUME_32BITUIDS]: Remove conditional code.
19493 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19494 <kernel-features.h>.
19495 [__ASSUME_32BITUIDS]: Make code unconditional.
19496 [!__ASSUME_32BITUIDS]: Remove conditional code.
19497 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19498 <kernel-features.h>.
19499 [__ASSUME_32BITUIDS]: Make code unconditional.
19500 [!__ASSUME_32BITUIDS]: Remove conditional code.
19501 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19502 <kernel-features.h>.
19503 [__ASSUME_32BITUIDS]: Make code unconditional.
19504 [!__ASSUME_32BITUIDS]: Remove conditional code.
19505 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19506 <kernel-features.h>.
19507 [__ASSUME_32BITUIDS]: Make code unconditional.
19508 [!__ASSUME_32BITUIDS]: Remove conditional code.
19509 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19510 <kernel-features.h>.
19511 [__ASSUME_32BITUIDS]: Make code unconditional.
19512 [!__ASSUME_32BITUIDS]: Remove conditional code.
19513 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19514 <kernel-features.h>.
19515 [__ASSUME_32BITUIDS]: Make code unconditional.
19516 [!__ASSUME_32BITUIDS]: Remove conditional code.
19517 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19518 <kernel-features.h>.
19519 [__ASSUME_32BITUIDS]: Make code unconditional.
19520 [!__ASSUME_32BITUIDS]: Remove conditional code.
19521 * sysdeps/unix/sysv/linux/kernel-features.h
19522 (__ASSUME_SETRESUID_SYSCALL): Remove.
19523 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19524 (__ASSUME_32BITUIDS): Likewise.
19525 (__ASSUME_LDT_WORKS): Likewise.
19526 (__ASSUME_O_DIRECTORY): Likewise.
19527 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19528 architecture but not kernel version.
19529 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19530 (__ASSUME_MMAP2_SYSCALL): Likewise.
19531 (__ASSUME_STAT64_SYSCALL): Likewise.
19532 (__ASSUME_IPC64): Likewise.
19533 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19534 <kernel-features.h>.
19535 [__ASSUME_32BITUIDS]: Make code unconditional.
19536 [!__ASSUME_32BITUIDS]: Remove conditional code.
19537 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19538 <kernel-features.h>.
19539 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19540 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19541 132096]: Remove conditional code.
19542 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19544 <kernel-features.h>.
19545 [__ASSUME_32BITUIDS]: Make code unconditional.
19546 [!__ASSUME_32BITUIDS]: Remove conditional code.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19548 <kernel-features.h>.
19549 [__ASSUME_32BITUIDS]: Make code unconditional.
19550 [!__ASSUME_32BITUIDS]: Remove conditional code.
19551 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19552 <kernel-features.h>.
19553 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19555 (__setresgid): Do not declare.
19556 [__ASSUME_32BITUIDS]: Make code unconditional.
19557 [!__ASSUME_32BITUIDS]: Remove conditional code.
19558 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19559 <kernel-features.h>.
19560 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19562 (__setresuid): Do not declare.
19563 [__ASSUME_32BITUIDS]: Make code unconditional.
19564 [!__ASSUME_32BITUIDS]: Remove conditional code.
19565 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19566 <kernel-features.h>.
19567 [__ASSUME_32BITUIDS]: Make code unconditional.
19568 [!__ASSUME_32BITUIDS]: Remove conditional code.
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19570 <kernel-features.h>.
19571 [__ASSUME_32BITUIDS]: Make code unconditional.
19572 [!__ASSUME_32BITUIDS]: Remove conditional code.
19574 2012-05-25 Richard Henderson <rth@twiddle.net>
19576 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19577 dl_hwcap to ifunc resolver.
19578 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19580 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19581 dl_hwcap to ifunc resolver.
19582 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19584 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19587 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19588 for |x| <= 2**-26, not 2**-57.
19589 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19592 2012-05-24 Jeff Law <law@redhat.com>
19594 * stdio-common/Makefile (tests): Add bug25.
19595 * stdio-common/bug25.c: New test.
19597 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19600 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19601 multiple of MALLOC_ALIGNMENT in size.
19602 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19604 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19606 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19608 (FILENAME_MAX): Use macro-int-constant.
19609 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19610 (_IOFBF): Use macro-int-constant.
19611 (_IOLBF): Likewise.
19612 (_IONBF): Likewise.
19613 (SEEK_CUR): Likewise.
19614 (SEEK_END): Likewise.
19615 (SEEK_SET): Likewise.
19616 (TMP_MAX): Likewise.
19617 (EOF): Use macro-int-constant. Require < 0.
19618 (NULL): Use macro-constant. Require == 0.
19619 (stdin): Require type to be FILE *.
19620 (stdout): Likewise.
19621 (stderr): Likewise.
19622 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19623 macro-int-constant.
19624 (EXIT_SUCCESS): Likewise.
19625 (NULL): Use macro-constant. Require == 0.
19626 (RAND_MAX): Use macro-int-constant.
19627 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19628 [C99-based standards] (strtof): Require function.
19629 [C99-based standards] (strtold): Likewise.
19630 [C99-based standards] (strtoll): Likewise.
19631 [C99-based standards] (strtoull): Likewise.
19632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19633 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19634 [ISO || ISO99 || ISO11] (math.h): Likewise.
19635 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19636 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19639 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19642 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19643 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19644 * intl/dgettext.c (DCGETTEXT): Likewise.
19645 * intl/gettext.c (DCGETTEXT): Likewise.
19646 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19647 * posix/regex_internal.h (gettext): Likewise.
19648 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19649 Remove declaration.
19650 * include/argz.h (__argz_count_internal)
19651 (__argz_stringify_internal): Remove declaration.
19652 (__argz_count, __argz_stringify): Declare hidden proto.
19653 * intl/dcgettext.c: Remove use of INTDEF.
19654 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19655 * string/argz-stringify.c: Likewise.
19656 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19657 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19658 Declare hidden proto.
19659 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19660 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19661 Declare hidden proto.
19662 * include/stdio.h (__asprintf_internal): Don't declare.
19663 (__asprintf): Don't define as macro. Declare hidden proto.
19664 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19665 (__fsetlocking): Declare hidden proto.
19666 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19667 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19669 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19670 (_IO_setlinebuf): Remove use of INTUSE.
19671 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19672 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19673 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19674 Remove declaration.
19675 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19676 (_IO_do_flush): Remove use of INTUSE.
19677 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19678 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19679 (_IO_adjust_column, _IO_least_wmarker)
19680 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19681 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19682 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19683 (_IO_default_doallocate, _IO_wdefault_doallocate)
19684 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19685 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19686 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19687 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19688 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19689 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19690 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19691 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19692 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19693 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19694 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19695 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19696 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19698 (_IO_flush_all_internal, _IO_adjust_column_internal)
19699 (_IO_default_uflow_internal, _IO_default_finish_internal)
19700 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19701 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19702 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19703 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19704 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19705 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19706 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19707 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19708 (_IO_file_close_internal, _IO_file_close_it_internal)
19709 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19710 (_IO_file_init_internal, _IO_file_attach_internal)
19711 (_IO_file_fopen_internal, _IO_file_read_internal)
19712 (_IO_file_sync_internal, _IO_file_seek_internal)
19713 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19714 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19715 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19716 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19717 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19718 (_IO_list_all_internal, _IO_link_in_internal)
19719 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19720 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19721 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19722 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19723 (_IO_do_write_internal, _IO_padn_internal)
19724 (_IO_getline_info_internal, _IO_getline_internal)
19725 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19726 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19727 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19728 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19729 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19730 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19731 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19732 with libc_hidden_ver, remove use of INTUSE.
19733 * libio/genops.c: Likewise.
19734 * libio/freopen.c: Likewise.
19735 * libio/freopen64.c: Likewise.
19736 * libio/iofclose.c: Likewise.
19737 * libio/iofdopen.c: Likewise.
19738 * libio/iofflush.c: Likewise.
19739 * libio/iofflush_u.c: Likewise.
19740 * libio/iofgets.c: Likewise.
19741 * libio/iofgets_u.c: Likewise.
19742 * libio/iofopen.c: Likewise.
19743 * libio/iofopncook.c: Likewise.
19744 * libio/iofread.c: Likewise.
19745 * libio/iofread_u.c: Likewise.
19746 * libio/ioftell.c: Likewise.
19747 * libio/iofwrite.c: Likewise.
19748 * libio/iogetline.c: Likewise.
19749 * libio/iogets.c: Likewise.
19750 * libio/iogetwline.c: Likewise.
19751 * libio/iopadn.c: Likewise.
19752 * libio/iopopen.c: Likewise.
19753 * libio/ioseekoff.c: Likewise.
19754 * libio/ioseekpos.c: Likewise.
19755 * libio/iosetbuffer.c: Likewise.
19756 * libio/iosetvbuf.c: Likewise.
19757 * libio/ioungetc.c: Likewise.
19758 * libio/ioungetwc.c: Likewise.
19759 * libio/iovdprintf.c: Likewise.
19760 * libio/iovsprintf.c: Likewise.
19761 * libio/iovsscanf.c: Likewise.
19762 * libio/memstream.c: Likewise.
19763 * libio/obprintf.c: Likewise.
19764 * libio/oldfileops.c: Likewise.
19765 * libio/oldiofclose.c: Likewise.
19766 * libio/oldiofdopen.c: Likewise.
19767 * libio/oldiofopen.c: Likewise.
19768 * libio/oldiopopen.c: Likewise.
19769 * libio/oldstdfiles.c: Likewise.
19770 * libio/putc.c: Likewise.
19771 * libio/setbuf.c: Likewise.
19772 * libio/setlinebuf.c: Likewise.
19773 * libio/stdfiles.c: Likewise.
19774 * libio/strops.c: Likewise.
19775 * libio/vasprintf.c: Likewise.
19776 * libio/vscanf.c: Likewise.
19777 * libio/vsnprintf.c: Likewise.
19778 * libio/vswprintf.c: Likewise.
19779 * libio/wfiledoalloc.c: Likewise.
19780 * libio/wfileops.c: Likewise.
19781 * libio/wgenops.c: Likewise.
19782 * libio/wmemstream.c: Likewise.
19783 * libio/wstrops.c: Likewise.
19784 * libio/__fpurge.c: Likewise.
19785 * libio/__fsetlocking.c: Likewise.
19786 * assert/assert.c: Likewise.
19787 * debug/fgets_chk.c: Likewise.
19788 * debug/fgets_u_chk.c: Likewise.
19789 * debug/fread_chk.c: Likewise.
19790 * debug/fread_u_chk.c: Likewise.
19791 * debug/gets_chk.c: Likewise.
19792 * debug/obprintf_chk.c: Likewise.
19793 * debug/vasprintf_chk.c: Likewise.
19794 * debug/vdprintf_chk.c: Likewise.
19795 * debug/vsnprintf_chk.c: Likewise.
19796 * debug/vsprintf_chk.c: Likewise.
19797 * malloc/mtrace.c: Likewise.
19798 * misc/error.c: Likewise.
19799 * misc/syslog.c: Likewise.
19800 * stdio-common/asprintf.c: Likewise.
19801 * stdio-common/fxprintf.c: Likewise.
19802 * stdio-common/getw.c: Likewise.
19803 * stdio-common/isoc99_fscanf.c: Likewise.
19804 * stdio-common/isoc99_scanf.c: Likewise.
19805 * stdio-common/isoc99_vfscanf.c: Likewise.
19806 * stdio-common/isoc99_vscanf.c: Likewise.
19807 * stdio-common/isoc99_vsscanf.c: Likewise.
19808 * stdio-common/printf-prs.c: Likewise.
19809 * stdio-common/printf_fp.c: Likewise.
19810 * stdio-common/printf_fphex.c: Likewise.
19811 * stdio-common/printf_size.c: Likewise.
19812 * stdio-common/putw.c: Likewise.
19813 * stdio-common/scanf.c: Likewise.
19814 * stdio-common/sprintf.c: Likewise.
19815 * stdio-common/tmpfile.c: Likewise.
19816 * stdio-common/vfprintf.c: Likewise.
19817 * stdio-common/vfscanf.c: Likewise.
19818 * stdlib/strfmon_l.c: Likewise.
19819 * sunrpc/openchild.c: Likewise.
19820 * sunrpc/xdr_stdio.c: Likewise.
19821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19822 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19824 2012-05-24 Roland McGrath <roland@hack.frob.com>
19826 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19828 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19829 in the third column, to generate for the shared library an IFUNC
19830 that uses _dl_vdso_vsym.
19831 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19832 * Makeconfig (object-suffixes-noshared): New variable.
19834 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19835 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19836 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19837 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19840 * include/sys/time.h (__gettimeofday): Remove macro.
19841 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19842 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19844 (__gettimeofday): Add libc_hidden_def.
19845 (gettimeofday): Add libc_hidden_weak.
19846 * sysdeps/mach/gettimeofday.c: Likewise.
19847 * sysdeps/posix/gettimeofday.c: Likewise.
19848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19849 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19851 (__gettimeofday_internal): Remove strong_alias.
19852 (__gettimeofday): Add libc_hidden_def.
19853 (gettimeofday): Add libc_hidden_weak.
19854 * sysdeps/unix/syscalls.list (gettimeofday):
19855 Remove __gettimeofday_internal alias.
19857 2012-05-24 Daniel Jacobowitz <drow@false.org>
19858 H.J. Lu <hongjiu.lu@intel.com>
19861 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19862 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19863 (largebin_index_32_big): New.
19864 (largebin_index): Use it for 16-byte alignment.
19865 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19866 correction with front_misalign.
19868 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19896 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19897 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19899 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19903 * math/libm-test.inc (exp_test): Add test from bug 14036.
19904 (pow_test): Add test from bug 10846.
19906 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19908 (special_function): Do not include flags in test name.
19909 (parse_args): Likewise.
19910 * sysdeps/i386/fpu/libm-test-ulps: Update.
19911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19912 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19913 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19916 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19918 * math/libm-test.inc ("Philosophy"): Update comment about
19920 (UNDERFLOW_EXCEPTION): New macro.
19921 (UNDERFLOW_EXCEPTION_OK): Likewise.
19922 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19923 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19924 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19925 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19926 (INVALID_EXCEPTION_OK): Update value.
19927 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19928 (OVERFLOW_EXCEPTION_OK): Likewise.
19929 (IGNORE_ZERO_INF_SIGN): Likewise.
19930 (test_exceptions): Handle underflow exceptions.
19931 (acos_test): Update for underflow exception expectations.
19932 (cexp_test): Likewise.
19933 (clog_test): Likewise.
19934 (clog10_test): Likewise.
19935 (csqrt_test): Likewise.
19936 (ctan_test): Likewise.
19937 (ctanh_test): Likewise.
19938 (exp_test): Likewise.
19939 (exp10_test): Likewise.
19940 (exp2_test): Likewise.
19941 (expm1_test): Likewise.
19942 (fma_test): Likewise.
19943 (j0_test): Likewise.
19944 (jn_test): Likewise.
19945 (nexttoward_test): Likewise.
19946 (pow_test): Likewise.
19947 (scalbn_test): Likewise.
19948 (scalbln_test): Likewise.
19949 (tan_test): Likewise.
19950 (y1_test): Likewise.
19951 * sysdeps/i386/fpu/libm-test-ulps: Update.
19952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954 2012-05-23 David S. Miller <davem@davemloft.net>
19956 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19957 (__libc_sigaction): Remove unused local variables.
19959 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19961 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19963 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19965 mktime: avoid signed integer overflow
19966 * time/mktime.c (__mktime_internal): Do not mishandle the case
19967 where diff == INT_MIN.
19969 mktime: simplify computation of average
19970 * time/mktime.c (ranged_convert): Use new time_t_avg function
19971 instead of rolling our own (probably-slower) code.
19973 mktime: do not assume signed right shift propagates sign bit
19974 * time/mktime.c (isdst_differ): New static function.
19975 (__mktime_internal): No need to normalize tm_isdst now.
19976 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19979 mktime: merge another wrapv change from gnulib
19980 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19981 from some compilers.
19983 mktime: remove incorrect attempt at unusual arithmetics
19984 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19985 The code didn't really work on such machines anyway.
19986 (TYPE_MINIMUM): Assume two's complement.
19987 (twos_complement_arithmetic): Verify that long_int and time_t
19988 are two's complement (or unsigned, in the latter case).
19990 mktime: check signed shifts on long_int and time_t, too
19991 * time/mktime.c (SHR): Check that shifts work as desired
19992 on the types long_int and time_t too, as SHR is used on
19995 mktime: do not assume 'long' is wide enough
19996 * time/mktime.c (verify): Move decl up.
19997 (long_int): New type.
19998 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19999 to remove assumption in the code that 'long' is wide enough to
20000 store year values. This assumption is not true on x32 and on
20001 some non-glibc platforms.
20003 mktime: merge wrapv change from gnulib
20004 * time/mktime.c (WRAPV): New macro.
20005 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20006 (guess_time_tm, __mktime_internal): Do not assume that signed
20007 integer overflow wraps around; modern compilers generate code
20008 where this assumption is no longer valid.
20010 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20012 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20013 Replace "jmp L(pseudo_end)" with "ret".
20014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20017 2012-05-23 Andreas Jaeger <aj@suse.de>
20019 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20020 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20022 2012-05-23 Andreas Jaeger <aj@suse.de>
20023 Maximilian Attems <max@stro.at>
20025 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20028 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20031 code so that pseudo_end is just ret and the stack pointer is
20032 correct also for static library in error case.
20034 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20036 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20037 move to syscalls.list.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20043 * manual/install.texi (Running make install): Do not mention Linux
20044 kernel version for which pt_chown is not needed.
20045 (Linux): Do not mention problems with nscd with 2.0 kernels.
20046 * INSTALL: Regenerated.
20048 2012-05-23 Andreas Jaeger <aj@suse.de>
20050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20051 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20053 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20055 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20057 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20059 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20062 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20063 * sysdeps/unix/sysv/linux/bits/in.h
20064 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20066 2012-05-22 Roland McGrath <roland@hack.frob.com>
20068 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20069 (PREPARE_VERSION): Just use assert instead, it will be elided
20070 under [NDEBUG] anyway.
20072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20074 * sysdeps/unix/sysv/linux/Makefile: Include
20075 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20076 (sysdep_routines): Remove sysctl.
20077 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20078 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20079 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20080 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20081 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20083 2012-05-22 Andreas Jaeger <aj@suse.de>
20085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20086 that pseudo_end is just ret and the stack pointer is correct also
20087 for static library in error case.
20089 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20092 * nss/nsswitch.c (defconfig_entries): New variable.
20093 (__nss_database_lookup): Don't leak defconfig entries.
20094 (nss_parse_service_list): Don't leak on error paths.
20095 (free_database_entries): New function.
20096 (free_defconfig): New function.
20097 (free_mem): Move common code to free_database_entries.
20099 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20103 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20105 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20106 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20109 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20110 (INTERNAL_SYSCALL_TYPES): Likewise.
20111 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20112 (LOAD_REGS_TYPES_[1-6]): Likewise.
20113 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20114 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20116 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20119 copysignl for GLIBC_2_0.
20120 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20121 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20123 logbl for GLIBC_2_0.
20124 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20125 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20127 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20130 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20132 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20135 * time/mktime.c: Update copyright years.
20137 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20139 mktime: merge comment-quoting-style change from gnulib
20140 * time/mktime.c: Quote 'like this' in comments.
20141 The GNU coding standards suggest that we no longer quote `like this',
20142 as "`" and "'" are typically rendered asymmetrically nowadays.
20143 The typical gnulib style is to quote 'like this' when quoting
20144 code, and "like this" when quoting English.
20146 * time/mktime.c (compile-command): Add "-I.".
20148 mktime: merge mktime-internal.h change from gnulib
20149 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20151 mktime: merge time_r change from gnulib
20152 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20154 mktime: merge DEBUG change from gnulib
20155 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20156 case system <time.h> has a #define.
20158 mktime: merge <sys/types.h> change from gnulib
20159 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20160 since <time.t> is now guaranteed to define time_t.
20162 mktime: merge HAVE_CONFIG_H change from gnulib
20163 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20165 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20170 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20172 (struct rusage): Use anonymous union to pad each field to
20175 2012-05-21 David S. Miller <davem@davemloft.net>
20177 * Makefules (o-iterator): Remove .s cases.
20178 (compile-command.s): Delete.
20179 (COMPILE.s): Delete.
20180 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20182 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20184 * configure.in (libc_cv_predef_stack_protector): Only consider
20185 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20186 * configure: Regenerated.
20188 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20191 New macro. Use R*LP on int and pointer.
20192 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20193 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20194 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20195 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20197 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20198 [__WORDSIZE_TIME64_COMPAT32] instead of
20199 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20200 (struct utmp): Likewise.
20201 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20202 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20204 (__WORDSIZE_TIME64_COMPAT32): This.
20205 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20206 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20207 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20208 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20209 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20210 (__WORDSIZE_TIME64_COMPAT32): New macro.
20212 2012-05-21 Andreas Jaeger <aj@suse.de>
20214 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20215 only if [SHARED]. Add prototype for __wcschr_ia32.
20217 2012-05-21 Roland McGrath <roland@hack.frob.com>
20219 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20220 of %rbp unmolested in the jmp_buf while mangling the low bits.
20221 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20222 unmolested high bits of %rbp while demangling the low bits.
20223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20225 2012-05-21 Andreas Jaeger <aj@suse.de>
20227 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20228 * sunrpc/svc_simple.c: Use it for registerrpc.
20229 * sunrpc/xcrypt.c: Use it for passwd2des.
20231 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20233 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20235 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20236 Don't define if [__SYSCALL_WORDSIZE != 32].
20237 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20240 2012-05-21 Bruno Haible <bruno@clisp.org>
20241 Andreas Jaeger <aj@suse.de>
20243 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20244 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20245 inptr and inend for must_buffer_ch.
20246 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20247 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20248 * stdio-common/Makefile (tests): Remove bug15.
20249 (bug15-ENV): Remove macro.
20250 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20253 2012-05-19 Andreas Jaeger <aj@suse.de>
20254 Roland McGrath <roland@hack.frob.com>
20256 * manual/contrib.texi: Completely rewritten. It contains now an
20257 alphabetical list of contributors and their contributions.
20259 2012-05-21 Richard Henderson <rth@twiddle.net>
20261 * misc/getauxval.c (__getauxval): Use unsigned long int.
20262 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20263 (getauxval): Use unsigned long int.
20265 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20267 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20269 2012-05-21 Roland McGrath <roland@hack.frob.com>
20271 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20272 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20273 __alignof__ (long double).
20275 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20279 2012-05-20 Richard Henderson <rth@twiddle.net>
20281 * misc/getauxval.c: New file.
20282 * misc/sys/auxv.h: New file.
20283 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20284 (routines): Add getauxval.
20285 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20286 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20287 * elf/dl-sysdep.c (_dl_auxv): Remove.
20288 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20289 * elf/dl-support.c (_dl_auxv): New variable.
20290 (_dl_aux_init): Initialize it.
20291 * manual/startup.texi (Auxiliary Vector): New node.
20292 * sysdeps/generic/bits/hwcap.h: New file.
20293 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20294 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20295 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20296 * sysdeps/sparc/sysdep.h: ... here. Include it.
20297 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20310 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20314 2012-05-19 David S. Miller <davem@davemloft.net>
20316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20318 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20321 * math/s_ccosh.c: Include <float.h>
20322 (__ccosh): Avoid internal overflow calculating sinh and cosh
20323 values before multiplying by sin and cos values.
20324 * math/s_ccoshf.c: Likewise.
20325 * math/s_ccoshl.c: Likewise.
20326 * math/s_csin.c: Likewise.
20327 * math/s_csinf.c: Likewise.
20328 * math/s_csinl.c: Likewise.
20329 * math/s_csinh.c: Likewise.
20330 * math/s_csinhf.c: Likewise.
20331 * math/s_csinhl.c: Likewise.
20332 * math/libm-test.inc (ccos_test): Add more tests.
20333 (ccosh_test): Likewise.
20334 (csin_test): Likewise.
20335 (csinh_test): Likewise.
20336 * sysdeps/i386/fpu/libm-test-ulps: Update.
20337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20339 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20341 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20342 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20344 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20346 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20348 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20349 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20350 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20351 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20352 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20353 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20354 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20355 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20356 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20357 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20358 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20359 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20360 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20361 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20362 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20363 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20364 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20365 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20366 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20367 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20368 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20369 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20370 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20371 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20372 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20373 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20374 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20375 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20376 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20377 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20378 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20380 2012-05-18 Andreas Jaeger <aj@suse.de>
20382 * csu/.gitignore: Delete.
20384 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20386 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20387 (timex): Use __syscall_slong_t.
20389 2012-05-18 Andreas Jaeger <aj@suse.de>
20390 Carlos O'Donell <carlos_odonell@mentor.com>
20392 * manual/install.texi (Configuring and compiling): Update
20393 description about files modified in the source directory.
20394 * INSTALL: Regenerated.
20396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20398 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20399 value. Use "or" to set return value to -1.
20400 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20401 negate return value.
20403 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20405 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20406 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20407 failure if the compiler has Graphite support disabled.
20408 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20410 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20411 CFLAGS-memmove.c): Likewise.
20412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20415 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20417 * sysdeps/x86_64/x32/_itoa.h: New file.
20419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20420 getdents system call only if kernel and user dirents have the
20421 same d_ino and d_off.
20423 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20424 LLONG_MAX != LONG_MAX.
20425 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20426 (_fitoa_word): Likewise.
20428 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20431 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20434 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20435 include <bits/wordsize.h>. Check __x86_64__ instead of
20437 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20438 if __x86_64__ is defined. Use anonymous union on fpstate.
20440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20443 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20445 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20446 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20447 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20448 Refer to _rtld_local_ro instead of _rtld_global_ro.
20449 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20451 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20453 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20455 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20456 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20457 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20459 * sysdeps/powerpc/powerpc32/dl-machine.c
20460 (__elf_machine_runtime_setup) [PROF]: Don't reference
20463 2012-05-18 Andreas Jaeger <aj@suse.de>
20465 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20466 function only available for GCCs before 3.4 since GCC 3.4
20467 introduced a builtin.
20469 (llrintf): Likewise.
20470 (llrint): Likewise.
20477 (nearbyint): Likewise.
20478 (nearbyintf): Likewise.
20482 (floorf): Likewise.
20484 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20486 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20487 on both fields and cast pointer to __syscall_ulong_t.
20489 * bits/types.h (__fsword_t): New type.
20490 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20491 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20493 (__FSWORD_T_TYPE): Likewise.
20494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20495 (__FSWORD_T_TYPE): Likewise.
20496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20497 (__FSWORD_T_TYPE): Likewise.
20498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20499 (__FSWORD_T_TYPE): Likewise.
20500 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20501 __SWORD_TYPE with __fsword_t.
20502 (statfs64): Likewise.
20504 2012-05-17 David S. Miller <davem@davemloft.net>
20506 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20508 2012-05-17 Andreas Jaeger <aj@suse.de>
20510 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20513 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20515 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20517 2012-05-17 Andreas Jaeger <aj@suse.de>
20519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20522 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20524 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20526 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20528 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20529 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20531 2012-05-17 Andreas Jaeger <aj@suse.de>
20532 Carlos O'Donell <carlos_odonell@mentor.com>
20535 * sysdeps/x86_64/multiarch/init-arch.h
20536 (bit_YMM_Usable): Rename to...
20537 (bit_AVX_Usable): ... this.
20538 (bit_FMA4_Usable): New macro.
20539 (bit_XMM_state): New macro.
20540 (bit_YMM_state): New macro.
20541 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20542 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20543 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20544 (CPUID_OSXSAVE): New macro.
20545 (CPUID_AVX): New macro.
20546 (CPUID_FMA4): New macro.
20547 (index_YMM_Usable): Rename to...
20548 (index_AVX_Usable): ... this.
20549 (HAS_AVX): Use HAS_ARCH_FEATURE.
20550 (HAS_FMA4): Likewise.
20551 (HAS_YMM_USABLE): Remove.
20552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20553 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20555 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20556 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20557 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20558 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20559 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20561 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20563 * math/libm-test.c: Support platforms without multiple rounding modes.
20564 * math/bug-nextafter.c: Support platforms without FP exceptions.
20565 * math/bug-nexttoward.c: Likewise.
20566 * math/test-fenv.c: Likewise.
20567 * math/test-misc.c: Likewise.
20568 * stdlib/bug-getcontext.c: Likewise.
20570 2012-05-17 Andreas Jaeger <aj@suse.de>
20572 * manual/examples/search.c (critter_cmp): Change signature to
20574 * manual/string.texi (Collation Functions): Likewise.
20576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20578 * bits/types.h: Fold copyright years.
20579 * bits/typesizes.h: Likewise.
20580 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20584 * time/time.h: Likewise.
20586 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20589 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20590 in instead of returning them. Return void.
20591 (__libc_mallinfo): Accumulate over all arenas.
20592 (__malloc_stats): Adjust for change in int_mallinfo interface.
20594 2012-05-16 Roland McGrath <roland@hack.frob.com>
20597 * configure.in (NM): Add AC_CHECK_TOOL for it.
20598 (libc_extra_cflags): New substituted variable.
20599 Check for -fstack-protector being used implicitly.
20600 * configure: Regenerated.
20601 * config.make.in (config-extra-cflags): New variable,
20602 gets @libc_extra_cflags@.
20603 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20606 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20607 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20608 * configure: Regenerated.
20609 * config.make.in (CPPUNDEFS): New substituted variable.
20610 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20611 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20612 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20614 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20616 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20617 (mq_attr): Use __syscall_slong_t.
20619 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20621 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20622 Check __x86_64__ instead of __WORDSIZE.
20623 (_STAT_VER_LINUX): Likewise.
20624 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20625 __syscall_ulong_t and __syscall_slong_t.
20626 (stat64): Likewise.
20628 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20632 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20634 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20636 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20638 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20642 include <bits/wordsize.h>. Check __x86_64__ instead of
20644 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20646 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20649 include <bits/wordsize.h>. Check __x86_64__ instead of
20651 (user_regs_struct): Use "__extension__ unsigned long long"
20652 instead of "unsigned long" if __x86_64__ is defined.
20653 (user): Likewise. Pad after pointer field if __ILP32__ is
20656 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20658 * configure.in (makeinfo): Require version 4.5 or later. Allow
20660 * configure: Regenerated.
20661 * manual/install.texi (texinfo): Increase version requirement to
20663 * INSTALL: Regenerated.
20665 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20669 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20671 * sysdeps/x86_64/x32/ffs.c: New file.
20673 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20675 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20676 defined. Use __syscall_ulong_t.
20677 (shminfo): Use __syscall_ulong_t.
20678 (shm_info): Likewise.
20680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20683 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20685 (msgqnum_t): Use __syscall_ulong_t.
20686 (msglen_t): Likewise.
20687 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20690 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20691 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20693 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20695 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20696 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20698 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20702 include <bits/wordsize.h>. Check __x86_64__ instead of
20705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20706 "unsigned long long int" if __x86_64__ is defined.
20707 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20710 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20711 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20713 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20715 (GET_PC): Cast to uintptr_t first.
20716 (GET_FRAME): Likewise.
20717 (GET_STACK): Likewise.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20722 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20726 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20728 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20730 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20733 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20735 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20739 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20741 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20743 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20745 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20749 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20751 * Makerules (+depfiles): Also collect depfiles from .oS in
20753 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20754 .oS, $(libnldbl-routines)).
20756 * Makerules (native-compile-mkdep-flags): Define.
20757 * sunrpc/Makefile (extra-objs): Add $(addprefix
20758 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20759 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20760 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20761 calling $(make-target-directory).
20763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20765 * bits/types.h (__snseconds_t): Removed.
20766 * time/time.h (struct timespec): Replace __snseconds_t with
20768 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20769 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20772 (__SNSECONDS_T_TYPE): Likewise.
20773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20774 (__SNSECONDS_T_TYPE): Likewise.
20775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20776 (__SNSECONDS_T_TYPE): Likewise.
20778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20780 * sysdeps/mach/hurd/bits/typesizes.h
20781 (__SYSCALL_SLONG_TYPE): New macro.
20782 (__SYSCALL_ULONG_TYPE): Likewise.
20784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20786 * bits/types.h (__syscall_slong_t): New type.
20787 (__syscall_ulong_t): Likewise.
20789 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20790 (__SYSCALL_ULONG_TYPE): Likewise.
20791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20792 (__SYSCALL_SLONG_TYPE): Likewise.
20793 (__SYSCALL_ULONG_TYPE): Likewise.
20794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20795 (__SYSCALL_SLONG_TYPE): Likewise.
20796 (__SYSCALL_ULONG_TYPE): Likewise.
20797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20798 (__SYSCALL_SLONG_TYPE): Likewise.
20799 (__SYSCALL_ULONG_TYPE): Likewise.
20801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20803 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20804 Add sigaltstack-offsets.sym.
20805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20806 <sigaltstack-offsets.h>.
20807 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20808 longjmp_msg pointer.
20809 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20810 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20812 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20814 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20816 * elf/stackguard-macros.h: Remove file.
20817 * sysdeps/generic/stackguard-macros.h: New file.
20818 * sysdeps/i386/stackguard-macros.h: Likewise.
20819 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20820 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20821 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20822 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20823 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20824 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20825 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20826 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20827 <elf/stackguard-macros.h>.
20830 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20831 __aligned__ in attribute.
20832 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20833 (gregset_t): Likewise.
20835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20837 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20838 * sysdeps/x86_64/64/Implies-after: Here. New file.
20839 * sysdeps/x86_64/x32/Implies-after: New file.
20841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20843 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20844 and access return value for _dl_profile_fixup. Use R10_LP to
20847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20849 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20853 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20854 * sysdeps/x86_64/x32/sysdep.h: New file.
20856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20858 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20859 * sysdeps/x86_64/setjmp.S: Likewise.
20861 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20863 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20864 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20865 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20866 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20867 remove unused global constant.
20869 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20871 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20872 include of <not-cancel.h>.
20874 2012-05-15 Roland McGrath <roland@hack.frob.com>
20876 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20878 2012-05-15 Jeff Law <law@redhat.com>
20879 Andreas Jaeger <aj@suse.de>
20882 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20884 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20885 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20886 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20887 code changing __hst_map_handle.map.
20889 2012-05-15 Roland McGrath <roland@hack.frob.com>
20891 * configure.in (sysnames): Look for Implies-before and Implies-after
20893 * configure: Regenerated.
20895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20897 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20898 8-byte data alignment with LP_SIZE alignment.
20900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20902 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20907 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20911 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20912 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20919 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20920 (stackinfo_sub_sp): Likewise.
20922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20924 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20929 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20939 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20943 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20944 into R11_LP and load __x86_64_shared_cache_size_half into
20947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20952 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20961 powerpc32/power7/fpu/s_logb.c via #include.
20962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20963 powerpc32/power7/fpu/s_logbf.c via #include.
20964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20965 powerpc32/power7/fpu/s_logbl.c via #include.
20967 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20969 * README.libm: Remove file.
20971 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20973 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20974 count for x32. Use R*_LP and omit operand-size suffix.
20976 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20978 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20979 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20980 * sysdeps/x86_64/x32/shlib-versions: New file.
20982 2012-05-14 Roland McGrath <roland@hack.frob.com>
20984 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20985 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20986 Use _dl_fatal_printf instead.
20988 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20990 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20991 set if not set by the user. Do not allow for being unset.
20992 * sysdeps/unix/sysv/linux/configure: Regenerated.
20994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20996 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20997 the `q' suffix from lea and replace .quad with ASM_ADDR.
20999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21002 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21004 (PTR_DEMANGLE): Likewise.
21006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21008 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21010 (ASM_ADDR): Likewise.
21011 (RAX_LP): Likewise.
21012 (RBP_LP): Likewise.
21013 (RBX_LP): Likewise.
21014 (RCX_LP): Likewise.
21015 (RDI_LP): Likewise.
21016 (RSI_LP): Likewise.
21017 (RSP_LP): Likewise.
21020 (R10_LP): Likewise.
21021 (R10_LP): Likewise.
21022 (R11_LP): Likewise.
21023 (R12_LP): Likewise.
21024 (R13_LP): Likewise.
21025 (R14_LP): Likewise.
21026 (R15_LP): Likewise.
21028 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21030 * sysdeps/x86_64/x32/dl-machine.h: New file.
21032 2012-05-14 Andreas Jaeger <aj@suse.de>
21034 * manual/Makefile (subdir): Remove export of subdir.
21035 (all): Remove target.
21036 (.PHONY): Remove all from list.
21037 (mkinstalldirs): Remove.
21038 (.PHONY): Remove installdirs from list.
21039 ($(inst_infodir)/libc.info): Use make-target-directory.
21040 (installdirs): Remove.
21041 (subdir_%): Remove.
21042 (glibc-targets): Remove.
21045 ($(objpfx)stubs ../po/manual.pot): Remove.
21046 ($(objpfx)stamp%): Remove.
21047 (make-target-directory): Remove.
21048 (subdir_install): Remove.
21049 (routines): Remove.
21056 * manual/.gitignore: Remove, it's not needed anymore.
21057 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21059 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21061 (texis): Renamed to $(objpfx)texis.
21062 (texis-path): New, contains path to generated files.
21063 (chapters.%): Use texis-path for complete path, add extra argument
21065 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21066 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21067 (summary,texi, stamp-summary): Use complete path of
21068 files. Generate files in build dir.
21069 (dir-add.texi): Build in build dir.
21070 (libm-err.texi,stamp-libm-err): Likewise.
21071 (version.texi, stamp-version): Likewise.
21072 (.%c.texi): Likewise.
21073 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21074 (mostlyclean): Remove target.
21075 (realclean): Remove target.
21076 (generated): Add new variable with contents from mostlyclean and
21077 realclean, remove entries duplicated in common-mostlyclean, add
21078 stamp-libm-err and stamp-version.
21079 (generated-dirs): Add libc directory.
21080 ($(inst_infodir)/libc.info): Install files from build dir.
21082 * manual/install.texi (Configuring and compiling): Adjust since
21083 the info files are not part of the tar ball anymore.
21085 2012-05-14 Andreas Jaeger <aj@suse.de>
21087 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21090 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21094 to 2.2.0 where earlier.
21095 * sysdeps/unix/sysv/linux/configure: Regenerated.
21096 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21097 Remove conditional code.
21098 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21099 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21100 Remove conditional code.
21101 [!__NR_lchown]: Likewise.
21102 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21103 [__NR_lchown]: Likewise.
21104 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21105 comment referencing __ASSUME_LCHOWN_SYSCALL.
21106 * sysdeps/unix/sysv/linux/i386/sigaction.c
21107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21109 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21110 Remove conditional code.
21111 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21112 (__protocol_available): Remove #if 0 code.
21113 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21115 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21116 * sysdeps/unix/sysv/linux/kernel-features.h
21117 (__ASSUME_GETCWD_SYSCALL): Don't define.
21118 (__ASSUME_REALTIME_SIGNALS): Likewise.
21119 (__ASSUME_PREAD_SYSCALL): Likewise.
21120 (__ASSUME_PWRITE_SYSCALL): Likewise.
21121 (__ASSUME_POLL_SYSCALL): Likewise.
21122 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21123 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21125 (__ASSUME_SIOCGIFNAME): Don't define.
21126 (__ASSUME_MSG_NOSIGNAL): Likewise.
21127 (__ASSUME_SENDFILE): Define unconditionally.
21128 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21129 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21131 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21132 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21133 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21134 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21135 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21136 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21137 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21162 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21163 Remove conditional code.
21164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21165 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21166 Remove conditional code.
21167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21168 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21169 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21170 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21171 Remove conditional code.
21172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21173 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21174 Remove conditional code.
21175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21176 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21177 Remove conditional code.
21178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21179 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21180 Remove conditional code.
21181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21182 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21183 Remove conditional code.
21184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21185 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21188 * sysdeps/unix/sysv/linux/sigaction.c
21189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21191 * sysdeps/unix/sysv/linux/sigpending.c
21192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21194 * sysdeps/unix/sysv/linux/sigprocmask.c
21195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21197 * sysdeps/unix/sysv/linux/sigsuspend.c
21198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21200 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21201 (__libc_missing_rt_sigs): Remove.
21202 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21203 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21204 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21205 Remove conditional code.
21206 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21207 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21210 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21212 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21214 2012-05-14 Andreas Jaeger <aj@suse.de>
21216 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21217 it's not used in glibc.
21218 (__coshm1): Likewise.
21219 (__acosh1p): Likewise.
21222 * manual/string.texi (Copying and Concatenation): Add missing
21223 variable in concat example.
21224 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21230 __builtin_clzl with __builtin_clzll.
21232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21235 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21238 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21240 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21241 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21242 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21243 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21245 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21247 * NEWS: Update ia64 info.
21249 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21251 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21254 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21256 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21257 * sysdeps/unix/syscalls.list (dup3): Likewise.
21258 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21259 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21261 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21263 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21264 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21266 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21268 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21270 (TLS_IE): Use mov/add instead of movq/addq to load thread
21272 (TLS_GD_PREFIX): New.
21275 2012-05-11 David S. Miller <davem@davemloft.net>
21277 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21278 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21279 (_FPU_SETCW): Likewise.
21281 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21283 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21284 is 32-byte aligned.
21286 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21289 * iconvdata/gb18030.c: Update tables.
21290 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21291 characters specially.
21292 (BODY for TO_LOOP): Add encoding of missing ranges.
21294 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21297 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21298 * sysdeps/mach/hurd/dup3.c: Likewise.
21299 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21300 * sysdeps/powerpc/memmove.c:: Likewise.
21302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21305 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21307 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21309 * elf/elf.h (R_X86_64_RELATIVE64): New.
21310 (R_X86_64_NUM): Updated.
21311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21312 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21313 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21314 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21315 tst-quad1pie tst-quad2pie
21316 (modules-names): Add tst-quadmod1 tst-quadmod2.
21317 ($(objpfx)tst-quad1): New dependency.
21318 ($(objpfx)tst-quad2): Likewise.
21319 ($(objpfx)tst-quad1pie): Likewise.
21320 ($(objpfx)tst-quad2pie): Likewise.
21321 * sysdeps/x86_64/tst-quad1.c: New file.
21322 * sysdeps/x86_64/tst-quad1pie.c: New file.
21323 * sysdeps/x86_64/tst-quad2.c: Likewise.
21324 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21325 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21326 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21327 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21328 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21330 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21332 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21333 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21334 * streams/stropts.h (t_scalar_t): Define type.
21336 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21337 (_PATH_PRESERVE): Set to "/var/lib".
21338 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21340 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21343 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21344 if __dir_mkfile succeeded.
21346 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21347 checking for _hurd_dtablesize. Unlock it right after having
21348 finished _hurd_dtable allocation.
21350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21352 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21353 * sysdeps/mach/hurd/configure: Regenerated.
21354 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21355 special-casing to...
21356 * sysdeps/gnu/configure.in: ... this new file.
21357 * sysdeps/unix/sysv/linux/configure: Regenerated.
21358 * sysdeps/gnu/configure: New generated file.
21360 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21361 for Linux: use nsec instead of usec, as well as:
21362 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21363 members of type struct timespec.
21364 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21366 (struct stat64): Likewise.
21367 (_STATBUF_ST_NSEC): New macro.
21368 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21370 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21371 __strtoul_internal rather than strtoul.
21373 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21375 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21380 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21381 which preserves existing values.
21382 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21384 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21386 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21387 TIMEOUT values. Return EINVAL for NFDS values either negative or
21388 greater than FD_SETSIZE.
21390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21392 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21393 allocated, call __vm_protect to finish enabling the existing space, and
21394 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21395 allocate the remainder.
21397 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21399 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21400 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21404 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21405 sysdeps/mach/hurd/readlink.c.
21407 * posix/tst-sysconf.c (posix_options): Only use
21408 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21409 _POSIX_SYNCHRONIZED_IO when they are defined
21410 * sysdeps/mach/hurd/bits/posix_opt.h:
21411 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21412 (_XOPEN_REALTIME): Undefine macro.
21413 (_XOPEN_REALTIME_THREADS): Undefine macro.
21414 (_XOPEN_SHM): Undefine macro.
21415 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21417 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21419 (_POSIX_ASYNC_IO): Undefine macro.
21420 (_POSIX_PRIORITIZED_IO): Undefine macro.
21421 (_POSIX_SPIN_LOCKS): Define macro to -1.
21423 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21424 SA_NODEFER, SA_RESETHAND.
21425 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21426 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21431 * elf/Makefile (pldd-modules): Define unconditionally.
21433 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21435 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21439 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21440 Return ENOENT when name is empty.
21441 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21445 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21447 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21451 Fix mlock in all cases except non-readable pages.
21452 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21453 instead of VM_PROT_ALL as parameter to __vm_wire function.
21455 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21456 (__mkdir): When path is `/', just fail with EEXIST.
21457 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21461 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21462 <sys/uio.h> (for writev).
21463 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21464 and <sys/param.h> (for MIN).
21466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21468 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21469 REQUESTED_TIME. Properly set the remaining time and return EINTR
21472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21474 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21475 Depend on against $(link-rpcuserlibs).
21477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21479 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21480 (__libc_stack_end): Do not use attribute_relro.
21481 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21482 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21483 to libthread-provided value.
21484 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21487 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21490 * bits/libc-lock.h (__libc_once_get): New macro.
21491 * sysdeps/mach/bits/libc-lock.h: Likewise.
21492 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21494 instead of using implementation details.
21496 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21497 * libio/freopen.c: Likewise.
21498 * libio/freopen64.c: Likewise.
21499 * misc/syslog.c: Likewise.
21500 * nscd/connections.c: Likewise.
21501 * nscd/netgroupcache.c: Likewise.
21502 * sysdeps/posix/getcwd.c: Likewise.
21504 2012-05-10 Roland McGrath <roland@hack.frob.com>
21506 * math/w_ilogbf.c: Add #include <limits.h>.
21508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21510 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21511 path instead of returning without unlocking.
21513 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21514 immediate-write ioctls.
21515 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21517 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21519 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21520 __builtin_frame_address instead of making assumptions about the
21521 location of the return address relative to DATA. Force early load of
21522 the return address.
21523 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21524 __builtin_frame_address.
21527 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21528 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21529 implement dup3 and do some further code clean-ups.
21530 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21531 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21535 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21537 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21538 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21539 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21540 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21541 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21544 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21545 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21546 when handler == SIG_ERR, not when handler != SIG_ERR.
21548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21550 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21551 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21554 accept4 for GNU Hurd.
21555 * include/sys/socket.h (__libc_accept4): New prototype.
21556 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21557 to implement __libc_accept4.
21558 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21560 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21562 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21563 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21564 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21565 signal-defines.sym.
21567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21569 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21573 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21574 assertion on O_CLOEXEC flag.
21575 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21576 * hurd/intern-fd.c: Likewise.
21577 * hurd/port2fd.c: Likewise.
21579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21582 * bits/in.h (IPV6_PKTINFO): Define new macro.
21583 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21585 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21590 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21592 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21595 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21596 * math/libm-test.inc (logb_test) : Additional logb tests.
21598 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21599 Andreas Jaeger <aj@suse.de>
21601 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21602 * configure: Regenerated.
21603 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21604 * config.make.in (link-obsolete-rpc): New substituted variable.
21605 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21606 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21607 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21608 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21609 so that libc.a contains the symbols.
21610 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21611 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21612 * sunrpc/auth_none.c: Likewise.
21613 * sunrpc/auth_unix.c: Likewise.
21614 * sunrpc/authdes_prot.c: Likewise.
21615 * sunrpc/authuxprot.c: Likewise.
21616 * sunrpc/clnt_gen.c: Likewise.
21617 * sunrpc/clnt_perr.c: Likewise.
21618 * sunrpc/clnt_raw.c: Likewise.
21619 * sunrpc/clnt_simp.c: Likewise.
21620 * sunrpc/clnt_tcp.c: Likewise.
21621 * sunrpc/clnt_udp.c: Likewise.
21622 * sunrpc/clnt_unix.c: Likewise.
21623 * sunrpc/des_crypt.c: Likewise.
21624 * sunrpc/des_soft.c: Likewise.
21625 * sunrpc/get_myaddr.c: Likewise.
21626 * sunrpc/key_call.c: Likewise.
21627 * sunrpc/key_prot.c: Likewise.
21628 * sunrpc/netname.c: Likewise.
21629 * sunrpc/pm_getmaps.c: Likewise.
21630 * sunrpc/pm_getport.c: Likewise.
21631 * sunrpc/pmap_clnt.c: Likewise.
21632 * sunrpc/pmap_prot.c: Likewise.
21633 * sunrpc/pmap_prot2.c: Likewise.
21634 * sunrpc/pmap_rmt.c: Likewise.
21635 * sunrpc/publickey.c: Likewise.
21636 * sunrpc/rpc_cmsg.c: Likewise.
21637 * sunrpc/rpc_common.c: Likewise.
21638 * sunrpc/rpc_dtable.c: Likewise.
21639 * sunrpc/rpc_prot.c: Likewise.
21640 * sunrpc/rpc_thread.c: Likewise.
21641 * sunrpc/rtime.c: Likewise.
21642 * sunrpc/svc.c: Likewise.
21643 * sunrpc/svc_auth.c: Likewise.
21644 * sunrpc/svc_raw.c: Likewise.
21645 * sunrpc/svc_run.c: Likewise.
21646 * sunrpc/svc_tcp.c: Likewise.
21647 * sunrpc/svc_udp.c: Likewise.
21648 * sunrpc/svc_unix.c: Likewise.
21649 * sunrpc/svcauth_des.c: Likewise.
21650 * sunrpc/xcrypt.c: Likewise.
21651 * sunrpc/xdr.c: Likewise.
21652 * sunrpc/xdr_array.c: Likewise.
21653 * sunrpc/xdr_float.c: Likewise.
21654 * sunrpc/xdr_intXX_t.c: Likewise.
21655 * sunrpc/xdr_mem.c: Likewise.
21656 * sunrpc/xdr_rec.c: Likewise.
21657 * sunrpc/xdr_ref.c: Likewise.
21658 * sunrpc/xdr_sizeof.c: Likewise.
21659 * sunrpc/xdr_stdio.c: Likewise.
21661 2012-05-10 Roland McGrath <roland@hack.frob.com>
21663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21664 change. Update copyright years.
21666 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21668 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21670 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21671 Joseph Myers <joseph@codesourcery.com>
21672 Paul Pluzhnikov <ppluzhnikov@google.com>
21675 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21677 [cross-compiling] (extra-libs): Likewise.
21678 [cross-compiling] (extra-libs-others): Likewise.
21679 [cross-compiling] (librpcsvc-routines): Likewise.
21680 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21681 [cross-compiling] (omit-deps): Likewise.
21682 (sunrpc-CPPFLAGS): New variable.
21683 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21684 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21685 (cross-rpcgen-objs): New variable.
21686 (extra-objs): Append $(cross-rpcgen-objs).
21687 ($(cross-rpcgen-objs)): New rule.
21688 ($(objpfx)cross-rpcgen): Likewise.
21689 (rpcgen-cmd): Define to use $(built-program-file). Expand
21691 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21692 ($(objpfx)x%.stmp): Likewise.
21693 * sunrpc/proto.h [IS_IN_build] (_): Define.
21694 [IS_IN_build] (_libc_intl_domainname): Likewise.
21696 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21699 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21700 and R_X86_64_TPOFF64.
21702 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21704 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21705 sysdeps/unix/sysv/syscalls.list.
21708 * sysdeps/unix/sysv/syscalls.list: Remove file.
21710 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21713 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21714 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21715 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21716 (__LC_IDENTIFICATION): Make these macros useful in #if
21717 expressions, as required by C99.
21719 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21721 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21722 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21725 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21727 * stdlib/longlong.h: Updated from GCC.
21729 2012-05-09 Andreas Jaeger <aj@suse.de>
21731 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21732 default is first entry.
21733 (run_mode): Set type.
21734 (main): Remove informal message about syslog.
21735 (options): Fix typo.
21738 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21741 (llrintf): Likewise.
21742 (llrint): Likewise.
21745 (nearbyint): Likewise.
21746 (nearbyintf): Likewise.
21748 2012-05-09 Andreas Jaeger <aj@suse.de>
21749 Pedro Alves <palves@redhat.com>
21751 * nscd/nscd.c (run_mode): Use enum.
21752 (main): Cleanup coding style issue.
21754 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21755 Andreas Jaeger <aj@suse.de>
21757 * nscd/nscd.c (go_background): Replaced with...
21758 (run_mode): ... this.
21759 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21760 (options): Add -F --foreground.
21761 (main): Implement it.
21762 (parse_opt): Parse it.
21764 2012-05-09 Andreas Jaeger <aj@suse.de>
21767 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21768 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21769 -Wconversion warning.
21770 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21773 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21775 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21777 (LC_ALL): Use macro-int-constant.
21778 (LC_COLLATE): Likewise.
21779 (LC_CTYPE): Likewise.
21780 (LC_MESSAGES): Likewise.
21781 (LC_MONETARY): Likewise.
21782 (LC_NUMERIC): Likewise.
21783 (LC_TIME): Likewise.
21784 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21785 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21787 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21789 [C99-based standards] (float_t): Expect type.
21790 [C99-based standards] (double_t): Expect type.
21791 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21793 [C99-based standards] (HUGE_VALL): Likewise.
21794 [C99-based standards] (INFINITY): Likewise.
21795 [C99-based standards] (NAN): Likewise.
21796 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21797 [C99-based standards] (FP_NAN): Likewise.
21798 [C99-based standards] (FP_NORMAL): Likewise.
21799 [C99-based standards] (FP_SUBNORMAL): Likewise.
21800 [C99-based standards] (FP_ZERO): Likewise.
21801 [C99-based standards] (FP_FAST_FMA): Use
21802 optional-macro-int-constant. Specify type. Require == 1.
21803 [C99-based standards] (FP_FAST_FMAF): Likewise.
21804 [C99-based standards] (FP_FAST_FMAL): Likewise.
21805 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21806 [C99-based standards] (FP_ILOGBNAN): Likewise.
21807 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21809 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21810 [C99-based standards] (math_errhandling): Specify type.
21811 [ISO99 || ISO11] (signgam): Do not allow.
21812 [non-C99-based standards] (copysignf): Do not allow.
21813 [non-C99-based standards] (exp2f): Likewise.
21814 [non-C99-based standards] (log2f): Likewise.
21815 [non-C99-based standards] (modff): Allow.
21816 [non-C99-based standards] (erff): Do not allow.
21817 [non-C99-based standards] (erfcf): Likewise.
21818 [non-C99-based standards] (gammaf): Likewise.
21819 [non-C99-based standards] (hypotf): Likewise.
21820 [non-C99-based standards] (j0f): Likewise.
21821 [non-C99-based standards] (j1f): Likewise.
21822 [non-C99-based standards] (jnf): Likewise.
21823 [non-C99-based standards] (lgammaf): Likewise.
21824 [non-C99-based standards] (tgammaf): Likewise.
21825 [non-C99-based standards] (y0f): Likewise.
21826 [non-C99-based standards] (y1f): Likewise.
21827 [non-C99-based standards] (ynf): Likewise.
21828 [non-C99-based standards] (isnanf): Likewise.
21829 [non-C99-based standards] (acoshf): Likewise.
21830 [non-C99-based standards] (asinhf): Likewise.
21831 [non-C99-based standards] (atanhf): Likewise.
21832 [non-C99-based standards] (cbrtf): Likewise.
21833 [non-C99-based standards] (expm1f): Likewise.
21834 [non-C99-based standards] (ilogbf): Likewise.
21835 [non-C99-based standards] (log1pf): Likewise.
21836 [non-C99-based standards] (logbf): Likewise.
21837 [non-C99-based standards] (nextafterf): Likewise.
21838 [non-C99-based standards] (remainderf): Likewise.
21839 [non-C99-based standards] (rintf): Likewise.
21840 [non-C99-based standards] (scalbf): Likewise.
21841 [non-C99-based standards] (copysignl): Likewise.
21842 [non-C99-based standards] (exp2l): Likewise.
21843 [non-C99-based standards] (log2l): Likewise.
21844 [non-C99-based standards] (modfl): Allow.
21845 [non-C99-based standards] (erfl): Do not allow.
21846 [non-C99-based standards] (erfcl): Likewise.
21847 [non-C99-based standards] (gammal): Likewise.
21848 [non-C99-based standards] (hypotl): Likewise.
21849 [non-C99-based standards] (j0l): Likewise.
21850 [non-C99-based standards] (j1l): Likewise.
21851 [non-C99-based standards] (jnl): Likewise.
21852 [non-C99-based standards] (lgammal): Likewise.
21853 [non-C99-based standards] (tgammal): Likewise.
21854 [non-C99-based standards] (y0l): Likewise.
21855 [non-C99-based standards] (y1l): Likewise.
21856 [non-C99-based standards] (ynl): Likewise.
21857 [non-C99-based standards] (isnanl): Likewise.
21858 [non-C99-based standards] (acoshl): Likewise.
21859 [non-C99-based standards] (asinhl): Likewise.
21860 [non-C99-based standards] (atanhl): Likewise.
21861 [non-C99-based standards] (cbrtl): Likewise.
21862 [non-C99-based standards] (expm1l): Likewise.
21863 [non-C99-based standards] (ilogbl): Likewise.
21864 [non-C99-based standards] (log1pl): Likewise.
21865 [non-C99-based standards] (logbl): Likewise.
21866 [non-C99-based standards] (nextafterl): Likewise.
21867 [non-C99-based standards] (remainderl): Likewise.
21868 [non-C99-based standards] (rintl): Likewise.
21869 [non-C99-based standards] (scalbl): Likewise.
21870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21871 [non-C99-based standards] (FP_*): Do not allow.
21872 [C99-based standards] (FP_*): Change to
21873 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21874 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21876 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21877 (SIG_ERR): Likewise.
21878 [X/Open-based standards] (SIG_HOLD): Likewise.
21879 (SIG_IGN): Likewise.
21880 (SIGABRT): Use macro-int-constant. Specify type. Require
21882 (SIGFPE): Likewise.
21883 (SIGILL): Likewise.
21884 (SIGINT): Likewise.
21885 (SIGSEGV): Likewise.
21886 (SIGTER): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21905 [X/Open-based standards] (SIGTRAP): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21910 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21913 2012-05-08 Ian Wienand <ianw@vmware.com>
21916 * time/tzset.c (__tzset_parse_tz): Update default rules for
21917 daylight time changes in the Energy Policy Act of 2005.
21919 2012-05-09 Andreas Jaeger <aj@suse.de>
21922 * elf/ldconfig.c (parse_conf): Change string to make clear that
21923 ldconfig only issued a warning if ld.so.conf does not exist.
21925 2012-05-08 David S. Miller <davem@davemloft.net>
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21928 movxtod instead of popping the value on the stack.
21930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21932 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21934 * config.h.in: Add HAVE_ARM_PCS_VFP.
21936 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21939 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21940 checking but the checks are disabled for any reason.
21942 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21944 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21945 and ELF64_R_TYPE with ELFW(R_TYPE).
21947 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21949 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21950 (ulimit): Likewise.
21952 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21953 (settimeofday): Likewise.
21955 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21957 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21958 a struct th_u2 inside the union, and move tu_block/tu_code into
21959 a new th_u3 union of tu_block/tu_code inside of that. Move
21960 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21961 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21962 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21963 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21964 (th_stuff): Change to th_u1.tu_stuff.
21966 (th_msg): Change to th_u1.th_u2.tu_data.
21968 2012-05-07 David S. Miller <davem@davemloft.net>
21970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21973 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21974 (SETUP_PIC_REG): Use it.
21975 (SETUP_PIC_REG_LEAF): Use it.
21977 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21981 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21983 (EXPL_FINITE): Likewise.
21984 (FLDLOG): Likewise.
21985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21986 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21990 (EXPL_FINITE): Likewise.
21991 (FLDLOG): Likewise.
21992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21993 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21995 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21996 test of -max_value argument for long double.
21997 * sysdeps/i386/fpu/libm-test-ulps: Update.
21998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22000 2012-05-06 David S. Miller <davem@davemloft.net>
22002 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22003 quad soft-float symbols whose references which are compiler
22005 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22007 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22013 (EXPL_FINITE): Likewise.
22014 (FLDLOG): Likewise.
22017 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22018 Adjust comments for base varying.
22019 (__expl_finite): Change alias to EXPL_FINITE.
22020 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22022 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22023 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22024 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22025 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22028 (EXPL_FINITE): Likewise.
22029 (FLDLOG): Likewise.
22032 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22033 Adjust comments for base varying.
22034 (__expl_finite): Change alias to EXPL_FINITE.
22035 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22040 * math/libm-test.inc (check_float_internal): Correct ulp
22041 calculation for subnormal expected results.
22043 2012-05-06 Andreas Jaeger <aj@suse.de>
22045 * Makeconfig (+math-flags): New, set to -frounding-math.
22046 (+cflags): Add +math-flags so that all of glibc gets compiled with
22049 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22051 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22053 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22059 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22060 (__ieee754_expl): Allow for and saturate large arguments.
22061 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22062 (u_threshold): Likewise.
22063 (__exp): Call __ieee754_exp before checking for overflow and
22065 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22066 (u_threshold): Likewise.
22067 (__expf): Call __ieee754_expf before checking for overflow and
22069 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22070 (u_threshold): Likewise.
22071 (__expl): Call __ieee754_expl before checking for overflow and
22073 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22074 (__ieee754_expl): Allow for and saturate large arguments.
22075 * math/libm-test.inc (exp_test): Add another test. Do not allow
22076 missing overflow exception on overflow.
22077 (expm1_test): Do not allow missing overflow exception on overflow.
22079 * sysdeps/i386/fpu/e_expl.c: Move to ...
22080 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22081 rather than using inline asm.
22082 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22083 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22084 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22086 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22089 (signal): Likewise.
22093 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22095 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22096 sysdeps/unix/common/syscalls.list.
22097 (fchmod): Likewise.
22098 (fchown): Likewise.
22099 (ftruncate): Likewise.
22100 (getrusage): Likewise.
22101 (gettimeofday): Likewise.
22102 (setpgid): Likewise.
22103 (setregid): Likewise.
22104 (setreuid): Likewise.
22105 (sigaction): Likewise.
22106 (truncate): Likewise.
22107 (vhangup): Likewise.
22108 * sysdeps/unix/common/syscalls.list: Remove file.
22109 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22110 * sysdeps/unix/sysv/linux/Implies: Likewise.
22112 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22114 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22116 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22120 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22123 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22126 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22129 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22132 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22135 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22138 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22142 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22146 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22149 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22153 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22157 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22159 * sysdeps/unix/common/bits/dirent.h: Remove file.
22160 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22162 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22163 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22164 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22165 * sysdeps/unix/bsd/isatty.c: Likewise.
22166 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22167 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22168 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22170 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22174 long double comparison inaccuracies.
22175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22178 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22180 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22183 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22187 nonzero digits before rounding a hex value.
22188 * stdlib/tst-strtod.c (tests): Add another test.
22190 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22192 * sysdeps/s390/fpu/libm-test-ulps: Update.
22194 2012-05-03 Andreas Jaeger <aj@suse.de>
22196 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22197 does not get optimized out.
22198 (malloc_opt_barrier): New.
22200 2012-05-03 Andreas Jaeger <aj@suse.de>
22201 Roland McGrath <roland@hack.frob.com>
22203 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22204 intermediate file deletion.
22205 (generated): Add .symlist files.
22207 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22210 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22211 Redirect under this condition.
22212 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22213 [__USE_GNU] (__dprintf_chk): Not under this condition.
22214 [__USE_GNU] (__vdprintf_chk): Likewise.
22215 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22216 under this condition.
22217 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22218 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22219 [__USE_XOPEN2K8] (vdprintf): Likewise.
22220 [__USE_GNU] (__dprintf_chk): Not under this condition.
22221 [__USE_GNU] (__vdprintf_chk): Likewise.
22222 [__USE_GNU] (dprintf): Likewise.
22223 [__USE_GNU] (vdprintf): Likewise.
22225 2012-05-03 Roland McGrath <roland@hack.frob.com>
22227 * elf/Makefile (common-generated): Set this instead of generated for
22228 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22229 $(all-built-dso)-derived lists.
22231 2012-05-03 Andreas Jaeger <aj@suse.de>
22233 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * FAQ.in: Likewise.
22237 * scripts/gen-FAQ.pl: Likewise.
22238 * manual/install.texi (Installation): Point to online location of
22240 * Makefile (files-for-dist): Remove FAQ.
22243 2012-05-02 Allan McRae <allan@archlinux.org>
22245 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22246 (LDFLAGS-reldepmod5.so): Likewise.
22247 (LDFLAGS-reldep6mod1.so): Likewise.
22248 (LDFLAGS-reldep6mod4.so): Likewise.
22249 (LDFLAGS-reldep8mod3.so): Likewise.
22250 (LDFLAGS-unload4mod1.so): Likewise.
22251 (LDFLAGS-unload4mod2.so): Likewise.
22252 (LDFLAGS-tst-initorder): Likewise.
22253 (LDFLAGS-tst-initordera2.so): Likewise.
22254 (LDFLAGS-tst-initordera3.so): Likewise.
22255 (LDFLAGS-tst-initordera4.so): Likewise.
22256 (LDFLAGS-tst-initorderb2.so): Likewise.
22257 (LDFLAGS-noload): Likewise.
22258 (LDFLAGS-next): Likewise.
22259 (LDFLAGS-order2mod1.so): Likewise.
22260 (LDFLAGS-order2mod2.so): Likewise.
22261 (LDFLAGS-tst-initorder2): Likewise.
22262 (LDFLAGS-tst-initorder2a.so): Likewise.
22263 (LDFLAGS-tst-initorder2b.so): Likewise.
22264 (LDFLAGS-tst-initorder2c.so): Likewise.
22265 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22267 2012-05-02 David S. Miller <davem@davemloft.net>
22269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22271 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22274 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22276 2012-05-02 Andreas Jaeger <aj@suse.de>
22278 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22279 since we manipulate rounding mode.
22280 (CPPFLAGS-test-idouble.c): Likewise.
22281 (CPPFLAGS-test-ifloat.c): Likewise.
22282 (CFLAGS-test-ldouble.c): Likewise.
22283 (CFLAGS-test-double.c): Likewise.
22284 (CFLAGS-test-float.c): Likewise.
22285 (CFLAGS-test-misc.c): Likewise.
22286 (CFLAGS-test-test-fenv.c): Likewise.
22288 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22293 comparisons to determine direction to adjust input.
22295 2012-05-01 Roland McGrath <roland@hack.frob.com>
22297 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22298 output to the target.
22300 * scripts/localplt.awk: New file.
22301 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22302 (check-localplt-CFLAGS): Variable removed.
22303 ($(all-built-dso:=.jmprel)): New static pattern rule.
22304 (generated): Add those targets.
22305 (localplt-built-dso): New variable.
22306 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22308 * elf/check-localplt.c: File removed.
22310 * scripts/check-execstack.awk: New file.
22311 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22312 (check-execstack-CFLAGS): Variable removed.
22313 ($(objpfx)check-execstack.h): Target removed.
22314 ($(objpfx)execstack-default): New target.
22315 (generated): Add that instead of check-execstack.h.
22316 ($(all-built-dso:=.phdr)): New static pattern rule.
22317 (generated): Add those targets.
22318 * elf/check-execstack.c: File removed.
22320 * scripts/check-textrel.awk: New file.
22321 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22322 (check-textrel-CFLAGS): Variable removed.
22323 (all-built-dso): Use := to define.o
22324 ($(all-built-dso:=.dyn)): New static pattern rule.
22325 (generated): Add those targets.
22326 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22327 * config.make.in (READELF): New substituted variable.
22328 * elf/check-textrel.c: File removed.
22330 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22332 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22334 * conform/data/ctype.h-data [C99-based standards] (isblank):
22336 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22337 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22339 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22340 Specify type. Require positive value.
22341 (EILSEQ): Likewise.
22342 (ERANGE): Likewise.
22343 [ISO || POSIX] (EILSEQ): Do not expect.
22344 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22345 Specify type. Require positive value.
22346 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22347 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22352 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22353 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22354 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22398 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22399 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22400 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22401 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22402 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22403 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22404 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22405 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22406 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22407 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22408 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22409 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22411 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22412 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22413 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22414 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22415 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22416 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22417 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22418 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22419 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22420 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22421 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22422 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22424 (FLT_ROUNDS): Expect as macro, not constant.
22425 (FLT_MANT_DIG): Use macro-int-constant.
22426 (DBL_MANT_DIG): Likewise.
22427 (LDBL_MANT_DIG): Likewise.
22428 (FLT_DIG): Likewise.
22429 (DBL_DIG): Likewise.
22430 (LDBL_DIG): Likewise.
22431 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22432 (DBL_MIN_EXP): Likewise.
22433 (LDBL_MIN_EXP): Likewise.
22434 (FLT_MAX_EXP): Use macro-int-constant.
22435 (DBL_MAX_EXP): Likewise.
22436 (LDBL_MAX_EXP): Likewise.
22437 (FLT_MAX_10_EXP): Likewise.
22438 (DBL_MAX_10_EXP): Likewise.
22439 (LDBL_MAX_10_EXP): Likewise.
22440 (FLT_MAX): Use macro-constant.
22441 (DBL_MAX): Likewise.
22442 (LDBL_MAX): Likewise.
22443 (FLT_EPSILON): Use macro-constant. Give upper bound.
22444 (DBL_EPSILON): Likewise.
22445 (LDBL_EPSILON): Likewise.
22446 (FLT_MIN): Likewise.
22447 (DBL_MIN): Likewise.
22448 (LDBL_MIN): Likewise.
22449 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22450 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22451 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22452 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22453 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22454 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22455 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22456 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22457 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22458 [ISO11] (FLT_TRUE_MIN): Likewise.
22459 [ISO11] (LDBL_TRUE_MIN): Likewise.
22460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22461 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22462 (SCHAR_MIN): Use macro-int-constant. Specify type.
22463 (SCHAR_MAX): Likewise.
22464 (UCHAR_MAX): Likewise.
22465 (CHAR_MIN): Likewise.
22466 (CHAR_MAX): Likewise.
22467 (MB_LEN_MAX): Use macro-int-constant.
22468 (SHRT_MIN): Use macro-int-constant. Specify type.
22469 (SHRT_MAX): Likewise.
22470 (USHRT_MAX): Likewise.
22471 (INT_MAX): Likewise.
22472 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22474 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22476 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22478 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22479 bound negative. Suffix upper bound with "L".
22480 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22482 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22484 [C99-based standards] (LLONG_MAX): Likewise.
22485 [C99-based standards] (ULLONG_MAX): Likewise.
22486 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22488 [ISO11] (max_align_t): Require type.
22489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22491 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22492 from $CFLAGS, without defining away __attribute__ calls.
22493 (checknamespace): Use $CFLAGS_namespace.
22495 * conform/conformtest.pl (@keywords): Only include C99 keywords
22496 for standards based on C99 or C11.
22498 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22500 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22503 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22504 usability of symbols in #if.
22506 * conform/conformtest.pl: If macro or constant types start
22507 "promoted:", expect the symbol to be of the following type
22508 promoted by the integer promotions.
22510 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22511 in one place. Also handle "macro-constant".
22513 * conform/conformtest.pl: Only accept expected macro values with
22514 "==". Parse all "macro" lines in one place.
22515 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22517 * conform/conformtest.pl: Handle braced types on "constant" lines
22518 instead of handling "typed-constant".
22519 * conform/data/signal.h-data: Use "constant" instead of
22522 * conform/conformtest.pl: Handle "optional-" at start of lines in
22523 one place rather than duplicating several cases. Handle each
22524 format of "macro" line with initial "optional-".
22526 * conform/conformtest.pl: Only accept expected constant or
22527 optional-constant values with "==". Parse all "constant" lines in
22528 one place. Parse all "optional-constant" lines in one place.
22529 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22530 * conform/data/fmtmsg.h-data: Likewise.
22531 * conform/data/netinet/in.h-data: Likewise.
22532 * conform/data/tar.h-data: Likewise.
22533 * conform/data/limits.h-data: Use "==" form on "constant" and
22534 "optional-constant" lines.
22536 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22537 Use -std=c99 for XOPEN2K.
22538 (@knownproblems): Remove.
22539 (newtoken): Don't check %isknown.
22541 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22542 Do not expect macro.
22543 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22549 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22555 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22556 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22573 [XPG3] (acosh): Likewise.
22574 [XPG3] (asinh): Likewise.
22575 [XPG3] (atanh): Likewise.
22576 [XPG3] (cbrt): Likewise.
22577 [XPG3] (expm1): Likewise.
22578 [XPG3] (ilogb): Likewise.
22579 [XPG3] (log1p): Likewise.
22580 [XPG3] (logb): Likewise.
22581 [XPG3] (nextafter): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22584 [XPG3] (remainder): Likewise.
22585 [XPG3] (rint): Likewise.
22586 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22587 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22588 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22593 [UNIX98 || XOPEN2K] (scalb): Expect.
22594 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22595 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22598 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22600 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22601 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22602 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22616 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22617 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22618 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22713 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22732 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22733 _XOPEN_SOURCE_EXTENDED for XPG4.
22735 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22737 * Makeconfig (localtime): Remove variable.
22738 (inst_localtime-file): Likewise.
22740 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22761 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22765 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22766 comparisons to determine direction to adjust input.
22767 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22768 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22778 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22780 * math/libm-test.inc (nexttoward_test): Add more tests.
22782 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22786 in version GLIBC_2.1, not GLIBC_2.0.
22787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22790 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22793 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22795 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22796 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22797 * math/libm-test.inc (acos_test): Add more tests.
22798 (asin_test): Likewise.
22799 * sysdeps/i386/fpu/libm-test-ulps: Update.
22800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22803 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22805 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22806 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22807 * math/libm-test.inc (acos_test_tonearest): New function.
22808 (acos_test_towardzero): Likewise.
22809 (acos_test_downward): Likewise.
22810 (acos_test_upward): Likewise.
22811 (asin_test_tonearest): Likewise.
22812 (asin_test_towardzero): Likewise.
22813 (asin_test_downward): Likewise.
22814 (asin_test_upward): Likewise.
22815 (main): Call the new functions.
22816 * sysdeps/i386/fpu/libm-test-ulps: Update.
22817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22821 * math/e_exp10.c: Include <float.h>.
22822 (__ieee754_exp10): Handle underflow here rather than multiplying
22823 large negative argument by M_LN10.
22824 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22826 * math/e_exp10l.c: Include <float.h>.
22827 (__ieee754_exp10l): Handle underflow here rather than multiplying
22828 large negative argument by M_LN10l.
22829 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22830 spurious overflow exception on underflow.
22832 2012-04-29 Marek Polacek <polacek@redhat.com>
22834 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22835 (__fortify_function): New macro.
22836 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22837 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22838 __extern_always_inline.
22839 * libio/bits/stdio2.h: Likewise.
22840 * libio/bits/stdio.h: Likewise.
22841 * string/string.h: Likewise.
22842 * string/bits/string3.h: Likewise.
22843 * include/stdio.h: Likewise.
22844 * stdlib/bits/stdlib.h: Likewise.
22845 * stdlib/stdlib.h: Likewise.
22846 * rt/bits/mqueue2.h: Likewise.
22847 * rt/mqueue.h: Likewise.
22848 * posix/bits/unistd.h: Likewise.
22849 * posix/unistd.h: Likewise.
22850 * io/bits/poll2.h: Likewise.
22851 * io/bits/fcntl2.h: Likewise.
22852 * io/fcntl.h: Likewise.
22853 * io/sys/poll.h: Likewise.
22854 * misc/bits/syslog.h: Likewise.
22855 * misc/bits/syslog-ldbl.h: Likewise.
22856 * misc/sys/syslog.h: Likewise.
22857 * socket/bits/socket2.h: Likewise.
22858 * socket/sys/socket.h: Likewise.
22859 * debug/tst-chk1.c: Likewise.
22860 * wcsmbs/bits/wchar2.h: Likewise.
22861 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22862 * wcsmbs/wchar.h: Likewise.
22864 2012-04-29 Andreas Jaeger <aj@suse.de>
22866 * Makerules (tests): Remove enable-check-abi protection.
22867 (check-abi-warn): Remove.
22868 (check-abi-%): Remove check-abi-warn usage.
22870 * configure.in: Remove check-abi configure option.
22871 * configure: Regenerated.
22872 * config.make.in (enable-check-abi): Remove.
22874 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22877 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22878 double functions to double *_finite functions.
22881 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22882 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22884 * stdio-common/Makefile (tests): Add tst-sprintf3.
22885 * stdio-common/tst-sprintf3.c: New file.
22887 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22888 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22890 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22892 * conform/conformtest.pl: Remove duplicate typed-constant
22895 2012-04-28 David S. Miller <davem@davemloft.net>
22897 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22898 (check-abi-%): Remove AWK script prerequisite and explicit
22900 (check-abi): Rewrite to just diff the symlist with the abilist.
22901 (config-tls, config-abi-config): Delete, no longer used.
22902 (update-abi-%): Remove AWK script and explicit abilist directory.
22903 (update-abi): Rewrite to simply compare and conditionally copy the
22904 symlist and the sysdep abilist file. Remove update-abi-config
22906 * abilist/ld.abilist: Remove.
22907 * abilist/libBrokenLocale.abilist: Remove.
22908 * abilist/libanl.abilist: Remove.
22909 * abilist/libcrypt.abilist: Remove.
22910 * abilist/libdl.abilist: Remove.
22911 * abilist/librt.abilist: Remove.
22912 * abilist/libthread_db.abilist: Remove.
22913 * abilist/libutil.abilist: Remove.
22914 * scripts/extract-abilist.awk: Remove.
22915 * scripts/merge-abilist.awk: Remove.
22916 * sysdeps/generic/libcidn.abilist: New file.
22917 * sysdeps/generic/libnss_compat.abilist: New file.
22918 * sysdeps/generic/libnss_db.abilist: New file.
22919 * sysdeps/generic/libnss_dns.abilist: New file.
22920 * sysdeps/generic/libnss_files.abilist: New file.
22921 * sysdeps/generic/libnss_hesiod.abilist: New file.
22922 * sysdeps/generic/libnss_nis.abilist: New file.
22923 * sysdeps/generic/libnss_nisplus.abilist: New file.
22924 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22925 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22926 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22929 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22930 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22931 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22932 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22933 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22934 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22935 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22936 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22938 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22939 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22940 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22941 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22943 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22944 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22945 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22946 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22947 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22948 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22950 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22951 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22952 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22954 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23057 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23058 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23059 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23062 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23063 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23064 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23065 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23066 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23067 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23068 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23069 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23070 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23122 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23124 * conform/conformtest.pl: Fix typo in handling typed-constant from
23127 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23129 * README: Cut down references to pre-2.6 Linux kernels and
23130 Linuxthreads. Update lists of configurations in libc and ports
23131 and sort alphabetically. Say "or newer" with Linux kernel version
23134 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23136 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23139 * math/libm-test.inc (logb_test_downward): New test to expose
23140 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23143 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23146 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23148 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23149 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23151 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23153 * sysdeps/unix/i386/brk.S: Remove file.
23154 * sysdeps/unix/i386/dl-brk.S: Likewise.
23155 * sysdeps/unix/i386/pipe.S: Likewise.
23156 * sysdeps/unix/i386/sigreturn.S: Likewise.
23157 * sysdeps/unix/i386/syscall.S: Likewise.
23158 * sysdeps/unix/i386/vfork.S: Likewise.
23159 * sysdeps/unix/i386/wait.S: Likewise.
23161 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23162 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23164 * configure.in (arm*-none*): Do not allow without
23165 --enable-hacker-mode.
23166 (netbsd*): Remove case setting base_os.
23167 (386bsd*): Likewise.
23168 (freebsd*): Likewise.
23171 (sunos*): Likewise.
23172 (ultrix*): Likewise.
23173 (newsos*): Likewise.
23174 (dynix*): Likewise.
23180 (minix*): Likewise.
23181 (irix4*): Likewise.
23182 (irix6*): Likewise.
23183 (solaris[2-9]*): Likewise.
23185 * configure: Regenerated.
23187 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23190 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23191 overflow or cancellation in calculating denominator.
23192 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23194 down expression to avoid unexpected rounding in newer GCCs.
23195 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23197 2012-04-26 David S. Miller <davem@davemloft.net>
23199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23200 long-double compat symbols.
23201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23215 2012-04-25 David S. Miller <davem@davemloft.net>
23217 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23218 HWCAP_* values only after the memory barriers have been defined.
23219 (atomic_full_barrier): Define.
23220 (atomic_read_barrier): Define.
23221 (atomic_write_barrier): Define.
23223 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23225 * shlib-versions: Add libgcc_s version information.
23226 * sysdeps/generic/libgcc_s.h: Remove.
23227 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23229 * sysdeps/gnu/unwind-resume.c: Likewise.
23230 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23232 2012-04-25 David S. Miller <davem@davemloft.net>
23234 * sysdeps/unix/sparc/brk.S: Delete.
23235 * sysdeps/unix/sparc/dl-brk.S: Delete.
23236 * sysdeps/unix/sparc/pipe.S: Delete.
23237 * sysdeps/unix/sparc/sysdep.S: Delete.
23238 * sysdeps/unix/sparc/sysdep.h: Delete.
23239 * sysdeps/unix/sparc/vfork.S: Delete.
23240 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23241 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23243 ret_ERRVAL, r0, r1, MOVE): Define.
23244 (JUMPTARGET): Remove.
23245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23246 sysdeps/unix/sparc/sysdep.h
23247 (ENTRY, END): Remove.
23248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23250 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23252 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23253 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23256 * timezone/README: Update upstream location and email address for
23258 * timezone/zdump.c: Update from tzcode 2012b.
23259 * timezone/zic.c: Likewise.
23261 * configure.in (libc_cv_as_needed): Remove test.
23262 * configure: Regenerated.
23263 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23264 conditional definition.
23265 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23266 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23267 * config.make.in (have-as-needed): Remove variable.
23269 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23270 Paul Pluzhnikov <ppluzhnikov@google.com>
23272 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23275 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23277 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23278 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23279 * sysdeps/sh/strlen.S: Likewise.
23281 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23283 * sysdeps/unix/fork.S: Remove file.
23284 * sysdeps/unix/i386/fork.S: Likewise.
23285 * sysdeps/unix/sparc/fork.S: Likewise.
23287 * sysdeps/unix/system.c: Remove file.
23288 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23290 * sysdeps/unix/getegid.S: Remove file.
23291 * sysdeps/unix/geteuid.S: Likewise.
23293 2012-04-24 Roland McGrath <roland@hack.frob.com>
23295 * scripts/check-localplt.awk: New file.
23296 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23298 * scripts/data/localplt-generic.data: Add a comment.
23300 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23301 NODE when __dir_mkfile failed.
23302 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23303 Reported by Ludovic Courtès <ludo@gnu.org>.
23305 2012-04-24 Andreas Jaeger <aj@suse.de>
23307 * Makerules (common-clean): Also remove gen-as-const-headers
23310 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23312 * Makerules (native-compile): Do not change working directory for
23313 build. Use $(OUTPUT_OPTION) in command.
23314 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23316 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23319 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23320 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23321 * math/libm-test.inc (floor_test): Add more tests.
23322 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23324 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23326 * sysdeps/unix/getdents.c: Remove file.
23327 * sysdeps/unix/sysv/getdents.c: Likewise.
23328 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23330 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23331 sysdeps/unix/mman/syscalls.list.
23333 (mprotect): Likewise.
23335 (munmap): Likewise.
23336 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23337 * sysdeps/unix/mman/syscalls.list: Remove.
23338 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23340 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23341 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23342 * configure: Regenerated.
23343 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23344 $(libgcc_s_suffix).
23345 * config.make.in (libgcc_s_suffix): Remove variable.
23347 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23349 * sysdeps/unix/sysv/gethostname.c: Move to ...
23350 * sysdeps/posix/gethostname.c: ... here.
23352 * sysdeps/unix/execve.S: Remove file.
23354 * sysdeps/unix/_exit.S: Remove file.
23356 2012-04-23 Andreas Jaeger <aj@suse.de>
23359 * manual/Makefile: Remove make dist support, there's no
23360 need for a stand-alone documentation tar ball.
23361 (TEXI2DVI): Define always, it's not in Makeconfig.
23364 (edition): Removed.
23365 (glibc-doc-$(edition).tar): Removed
23369 (ETAGS): Remove, it's in Makeconfig.
23370 (move-if-change): Remove, it's in Makeconfig.
23372 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23375 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23376 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23377 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23378 (strtod_l, strtof_l, strtold_l): Remove __wur.
23379 It is not necessarily an error to ignore strtol's return value.
23380 One can reliably look at the stored endptr to decide whether
23381 the number had valid syntax.
23383 2012-04-21 Andreas Jaeger <aj@suse.de>
23386 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23388 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23391 * sysdeps/unix/sysv/Versions: Remove file.
23393 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23398 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23402 version from __vm86.
23404 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23406 * sysdeps/unix/common/lxstat.c: Remove file.
23407 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23409 * sysdeps/unix/sysv/Makefile: Remove file.
23411 * sysdeps/unix/sysv/direct.h: Remove file.
23413 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23414 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23415 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23416 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23417 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23418 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23419 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23421 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23423 * sysdeps/unix/xmknod.c: Remove file.
23424 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23426 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23428 * sysdeps/unix/sysv/i386/time.S: Remove file.
23430 * sysdeps/unix/fxstat.c: Remove file.
23431 * sysdeps/unix/xstat.c: Likewise.
23432 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23434 * sysdeps/unix/sysv/sigaction.c: Remove file.
23436 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23437 (sysdep_headers): Remove variable.
23438 [termio.h not in sysdep_headers] (generated): Likewise.
23439 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23440 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23441 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23442 * sysdeps/unix/sysv/tcflow.c: Likewise.
23443 * sysdeps/unix/sysv/tcflush.c: Likewise.
23444 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23445 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23446 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23447 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23448 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23450 * sysdeps/unix/siglist.c: Remove file.
23452 * sysdeps/unix/getppid.S: Remove file.
23454 * sysdeps/unix/mkdir.c: Remove file.
23455 * sysdeps/unix/rmdir.c: Likewise.
23457 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23459 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23461 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23462 errlist-compat value.
23464 2012-04-18 David S. Miller <davem@davemloft.net>
23466 * sysdeps/generic/memcopy.h (reg_char): Delete.
23467 * debug/strcat_chk.c: Use char, not reg_char.
23468 * debug/strcpy_chk.c: Likewise.
23469 * debug/strncat_chk.c: Likewise.
23470 * debug/strncpy_chk.c: Likewise.
23471 * string/memchr.c: Likewise.
23472 * string/memrchr.c: Likewise.
23473 * string/rawmemchr.c: Likewise.
23474 * string/strcat.c: Likewise.
23475 * string/strchr.c: Likewise.
23476 * string/strchrnul.c: Likewise.
23477 * string/strcmp.c: Likewise.
23478 * string/strcpy.c: Likewise.
23479 * string/strncat.c: Likewise.
23480 * string/strncmp.c: Likewise.
23481 * string/strncpy.c: Likewise.
23483 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23485 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23486 __builtin_memcopy is called when src and dest ranges are known to not
23489 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23492 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23493 fwd_align_merge macro call.
23494 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23495 bwd_align_merge macro call.
23496 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23498 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23500 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23501 bwd_align_merge macros.
23502 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23503 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23504 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23506 2012-04-18 David S. Miller <davem@davemloft.net>
23508 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23510 2012-04-18 Andreas Jaeger <aj@suse.de>
23513 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23514 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23515 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23518 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23519 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23521 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23522 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23523 Adjust for changed ldbl-128 files.
23525 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23526 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23529 2012-04-17 David S. Miller <davem@davemloft.net>
23531 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23533 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23535 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23536 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23537 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23538 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23539 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23540 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23542 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23545 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23546 * math/libm-test.inc: Add ilogb errno and exception tests.
23547 * math/w_ilogb.c: New file: ilogb wrapper.
23548 * math/w_ilogbf.c: New file: ilogbf wrapper.
23549 * math/w_ilogbl.c: New file: ilogbl wrapper.
23550 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23551 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23552 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23553 exception being thrown with 0.0 as argument.
23554 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23555 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23556 exception being thrown with 0.0 as argument.
23557 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23558 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23559 exception being thrown with 0.0 as argument.
23560 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23561 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23562 exception being thrown with 0.0 as argument.
23563 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23564 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23566 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23568 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23569 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23570 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23571 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23573 2012-04-17 Petr Baudis <pasky@ucw.cz>
23575 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23578 2012-04-16 Marek Polacek <polacek@redhat.com>
23580 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23582 2012-04-16 Marek Polacek <polacek@redhat.com>
23584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23585 operands of fdivp instruction.
23587 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23589 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23590 * elf/tst-auditmod3b.c: Likewise.
23591 * elf/tst-auditmod4b.c: Likewise.
23592 * elf/tst-auditmod5b.c: Likewise.
23593 * elf/tst-auditmod6b.c: Likewise.
23594 * elf/tst-auditmod6c.c: Likewise.
23595 * elf/tst-auditmod7b.c: Likewise.
23596 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23597 * sysdeps/x86_64/preconfigure.in: Likewise.
23598 * sysdeps/x86_64/preconfigure: Regenerated.
23600 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23605 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23608 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23610 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23613 * locale/iso-639.def: Fix gl language name. Spotted by
23616 2012-04-12 Roland McGrath <roland@hack.frob.com>
23619 * libio/libio.h (__io_write_fn): Update comment.
23621 2012-04-12 Petr Baudis <pasky@ucw.cz>
23624 * stdio.texi (Hook Functions): The user provided writer function
23625 is not allowed to return -1.
23627 2012-04-11 David S. Miller <davem@davemloft.net>
23629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23631 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23633 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23634 Add a leading slash to rtkaio.
23636 2012-04-11 Jim Meyering <meyering@redhat.com>
23639 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23640 It is not necessarily an error to ignore fwrite's return
23641 value. One can reliably use ferror to test for errors after
23644 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23646 * bits/types.h (__snseconds_t): New type.
23647 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23649 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23651 (__SNSECONDS_T_TYPE): Likewise.
23652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23653 (__SNSECONDS_T_TYPE): Likewise.
23654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23655 (__SNSECONDS_T_TYPE): Likewise.
23657 2012-04-10 Andreas Jaeger <aj@suse.de>
23660 * manual/time.texi (Processor Time): Return type of times is
23661 elapsed real time since an arbitrary point in the past.
23662 (CPU Time): Move CLK_TCK from here...
23663 (Processor Time): ...to here. Correct description.
23664 * manual/conf.texi (Constants for Sysconf): Correct description of
23667 2012-04-10 David S. Miller <davem@davemloft.net>
23670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23671 where the is a gap between DT_REL(A) and DT_JMPREL.
23673 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23675 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23676 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23677 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23679 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23681 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23682 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23683 (dl_main): Handle --inhibit-cache.
23684 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23686 * elf/dl-load.c (_dl_map_object): Use it.
23687 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23689 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23692 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23693 (__ieee754_powl): Saturate large exponents rather than testing for
23694 overflow of y*log2(x).
23695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23696 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23700 * math/s_ctan.c: Include <float.h>.
23701 (__ctan): Avoid internal overflow or cancellation in calculating
23703 * math/s_ctanf.c: Likewise.
23704 * math/s_ctanl.c: Likewise.
23705 * math/s_ctanh.c: Likewise.
23706 * math/s_ctanhf.c: Likewise.
23707 * math/s_ctanhl.c: Likewise.
23708 * math/libm-test.inc (ctan_test): Add more tests.
23709 (ctanh_test): Likewise.
23710 * sysdeps/i386/fpu/libm-test-ulps: Update.
23711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713 2012-04-09 Andreas Jaeger <aj@suse.de>
23716 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23717 is an optional BSD extension.
23720 * manual/stdio.texi (Opening Streams): Document additional fopen
23723 2012-04-09 Roland McGrath <roland@hack.frob.com>
23725 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23726 %eax without telling the compiler.
23728 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23731 * manual/install.texi: Use sourceware.org.
23733 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23736 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23737 (__ieee754_pow): Generate overflow and underflow using huge*huge
23738 and tiny*tiny rather than just returning constant infinity or zero
23739 for large exponents.
23740 * math/libm-test.inc (pow_test): Require overflow exceptions for
23741 applicable cases of large exponents.
23744 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23745 (__ieee754_pow): Use iterative multiplication algorithm only for
23746 integer exponents with absolute value below 1024. Check for odd
23747 integer exponents when using algorithm for real exponents.
23748 * math/libm-test.inc (pow_test): Add more tests.
23749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23751 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23754 * math/libm-test.inc (exp_test): Do not allow overflow exception
23757 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23760 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23761 instead of __kernel_standard_f.
23763 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23765 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23766 * sysdeps/x86_64/memset_chk.S: Likewise.
23768 2012-04-08 Andreas Jaeger <aj@suse.de>
23771 * manual/startup.texi (Environment Access): Describe return value
23772 for putenv and setenv.
23775 * manual/filesys.texi (Directory Entries): Add description for
23779 * manual/filesys.texi (Directory Entries): Clarify that it's file
23780 system not operating system in the description of DT_UNKNOWN.
23783 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23785 2012-04-08 Stephen Compall <s11@member.fsf.org>
23788 * manual/llio.texi (Opening and Closing Files): Add cross
23789 reference to explain mode argument.
23791 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23793 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23794 * sysdeps/x86_64/memset_chk.S: Likewise.
23796 2012-04-07 David S. Miller <davem@davemloft.net>
23798 * elf/elf.h (R_SPARC_WDISP10): Define.
23799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23802 R_SPARC_SIZE64 and R_SPARC_H34.
23804 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23807 conditions and remove no longer applicable assertion.
23809 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23811 * bits/byteswap.h: Include <features.h>.
23812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23815 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23817 * bits/byteswap.h (__bswap_16): Removed.
23818 Include <bits/byteswap-16.h> to get __bswap_16.
23819 * sysdeps/i386/bits/byteswap.h: Likewise.
23820 * sysdeps/s390/bits/byteswap.h: Likewise.
23821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23822 * bits/byteswap-16.h: New file.
23823 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23824 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23825 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23826 * string/Makefile (headers): Add bits/byteswap-16.h.
23828 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23831 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23833 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23834 * nss/tst-nss-static.c: New.
23836 2012-04-06 Robert Millan <rmh@gnu.org>
23839 * manual/llio.texi (File Position Primitive): lseek
23840 refers to WHENCE when it really means OFFSET.
23842 2012-04-06 Andreas Jaeger <aj@suse.de>
23844 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23845 strncmp declarations.
23847 * abilist/libc.abilist: Add __poll and __ppoll.
23849 2012-04-05 David S. Miller <davem@davemloft.net>
23851 * scripts/check-local-headers.sh: Accept a host triplet in the
23852 path matched by the exclude regexp.
23854 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23856 * sysdeps/powerpc/powerpc32/dl-machine.h
23857 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23858 * sysdeps/s390/s390-32/dl-machine.h
23859 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23860 * sysdeps/sparc/sparc32/dl-machine.h
23861 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23862 * sysdeps/sparc/sparc64/dl-machine.h
23863 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23865 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23867 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23868 undefined symbol errors.
23870 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23873 2012-04-05 Michael Matz <matz@suse.de>
23876 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23878 2012-04-05 Andreas Jaeger <aj@suse.de>
23881 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23884 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23887 which ROUND is no valid rounding mode.
23889 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23893 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23895 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23897 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23898 an exception using FPU order intentionally.
23900 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23902 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23903 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23904 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23905 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23907 2012-04-05 Simon Josefsson <simon@josefsson.org>
23910 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23911 EINVAL when BUFLEN is too smal.
23913 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23916 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23917 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23919 2012-04-03 Andreas Jaeger <aj@suse.de>
23922 * manual/setjmp.texi (System V contexts): Fix sentence.
23925 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23926 New macro for this case.
23927 [!__GNUC__] (__bswap_64): New inline function for this case.
23928 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23929 * bits/byteswap.h: Likewise.
23930 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23931 ull, guard with __GLIBC_HAVE_LONG_LONG.
23933 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23934 __GLIBC_HAVE_LONG_LONG.
23936 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23937 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23939 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23942 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23943 inptr and inend, rather than using last_ch.
23945 2012-04-02 David S. Miller <davem@davemloft.net>
23947 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23948 * stdio-common/printf-parse.h (read_int): Change return type to
23949 'int', return -1 on INT_MAX overflow.
23950 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23951 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23952 overflows INT_MAX. Check for overflow of in-format-string precision
23953 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23954 SIZE_MAX not INT_MAX for integer overflow test.
23955 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23956 skip the construct in the format string but do not record anything.
23957 * stdio-common/bug22.c: Adjust to test both width/prevision
23958 INT_MAX overflow as well as total length INT_MAX overflow. Check
23959 explicitly for proper errno values.
23961 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23963 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23965 * string/test-strcmp.c [! WIDE]: Likewise.
23966 * time/tst-mktime2.c: Likewise for INT_MAX.
23967 * string/test-string.h: #include <sys/param.h> for MIN.
23969 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23970 * sysdeps/i386/init-first.c (init): Likewise.
23971 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23972 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23973 * sysdeps/sh/init-first.c (init): Likewise.
23975 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23977 * po/ru.po: Update from translation team.
23978 * po/vi.po: Likewise.
23980 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23982 * resolv/nss_dns/dns-host.c: Merge copyright years.
23984 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23987 Optimize memcpy with prefetch if
23988 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23989 src, dst pointers have unequal 16 byte alignments.
23991 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23994 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23995 from a CNAME entry and return the minimum ttl for the query.
23996 (gaih_getanswer_slice): Likewise.
23998 2012-03-30 Jeff Law <law@redhat.com>
24000 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24002 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24003 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24005 * resolv/nss_dns/dns-host.c: Update copyright year.
24007 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24009 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24010 requests to save a system call. Fix check that all bytes are sent.
24012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24013 comments for sendmmsg.
24015 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24018 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24019 with only 1 character between 0x0041 and 0x01b0.
24020 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24021 * wcsmbs/tst-mbsnrtowcs.c: New file.
24023 2012-03-29 David S. Miller <davem@davemloft.net>
24025 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24026 small copies by hand.
24028 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24031 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24032 _nss_compat_initgroups_dyn): Fall back to malloc/free
24033 for large group memberships.
24035 2012-03-28 David S. Miller <davem@davemloft.net>
24037 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24038 that branches into memcpy.
24039 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24042 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24045 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24046 implementation too.
24047 * sysdeps/sparc/mempcpy.S: New file.
24049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24050 the IFUNC routine in the libc case.
24051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24053 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24054 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24055 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24056 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24057 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24058 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24059 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24060 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24062 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24063 loop to 256 bytes instead of 64 bytes and fix test signedness.
24065 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24066 * sysdeps/sparc/sparc32/Makefile: rather than here...
24067 * sysdeps/sparc/sparc64/Makefile: and here.
24069 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24071 * malloc/mallocbug.c: Avoid warnings about unused variables.
24073 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24076 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24077 in the right place. Discard and retry query if response is
24078 larger than input buffer size.
24080 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24085 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24086 x for large integer exponent.
24087 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24088 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24089 sign of result as needed afterwards.
24090 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24091 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24092 result for underflowing pow the same as for overflow.
24093 (__kernel_standard_l): Handle powl overflow and underflow here
24094 rather than calling __kernel_standard.
24095 * math/libm-test.inc (pow_test): Add more tests.
24110 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24111 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24112 (__kernel_standard_l): New function.
24113 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24115 * math/w_acosl.c (__acosl): Likewise.
24116 * math/w_asinl.c (__asinl): Likewise.
24117 * math/w_atan2l.c (__atan2l): Likewise.
24118 * math/w_atanhl.c (__atanhl): Likewise.
24119 * math/w_coshl.c (__coshl): Likewise.
24120 * math/w_exp10l.c (__exp10l): Likewise.
24121 * math/w_exp2l.c (__exp2l): Likewise.
24122 * math/w_fmodl.c (__fmodl): Likewise.
24123 * math/w_hypotl.c (__hypotl): Likewise.
24124 * math/w_j0l.c (__j0l, __y0l): Likewise.
24125 * math/w_j1l.c (__j1l, __y1l): Likewise.
24126 * math/w_jnl.c (__jnl, __ynl): Likewise.
24127 * math/w_lgammal.c (__lgammal): Likewise.
24128 * math/w_log10l.c (__log10l): Likewise.
24129 * math/w_log2l.c (__log2l): Likewise.
24130 * math/w_logl.c (__logl): Likewise.
24131 * math/w_powl.c (__powl): Likewise.
24132 * math/w_remainderl.c (__remainderl): Likewise.
24133 * math/w_scalbl.c (sysv_scalbl): Likewise.
24134 * math/w_sinhl.c (__sinhl): Likewise.
24135 * math/w_sqrtl.c (__sqrtl): Likewise.
24136 * math/w_tgammal.c (__tgammal): Likewise.
24137 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24138 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24139 * math/libm-test.inc (acos_test): Add more tests.
24140 (acosh_test): Likewise.
24141 (asin_test): Likewise.
24142 (atanh_test): Likewise.
24143 (exp_test): Likewise.
24144 (exp10_test): Likewise.
24145 (exp2_test): Likewise.
24146 (expm1_test): Likewise.
24147 (lgamma_test): Likewise.
24148 (log_test): Likewise.
24149 (log10_test): Likewise.
24150 (log1p_test): Likewise.
24151 (log2_test): Likewise.
24152 (pow_test): Do not allow some spurious overflow exceptions.
24153 (sqrt_test): Add more tests.
24154 (tgamma_test): Likewise.
24155 (y0_test): Likewise.
24156 (y1_test): Likewise.
24157 (yn_test): Likewise.
24159 2012-03-27 Anton Blanchard <anton@samba.org>
24161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24164 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24167 2012-03-27 David S. Miller <davem@davemloft.net>
24169 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24171 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24172 have-as-vis3 check.
24174 2012-03-27 Andreas Jaeger <aj@suse.de>
24176 * sysdeps/x86_64/elf/configure.in: Moved to ...
24177 * sysdeps/x86_64/configure.in: ... here.
24178 * sysdeps/x86_64/elf/start.S: Moved to ...
24179 * sysdeps/x86_64/start.S: ... here.
24180 * sysdeps/x86_64/elf/configure: Delete.
24182 * sysdeps/x86_64/configure.in: Merge contents from
24183 sysdeps/i386/configure.in (without i686 check).
24185 * sysdeps/i386/elf/Versions: Merge into ...
24186 * sysdeps/i386/Versions: ... this.
24187 * sysdeps/i386/elf/Versions: Delete file.
24188 * sysdeps/i386/elf/start.S: Moved to ...
24189 * sysdeps/i386/start.S: ...here.
24190 * sysdeps/i386/elf/configure.in: Merge into...
24191 * sysdeps/i386/configure.in: ...here.
24192 * sysdeps/i386/elf/configure.in: Delete file.
24193 * sysdeps/i386/elf/configure: Delete file.
24195 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24196 * debug/backtracesyms.c: ... here.
24197 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24198 * debug/backtracesymsfd.c: ... here.
24199 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24200 * sysdeps/generic/ifunc-sel.h: ... here.
24202 * sysdeps/unix/i386/start.c: Delete file.
24203 * sysdeps/unix/sparc/start.c: Delete file.
24204 * sysdeps/unix/start.c: Delete file.
24206 * sysdeps/sh/elf/configure.in: Moved to ...
24207 * sysdeps/sh/configure.in: ... here.
24208 * sysdeps/sh/elf/start.S: Moved to ...
24209 * sysdeps/sh/start.S: ... here.
24210 * sysdeps/sh/elf/configure: Delete file.
24212 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24213 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24214 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24215 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24216 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24217 * sysdeps/powerpc/powerpc64/start.S: here.
24218 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24219 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24220 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24221 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24222 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24224 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24225 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24226 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24227 * sysdeps/powerpc/powerpc32/start.S: ... here.
24228 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24229 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24230 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24232 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24233 * sysdeps/powerpc/ifunc-sel.h: ... here.
24234 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24235 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24237 * sysdeps/sparc/elf/configure.in: Moved to ...
24238 * sysdeps/sparc/configure.in: ... here.
24239 * sysdeps/sparc/elf/configure: Delete file.
24240 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24241 * sysdeps/sparc/sparc32/start.S: ... here.
24242 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24243 * sysdeps/sparc/sparc64/start.S: ... here.
24244 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24245 * sysdeps/sparc/sparc32/Makefile: ... this.
24246 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24247 * sysdeps/sparc/sparc64/Makefile: ... this.
24249 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24250 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24251 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24252 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24253 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24254 * sysdeps/s390/s390-32/setjmp.S: ... here.
24255 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24256 * sysdeps/s390/s390-32/configure.in: ... here.
24257 * sysdeps/s390/s390-32/elf/configure: Delete file.
24258 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24259 * sysdeps/s390/s390-32/start.S: ... here.
24261 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24262 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24263 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24264 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24265 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24266 * sysdeps/s390/s390-64/setjmp.S: ... here.
24267 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24268 * sysdeps/s390/s390-64/configure.in: ... here
24269 * sysdeps/s390/s390-64/elf/configure: Delete file.
24270 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24271 * sysdeps/s390/s390-64/start.S: ... here.
24272 * sysdeps/s390/s390-64/elf/configure: Delete.
24274 * configure.in: Remove support for elf directories in sysdeps.
24276 * configure: Regenerated.
24277 * sysdeps/i386/configure: Regenerated.
24278 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24279 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24280 * sysdeps/s390/s390-32/configure: Regenerated.
24281 * sysdeps/s390/s390-64/configure: Regenerated.
24282 * sysdeps/sh/configure: Regenerated.
24283 * sysdeps/sparc/configure: Regenerated.
24284 * sysdeps/x86_64/configure: Regenerated.
24286 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24291 denormal result into account.
24293 2012-03-25 Roland McGrath <roland@hack.frob.com>
24295 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24296 Reported by Allan McRae <allan@archlinux.org>.
24298 2012-03-23 Jeff Law <law@redhat.com>
24300 * nss/getnssent.c (__nss_getent): Fix typo.
24302 2012-03-23 David S. Miller <davem@davemloft.net>
24304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24306 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24308 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24309 to pad to uint64_t for each field.
24310 (dl_tls_index): Replace unsigned long with uint64_t.
24312 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24313 Paul Pluzhnikov <ppluzhnikov@google.com>
24316 * grp/Makefile (otherlibs): Don't set it.
24317 * inet/Makefile (otherlibs): Likewise.
24318 * login/Makefile (otherlibs): Likewise.
24319 * nscd/Makefile (otherlibs): Likewise.
24320 * posix/Makefile (otherlibs): Likewise.
24321 * pwd/Makefile (otherlibs): Likewise.
24322 * rt/Makefile (otherlibs): Likewise.
24323 * sunrpc/Makefile (otherlibs): Likewise.
24324 * nss/Makefile (otherlibs): Likewise.
24325 Add libnss_files to routines and static-only-routines.
24326 ($(objpfx)getent): Remove rule.
24327 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24328 static-only-routines.
24330 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24333 * math/s_cexp.c: Include <float.h>.
24334 (__cexp): Handle exp result overflowing not necessarily
24335 overflowing both real and imaginary parts of result.
24336 * math/s_cexpf.c: Likewise.
24337 * math/s_cexpl.c: Likewise.
24338 * math/libm-test.inc (cexp_test): Add more tests.
24339 * sysdeps/i386/fpu/libm-test-ulps: Update.
24340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24342 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24344 * include/link.h (ELFW): New macro.
24345 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24346 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24348 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24350 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24353 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24355 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24357 (struct La_x32_retval): Likewise.
24359 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24361 * sysdeps/x86_64/preconfigure.in: New file.
24362 * sysdeps/x86_64/preconfigure: New generated file.
24364 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24367 * math/e_exp2l.c: Include <float.h>.
24368 (__ieee754_exp2l): Handle overflow and underflow cases
24369 separately. Only pass fractional part of argument to
24371 * math/libm-test.inc (exp2_test): Add more tests.
24373 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24374 negating x to take absolute value.
24375 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24377 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24378 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24380 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24381 computing low part if x was negated.
24382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24384 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24386 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24387 la_x32_gnu_pltexit.
24388 (pltexit): Cast int_retval to ptrdiff_t.
24389 * elf/tst-auditmod3b.c: Likewise.
24390 * elf/tst-auditmod4b.c: Likewise.
24391 * elf/tst-auditmod5b.c: Likewise.
24392 * elf/tst-auditmod6b.c: Likewise.
24393 * elf/tst-auditmod6c.c: Likewise.
24394 * elf/tst-auditmod7b.c: Likewise.
24396 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24397 and x32_gnu_pltexit.
24399 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24400 __ELF_NATIVE_CLASS.
24401 (La_x32_regs): New macro.
24402 (La_x32_retval): Likewise.
24403 (la_x32_gnu_pltenter): New function prototype.
24404 (la_x32_gnu_pltexit): Likewise.
24406 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24413 * configure.in (libc_cv_cc_nofma): Check for option to disable
24414 generation of FMA instructions.
24415 * configure: Regenerate.
24416 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24417 * sysdeps/ieee754/dbl-64/Makefile: New file.
24418 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24419 Remove brandred-fma4.
24420 (CFLAGS-brandred-fma4.c): Remove.
24421 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24427 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24429 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24430 LLONG_MAX != LONG_MAX.
24431 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24432 (_fitoa_word): Likewise.
24433 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24434 LLONG_MAX != LONG_MAX.
24435 * stdio-common/_itowa.h: Include <_itoa.h>.
24436 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24437 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24438 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24439 only if not defined.
24440 (_ITOA_WORD_TYPE): Likewise.
24441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24442 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24444 2012-03-21 David S. Miller <davem@davemloft.net>
24446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24448 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24450 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24451 of x86_64 when setting libc_cv_slibdir, libdir and
24453 * sysdeps/unix/sysv/linux/configure: Regenerated.
24455 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24457 * manual/lang.texi (Old Varargs): Remove section.
24458 (How Variadic): Update menu.
24459 (va_start): Do not mention varargs.h.
24461 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24462 Joseph Myers <joseph@codesourcery.com>
24464 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24466 * configure: Regenerated.
24468 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24470 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24471 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24474 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24477 * Makefile (files-for-dist): Remove NOTES.
24478 (NOTES): Remove rule.
24479 * README: Don't refer to NOTES.
24480 * manual/creature.texi: Don't include macros.texi.
24481 * manual/intro.texi (creature.texi): Remove comment referring to
24484 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24485 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24486 * configure: Regenerated.
24487 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24488 LIBC_TRY_CC_OPTION.
24489 (libc_cv_as_i686): Likewise.
24490 (libc_cv_cc_avx): Likewise.
24491 (libc_cv_cc_sse2avx): Likewise.
24492 (libc_cv_cc_fma4): Likewise.
24493 (libc_cv_cc_novzeroupper): Likewise.
24494 * sysdeps/i386/configure: Regenerated.
24497 * sysdeps/i386/fpu/s_cexp.S: Remove.
24498 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24499 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24500 * math/libm-test.inc (cexp_test): Add more tests.
24501 * sysdeps/i386/fpu/libm-test-ulps: Update.
24502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24504 2012-03-21 Allan McRae <allan@archlinux.org>
24506 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24508 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24511 * math/w_exp2.c: Do not include <float.h>.
24512 (o_threshold, u_threshold): Remove.
24513 (__exp2): Calculate result before checking finiteness and calling
24515 * math/w_exp2f.c: Likewise.
24516 * math/w_exp2l.c: Likewise.
24517 * math/libm-test.inc (exp2_test): Require overflow exception for
24521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24522 range of signed 64-bit integers before using fistpll. Remove
24523 checks for whether integers fit in mantissa bits.
24524 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24525 the range of signed 32-bit integers before using fistpl. Remove
24526 checks for whether integers fit in mantissa bits.
24527 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24528 (__ieee754_powl): Test for y outside the range of signed 64-bit
24529 integers before using fistpll. Reduce 64-bit values to 63-bit
24531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24532 divide-by-zero is raised for zero to large negative powers.
24533 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24534 (__ieee754_powl): Test for y outside the range of signed 64-bit
24535 integers before using fistpll. Reduce 64-bit values to 63-bit
24537 * math/libm-test.inc (pow_test): Add more tests.
24539 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24541 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24542 <stdio-common/_itoa.h>.
24543 * debug/segfault.c: Likewise.
24544 * elf/dl-cache.c: Likewise.
24545 * elf/dl-minimal.c: Likewise.
24546 * elf/dl-misc.c: Likewise.
24547 * elf/dl-sysdep.c: Likewise.
24548 * elf/dl-version.c: Likewise.
24549 * elf/rtld.c: Likewise.
24550 * hurd/hurdsock.c: Likewise.
24551 * hurd/lookup-retry.c: Likewise.
24552 * malloc/malloc.c: Likewise.
24553 * malloc/mtrace.c: Likewise.
24554 * nscd/nscd_getgr_r.c: Likewise.
24555 * nscd/nscd_getpw_r.c: Likewise.
24556 * nscd/nscd_getserv_r.c: Likewise.
24557 * posix/getopt_init.c: Likewise.
24558 * posix/wordexp.c: Likewise.
24559 * stdio-common/_itoa.c: Likewise.
24560 * stdio-common/printf_fphex.c: Likewise.
24561 * stdio-common/vfprintf.c: Likewise.
24562 * string/_strerror.c: Likewise.
24563 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24564 * sysdeps/i386/i686/hp-timing.h: Likewise.
24565 * sysdeps/mach/_strerror.c: Likewise.
24566 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24567 * sysdeps/mach/hurd/sethostid.c: Likewise.
24568 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24569 * sysdeps/mach/xpg-strerror.c: Likewise.
24570 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24571 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24572 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24573 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24574 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24575 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24576 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24577 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24578 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24579 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24580 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24581 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24582 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24583 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24584 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24586 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24587 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24588 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24589 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24590 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24592 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24594 * stdio-common/_itoa.h: Moved to ...
24595 * sysdeps/generic/_itoa.h: Here.
24597 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24599 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24600 instead of "_itoa.h" and "_itowa.h".
24601 * stdio-common/vfprintf.: Likewise.
24603 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24605 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24607 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24608 (__signbit): Likwise.
24609 (llrintf): Likwise.
24612 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24614 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24617 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24619 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24620 OVERFLOW_EXCEPTION_OK.
24621 * math/libm-test.inc ("Philosophy"): Update comment about
24623 (OVERFLOW_EXCEPTION): Define.
24624 (OVERFLOW_EXCEPTION_OK): Likewise.
24625 (INVALID_EXCEPTION_OK): Renumber.
24626 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24627 (IGNORE_ZERO_INF_SIGN): Likewise.
24628 (test_exceptions): Handle FE_OVERFLOW.
24629 (exp10_test): Expect overflow exceptions.
24630 (exp2_test): Likewise.
24631 (expm1_test): Likewise.
24632 (nextafter_test): Likewise.
24633 (pow_test): Likewise.
24634 (scalbn_test): Likewise.
24635 (scalbln_test): Likewise.
24637 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24639 * sysdeps/x86_64/bits/atomic.h
24640 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24642 (atomic_exchange_acq): Likewise.
24643 (__arch_exchange_and_add_body): Likewise.
24644 (__arch_add_body): Likewise.
24645 (atomic_add_negative): Likewise.
24646 (atomic_add_zero): Likewise.
24648 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24650 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24651 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24653 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24655 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24656 Check __x86_64__ instead of __WORDSIZE.
24658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24660 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24662 2012-03-19 David S. Miller <davem@davemloft.net>
24664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24666 * sysdeps/sparc/fpu/fenv_private.h: New file.
24667 * sysdeps/sparc/fpu/math_private.h: Use it.
24668 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24670 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24671 (libc_feholdexcept_setroundl): Remove.
24672 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24674 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24675 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24679 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24680 int64_t instead of long int.
24681 (INSERT_WORDS64): Likwise.
24683 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24685 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24686 _Unwind_GetCFA return to _Unwind_Ptr first.
24688 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24691 * math/s_clog.c: Include <float.h>.
24692 (__clog): Scale large or subnormal inputs.
24693 * math/s_clogf.c: Likewise.
24694 * math/s_clogl.c: Likewise.
24695 * math/s_clog10.c: Include <float.h>.
24696 (M_LOG10_2): Define.
24697 (__clog10): Scale large or subnormal inputs.
24698 * math/s_clog10f.c: Likewise.
24699 * math/s_clog10l.c: Likewise.
24700 * math/libm-test.inc (clog_test): Add more tests.
24701 (clog10_test): Likewise.
24702 * sysdeps/i386/fpu/libm-test-ulps: Update.
24703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24706 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24708 * math/libm-test.inc (atan2_test): Add another test.
24710 * Makerules (common-objdir-compile): Remove.
24711 * sysdeps/unix/Makefile (config-generated): Do not add
24712 $(unix-generated) to variable.
24713 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24714 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24716 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24718 [generic bits/local_lim.h] (before-compile): Do not append to
24720 [generic bits/local_lim.h] (common-generated): Likewise.
24721 [generic sys/param.h] (before-compile): Do not append to variable.
24722 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24723 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24724 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24725 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24727 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24728 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24729 [generic sys/param.h] ($(addprefix
24730 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24731 [generic sys/param.h] (common-generated): Do not append to
24733 [generic sys/param.h] (sysdep_headers): Likewise.
24734 [generic bits/errno.h] (before-compile): Do not append to
24736 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24738 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24739 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24740 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24741 [generic bits/errno.h] (common-generated): Do not append to
24743 [generic bits/ioctls.h] (before-compile): Do not append to
24745 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24747 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24748 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24749 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24751 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24752 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24753 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24754 [generic bits/ioctls.h] (common-generated): Do not append to
24756 [generic sys/syscall.h] (syscall.h): Remove variable.
24757 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24759 [generic sys/syscall.h] (before-compile): Do not append to
24761 [generic sys/syscall.h] (common-generated): Likewise.
24762 * sysdeps/unix/errnos-tmpl.c: Remove file.
24763 * sysdeps/unix/errnos.awk: Likewise.
24764 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24765 * sysdeps/unix/ioctls.awk: Likewise.
24766 * sysdeps/unix/mk-local_lim.c: Likewise.
24767 * sysdeps/unix/snarf-ioctls: Likewise.
24769 2012-03-19 Richard Henderson <rth@twiddle.net>
24771 * sysdeps/i386/fpu/fenv_private.h: New file.
24772 * sysdeps/i386/fpu/math_private.h: Use it.
24773 (math_opt_barrier, math_force_eval): Remove.
24774 (libc_feholdexcept_setround_53bit): Remove.
24775 (libc_feupdateenv_53bit): Remove.
24776 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24777 (math_opt_barrier, math_force_eval): Remove.
24778 (libc_feholdexcept): Remove.
24779 (libc_feholdexcept_setround): Remove.
24780 (libc_fetestexcept, libc_fesetenv): Remove.
24781 (libc_feupdateenv_test): Remove.
24782 (libc_feupdateenv, libc_feholdsetround): Remove.
24783 (libc_feresetround): Remove.
24785 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24786 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24788 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24789 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24790 (libc_feupdateenv_testl): New.
24791 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24792 (libc_feupdateenv_testf): New.
24793 (libc_feupdateenv): Use libc_feupdateenv_test.
24794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24797 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24798 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24799 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24800 (libc_feresetround_noex): New.
24801 (libc_feresetround_noexf): New.
24802 (libc_feresetround_noexl): New.
24803 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24804 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24805 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24806 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24811 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24812 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24813 SET_RESTORE_ROUND_NOEX.
24814 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24815 SET_RESTORE_ROUND_NOEXF.
24816 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24817 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24818 (libc_feholdsetroundf): New.
24819 (libc_feresetround, libc_feresetroundf): New.
24821 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24822 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24823 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24825 * sysdeps/generic/math_private.h: Include <fenv.h>.
24826 (default_libc_feholdexcept): New.
24827 (default_libc_feholdexcept_setround): New.
24828 (default_libc_fesetenv, default_libc_feupdateenv): New.
24829 (libc_feholdexcept): Only define if undefined.
24830 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24831 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24832 (libc_feholdexcept_setroundl): Likewise.
24833 (libc_feholdexcept_setround_53bit): Likewise.
24834 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24835 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24836 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24837 (libc_feupdateenv_53bit): Likewise.
24838 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24839 (libc_feholdexcept): Convert from macro to inline function.
24840 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24841 (libc_fesetenv, libc_feupdateenv): Likewise.
24843 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24844 not previously defined.
24845 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24846 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24847 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24848 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24849 * sysdeps/ieee754/flt-32/math_private.h: New file.
24850 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24851 math_private.h below SET_FLOAT_WORD.
24852 (__isnan, __isinf_ns, __finite): Remove.
24853 (__isnanf, __isinf_nsf, __finitef): Remove.
24855 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24859 2012-03-17 David S. Miller <davem@davemloft.net>
24862 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24865 2012-03-16 David S. Miller <davem@davemloft.net>
24867 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24873 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24874 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24875 sysdep_routines when subdir is sysvipc.
24876 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24877 __getshmlba helper.
24879 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24881 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24883 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24886 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24889 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24890 (__lround): Renamed to ...
24891 (__llround): This. Replace long int with long long int.
24892 Define lround functions as aliases of llround functions.
24893 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24895 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24897 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24898 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24899 adresses to uintptr_t. Replace "long int" and "unsigned long
24900 int" with "greg_t" on va_arg.
24902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24904 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24905 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24907 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24908 Move e_machine check before EI_CLASS check. Handle x32
24909 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24910 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24911 SKIP_EM_IA_64 and include
24912 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24914 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24915 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24916 (add_system_dir): New macro.
24918 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24919 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24921 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24932 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24934 * math/w_j0f.c (j0f): Likewise.
24936 * math/w_j0l.c (__j0l): Likewise.
24938 * math/w_j1.c (j1): Likewise.
24940 * math/w_j1f.c (j1f): Likewise.
24942 * math/w_j1l.c (__j1l): Likewise.
24944 * math/w_jn.c (jn): Likewise.
24946 * math/w_jnf.c (jnf): Likewise.
24948 * math/w_jnl.c (__jnl): Likewise.
24950 * math/libm-test.inc (j0_test): Add more tests.
24951 (j1_test): Likewise.
24952 (jn_test): Likewise. Add trailing semicolon to existing test.
24953 (y0_test): Likewise.
24954 (y1_test): Likewise.
24955 * sysdeps/i386/fpu/libm-test-ulps: Update.
24956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24961 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24962 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24963 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24964 (__tanl): Set errno for infinite argument.
24965 * sysdeps/i386/fpu/mptan.c: Remove.
24966 * sysdeps/i386/fpu/s_tan.S: Likewise.
24967 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24968 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24969 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24970 * math/libm-test.inc (tan_test): Add more tests and enable more
24971 tests for double and long double.
24972 * sysdeps/i386/fpu/libm-test-ulps: Update.
24973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24975 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24977 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24978 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24980 2012-03-16 Roland McGrath <roland@hack.frob.com>
24982 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24983 * configure.in: Use it for both main tree and add-ons.
24984 * configure: Regenerated.
24986 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24988 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24990 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24992 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24996 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24997 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24998 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25000 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25002 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25004 != 0 for prec == 2.
25005 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25006 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25007 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25008 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25009 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25010 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25011 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25012 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25013 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25014 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25015 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25016 * math/libm-test.inc (cos_test): Add more tests and enable more
25017 tests for long double.
25018 (sin_test): Likewise.
25019 (sincos_test): Likewise.
25020 * sysdeps/i386/fpu/libm-test-ulps: Update.
25021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25023 2012-03-16 David S. Miller <davem@davemloft.net>
25025 * sysdeps/sparc/fpu/math_private.h: New file.
25027 2012-03-15 David S. Miller <davem@davemloft.net>
25029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25043 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25044 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25046 * sysdeps/sparc/sparc-ifunc.h: New file.
25047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25092 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25094 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25098 2012-03-15 Andreas Jaeger <aj@suse.de>
25101 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25102 ieee754/flt-32 implementation for sin, cos and sincos.
25103 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25104 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25105 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25106 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25107 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25108 ieee754/flt-32 implementation for tan.
25110 * math/libm-test.inc (cos_test): Enable some large input tests for
25112 (sin_test): Likewise.
25113 (sincos_test): Likewise.
25114 (tan_test): Add tests for large input.
25116 * sysdeps/i386/fpu/libm-test-ulps: Update.
25118 2012-03-15 Andreas Jaeger <aj@suse.de>
25121 * math/libm-test.inc (cos_test): Add more test cases.
25122 (sin_test): Likewise.
25123 (sincos_test): Likewise.
25125 2012-03-15 Andreas Jaeger <aj@suse.de>
25128 * math/libm-test.inc (cos_test): Add a test case for large input
25130 (sin_test): Likewise.
25131 (sincos_test): Likewise.
25133 2012-03-15 Andreas Jaeger <aj@suse.de>,
25134 Joseph Myers <joseph@codesourcery.com>
25137 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25138 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25139 * sysdeps/i386/fpu/branred.c: Likewise.
25140 * sysdeps/i386/fpu/dosincos.c: Likewise.
25141 * sysdeps/i386/fpu/mpa.c: Likewise.
25142 * sysdeps/i386/fpu/s_cos.S: Likewise.
25143 * sysdeps/i386/fpu/s_sin.S: Likewise.
25144 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25145 * sysdeps/i386/fpu/sincos32.c: Likewise.
25147 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25149 (libc_feupdateenv_53bit): Define.
25150 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25152 (libc_feupdateenv_53bit): Define.
25154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25155 53 bit (without extend i386 double precision).
25157 * math/libm-test.inc (sincos_test): Add tests for large input.
25161 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25163 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25167 2012-03-15 David S. Miller <davem@davemloft.net>
25169 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25170 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25171 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25172 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25197 fmin/fmax sysdep routines.
25198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25200 2012-03-14 David S. Miller <davem@davemloft.net>
25202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25274 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25279 * sysdeps/sparc/configure.in: New file.
25280 * sysdeps/sparc/configure: Generate.
25281 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25282 * configure: Regenerate.
25283 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25284 * config.make.in (have-as-vis3): New.
25285 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25286 available use -Av9d instead of -Av9a.
25287 * sysdeps/sparc/sparc64/Makefile: Likewise.
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25303 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25304 fzeros/fnegs to load 0x80000000 into a float register instead of
25306 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25308 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25312 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25313 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25314 ($(inst_includedir)/bits/syscall.h): Remove rule.
25315 ($(objpfx)bits/syscall.d): Include instead of
25316 $(objpfx)syscall-list.d.
25317 (generated): Change syscall-list.h and syscall-list.d to
25318 bits/syscall.h and bits/syscall.d.
25320 2012-03-14 Roland McGrath <roland@hack.frob.com>
25323 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25325 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25328 * math/s_csqrt.c: Include <float.h>.
25329 (__csqrt): Scale large or subnormal inputs.
25330 * math/s_csqrtf.c: Likewise.
25331 * math/s_csqrtl.c: Likewise.
25332 * math/libm-test.inc (csqrt_test): Add more tests.
25333 * sysdeps/i386/fpu/libm-test-ulps: Update.
25334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25337 * math/libm-test.inc (hypot_test): Add more tests.
25339 2012-03-13 David S. Miller <davem@davemloft.net>
25342 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25343 double-precision for the calculation instead of scaling.
25345 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25347 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25348 manipulate bits before adding and subtracting TWO52[sx].
25349 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25350 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25354 2012-03-13 David S. Miller <davem@davemloft.net>
25356 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25357 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25359 rtld-global-offsets.h
25360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25362 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25367 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25368 'err' in the ifdef scope in which it is actually used.
25370 * nss/nss_db/db-init.c: Include string.h
25372 2012-03-12 David S. Miller <davem@davemloft.net>
25374 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25375 masking out of the most significant byte of random value used.
25376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25377 Fix coding style in previous change.
25379 * sysdeps/unix/sysv/linux/kernel-features.h
25380 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25381 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25383 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25386 2012-03-11 David S. Miller <davem@davemloft.net>
25388 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25389 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25391 for 'resultvar' otherwise things get truncated on 64-bit.
25393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25394 Fix masking out of the most significant byte of random value used.
25396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25398 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25402 2012-03-09 David S. Miller <davem@davemloft.net>
25404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25405 variables with appropriate CPP guards.
25406 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25407 frame pointer, not the stack pointer. Correct layout comments. Fix test
25408 on resulting framesize and the management of the outregs buffer for pltexit.
25409 Preserve floating point return values across _dl_call_pltexit call.
25410 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25411 framesize and the management of the outregs buffer for pltexit.
25412 Preserve floating point return values across _dl_call_pltexit
25414 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25415 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25416 (print_exit): Fix format string for return register value.
25418 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25420 * sunrpc/Makefile (others): Add rpcgen.
25421 ($(objpfx)rpcgen): Remove special build rule and dependency on
25423 * sunrpc/rpcgen.c: New file.
25425 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25428 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25429 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25430 * sysdeps/i386/crti.S: Likewise.
25431 * sysdeps/i386/crtn.S: Likewise.
25432 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25433 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25434 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25435 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25436 * sysdeps/sh/crti.S: Likewise.
25437 * sysdeps/sh/crtn.S: Likewise.
25438 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25441 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25443 * locale/programs/locfile-kw.gperf: Likewise.
25444 * locale/programs/charmap-kw.h: Regenerated.
25445 * locale/programs/locfile-kw.h: Likewise.
25448 * intl/plural.y: Replace FSF snail mail address with URL.
25449 * intl/plural.c: Regenerated.
25451 2012-03-09 Richard Henderson <rth@twiddle.net>
25453 * include/math_private.h: Remove file.
25454 * math/math_private.h: Move file ...
25455 * sysdeps/generic/math_private.h: ... here.
25457 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25458 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25459 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25461 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25462 and <math_private.h>.
25463 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25464 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25465 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25466 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25467 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25551 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25552 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25553 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25554 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25556 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25560 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25561 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25563 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25564 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25565 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25568 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25569 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25570 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25571 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25573 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25574 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25577 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25580 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25582 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25583 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25584 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25585 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25586 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25587 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25588 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25589 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25590 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25591 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25592 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25593 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25594 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25595 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25596 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25597 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25598 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25601 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25602 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25603 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25604 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25605 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25606 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25607 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25608 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25609 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25610 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25611 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25612 * sysdeps/ieee754/k_standard.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25745 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25755 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25758 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25761 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25762 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25763 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25768 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25773 * sysdeps/ieee754/s_lib_version.c: Likewise.
25774 * sysdeps/ieee754/s_matherr.c: Likewise.
25775 * sysdeps/ieee754/s_signgam.c: Likewise.
25776 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25777 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25778 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25779 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25780 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25781 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25782 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25783 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25784 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25785 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25786 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25787 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25788 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25789 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25790 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25791 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25792 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25793 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25794 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25798 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25800 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25801 * sunrpc/rpc_main.c: Likewise.
25802 * sunrpc/rpc_svcout.c: Likewise.
25804 2012-03-09 David S. Miller <davem@davemloft.net>
25806 * include/math_private.h: New file.
25808 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25810 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25811 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25812 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25813 from <bits/socket_type.h>.
25814 (enum __socket_type): Don't define here.
25815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25817 bits/socket_type.h.
25820 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25821 checking __USE_GNU.
25823 * Makerules ($(inst_includedir)/%.h): New rule.
25824 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25825 (install-others): Remove variable setting.
25826 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25828 2012-03-08 Richard Henderson <rth@twiddle.net>
25830 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25831 from macro to inline function; merge with the
25832 !__LIBC_INTERNAL_MATH_INLINES version.
25833 (__ieee754_sqrtf): Likewise.
25835 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25836 to inline function.
25837 (__rintf, __floor, __floorf): Likewise.
25839 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25840 macro to inline function.
25841 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25843 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25844 not <math/math_private.h>.
25846 2012-03-08 David S. Miller <davem@davemloft.net>
25848 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25850 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25852 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25854 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25856 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25857 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25859 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25861 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25862 be defined individually, they must be defined as a block. Define
25863 S for printing a string instead of hidint the different by using a
25864 macro for adding the 'l'.
25865 * stdio-common/tst-fphex-wide.c: Adjust.
25867 2012-03-07 Marek Polacek <polacek@redhat.com>
25869 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25871 2012-03-08 Marek Polacek <polacek@redhat.com>
25874 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25875 * stdio-common/tst-fphex.c: Define a few macros to make the
25876 test reusable. Use them.
25877 * stdio-common/tst-fphex-wide.c: New file.
25879 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25882 * manual/macros.texi (gnusystems): New macro.
25883 (nongnusystems): Likewise.
25884 (gnulinuxhurdsystems): Likewise.
25885 (gnuhurdsystems): Likewise..
25886 (gnulinuxsystems): Likewise.
25887 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25888 variants of the GNU system, not "GNU system".
25889 * manual/conf.texi: Likewise.
25890 * manual/errno.texi: Likewise. Update example of errno macro
25892 * manual/filesys.texi: Likewise.
25893 (getumask): Document as specific to GNU/Hurd.
25894 * manual/install.texi: Likewise. Reword some references to
25896 * manual/intro.texi: Likewise.
25897 * manual/io.texi: Likewise.
25898 (File Name Portability): Detail which constraints are inapplicable
25899 to all GNU systems and which are only inapplicable to GNU/Hurd.
25900 * manual/job.texi: Likewise.
25901 * manual/llio.texi: Likewise.
25902 (O_NOCTTY): Document as present on GNU/Linux.
25903 * manual/maint.texi: Likewise.
25904 * manual/memory.texi: Likewise.
25905 * manual/pattern.texi: Likewise.
25906 * manual/pipe.texi: Likewise.
25907 * manual/process.texi: Likewise.
25908 * manual/resource.texi: Likewise.
25909 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25911 * manual/setjmp.texi: Likewise.
25912 * manual/signal.texi: Likewise.
25913 * manual/startup.texi: Likewise.
25914 * manual/stdio.texi: Likewise.
25915 * manual/terminal.texi: Likewise.
25916 (ONLCR): Document as POSIX.
25917 (OXTABS): Document availability on GNU/Linux as XTABS.
25918 (ONOEOT): Document availability separately from other bits.
25919 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25920 * manual/time.texi: Likewise.
25921 * manual/users.texi: Likewise.
25922 * INSTALL: Regenerated.
25923 * sysdeps/gnu/errlist.c: Regenerated.
25925 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25926 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25927 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25929 * configure: Regenerated.
25931 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25933 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25934 default includes instead of AC_HEADER_CHECK.
25935 * sysdeps/i386/configure: Regenerated.
25938 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25939 * math/s_cacoshf.c (__cacoshf): Likewise.
25940 * math/s_cacoshl.c (__cacoshl): Likewise.
25941 * math/s_casinh.c (__casinh): Set signs of result from argument.
25942 * math/s_casinhf.c (__casinhf): Likewise.
25943 * math/s_casinhl.c (__casinhl): Likewise.
25944 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25945 (casinh_test): Add more tests.
25946 * sysdeps/i386/fpu/libm-test-ulps: Update.
25947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25949 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25951 * po/zh_TW.po: Update from translation team.
25953 * login/Makefile (distribute): Remove variable.
25954 * catgets/Makefile: Likewise.
25955 * mach/Makefile: Likewise.
25956 * malloc/Makefile: Likewise.
25957 * misc/Makefile: Likewise.
25958 * iconv/Makefile: Likewise.
25959 * nscd/Makefile: Likewise.
25960 * hurd/Makefile: Likewise.
25961 * manual/Makefile: Likewise.
25962 * locale/Makefile: Likewise.
25963 * intl/Makefile: Likewise.
25964 * conform/Makefile: Likewise.
25965 * nss/Makefile: Likewise.
25966 * time/Makefile: Likewise.
25967 * soft-fp/Makefile: Likewise.
25968 * dirent/Makefile: Likewise.
25969 * gmon/Makefile: Likewise.
25970 * po/Makefile: Likewise.
25971 * rt/Makefile: Likewise.
25972 * socket/Makefile: Likewise.
25973 * math/Makefile: Likewise.
25974 * signal/Makefile: Likewise.
25975 * debug/Makefile: Likewise.
25976 * elf/Makefile: Likewise.
25977 * timezone/Makefile: Likewise.
25978 * stdlib/Makefile: Likewise.
25979 * iconvdata/Makefile: Likewise.
25980 * sunrpc/Makefile: Likewise.
25981 * io/Makefile: Likewise.
25982 * argp/Makefile: Likewise.
25983 * inet/Makefile: Likewise.
25984 * hesiod/Makefile: Likewise.
25985 * grp/Makefile: Likewise.
25986 * csu/Makefile: Likewise.
25987 * wctype/Makefile: Likewise.
25988 * crypt/Makefile: Likewise.
25989 * libio/Makefile: Likewise.
25990 * string/Makefile: Likewise.
25991 * nis/Makefile: Likewise.
25992 * resolv/Makefile: Likewise.
25993 * stdio-common/Makefile: Likewise.
25994 * wcsmbs/Makefile: Likewise.
25995 * dlfcn/Makefile: Likewise.
25996 * posix/Makefile: Likewise.
25999 * timezone/Makefile: Don't install timezone files, just the programs
26002 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26004 * nss/databases.def: Add missing gshadow entry.
26006 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26008 2012-03-06 Marek Polacek <polacek@redhat.com>
26011 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26012 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26013 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26014 * stdio-common/tst-long-dbl-fphex.c: New file.
26016 2012-03-06 David S. Miller <davem@davemloft.net>
26018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26019 (set_obp_int): New function.
26020 (get_obp_int): New function.
26021 (__get_clockfreq_via_dev_openprom): Likewise.
26022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26023 Avoid unused variable warnings on 'val' and use builtin_expect.
26024 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26026 (INLINE_CLONE_SYSCALL): Likewise.
26028 2012-03-05 David S. Miller <davem@davemloft.net>
26030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26032 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26036 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26037 only for |x| >= 40.
26038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26040 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26042 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26043 Replace gettimeofday with __vdso_gettimeofday.
26045 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26046 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26047 __vdso_clock_gettime and __vdso_getcpu.
26049 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26050 time with __vdso_time.
26052 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26054 * manual/lang.texi (size_t): Note types to which size_t may be
26055 equivalent with the GNU C Library, but do not describe when
26056 differences between them are significant.
26058 2012-03-05 Andreas Jaeger <aj@suse.de>
26060 * sysdeps/i386/fpu/libm-test-ulps: Update.
26062 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26065 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26066 (__ieee754_pow): Save and restore rounding mode and use
26067 round-to-nearest for main computations.
26068 * math/libm-test.inc (pow_test_tonearest): New function.
26069 (pow_test_towardzero): Likewise.
26070 (pow_test_downward): Likewise.
26071 (pow_test_upward): Likewise.
26072 (main): Call the new functions.
26073 * sysdeps/i386/fpu/libm-test-ulps: Update.
26074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26077 * math/libm-test.inc (cosh_test_tonearest): New function.
26078 (cosh_test_towardzero): Likewise.
26079 (cosh_test_downward): Likewise.
26080 (cosh_test_upward): Likewise.
26081 (sinh_test_tonearest): Likewise.
26082 (sinh_test_towardzero): Likewise.
26083 (sinh_test_downward): Likewise.
26084 (sinh_test_upward): Likewise.
26085 (main): Call the new functions.
26086 * sysdeps/i386/fpu/libm-test-ulps: Update.
26087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26089 2012-03-05 Tom de Vries <tom@codesourcery.com>
26091 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26092 default stack guard is set in last bytes.
26093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26095 2012-03-05 Kees Cook <keescook@chromium.org>
26097 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26100 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26101 possibly allocate from heap instead of stack.
26102 * stdio-common/bug-vfprintf-nargs.c: New file.
26103 * stdio-common/Makefile (tests): Add nargs overflow test.
26105 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26109 2012-03-03 Marek Polacek <polacek@redhat.com>
26111 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26112 * math/math_private.h: Likewise.
26113 * stdlib/tst-strtod.c: Likewise.
26114 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26115 * sysdeps/x86_64/bits/atomic.h: Likewise.
26117 2012-03-02 David S. Miller <davem@davemloft.net>
26119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26123 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26124 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26125 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26126 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26128 2012-03-02 Roland McGrath <roland@hack.frob.com>
26131 * manual/examples/README: New file, says the example source files
26132 can be used under GPL>=2.
26133 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26134 line containing just "*/".
26135 * manual/examples/add.c: Add copyright header (GPL>=2).
26136 * manual/examples/argp-ex1.c: Likewise.
26137 * manual/examples/argp-ex2.c: Likewise.
26138 * manual/examples/argp-ex3.c: Likewise.
26139 * manual/examples/argp-ex4.c: Likewise.
26140 * manual/examples/atexit.c: Likewise.
26141 * manual/examples/db.c: Likewise.
26142 * manual/examples/dir.c: Likewise.
26143 * manual/examples/dir2.c: Likewise.
26144 * manual/examples/execinfo.c: Likewise.
26145 * manual/examples/filecli.c: Likewise.
26146 * manual/examples/filesrv.c: Likewise.
26147 * manual/examples/fmtmsgexpl.c: Likewise.
26148 * manual/examples/genpass.c: Likewise.
26149 * manual/examples/inetcli.c: Likewise.
26150 * manual/examples/inetsrv.c: Likewise.
26151 * manual/examples/isockad.c: Likewise.
26152 * manual/examples/longopt.c: Likewise.
26153 * manual/examples/memopen.c: Likewise.
26154 * manual/examples/memstrm.c: Likewise.
26155 * manual/examples/mkfsock.c: Likewise.
26156 * manual/examples/mkisock.c: Likewise.
26157 * manual/examples/mygetpass.c: Likewise.
26158 * manual/examples/pipe.c: Likewise.
26159 * manual/examples/popen.c: Likewise.
26160 * manual/examples/rprintf.c: Likewise.
26161 * manual/examples/search.c: Likewise.
26162 * manual/examples/select.c: Likewise.
26163 * manual/examples/setjmp.c: Likewise.
26164 * manual/examples/sigh1.c: Likewise.
26165 * manual/examples/sigusr.c: Likewise.
26166 * manual/examples/stpcpy.c: Likewise.
26167 * manual/examples/strdupa.c: Likewise.
26168 * manual/examples/strftim.c: Likewise.
26169 * manual/examples/strncat.c: Likewise.
26170 * manual/examples/subopt.c: Likewise.
26171 * manual/examples/swapcontext.c: Likewise.
26172 * manual/examples/termios.c: Likewise.
26173 * manual/examples/testopt.c: Likewise.
26174 * manual/examples/testpass.c: Likewise.
26175 * manual/examples/timeval_subtract.c: Likewise.
26178 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26180 * manual/timeval_subtract.c.texi: ... here, new file.
26182 2012-03-02 David S. Miller <davem@davemloft.net>
26184 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26186 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26189 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26190 (__sin): Save and restore rounding mode and use round-to-nearest
26191 for all computations.
26192 (__cos): Save and restore rounding mode and use round-to-nearest
26193 for all computations.
26194 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26196 (tan): Save and restore rounding mode and use round-to-nearest for
26198 * math/libm-test.inc (cos_test_tonearest): New function.
26199 (cos_test_towardzero): Likewise.
26200 (cos_test_downward): Likewise.
26201 (cos_test_upward): Likewise.
26202 (sin_test_tonearest): Likewise.
26203 (sin_test_towardzero): Likewise.
26204 (sin_test_downward): Likewise.
26205 (sin_test_upward): Likewise.
26206 (tan_test_tonearest): Likewise.
26207 (tan_test_towardzero): Likewise.
26208 (tan_test_downward): Likewise.
26209 (tan_test_upward): Likewise.
26210 (main): Call the new functions.
26211 * sysdeps/i386/fpu/libm-test-ulps: Update.
26212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26215 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26216 small n, then large n, before computing and testing k+n.
26217 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26222 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26223 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26230 * math/libm-test.inc (scalbn_test): Add more tests.
26231 (scalbln_test): Likewise.
26233 * manual/filesys.texi (mode_t): Describe constraints on size and
26234 signedness, not exact equivalence to a particular type.
26236 (ino64_t): Likewise.
26238 (nlink_t): Likewise.
26239 (blkcnt_t): Likewise.
26240 (blkcnt64_t): Likewise.
26241 * manual/llio.texi (off_t): Likewise.
26244 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26245 (__ieee754_exp): Save and restore rounding mode and use
26246 round-to-nearest for all computations.
26247 * math/libm-test.inc (exp_test_tonearest): New function.
26248 (exp_test_towardzero): Likewise.
26249 (exp_test_downward): Likewise.
26250 (exp_test_upward): Likewise.
26251 (main): Call the new functions.
26252 * sysdeps/i386/fpu/libm-test-ulps: Update.
26253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26255 2012-03-01 Chris Demetriou <cgd@google.com>
26257 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26258 have predictable order.
26260 2012-03-01 David S. Miller <davem@davemloft.net>
26262 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26264 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26265 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26266 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26267 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26269 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26270 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26271 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26273 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26274 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26275 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26276 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26277 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26281 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26282 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26283 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26285 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26287 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26288 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26289 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26292 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26293 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26294 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26295 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26298 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26299 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26300 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26301 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26302 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26303 * sysdeps/sparc/elf/configure: Regenerated.
26305 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26307 * configure.in (AS, LD): Require binutils 2.20 or later.
26308 * configure: Regenerated.
26309 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26310 as required minimum version.
26311 * INSTALL: Regenerated.
26315 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26316 before squaring exponent.
26317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26318 bottom long double and 27 bits of top long double before squaring
26320 * math/libm-test.inc (erfc_test): Add more tests.
26321 * sysdeps/i386/fpu/libm-test-ulps: Update.
26322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26325 2012-03-01 Kai Tietz <ktietz@redhat.com>
26327 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26328 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26329 containing bit-fields.
26330 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26331 * soft-fp/single.h (_FP_UNION_S): Likewise.
26332 * soft-fp/double.h (_FP_UNION_D): Likewise.
26334 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26337 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26338 not include ../strcmp.S.
26339 [USE_AS_STRNCASECMP_L]: Likewise.
26340 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26341 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26342 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26343 (__strncasecmp_l_ia32): Define as alias to
26344 __strncasecmp_l_nonascii.
26347 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26348 * sysdeps/i386/fpu/libm-test-ulps: Update.
26349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26351 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26354 2012-02-29 Jeff Law <law@redhat.com>
26356 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26357 out of bounds read.
26359 2012-02-29 Marek Polacek <polacek@redhat.com>
26362 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26363 * elf/Makefile: Add rules to run tst-unused-dep.out.
26365 2012-02-28 David S. Miller <davem@davemloft.net>
26367 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26368 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26371 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26372 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26374 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26376 * math/libm-test.inc (llround_test): Move one test from
26377 lround_test. Use TEST_f_L in moved test.
26378 (lround_test): Move misplaced test to llround_test. Add testcase
26381 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26383 * sysdeps/x86_64/fpu/e_expf.S: New file.
26384 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26386 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26389 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26390 of remain_len that may cause incomplete multi-byte character and
26392 * posix/bug-regex33.c: New file.
26393 * posix/Makefile (tests): Add bug-regex33.
26395 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26397 * manual/macros.texi: New file.
26398 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26399 * manual/libc.texinfo: Include macros.texi.
26400 * manual/creatute.texi: Likewise.
26401 * manual/install.texi: Likewise.
26402 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26403 @glibcadj{} in references to the GNU C Library.
26404 * manual/charset.texi: Likewise.
26405 * manual/conf.texi: Likewise.
26406 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26407 when not using those macros.
26408 * manual/creature.texi: Likewise.
26409 * manual/crypt.texi: Likewise.
26410 * manual/errno.texi: Likewise.
26411 * manual/filesys.texi: Likewise.
26412 * manual/header.texi: Likewise.
26413 * manual/install.texi: Likewise.
26414 * manual/intro.texi: Likewise.
26415 * manual/io.texi: Likewise.
26416 * manual/job.texi: Likewise.
26417 * manual/lang.texi: Likewise.
26418 * manual/libc.texiinfo: Likewise.
26419 * manual/llio.texi: Likewise.
26420 * manual/locale.texi: Likewise.
26421 * manual/maint.texi: Likewise.
26422 * manual/math.texi: Likewise.
26423 * manual/memory.texi: Likewise.
26424 * manual/message.texi: Likewise.
26425 * manual/nss.texi: Likewise.
26426 * manual/pattern.texi: Likewise.
26427 * manual/process.texi: Likewise.
26428 * manual/resource.texi: Likewise.
26429 * manual/search.texi: Likewise.
26430 * manual/setjmp.texi: Likewise.
26431 * manual/signal.texi: Likewise.
26432 * manual/socket.texi: Likewise.
26433 * manual/startup.texi: Likewise.
26434 * manual/stdio.texi: Likewise.
26435 * manual/string.texi: Likewise.
26436 * manual/sysinfo.texi: Likewise.
26437 * manual/syslog.texi: Likewise.
26438 * manual/terminal.texi: Likewise.
26439 * manual/time.texi: Likewise.
26440 * manual/users.texi: Likewise.
26441 * INSTALL: Regenerated.
26442 * NOTES: Regenerated.
26443 * sysdeps/gnu/errlist.c: Regenerated.
26445 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26447 * include/dirent.h: Include <dirstream.h> before
26450 2012-02-28 David S. Miller <davem@davemloft.net>
26452 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26453 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26454 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26455 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26457 2012-02-27 David S. Miller <davem@davemloft.net>
26459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26461 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26462 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26465 frame pointer instead of stack pointer relative arg slot.
26466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26467 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26468 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26470 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26473 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26475 2012-02-27 David S. Miller <davem@davemloft.net>
26477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26481 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26482 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26483 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26484 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26486 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26488 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26489 later. Allow versions 5-9.
26490 * configure: Regenerated.
26491 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26492 required minimum version and 4.6 as recommended version. Do not
26493 mention bugs in GCC 2.7 and 2.8.
26494 * INSTALL: Regenerated.
26496 2012-02-27 David S. Miller <davem@davemloft.net>
26498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26502 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26503 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26504 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26505 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26508 manipulate bits before adding and subtracting TWO112[sx].
26509 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26511 2012-02-27 Roland McGrath <roland@hack.frob.com>
26514 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26515 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26516 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26517 being in POSIX, because they are in 1003.1-2008.
26519 * rt/tst-aio.c: Include <fcntl.h>.
26520 * rt/tst-aio7.c: Likewise.
26521 * rt/tst-aio64.c: Likewise.
26523 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26525 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26527 * manual/install.texi (--with-headers): Describe headers as
26528 interface headers, not private headers.
26529 (Specific advice for GNU/Linux systems): Describe use of headers
26530 from "make headers_install", not private headers from older
26532 * INSTALL: Regenerated.
26533 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26535 * sysdeps/unix/sysv/linux/configure: Regenerated.
26537 * manual/llio.texi (fclean): Remove documentation.
26539 * manual/Makefile (libc-texi-generated): New variable. Include
26541 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26542 $(libc-texi-generated), not duplicated list of files.
26543 (version.texi, stamp-version): New rules.
26544 (realclean): Remove $(libc-texi-generated), not individual files
26545 from that list. Do not remove dir-add.texinfo.
26546 * manual/libc.texinfo: Comment out uses of edition numbers and
26547 references to printed manual. Remove last-updated dates.
26548 (EDITION): Comment out.
26550 (VERSION, UPDATED): Remove.
26551 (version.texi): Include.
26553 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26555 * sysdeps/posix/spawni.c: Include <signal.h>.
26556 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26557 * sysdeps/pthread/aio_fsync.c: Likewise.
26559 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26561 * conform/Makefile (tests): Run only when not cross-compiling and
26562 when fast-check is not defined.
26564 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26565 * conform/data/limits.h-data: Fixes for POSIX2008.
26566 * conform/run-conformtest.sh: Run all tests.
26567 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26569 * include/bits/dlfcn.h: Likewise.
26570 * include/langinfo.h: Likewise.
26571 * include/monetary.h: Likewise.
26572 * include/sys/poll.h: Likewise.
26574 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26576 * posix/spawn.h: Define __need_sigset_t.
26577 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26578 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26579 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26580 to get sigevent_t only.
26581 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26582 only for __USE_GNU.
26583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26584 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26585 process_vm_writev only for __USE_GNU.
26586 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26588 * conform/Makefile: For now ignore errors from run-conformtest.
26589 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26590 POSIX to avoid namespace pollution. Don't prepend headers.
26591 * conform/data/aio.h-data: Fixes for POSIX testing.
26592 * conform/data/fcntl.h-data: Likewise.
26593 * conform/data/glob.h-data: Likewise.
26594 * conform/data/grp.h-data: Likewise.
26595 * conform/data/pthread.h-data: Likewise.
26596 * conform/data/pwd.h-data: Likewise.
26597 * conform/data/signal.h-data: Likewise.
26598 * conform/data/spawn.h-data: Likewise.
26599 * conform/data/stdio.h-data: Likewise.
26600 * conform/data/stdlib.h-data: Likewise.
26601 * conform/data/stropts.h-data: Likewise.
26602 * conform/data/sys/mman.h-data: Likewise.
26603 * conform/data/sys/stat.h-data: Likewise.
26604 * conform/data/sys/types.h-data: Likewise.
26605 * conform/data/sys/wait.h-data: Likewise.
26606 * conform/data/time.h-data: Likewise.
26607 * conform/data/unistd.h-data: Likewise.
26608 * conform/data/utime.h-data: Likewise.
26610 * io/sys/stat.h: fchmod was always in POSIX.
26611 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26612 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26613 * rt/aio.h: Define __need_timespec before including <time.h>.
26614 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26615 struct. Add forward declaration of pthread_attr_t and use it in
26617 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26619 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26620 always remove CLK_TCK definition.
26622 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26624 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26626 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26628 * conform/run-conformtest.sh: New file.
26629 * conform/Makefile: Run run-conformtest for tests.
26630 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26633 * conform/data/uchar.h-data: New file.
26634 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26635 * conform/data/arpa/inet.h-data: Likewise.
26636 * conform/data/assert.h-data: Likewise.
26637 * conform/data/complex.h-data: Likewise.
26638 * conform/data/cpio.h-data: Likewise.
26639 * conform/data/ctype.h-data: Likewise.
26640 * conform/data/dirent.h-data: Likewise.
26641 * conform/data/dlfcn.h-data: Likewise.
26642 * conform/data/errno.h-data: Likewise.
26643 * conform/data/fcntl.h-data: Likewise.
26644 * conform/data/float.h-data: Likewise.
26645 * conform/data/fmtmsg.h-data: Likewise.
26646 * conform/data/fnmatch.h-data: Likewise.
26647 * conform/data/ftw.h-data: Likewise.
26648 * conform/data/glob.h-data: Likewise.
26649 * conform/data/grp.h-data: Likewise.
26650 * conform/data/iconv.h-data: Likewise.
26651 * conform/data/inttypes.h-data: Likewise.
26652 * conform/data/langinfo.h-data: Likewise.
26653 * conform/data/libgen.h-data: Likewise.
26654 * conform/data/limits.h-data: Likewise.
26655 * conform/data/locale.h-data: Likewise.
26656 * conform/data/math.h-data: Likewise.
26657 * conform/data/monetary.h-data: Likewise.
26658 * conform/data/mqueue.h-data: Likewise.
26659 * conform/data/ndbm.h-data: Likewise.
26660 * conform/data/net/if.h-data: Likewise.
26661 * conform/data/netdb.h-data: Likewise.
26662 * conform/data/netinet/in.h-data: Likewise.
26663 * conform/data/nl_types.h-data: Likewise.
26664 * conform/data/poll.h-data: Likewise.
26665 * conform/data/pthread.h-data: Likewise.
26666 * conform/data/pwd.h-data: Likewise.
26667 * conform/data/regex.h-data: Likewise.
26668 * conform/data/sched.h-data: Likewise.
26669 * conform/data/search.h-data: Likewise.
26670 * conform/data/semaphore.h-data: Likewise.
26671 * conform/data/setjmp.h-data: Likewise.
26672 * conform/data/signal.h-data: Likewise.
26673 * conform/data/spawn.h-data: Likewise.
26674 * conform/data/stdarg.h-data: Likewise.
26675 * conform/data/stdio.h-data: Likewise.
26676 * conform/data/stdlib.h-data: Likewise.
26677 * conform/data/string.h-data: Likewise.
26678 * conform/data/strings.h-data: Likewise.
26679 * conform/data/stropts.h-data: Likewise.
26680 * conform/data/sys/ipc.h-data: Likewise.
26681 * conform/data/sys/mman.h-data: Likewise.
26682 * conform/data/sys/msg.h-data: Likewise.
26683 * conform/data/sys/resource.h-data: Likewise.
26684 * conform/data/sys/select.h-data: Likewise.
26685 * conform/data/sys/sem.h-data: Likewise.
26686 * conform/data/sys/shm.h-data: Likewise.
26687 * conform/data/sys/socket.h-data: Likewise.
26688 * conform/data/sys/stat.h-data: Likewise.
26689 * conform/data/sys/statvfs.h-data: Likewise.
26690 * conform/data/sys/time.h-data: Likewise.
26691 * conform/data/sys/timeb.h-data: Likewise.
26692 * conform/data/sys/times.h-data: Likewise.
26693 * conform/data/sys/types.h-data: Likewise.
26694 * conform/data/sys/uio.h-data: Likewise.
26695 * conform/data/sys/un.h-data: Likewise.
26696 * conform/data/sys/utsname.h-data: Likewise.
26697 * conform/data/sys/wait.h-data: Likewise.
26698 * conform/data/syslog.h-data: Likewise.
26699 * conform/data/tar.h-data: Likewise.
26700 * conform/data/termios.h-data: Likewise.
26701 * conform/data/utime.h-data: Likewise.
26702 * conform/data/utmpx.h-data: Likewise.
26703 * conform/data/varargs.h-data: Likewise.
26704 * conform/data/wchar.h-data: Likewise.
26705 * conform/data/wctype.h-data: Likewise.
26706 * conform/data/wordexp.h-data: Likewise.
26708 * include/stropts.h: New file.
26709 * include/uchar.h: New file.
26710 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26711 * include/assert.h: Likewise.
26712 * include/ctype.h: Likewise.
26713 * include/dirent.h: Likewise.
26714 * include/dlfcn.h: Likewise.
26715 * include/fcntl.h: Likewise.
26716 * include/fnmatch.h: Likewise.
26717 * include/glob.h: Likewise.
26718 * include/grp.h: Likewise.
26719 * include/libio.h: Likewise.
26720 * include/locale.h: Likewise.
26721 * include/math.h: Likewise.
26722 * include/net/if.h: Likewise.
26723 * include/netdb.h: Likewise.
26724 * include/netinet/in.h: Likewise.
26725 * include/pthread.h: Likewise.
26726 * include/pwd.h: Likewise.
26727 * include/regex.h: Likewise.
26728 * include/sched.h: Likewise.
26729 * include/search.h: Likewise.
26730 * include/setjmp.h: Likewise.
26731 * include/signal.h: Likewise.
26732 * include/stdio.h: Likewise.
26733 * include/stdlib.h: Likewise.
26734 * include/string.h: Likewise.
26735 * include/sys/cdefs.h: Likewise.
26736 * include/sys/mman.h: Likewise.
26737 * include/sys/msg.h: Likewise.
26738 * include/sys/resource.h: Likewise.
26739 * include/sys/select.h: Likewise.
26740 * include/sys/socket.h: Likewise.
26741 * include/sys/stat.h: Likewise.
26742 * include/sys/statvfs.h: Likewise.
26743 * include/sys/time.h: Likewise.
26744 * include/sys/times.h: Likewise.
26745 * include/sys/uio.h: Likewise.
26746 * include/sys/utsname.h: Likewise.
26747 * include/sys/wait.h: Likewise.
26748 * include/termios.h: Likewise.
26749 * include/time.h: Likewise.
26750 * include/ulimit.h: Likewise.
26751 * include/unistd.h: Likewise.
26752 * include/utime.h: Likewise.
26753 * include/wchar.h: Likewise.
26754 * include/wctype.h: Likewise.
26755 * include/wordexp.h: Likewise.
26757 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26759 * time/time.h: TIME_UTC must be a macro.
26760 Make timespec_get available for ISO C11 only as well.
26762 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26764 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26765 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26767 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26769 * configure.in: Use -o not -a in test for unsupported multi-arch.
26771 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26773 * manual/texinfo.tex: Update to version 2012-01-19.16.
26775 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26777 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26779 2012-02-24 Roland McGrath <roland@hack.frob.com>
26782 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26783 * manual/fdl-1.3.texi: New file.
26784 * manual/fdl-1.1.texi: File removed.
26787 * manual/libc.texinfo (FDL_VERSION): New @set.
26788 Use it for mention of FDL in cover text.
26789 (Documentation License): Use it in @include file name.
26791 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26792 Roland McGrath <roland@hack.frob.com>
26795 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26796 not LONG_LONG_MAX and LONG_LONG_MIN.
26797 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26798 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26800 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26802 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26806 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26807 manipulate bits before adding and subtracting TWO23[sx].
26808 * math/libm-test.inc (nearbyint_test): Add more tests.
26810 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26813 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26814 bits before adding and subtracting TWO23[sx].
26815 * math/libm-test.inc (rint_test): Add more tests.
26816 (rint_test_tonearest): Likewise.
26817 (rint_test_towardzero): Likewise.
26818 (rint_test_downward): Likewise.
26819 (rint_test_upward: Likewise.
26821 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26824 * include/stdc-predef.h: New file. Extracted from features.h.
26825 * include/features.h: Include stdc-predef.h.
26826 * Makefile (headers): Add stdc-predef.h.
26827 * CONFORMANCE (Compiler limitations): Update.
26829 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26831 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26833 2012-02-21 David S. Miller <davem@davemloft.net>
26835 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26836 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26838 2012-02-20 David S. Miller <davem@davemloft.net>
26840 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26841 using a normal save/restore sequence, rather than allocating a
26842 dummy stack frame just to store a frame pointer and restore.
26843 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26845 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26847 * manual/install.texi: Fix stray word in line-wrapped comment.
26849 2012-02-20 David S. Miller <davem@davemloft.net>
26851 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26852 both binutils and gcc support GOTDATA.
26854 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26855 "rd %pc" in the PIC register setup sequences.
26857 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26858 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26859 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26860 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26861 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26866 (SYSCALL_ERROR_HANDLER): Likewise.
26867 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26868 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26870 (SYSCALL_ERROR_HANDLER): Likewise.
26872 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26873 (HAVE_GCC_GOTDATA): New.
26874 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26875 relocation support in both binutils and gcc.
26876 * sysdeps/sparc/elf/configure: Regenerate.
26878 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26879 * sysdeps/sparc/sparc32/elf/configure: Delete.
26880 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26881 * sysdeps/sparc/sparc64/elf/configure: Delete.
26882 * sysdeps/sparc/elf/configure.in: New file.
26883 * sysdeps/sparc/elf/configure: Generate.
26885 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26886 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26887 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26888 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26889 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26891 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26893 * manual/install.texi: Do not mention specific glibc version
26895 * manual/libc.texinfo (VERSION, UPDATED): Update.
26896 (@copying): Use @copyright{} and range of years.
26898 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26901 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26902 [crti.S not in sysdirs] (generated): Do not append.
26903 [crti.S not in sysdirs] (omit-deps): Likewise.
26904 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26905 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26906 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26907 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26908 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26910 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26911 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26912 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26913 * csu/defs.awk: Remove file.
26914 * sysdeps/generic/initfini.c: Likewise.
26915 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26917 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26920 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26922 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26923 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26924 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26925 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26926 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26927 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26929 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26930 (__EPOLL_PACKED): Define to empty if not defined by
26932 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26936 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26938 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26939 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26940 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26941 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26943 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26947 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26949 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26953 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26956 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26958 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26959 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26961 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26963 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26964 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26966 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26968 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26971 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26973 * math/w_acos.c: Use non-signaling floating-point comparisons.
26974 * math/w_acosf.c: Likewise.
26975 * math/w_acosh.c: Likewise.
26976 * math/w_acoshf.c: Likewise.
26977 * math/w_acoshl.c: Likewise.
26978 * math/w_acosl.c: Likewise.
26979 * math/w_asin.c: Likewise.
26980 * math/w_asinf.c: Likewise.
26981 * math/w_asinl.c: Likewise.
26982 * math/w_atanh.c: Likewise.
26983 * math/w_atanhf.c: Likewise.
26984 * math/w_atanhl.c: Likewise.
26985 * math/w_exp2.c: Likewise.
26986 * math/w_exp2f.c: Likewise.
26987 * math/w_exp2l.c: Likewise.
26988 * math/w_j0.c: Likewise.
26989 * math/w_j0f.c: Likewise.
26990 * math/w_j0l.c: Likewise.
26991 * math/w_j1.c: Likewise.
26992 * math/w_j1f.c: Likewise.
26993 * math/w_j1l.c: Likewise.
26994 * math/w_jn.c: Likewise.
26995 * math/w_jnf.c: Likewise.
26996 * math/w_log.c: Likewise.
26997 * math/w_log10.c: Likewise.
26998 * math/w_log10f.c: Likewise.
26999 * math/w_log10l.c: Likewise.
27000 * math/w_log2.c: Likewise.
27001 * math/w_log2f.c: Likewise.
27002 * math/w_log2l.c: Likewise.
27003 * math/w_logf.c: Likewise.
27004 * math/w_logl.c: Likewise.
27005 * math/w_sqrt.c: Likewise.
27006 * math/w_sqrtf.c: Likewise.
27007 * math/w_sqrtl.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27010 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27011 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27012 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27014 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27017 * manual/string.texi (strnlen): Use correct parameter name in
27018 equivalent expression.
27020 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27023 * manual/users.texi (seteuid): Consistently use neweuid for
27026 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27029 * manual/nss.texi (Services in the NSS configuration): Correct
27030 list of services in example configuration file.
27032 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27035 * manual/arith.texi: Remove statements about negative zero
27036 behaving identically to zero.
27038 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27041 * manual/install.texi: Do not document upgrading from libc5.
27043 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27046 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27048 2012-02-18 David S. Miller <davem@davemloft.net>
27050 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27051 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27052 %o7 across the call.
27053 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27056 SETUP_PIC_REG_LEAF.
27057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27058 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27059 * sysdeps/sparc/crtn.S: Likewise.
27061 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27063 * aout/Makefile: Remove.
27065 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27068 * manual/examples/argp-ex1.c (main): Format definition in GNU
27070 * manual/examples/argp-ex2.c (main): Likewise.
27071 * manual/examples/argp-ex3.c (main): Likewise.
27072 * manual/examples/argp-ex4.c (main): Likewise.
27073 * manual/examples/longopt.c (main): Use new-style prototype
27075 * manual/examples/strncat.c (main): Specify return type and use
27076 (void) for arguments.
27077 * manual/examples/subopt.c (main): Use char **argv argument.
27079 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27082 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27085 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27088 * manual/string.texi (strchr): Change when strchrnul is
27091 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27094 * manual/locale.texi (setlocale): Document LOCPATH.
27096 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27099 * manual/process.texi (execle): Move @dots{} before last argument.
27101 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27104 * manual/charset.texi (Generic Charset Conversion): Fix typo
27105 (LC_TYPE -> LC_CTYPE).
27107 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27110 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27111 (scalbnf): Likewise.
27112 (scalbnl): Likewise.
27113 (scalbln): Likewise.
27114 (scalblnf): Likewise.
27115 (scalblnl): Likewise.
27116 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27117 (vwarnx): Likewise.
27120 * manual/filesys.texi (telldir): Use braces around return type.
27121 * manual/llio.texi (mmap): Add space after comma.
27122 (mmap64): Likewise.
27123 * manual/math.texi (jn): Use @var{} on parameter names.
27129 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27131 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27133 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27134 (sched_get_priority_max): Likewise.
27135 * manual/signal.texi (sigvec): Add space after comma.
27136 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27138 (if_indextoname): Likewise.
27139 (if_freenameindex): Likewise.
27140 (sendto): Use ',' instead of '.' in prototype.
27141 * manual/startup.texi (syscall): Use @dots{} instead of literal
27143 * manual/stdio.texi (__fpending): Separate initial words of
27144 paragraph from @deftypefun line.
27145 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27147 (vsyslog): Use @var{} on parameter names.
27148 * manual/terminal.texi (stty): Use @var{} on parameter names.
27149 * manual/users.texi (getutmp): Use @var{} on parameter names.
27150 (getutmpx): Likewise.
27152 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27155 * manual/stdio.texi (fopen): Fix typos in description of
27158 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27161 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27162 get clock_id definition.
27164 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27167 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27168 (madvise): Cast every argument to void on its own.
27170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27173 * manual/startup.texi (Exit Status): Fix typo.
27175 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27178 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27179 * manual/examples/argp-ex2.c: Likewise.
27180 * manual/examples/argp-ex3.c: Likewise.
27182 2012-02-16 Richard Henderson <rth@redhat.com>
27184 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27185 * sysdeps/s390/s390-32/initfini.c: Remove.
27186 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27187 * sysdeps/s390/s390-64/initfini.c: Remove.
27189 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27191 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27192 compiler output for sysdeps/generic/initfini.c.
27193 * sysdeps/sh/elf/initfini.c: Remove file.
27195 2012-02-16 David S. Miller <davem@davemloft.net>
27198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27200 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27201 * sysdeps/sparc/crti.S: New file.
27202 * sysdeps/sparc/crtn.S: New file.
27203 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27204 * sysdeps/sparc/sparc64/Makefile: Likewise.
27206 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27209 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27211 2012-02-15 Roland McGrath <roland@hack.frob.com>
27214 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27216 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27217 (write, read, close): Likewise.
27218 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27220 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27222 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27223 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27224 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27225 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27227 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27231 2012-02-14 Marek Polacek <polacek@redhat.com>
27233 * sysdeps/x86_64/crti.S: New file.
27234 * sysdeps/x86_64/crtn.S: New file.
27235 * sysdeps/x86_64/elf/initfini.c: Remove file.
27237 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27239 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27240 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27241 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27242 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27244 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27248 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27250 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27251 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27252 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27253 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27255 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27259 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27261 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27262 __feraiseexcept instead of feraiseexcept.
27264 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27265 nanosleep invocations.
27266 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27267 strings, and add error checking for a nanosleep invocations.
27269 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27271 Replace FSF snail mail address with URLs, as per GNU coding standards.
27272 Most of the snail mail addresses were wrong anyway, and omitting
27273 them makes the source code easier to maintain. Almost all of the
27274 changes are to license notices and to locale LC_IDENTIFICATION
27275 addresses, except for this one:
27276 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27277 not its snail mail address.
27279 2012-02-09 Richard Henderson <rth@twiddle.net>
27281 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27282 of kernel-features.h.
27284 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27286 2012-02-08 Marek Polacek <polacek@redhat.com>
27288 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27289 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27290 * sysdeps/gnu/_G_config.h: Likewise.
27291 * sysdeps/generic/_G_config.h: Likewise.
27293 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27295 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27299 * sysdeps/powerpc/powerpc32/crti.S: New file.
27300 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27301 * sysdeps/powerpc/powerpc64/crti.S: New file.
27302 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27304 * Makeconfig (have-initfini): Don't set.
27305 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27306 * configure.in (nopic_initfini): Don't substitute.
27307 * config.h.in (HAVE_INITFINI): Don't #undef.
27308 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27309 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27311 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27313 Support crti.S and crtn.S provided directly by architectures.
27314 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27315 [crti.S in sysdirs] (omit-deps): Likewise.
27316 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27317 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27318 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27319 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27320 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27321 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27322 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27323 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27324 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27325 compiler output for sysdeps/generic/initfini.c.
27326 * sysdeps/i386/elf/Makefile: Remove file.
27327 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27329 2012-02-07 Marek Polacek <polacek@redhat.com>
27331 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27332 * sysdeps/gnu/_G_config.h: Likewise.
27333 * sysdeps/mach/hurd/_G_config.h: Likewise.
27335 2012-02-07 Marek Polacek <polacek@redhat.com>
27337 * math/Makefile (tests): Add tst-CMPLX2.
27338 * math/tst-CMPLX2.c: New file.
27340 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27342 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27344 * math/libm-test.inc (jn_test): Add missing L suffix.
27346 2012-02-06 Marek Polacek <polacek@redhat.com>
27348 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27349 * sysdeps/i386/fpu/e_powf.S: Likewise.
27350 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27351 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27353 * sysdeps/i386/fpu/e_pow.S: Likewise.
27354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27358 * sysdeps/i386/fpu/e_log2.S: Likewise.
27359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27361 * sysdeps/i386/fpu/e_powl.S: Likewise.
27362 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27365 * sysdeps/i386/fpu/e_logl.S: Likewise.
27366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27367 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27368 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27369 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27372 * sysdeps/i386/fpu/e_log.S: Likewise.
27373 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27374 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27375 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27376 * sysdeps/i386/fpu/e_logf.S: Likewise.
27377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27379 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27380 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27381 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27382 * sysdeps/i386/fpu/e_log10.S: Likewise.
27383 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27385 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27386 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27388 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27389 * sysdeps/i386/asm-syntax.h: Likewise.
27390 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27391 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27392 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27393 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27394 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27395 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27396 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27397 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27398 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27399 * sysdeps/powerpc/sysdep.h: Likewise.
27400 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27401 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27403 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27406 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27408 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27410 * sysdeps/i386/sysdep.h: Include <features.h>.
27411 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27414 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27416 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27418 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27421 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27424 (SETUP_PIC_REG): Use GET_PC_THUNK.
27425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27428 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27430 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27431 for non-PIC compilation.
27432 (SETUP_PIC_REG): Add .p2align directive.
27433 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27434 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27435 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27436 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27437 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27438 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27439 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27441 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27445 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27446 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27447 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27448 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27449 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27450 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27451 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27452 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27454 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27455 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27456 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27459 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27460 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27461 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27462 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27463 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27465 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27466 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27467 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27468 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27469 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27470 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27471 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27472 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27473 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27475 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27477 * math/tst-CMPLX.c: Include <stdio.h>.
27479 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27481 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27483 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27484 * sysdeps/sparc/bits/mathdef.h: Likewise.
27486 2012-01-31 Marek Polacek <polacek@redhat.com>
27488 * libio/libio.h: Don't define _PARAMS.
27489 * locale/programs/config.h: Don't define PARAMS.
27490 * stdlib/strtol_l.c: Likewise.
27491 (__strtol_l): Remove PARAMS from the prototype.
27493 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27495 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27496 names. Just use the correct names. Remove unnecessary wrapper
27498 * malloc/arena.c: Likewise.
27499 * malloc/hooks.c: Likewise.
27501 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27502 ARENA_TEST says not to. Simplify test for creation of a new arena.
27503 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27505 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27507 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27509 (update_get_addr): New function.
27510 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27511 GET_ADDR_MODULE parameter.
27513 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27515 * crypt/cert.c: Remove __STDC__ conditionals.
27516 * crypt/crypt-entry.c: Likewise.
27517 * crypt/crypt_util.c: Likewise.
27518 * libio/filedoalloc.c: Likewise.
27519 * libio/fileops.c: Likewise.
27520 * libio/genops.c: Likewise.
27521 * libio/iofclose.c: Likewise.
27522 * libio/iofdopen.c: Likewise.
27523 * libio/iofopen.c: Likewise.
27524 * libio/iofopen64.c: Likewise.
27525 * libio/iogetdelim.c: Likewise.
27526 * libio/iopopen.c: Likewise.
27527 * libio/obprintf.c: Likewise.
27528 * libio/oldfileops.c: Likewise.
27529 * libio/oldiofclose.c: Likewise.
27530 * libio/oldiofdopen.c: Likewise.
27531 * libio/oldiofopen.c: Likewise.
27532 * libio/oldiopopen.c: Likewise.
27533 * libio/wfiledoalloc.c: Likewise.
27534 * libio/wgenops.c: Likewise.
27535 * locale/programs/xmalloc.c: Likewise.
27536 * misc/syslog.c: Likewise.
27537 * stdio-common/xbug.c: Likewise.
27538 * string/memchr.c: Likewise.
27539 * string/memcmp.c: Likewise.
27540 * string/memrchr.c: Likewise.
27541 * string/rawmemchr.c: Likewise.
27542 * sysdeps/posix/getcwd.c: Likewise.
27543 * time/strftime_l.c: Likewise.
27545 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27547 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27548 * config.make.in (config-cflags-sse2avx): Define.
27549 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27552 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27554 * scripts/config.guess: Update from upstream config git repository.
27555 * scripts/config.sub: Likewise.
27557 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27559 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27561 (R_TILEPRO_*, R_TILEGX_*): New macros.
27563 * scripts/firstversions.awk: Fix bug in version range handling.
27565 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27567 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27569 * include/sys/epoll.h: New file.
27570 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27573 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27575 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27576 Avoid unnecessary __WORDSIZE == 64 test.
27577 (fmaxf): Use VEX format if possible.
27582 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27583 * math/math_private.h: Remove libc_fegetround* and
27585 * sysdeps/i386/configure.in: Check for -msse2avx.
27586 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27587 also if SSE2AVX is defined.
27588 Remove libc_fegetround* and libc_fesetround*.
27589 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27590 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27591 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27594 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27595 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27596 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27597 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27599 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27601 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27603 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27605 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27607 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27610 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27612 * Makeconfig (libm): Define.
27613 * elf/Makefile: Add rules to build and run tst-relsort1.
27614 * elf/tst-relsort1.c: New file.
27615 * elf/tst-relsort1mod1.c: New file.
27616 * elf/tst-relsort1mod2.c: New file.
27618 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27620 * math/s_ldexp.c: Remove __STDC__ conditionals.
27621 * math/s_ldexpf.c: Likewise.
27622 * math/s_ldexpl.c: Likewise.
27623 * math/s_nextafter.c: Likewise.
27624 * math/s_nexttowardf.c: Likewise.
27625 * math/s_significand.c: Likewise.
27626 * math/s_significandf.c: Likewise.
27627 * math/s_significandl.c: Likewise.
27628 * math/w_jnl.c: Likewise.
27629 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27630 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27631 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27632 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27633 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27638 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27639 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27648 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27649 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27650 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27656 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27657 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27658 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27659 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27660 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27663 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27664 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27665 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27666 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27667 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27668 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27669 * sysdeps/ieee754/k_standard.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27744 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27745 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27749 * sysdeps/ieee754/s_matherr.c: Likewise.
27750 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27751 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27752 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27755 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27757 * crypt/md5.h: Remove __STDC__ conditionals.
27758 * libio/libioP.h: Likewise.
27759 * locale/programs/config.h: Likewise.
27760 * sysdeps/generic/sysdep.h: Likewise.
27761 * sysdeps/i386/asm-syntax.h: Likewise.
27762 * sysdeps/s390/asm-syntax.h: Likewise.
27763 * sysdeps/unix/sysdep.h: Likewise.
27764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27767 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27769 * libio/libio.h: Remove __STDC__ conditionals.
27770 * malloc/obstack.h: Likewise.
27771 * math/complex.h: Likewise.
27772 * math/math.h: Likewise.
27773 * sysdeps/generic/_G_config.h: Likewise.
27774 * sysdeps/gnu/_G_config.h: Likewise.
27775 * sysdeps/mach/hurd/_G_config.h: Likewise.
27776 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27777 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27778 * sysdeps/sparc/bits/mathdef.h: Likewise.
27780 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27783 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27784 Clean up HAS_* macros.
27785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27786 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27788 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27790 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27791 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27792 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27793 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27794 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27796 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27798 * elf/tst-unique3.cc (gets): Remove declaration.
27799 * elf/tst-unique3lib.cc (gets): Likewise.
27800 * elf/tst-unique3lib2.cc (gets): Likewise.
27801 * elf/tst-unique4.cc (gets): Likewise.
27803 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27805 * include/stdio.h: Add C++ protection. Add gets declarations and
27807 * debug/tst-chk1.c: Don't declare gets here.
27808 * stdio-common/tst-gets.c: Likewise.
27810 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27812 * posix/glob: Remove directory.
27814 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27816 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27818 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27820 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27821 of the non-standard EPFNOSUPPORT.
27823 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27825 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27826 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27827 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27829 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27831 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27833 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27835 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27837 * nscd/grpcache.c (cache_addgr): Likewise.
27838 * nscd/hstcache.c (cache_addhst): Likewise.
27839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27840 * nscd/pwdcache.c (cache_addpw): Likewise.
27841 * nscd/servicescache.c (cache_addserv): Likewise.
27843 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27845 * malloc/malloc.c: Various cleanups.
27846 * malloc/hooks.c: Likewise.
27848 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27849 * stdlib/bug-fmtmsg1.c: New file.
27851 * stdlib/fmtmsg.c (init): Add missing unlock.
27852 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27854 2012-01-12 Marek Polacek <polacek@redhat.com>
27856 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27859 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27861 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27862 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27863 macro to ensure uniqueness of label name.
27864 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27865 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27867 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27869 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27871 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27872 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27873 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27876 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27878 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27880 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27881 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27882 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27884 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27886 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27887 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27891 * math/bits/math-finite.h: Add ldexp support.
27893 2012-01-10 Marek Polacek <polacek@redhat.com>
27895 * locale/programs/localedef.h (show_archive_content): Add noreturn
27898 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27900 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27902 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27904 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27906 * io/Makefile (headers): Add bits/poll2.h.
27908 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27911 typo #include statement.
27913 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27915 * include/sys/cdefs.h: Define __attribute_alloc_size.
27916 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27917 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27918 * elf/pldd.c: Likewise.
27919 * iconv/iconv_charmap.c: Likewise.
27920 * iconv/iconvconfig.c: Likewise.
27921 * iconv/strtab.c: Likewise.
27922 * locale/programs/locale.c: Likewise.
27923 * locale/programs/localedef.h: Likewise.
27924 * locale/programs/simple-hash.c: Likewise.
27925 * nscd/nscd.h: Likewise.
27926 * nss/makedb.c: Likewise.
27927 * sysdeps/generic/ldconfig.h: Likewise.
27928 * locale/programs/localedef.c: Remove xmalloc prototype.
27929 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27931 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27933 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27936 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27938 * math/Makefile (tests): Add tst-CMPLX.
27939 * math/tst-CMPLX.c: New file.
27941 * math/complex.h (CMPLXL): Fix typo.
27943 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27944 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27946 * debug/tst-chk1.c: Add poll and ppoll tests.
27947 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27948 * include/sys/poll.h: Add hidden proto for ppoll.
27949 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27950 * sysdeps/mach/hurd/ppoll.c: Likewise.
27951 * io/ppoll.c: Likewise.
27952 * debug/poll_chk.c: New file.
27953 * debug/ppoll_chk.c: New file.
27954 * include/bits/poll2.h: New file.
27955 * io/bits/poll2.h: New file.
27958 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27960 * configure.in: static is always set to yes. Remove.
27961 * config.make.in: Don't set build-static.
27962 * Makeconfig: Remove use of build-static.
27963 * dlfcn/Makefile: Likewise.
27964 * elf/Makefile: Likewise.
27965 * math/Makefile: Likewise.
27966 * misc/Makefile: Likewise.
27967 * nptl/Makefile: Likewise.
27968 * sysdeps/mach/hurd/Makefile: Likewise.
27970 * configure.in: PWD_P is not used anymore.
27971 * config.make.in: Remove PWD_P entry.
27973 * configure.in: Remove last remnants of RANLIB.
27974 No need to check for signed size_t anymore.
27975 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27977 Remove __builtin_expect test because we require at least gcc 3.4.
27978 * aclocal.m4: Likewise.
27980 * wcsmbs/mbrtoc16.c: Implement using towc function.
27981 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27982 * wcsmbs/wcsmbsload.c: Likewise.
27983 * iconv/gconv_simple.c: Likewise.
27984 * iconv/gconv_int.h: Likewise.
27985 * iconv/gconv_builtin.h: Likewise.
27986 * iconv/iconv_prog.c: Remove CHAR16 handling.
27988 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27990 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27992 * configure.in: Remove --with-elf and --enable-bounded options.
27993 Dont set base_machine for ia64. More non-ELF conditions removed.
27994 Remove testing and setting of leading underscore information.
27995 * config.make.in (build-bounded): Set to no.
27996 * config.h.in: Remove NO_UNDERSCORES entry.
27997 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27999 * csu/start.c: Remove !NO_UNDERSCORE code.
28000 * locale/localeinfo.h: Likewise.
28001 * sysdeps/generic/machine-gmon.h: Likewise.
28002 * sysdeps/generic/sysdep.h: Likewise.
28003 * sysdeps/i386/sysdep.h: Likewise.
28004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28005 * sysdeps/mach/sysdep.h: Likewise.
28006 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28007 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28008 * sysdeps/sh/sysdep.h: Likewise.
28009 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28010 * sysdeps/unix/i386/sysdep.S: Likewise.
28011 * sysdeps/unix/sparc/start.c: Likewise.
28012 * sysdeps/unix/sparc/sysdep.S: Likewise.
28013 * sysdeps/unix/sparc/sysdep.h: Likewise.
28014 * sysdeps/unix/start.c: Likewise.
28015 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28016 * sysdeps/x86_64/sysdep.h: Likewise.
28018 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28021 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28023 * argp/argp-fmtstream.h: Use const instead __const.
28024 * argp/argp.h: Likewise.
28025 * assert/assert.h: Likewise.
28026 * bits/fenv.h: Likewise.
28027 * bits/sched.h: Likewise.
28028 * bits/sigset.h: Likewise.
28029 * bits/sigthread.h: Likewise.
28030 * catgets/nl_types.h: Likewise.
28031 * conform/data/pthread.h-data: Likewise.
28032 * crypt/crypt-private.h: Likewise.
28033 * crypt/crypt.h: Likewise.
28034 * crypt/crypt_util.c: Likewise.
28035 * ctype/ctype.h: Likewise.
28036 * debug/execinfo.h: Likewise.
28037 * debug/mbsnrtowcs_chk.c: Likewise.
28038 * debug/mbsrtowcs_chk.c: Likewise.
28039 * debug/wcsnrtombs_chk.c: Likewise.
28040 * debug/wcsrtombs_chk.c: Likewise.
28041 * debug/wcstombs_chk.c: Likewise.
28042 * dirent/dirent.h: Likewise.
28043 * dlfcn/dlfcn.h: Likewise.
28044 * elf/neededtest4.c: Likewise.
28045 * grp/grp.h: Likewise.
28046 * gshadow/gshadow.h: Likewise.
28047 * iconv/gconv.h: Likewise.
28048 * iconv/gconv_int.h: Likewise.
28049 * iconv/gconv_simple.c: Likewise.
28050 * iconv/iconv.h: Likewise.
28051 * iconv/loop.c: Likewise.
28052 * iconv/skeleton.c: Likewise.
28053 * include/aio.h: Likewise.
28054 * include/aliases.h: Likewise.
28055 * include/argz.h: Likewise.
28056 * include/arpa/inet.h: Likewise.
28057 * include/assert.h: Likewise.
28058 * include/dirent.h: Likewise.
28059 * include/dlfcn.h: Likewise.
28060 * include/execinfo.h: Likewise.
28061 * include/fcntl.h: Likewise.
28062 * include/fenv.h: Likewise.
28063 * include/glob.h: Likewise.
28064 * include/grp.h: Likewise.
28065 * include/libintl.h: Likewise.
28066 * include/mntent.h: Likewise.
28067 * include/netdb.h: Likewise.
28068 * include/pwd.h: Likewise.
28069 * include/rpc/netdb.h: Likewise.
28070 * include/sched.h: Likewise.
28071 * include/search.h: Likewise.
28072 * include/shadow.h: Likewise.
28073 * include/signal.h: Likewise.
28074 * include/stdio.h: Likewise.
28075 * include/stdlib.h: Likewise.
28076 * include/string.h: Likewise.
28077 * include/sys/socket.h: Likewise.
28078 * include/sys/stat.h: Likewise.
28079 * include/sys/statfs.h: Likewise.
28080 * include/sys/statvfs.h: Likewise.
28081 * include/sys/syslog.h: Likewise.
28082 * include/sys/time.h: Likewise.
28083 * include/sys/uio.h: Likewise.
28084 * include/time.h: Likewise.
28085 * include/unistd.h: Likewise.
28086 * include/utmp.h: Likewise.
28087 * include/wchar.h: Likewise.
28088 * include/wctype.h: Likewise.
28089 * inet/aliases.h: Likewise.
28090 * inet/arpa/inet.h: Likewise.
28091 * inet/netinet/ether.h: Likewise.
28092 * inet/netinet/in.h: Likewise.
28093 * intl/libintl.h: Likewise.
28094 * io/bits/fcntl2.h: Likewise.
28095 * io/fcntl.h: Likewise.
28096 * io/ftw.h: Likewise.
28097 * io/sys/poll.h: Likewise.
28098 * io/sys/stat.h: Likewise.
28099 * io/sys/statfs.h: Likewise.
28100 * io/sys/statvfs.h: Likewise.
28101 * io/utime.h: Likewise.
28102 * libio/bits/stdio.h: Likewise.
28103 * libio/bits/stdio2.h: Likewise.
28104 * libio/libio.h: Likewise.
28105 * libio/libioP.h: Likewise.
28106 * libio/stdio.h: Likewise.
28107 * locale/lc-ctype.c: Likewise.
28108 * locale/locale.h: Likewise.
28109 * login/utmp.h: Likewise.
28110 * malloc/arena.c: Likewise.
28111 * malloc/malloc.c: Likewise.
28112 * malloc/malloc.h: Likewise.
28113 * malloc/mcheck.c: Likewise.
28114 * malloc/mtrace.c: Likewise.
28115 * math/bits/mathcalls.h: Likewise.
28116 * math/fenv.h: Likewise.
28117 * math/math_private.h: Likewise.
28118 * misc/bits/error.h: Likewise.
28119 * misc/bits/syslog.h: Likewise.
28120 * misc/err.h: Likewise.
28121 * misc/error.h: Likewise.
28122 * misc/fstab.h: Likewise.
28123 * misc/mntent.h: Likewise.
28124 * misc/regexp.h: Likewise.
28125 * misc/search.h: Likewise.
28126 * misc/sgtty.h: Likewise.
28127 * misc/sys/mman.h: Likewise.
28128 * misc/sys/syslog.h: Likewise.
28129 * misc/sys/uio.h: Likewise.
28130 * misc/sys/xattr.h: Likewise.
28131 * misc/ttyent.h: Likewise.
28132 * nis/rpcsvc/ypclnt.h: Likewise.
28133 * nss/nss.h: Likewise.
28134 * posix/bits/unistd.h: Likewise.
28135 * posix/fnmatch.h: Likewise.
28136 * posix/glob.h: Likewise.
28137 * posix/sched.h: Likewise.
28138 * posix/spawn.h: Likewise.
28139 * posix/sys/wait.h: Likewise.
28140 * posix/unistd.h: Likewise.
28141 * posix/wordexp.h: Likewise.
28142 * pwd/pwd.h: Likewise.
28143 * resolv/netdb.h: Likewise.
28144 * resource/sys/resource.h: Likewise.
28145 * rt/aio.h: Likewise.
28146 * rt/bits/mqueue2.h: Likewise.
28147 * rt/mqueue.h: Likewise.
28148 * shadow/shadow.h: Likewise.
28149 * signal/signal.h: Likewise.
28150 * socket/send.c: Likewise.
28151 * socket/sendto.c: Likewise.
28152 * socket/sys/socket.h: Likewise.
28153 * stdio-common/printf.h: Likewise.
28154 * stdlib/bits/stdlib.h: Likewise.
28155 * stdlib/fmtmsg.h: Likewise.
28156 * stdlib/monetary.h: Likewise.
28157 * stdlib/stdlib.h: Likewise.
28158 * stdlib/ucontext.h: Likewise.
28159 * streams/stropts.h: Likewise.
28160 * string/argz.h: Likewise.
28161 * string/bits/string2.h: Likewise.
28162 * string/string.h: Likewise.
28163 * string/strings.h: Likewise.
28164 * sunrpc/rpc/auth.h: Likewise.
28165 * sunrpc/rpc/auth_des.h: Likewise.
28166 * sunrpc/rpc/clnt.h: Likewise.
28167 * sunrpc/rpc/netdb.h: Likewise.
28168 * sunrpc/rpc/pmap_clnt.h: Likewise.
28169 * sunrpc/rpc/xdr.h: Likewise.
28170 * sysdeps/generic/inttypes.h: Likewise.
28171 * sysdeps/generic/net/if.h: Likewise.
28172 * sysdeps/generic/sys/swap.h: Likewise.
28173 * sysdeps/gnu/net/if.h: Likewise.
28174 * sysdeps/gnu/utmpx.h: Likewise.
28175 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28176 * sysdeps/i386/i486/bits/string.h: Likewise.
28177 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28178 * sysdeps/s390/bits/string.h: Likewise.
28179 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28180 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28181 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28182 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28183 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28184 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28185 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28186 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28187 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28188 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28189 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28190 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28191 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28192 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28193 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28194 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28195 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28198 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28199 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28200 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28201 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28202 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28203 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28204 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28205 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28207 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28209 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28210 * sysvipc/sys/ipc.h: Likewise.
28211 * sysvipc/sys/msg.h: Likewise.
28212 * sysvipc/sys/sem.h: Likewise.
28213 * sysvipc/sys/shm.h: Likewise.
28214 * termios/termios.h: Likewise.
28215 * time/sys/time.h: Likewise.
28216 * time/time.h: Likewise.
28217 * wcsmbs/bits/wchar2.h: Likewise.
28218 * wcsmbs/uchar.h: Likewise.
28219 * wcsmbs/wchar.h: Likewise.
28220 * wctype/wctype.h: Likewise.
28223 * Makeconfig: Remove all but ELF support including AIX support.
28224 * Makerules: Likewise.
28225 * config.h.in: Likewise.
28226 * config.make.in: Likewise.
28227 * configure: Likewise.
28228 * configure.in: Likewise.
28229 * csu/Makefile: Likewise.
28230 * csu/version.c: Likewise.
28231 * debug/Makefile: Likewise.
28232 * dlfcn/Makefile: Likewise.
28233 * elf/Makefile: Likewise.
28234 * extra-lib.mk: Likewise.
28235 * iconv/Makefile: Likewise.
28236 * include/libc-symbols.h: Likewise.
28237 * include/shlib-compat.h: Likewise.
28238 * resolv/Makefile: Likewise.
28239 * resolv/res_libc.c: Likewise.
28240 * rt/Makefile: Likewise.
28241 * sysdeps/i386/asm-syntax.h: Likewise.
28242 * sysdeps/i386/sysdep.h: Likewise.
28243 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28244 * sysdeps/mach/sysdep.h: Likewise.
28245 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28246 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28247 * sysdeps/s390/asm-syntax.h: Likewise.
28248 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28250 * sysdeps/sh/sysdep.h: Likewise.
28251 * sysdeps/unix/sparc/sysdep.h: Likewise.
28252 * sysdeps/wordsize-32/divdi3.c: Likewise.
28253 * sysdeps/x86_64/sysdep.h: Likewise.
28255 * argp/Versions: Remove _argp_unlock_xxx.
28258 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28259 * abilist/libBrokenLocale.abilist: Likewise.
28260 * abilist/libanl.abilist: Likewise.
28261 * abilist/libc.abilist: Likewise.
28262 * abilist/libcrypt.abilist: Likewise.
28263 * abilist/libdl.abilist: Likewise.
28264 * abilist/libm.abilist: Likewise.
28265 * abilist/libnsl.abilist: Likewise.
28266 * abilist/libpthread.abilist: Likewise.
28267 * abilist/libresolv.abilist: Likewise.
28268 * abilist/librt.abilist: Likewise.
28269 * abilist/libthread_db.abilist: Likewise.
28270 * abilist/libutil.abilist: Likewise.
28271 * abilist/libnss_db.abilist: New file.
28273 * scripts/abilist.awk: Add support for indirect functions.
28275 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28277 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28279 * shlib-versions: Remove entries for ports architectures.
28281 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28283 * elf/stackguard-macros.h: Remove support for IA-64.
28284 * elf/tst-auditmod1.c: Likewise.
28285 * sysdeps/generic/ldsodefs.h: Likewise.
28287 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28288 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28292 * configure.in: Remove --enable-omitfp support.
28294 * config.make.in: Likewise.
28295 * Makeconfig: Likewise.
28296 * manual/install.texi: Likewise.
28298 In case anyone cares, the IA-64 architecture could move to ports.
28299 * sysdeps/ia64/*: Removed.
28300 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28301 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28304 * configure.in: Remove entries for unsupported architectures.
28307 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28308 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28310 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28311 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28312 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28313 fall back to using wcrtomb.
28314 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28315 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28317 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28318 * wcsmbs/tst-c16c32-1.c: New file.
28320 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28323 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28325 * elf/tst-unique3.cc: Add explicit declaration of gets.
28326 * elf/tst-unique3lib.cc: Likewise.
28327 * elf/tst-unique3lib2.cc: Likewise.
28328 * elf/tst-unique4.cc: Likewise.
28330 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28332 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28335 * assert/assert.h (static_assert): Don't define for C++.
28336 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28337 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28339 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28341 * iconv/loop.c (single loop): Fix assertion in storing of
28344 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28346 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28348 * posix/getconf.c: Update copyright year.
28349 * nss/getent.c: Likewise.
28350 * nss/makedb.c: Likewise.
28351 * iconv/iconvconfig.c: Likewise.
28352 * iconv/iconv_prog.c: Likewise.
28353 * elf/ldconfig.c: Likewise.
28354 * elf/pldd.c: Likewise.
28355 * elf/sotruss.ksh: Likewise.
28356 * catgets/gencat.c: Likewise.
28357 * csu/version.c: Likewise.
28358 * elf/ldd.bash.in: Likewise.
28359 * elf/sprof.c (print_version): Likewise.
28360 * locale/programs/locale.c: Likewise.
28361 * locale/programs/localedef.c: Likewise.
28362 * login/programs/pt_chown.c: Likewise.
28363 * nscd/nscd.c (print_version): Likewise.
28364 * debug/xtrace.sh: Likewise.
28365 * malloc/memusage.sh: Likewise.
28366 * malloc/mtrace.pl: Likewise.
28367 * debug/catchsegv.sh: Likewise.
28369 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28371 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28374 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28377 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28378 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28380 * iconv/gconv_int.h: Likewise.
28381 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28382 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28383 from libc for GLIBC_2.16.
28384 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28385 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28386 * wcsmbs/uchar.h: Really define mbstate_t.
28387 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28388 * wcsmbs/c16rtomb.c: New file.
28389 * wcsmbs/mbrtoc16.c: New file.
28390 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28391 for C/POSIX locale.
28392 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28393 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28395 * wcsmbs/wchar.h: Add missing __restrict.
28397 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28400 * time/Makefile (routines): Add timespec_get.
28401 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28402 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28403 timespec for ISO C11.
28404 * time/timespec_get.c: New file.
28405 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28406 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28409 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28410 * stdlib/stdlib.h: Declare aligned_alloc.
28411 * Versions.def: Add GLIBC_2.16 for libc.
28412 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28415 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28418 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28422 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28425 * assert/assert.h (static_assert): Define.
28427 * version.h: Update for 2.16 development version.
28430 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28433 * version.h (RELEASE): Bump for 2.15 release.
28434 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28436 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28437 Patch by Marek Polacek <mpolacek@redhat.com>.
28439 * bits/byteswap.h: Protect long long constants with __extension__.
28440 * sysdeps/i386/bits/byteswap.h: Likewise.
28441 * sysdeps/ia64/bits/byteswap.h: Likewise.
28442 * sysdeps/s390/bits/byteswap.h: Likewise.
28443 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28445 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28448 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28449 destination buffer.
28450 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28452 2011-12-23 Marek Polacek <polacek@redhat.com>
28454 * elf/dl-addr.c (determine_info): Add inline keyword.
28455 * elf/tst-auditmod4b.c (check_avx): Likewise.
28456 * elf/tst-auditmod6b.c (check_avx): Likewise.
28457 * elf/tst-auditmod6c.c (check_avx): Likewise.
28458 * elf/tst-auditmod7b.c (check_avx): Likewise.
28460 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28462 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28465 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28468 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28469 processing for last bytes.
28471 2011-08-06 Bruno Haible <bruno@clisp.org>
28474 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28475 U+0385, not to U+1FEE.
28478 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28479 entry for U+00A5 U+0301.
28481 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28484 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28485 buffer for the output is too small.
28487 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28491 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28492 SSE flags if possible.
28494 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28498 processing for last bytes.
28500 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28502 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28503 (syscall-list-default-options, syscall-list-default-condition)
28504 (syscall-list-includes): Define.
28505 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28506 list of ABIs and options and #if conditions for each ABI. Do not
28507 handle common syscalls between ABIs specially.
28508 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28510 (syscall-list-variants, syscall-list-32bit-options)
28511 (syscall-list-32bit-condition, syscall-list-64bit-options)
28512 (syscall-list-64bit-condition): Define.
28513 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28514 (syscall-list-variants, syscall-list-32bit-options)
28515 (syscall-list-32bit-condition, syscall-list-64bit-options)
28516 (syscall-list-64bit-condition): Define.
28517 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28519 (syscall-list-variants, syscall-list-32bit-options)
28520 (syscall-list-32bit-condition, syscall-list-64bit-options)
28521 (syscall-list-64bit-condition): Define.
28522 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28524 (syscall-list-variants, syscall-list-32bit-options)
28525 (syscall-list-32bit-condition, syscall-list-64bit-options)
28526 (syscall-list-64bit-condition): Define.
28528 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28530 * locale/iso-639.def: Add brx entry.
28533 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28534 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28536 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28537 __feraiseexcept_renamed.
28539 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28542 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28543 EPOLLET with unsigned values.
28544 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28547 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28548 to large cancellation.
28549 * math/s_cacoshf.c: Likewise.
28550 * math/s_cacoshl.c: Likewise.
28552 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28556 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28557 * math/s_cacoshf.c: Likewise.
28558 * math/s_cacoshl.c: Likewise.
28560 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28563 * iconv/gconv.h: Define __GCONV_SWAP.
28564 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28565 * iconvdata/utf-16.c: Likewise.
28566 * iconvdata/utf-32.c: Likewise.
28568 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28572 numerator after shifting it by one limb.
28574 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28576 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28577 under [__USE_EXTERN_INLINES].
28579 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28582 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28584 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28586 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28587 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28589 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28590 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28591 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28592 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28593 for strncasecmp/strncasecmp_l compilation.
28594 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28595 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28597 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28600 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28603 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28606 * time/tzfile.c (__tzfile_read): Check values from file header.
28608 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28610 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28611 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28612 * powerpc/powerpc32/dl-start.S: Likewise.
28613 * powerpc/powerpc32/elf/start.S: Likewise.
28614 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28615 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28616 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28617 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28618 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28619 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28620 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28621 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28622 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28623 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28624 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28625 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28626 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28627 * powerpc/powerpc32/memset.S: Likewise.
28628 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28629 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28630 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28631 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28632 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28633 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28634 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28635 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28636 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28637 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28638 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28639 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28640 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28642 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28644 * math/libm-test.inc: Added more nearbyint tests.
28645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28646 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28648 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28650 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28652 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28655 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28657 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28658 Add wcscpy-ssse3 wcscpy-c.
28659 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28660 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28661 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28662 * sysdeps/x86_64/wcschr.S: New file.
28663 * sysdeps/x86_64/wcsrchr.S: New file.
28664 * string/test-strcmp.c: Remove checking of wcscmp function for
28666 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28667 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28668 wcsrchr-sse2 wcsrchr-c.
28669 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28670 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28671 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28672 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28673 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28674 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28675 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28676 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28677 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28678 * wcsmbc/wcschr.c (WCSCHR): New macro.
28680 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28682 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28683 * wcsmbs/test-wcsrchr.c: New file.
28684 * string/test-strrchr.c: Add wcsrchr support.
28686 * wcsmbs/test-wcscpy.c: New file.
28687 * string/test-strcpy.c: Add wcscpy support.
28690 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28692 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28695 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28698 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28700 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28702 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28703 Minor optimizations.
28705 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28706 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28707 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28709 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28711 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28712 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28713 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28714 for gcc to avoid warnings.
28715 * inet/Makefile (tests): Add tst-checks.
28716 * inet/tst-checks.c: New file.
28718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28721 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28724 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28725 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28727 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28729 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28731 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28734 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28736 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28738 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28739 conditional on GCC version.
28740 (__arch_compare_and_exchange_val_8_acq)
28741 (__arch_compare_and_exchange_val_16_acq)
28742 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28743 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28744 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28746 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28748 * sysdeps/sh/backtrace.c: New file.
28750 2011-12-02 Andreas Schwab <schwab@redhat.com>
28752 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28755 2011-12-01 Andreas Schwab <schwab@redhat.com>
28757 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28758 falling back to utime.
28760 2011-11-30 Andreas Schwab <schwab@redhat.com>
28762 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28763 expectations for float.
28765 2011-11-29 Andreas Schwab <schwab@redhat.com>
28767 * locale/weight.h (findidx): Add parameter len.
28768 * locale/weightwc.h (findidx): Likewise.
28769 * posix/fnmatch_loop.c (FCT): Adjust caller.
28770 * posix/regcomp.c (build_equiv_class): Likewise.
28771 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28772 * posix/regexec.c (check_node_accept_bytes): Likewise.
28773 * string/strcoll_l.c (STRCOLL): Likewise.
28774 * string/strxfrm_l.c (STRXFRM): Likewise.
28776 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28778 * Makefile.in: Remove CVSOPT handling.
28779 * configure.in: Remove use of AC_REVISION.
28780 * iconvdata/Makefile (distribute): No need to filter out CVS.
28781 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28784 2011-11-16 Andreas Schwab <schwab@redhat.com>
28786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28787 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28788 [USE_AS_STRNCASECMP_L]: Likewise.
28789 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28790 NO_TLS_DIRECT_SEG_REFS.
28791 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28792 Fix argument offsets for non-PIC.
28793 [USE_AS_STRNCASECMP_L]: Likewise.
28794 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28795 NO_TLS_DIRECT_SEG_REFS.
28797 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28799 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28801 * locale/loadlocale.c (_nl_load_locale): Likewise.
28803 2011-11-15 Andreas Schwab <schwab@redhat.com>
28805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28806 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28807 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28808 (SYSCALL_GETTIME): Set errno on error.
28810 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28811 count references to noai6ai_cached.
28813 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28815 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28817 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28818 FD_CLOEXEC for /proc/self/maps.
28820 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28821 FD_CLOEXEC for /proc/meminfo.
28823 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28826 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28827 FD_CLOEXEC for given file.
28829 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28831 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28832 FD_CLOEXEC for /etc/hosts.
28833 (_gethtent): Likewise.
28835 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28837 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28838 cancellation and set FD_CLOEXEC for /etc/netgroup.
28840 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28841 reading /etc/publickey.
28843 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28844 allow cancellation when reading /etc/group.
28846 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28848 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28850 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28851 when using data file.
28853 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28855 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28856 (write_nis_obj): Use "c" and "e" in fopen.
28858 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28860 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28862 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28864 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28866 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28869 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28871 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28873 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28875 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28876 file parsing and set FD_CLOEXEC.
28878 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28880 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28882 2011-11-14 Andreas Schwab <schwab@redhat.com>
28884 * malloc/arena.c (arena_get2): Don't call reused_arena when
28885 _int_new_arena failed.
28887 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28889 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28890 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28891 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28892 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28893 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28895 to compile strcasecmp and strncasecmp.
28896 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28897 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28901 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28903 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28904 locale-defines.sym to gen-as-const-headers.
28905 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28906 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28908 to compile strcasecmp and strncasecmp.
28909 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28910 strcasecmp_l and strncasecmp_l.
28911 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28912 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28913 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28914 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28915 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28916 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28917 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28918 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28919 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28920 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28921 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28923 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28925 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28926 result of SYSDEP_GETTIME_CPU to retval.
28927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28928 parameter list to macro. Remove trailing semicolon. Adjust users.
28930 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28933 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28935 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28937 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28938 from unused variable.
28940 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28942 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28945 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28948 * sunrpc/rpc_prot.c (rejected): Fix case value.
28950 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28951 unsigned long long int to avoid warnings in shift.
28953 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28955 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28958 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28959 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28960 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28962 * nis/nis_table.c (nis_list): Use variable of correct type for
28963 result of __follow_path call.
28965 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28967 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28968 of math functions ceil, trunc, floor, round, and sqrt, when
28969 avaliable on the platform.
28970 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28972 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28973 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28974 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28976 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28978 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28979 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28981 2011-11-11 Roland McGrath <roland@hack.frob.com>
28983 * include/unistd.h: Fix __readlink return type.
28984 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28986 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28988 * stdlib/ucontext.h: Undo last change for makecontext.
28990 2011-11-11 Andreas Schwab <schwab@redhat.com>
28992 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28994 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28995 * setjmp/setjmp.h: Mark functions as non-leaf.
28996 * setjmp/bits/setjmp2.h: Likewise.
28997 * stdlib/ucontext.h: Likewise.
28999 2011-11-10 Andreas Schwab <schwab@redhat.com>
29001 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29002 (reused_arena): Don't check arena limit.
29003 (arena_get2): Atomically check arena limit.
29005 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29007 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29008 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29013 2011-11-07 Andreas Schwab <schwab@redhat.com>
29015 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29016 handler when locking.
29018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29019 Fix size of allocated buffer.
29021 2011-11-04 Andreas Schwab <schwab@redhat.com>
29024 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29025 declarations for long double functions.
29026 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29028 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29030 2011-11-03 Andreas Schwab <schwab@redhat.com>
29032 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29035 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29038 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29040 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29042 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29044 * include/alloca.h (stackinfo_alloca_round): Define.
29045 (extend_alloca): Use it.
29046 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29047 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29050 * scripts/check-local-headers.sh: Ignore libaudit.h.
29052 * nscd/Makefile (extra-objs): Make recursively expanded.
29054 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29056 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29059 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29060 * posix/tst-rfc3484-2.c: Likewise.
29061 * posix/tst-rfc3484-3.c: Likewise.
29063 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29065 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29067 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29068 process_vm_writev from libc using GLIBC_2.15 version.
29070 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29072 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29074 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29077 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29080 * nss/getent.c (initgroups_keys): Show error message in case no group
29083 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29084 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29085 __bump_nl_timestamp.
29086 * nscd/connections (nscd_init): When host database is served open
29087 netlink socket and request notification about configuration changes.
29088 (main_loop_poll): Track netlink file descriptor and bump timestamp
29089 in case data becomes available.
29090 (main_loop_epoll): Likewise.
29091 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29092 (database_pers_head): Add extra_data fileds.
29093 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29094 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29095 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29097 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29098 in6ai data, call __free_in6ai.
29099 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29100 Add -DHAVE_NETLINK.
29101 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29102 interface information. Reuse previous data if netlink timestamp
29104 (__bump_nl_timestamp): New function.
29105 (__free_in6ai): New function.
29107 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29110 close_not_cancel_no_status here.
29111 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29113 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29116 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29119 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29120 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29121 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29123 2011-07-03 Andreas Jaeger <aj@suse.de>
29126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29127 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29128 * math/libm-test.inc (sin_test): Add test case.
29130 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29133 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29134 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29136 * elf/chroot_canon.c (chroot_canon): Cleanups.
29138 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29141 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29142 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29144 * string/test-strchr.c: Make usable for strchrnul testing.
29145 * string/test-strchrnul.c: New file.
29146 * string/Makefile (strop-tests): Add strchrnul.
29148 * po/it.po: Update from translation team.
29149 * po/es.po: Likewise.
29151 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29153 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29154 the three constants needed as parameters. Drop the others.
29155 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29156 __m128i_strloadu_tolower.
29157 Create and initialize variable zero and use it in all the places
29158 where _mm_setzero_si128 was used.
29160 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29161 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29162 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29163 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29165 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29166 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29167 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29168 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29169 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29170 __mpranred, __mptan.
29171 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29172 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29173 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29174 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29175 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29176 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29177 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29178 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29179 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29181 2011-10-28 Andreas Schwab <schwab@redhat.com>
29183 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29184 redefine if SHARED.
29185 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29188 wide char related routines to wcsmbs subdir.
29190 2011-10-27 Andreas Schwab <schwab@redhat.com>
29193 * misc/sys/cdefs.h (__THROWNL): Define.
29194 * posix/unistd.h: Use __THREADNL instead of __THREAD
29195 for memory synchronization functions.
29197 2011-10-26 Roland McGrath <roland@hack.frob.com>
29200 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29202 * manual/stdio.texi (Obstack Streams): Node removed.
29204 2011-10-26 Andreas Schwab <schwab@redhat.com>
29206 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29207 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29208 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29210 * math/math_private.h (math_force_eval): Allow non-addressable
29212 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29214 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29216 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29217 file is not needed.
29219 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29220 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29221 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29222 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29223 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29224 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29225 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29226 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29228 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29229 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29230 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29232 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29234 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29241 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29242 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29243 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29244 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29245 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29246 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29248 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29249 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29251 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29252 place. Use VEX encoding when compiling for AVX.
29254 2011-10-25 Andreas Schwab <schwab@redhat.com>
29256 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29257 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29259 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29261 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29263 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29264 useless if() expression.
29265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29275 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29276 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29277 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29279 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29280 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29285 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29287 2011-10-25 Andreas Schwab <schwab@redhat.com>
29289 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29291 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29293 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29295 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29296 .text section. Avoid duplicate constants.
29297 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29306 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29307 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29308 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29309 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29310 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29311 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29312 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29313 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29314 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29315 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29317 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29318 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29319 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29321 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29322 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29323 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29324 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29325 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29326 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29327 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29328 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29329 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29330 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29331 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29332 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29333 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29334 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29335 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29336 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29337 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29338 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29339 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29340 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29341 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29343 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29345 * sysdeps/x86_64/dla.h: Move to ...
29346 * sysdeps/x86_64/fpu/dla.h: ...here.
29347 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29348 situations. Use __builtin_fma only for gcc 4.6 and up.
29350 * config.make.in: Add have-mfma4 entry.
29351 * configure.in: Substitute libc_cv_cc_fma4.
29352 * math/Makefile (dbl-only-routines): Add sincostab.
29353 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29354 Use __sincostab not sincos.
29355 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29357 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29362 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29363 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29364 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29365 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29368 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29370 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29371 define aliases when function name is a macro.
29372 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29373 sysdeps/ieee754/dbl-64/sincos.tbl.
29374 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29375 fma4-enabled routines.
29376 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29377 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29378 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29379 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29381 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29383 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29384 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29386 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29387 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29388 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29389 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29391 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29392 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29393 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29394 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29396 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29397 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29399 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29400 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29401 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29402 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29403 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29405 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29407 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29416 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29418 2011-10-24 Andreas Schwab <schwab@redhat.com>
29420 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29422 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29426 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29428 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29430 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29431 Remove unused variable magic_bits.
29432 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29434 * string/strnlen.c: Define and use STRNLEN macro.
29435 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29436 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29438 * wcsmbs/wcslen.c: Define and use WCSLEN.
29439 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29440 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29441 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29442 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29443 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29444 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29445 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29447 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29450 strnlen-sse2-no-bsf.
29451 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29453 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29454 Add strnlen support.
29455 (USE_AS_STRNLEN): New macro.
29456 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29457 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29458 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29459 * sysdeps/x86_64/wcslen.S: New file.
29461 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29464 XMM-moves are used for copying on small sizes.
29466 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29468 * wcsmbs/Makefile (strop-tests): Add wcschr.
29469 * wcsmbs/test-wcschr.c: New file.
29470 * string/test-strchr.c: Update.
29471 Add wcschr support.
29474 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29476 * wcsmbs/Makefile (strop-tests): Add wcslen.
29477 * wcsmbs/test-wcslen.c: New file.
29478 * string/test-strlen.c: Update.
29479 Add wcslen support.
29482 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29484 * po/it.po: Update from translation team.
29486 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29488 * sysdeps/x86_64/wcscmp.S: Update.
29489 Fix wrong comparison semantics.
29490 wcscmp shall use signed comparison not unsigned.
29491 Don't use substraction to avoid overflow bug.
29492 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29493 * wcsmbc/wcscmp.c: Likewise.
29494 * string/test-strcmp.c: Likewise.
29495 Add new tests to check cases with negative values.
29497 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29499 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29500 * sysdeps/x86_64/dla.h: ...here. New file.
29501 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29506 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29511 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29514 __ynl_finite aliases.
29516 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29520 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29522 [DLA_FMA] (EMULV): Use DLA_FMA.
29523 [DLA_FMA] (MUL12): Use EMULV.
29524 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29525 that are not needed.
29526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29534 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29536 * math/s_nan.c: Undef __nan.
29537 * math/s_nanf.c: Undef __nanf.
29538 * math/s_nanl.c: Undef __nanl.
29539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29542 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29544 * math/s_catan.c: Add branch predictions.
29545 * math/s_catanf.c: Likewise.
29546 * math/s_catanh.c: Likewise.
29547 * math/s_catanhf.c: Likewise.
29548 * math/s_catanhl.c: Likewise.
29549 * math/s_catanl.c: Likewise.
29550 * math/s_cexp.c: Likewise.
29551 * math/s_cexpf.c: Likewise.
29552 * math/s_cexpl.c: Likewise.
29553 * math/s_clog.c: Likewise.
29554 * math/s_clog10.c: Likewise.
29555 * math/s_clog10f.c: Likewise.
29556 * math/s_clog10l.c: Likewise.
29557 * math/s_clogf.c: Likewise.
29558 * math/s_clogl.c: Likewise.
29559 * math/s_csqrt.c: Likewise.
29560 * math/s_csqrtf.c: Likewise.
29561 * math/s_csqrtl.c: Likewise.
29562 * math/s_ctanf.c: Likewise.
29563 * math/s_ctanh.c: Likewise.
29564 * math/s_ctanhf.c: Likewise.
29565 * math/s_ctanhl.c: Likewise.
29566 * math/s_ctanl.c: Likewise.
29568 * math/math_private.h: Define __nan, __nanf, __nanl.
29569 * math/s_cacosh.c: Include <math_private.h>.
29570 * math/s_cacoshl.c: Likewise.
29571 * math/s_casinh.c: Likewise.
29572 * math/s_casinhf.c: Likewise.
29573 * math/s_casinhl.c: Likewise.
29574 * math/s_ccos.c: Rely entire on ccosh.
29575 * math/s_ccosf.c: Rely entire on ccoshf.
29576 * math/s_ccosl.c: Rely entirely on ccoshl.
29577 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29578 Remove tests for FE_INVALID.
29579 * math/s_ccoshf.c: Likewise.
29580 * math/s_ccoshl.c: Likewise.
29581 * math/s_csin.c: Likewise.
29582 * math/s_csinf.c: Likewise.
29583 * math/s_csinh.c Likewise.
29584 * math/s_csinhf.c: Likewise.
29585 * math/s_csinhl.c: Likewise.
29586 * math/s_csinl.c: Likewise.
29587 * math/s_ctan.c: Likewise.
29588 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29589 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29592 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29595 compilation problems.
29597 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29600 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29602 * sysdeps/i386/configure.in: Test for -mfma4 option.
29603 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29604 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29605 COMMON_CPUID_INDEX_80000001.
29606 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29607 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29608 use it if FMA3 is not supported.
29609 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29611 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29612 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29614 2011-10-20 Andreas Schwab <schwab@redhat.com>
29617 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29618 it would create a cycle with a link time dependency.
29620 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29622 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29624 * string/Makefile (strop-tests): Add rawmemchr.
29625 * string/test-rawmemchr.c: New file.
29627 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29628 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29629 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29630 when compiling str{,n}casecmp and when AVX is available. Hook up
29631 new optimized code in initializers.
29633 2011-10-19 Andreas Schwab <schwab@redhat.com>
29635 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29636 __feraiseexcept instead of feraiseexcept.
29638 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29640 * math/math_private.h: Define defaults for libc_fetestexcept and
29642 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29643 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29644 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29645 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29646 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29647 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29648 libc_fetestexcept and libc_feupdateenv.
29650 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29651 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29652 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29653 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29654 libc_feholdexcept_setround.
29656 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29657 Add s_nearbyint-c and s_nearbyintf-c.
29658 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29659 nearbyintf inlines.
29660 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29661 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29662 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29663 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29665 * math/math_private.h: Define defaults for libc_fegetround,
29666 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29667 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29668 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29669 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29670 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29671 standard functions.
29672 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29673 Remove comments and hacks for old compiler versions.
29674 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29675 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29676 libc_feholdexceptl.
29678 2011-10-18 Andreas Schwab <schwab@redhat.com>
29680 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29681 (__feraiseexcept_renamed): Add __NTH.
29682 (feraiseexcept): Add __NTH. Rename local variables to fix
29683 namespace violations.
29685 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29687 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29689 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29691 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29692 recently added interfaces.
29693 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29695 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29696 about macro parameter expansion.
29698 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29699 __NO_MATH_INLINES is defined. Cleanups.
29701 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29702 and __floorf is target has SSE4.1.
29703 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29704 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29705 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29706 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29708 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29710 (floorf): Likewise.
29712 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29714 2011-10-17 Andreas Schwab <schwab@redhat.com>
29716 * misc/sys/cdefs.h: Fix last change.
29718 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29721 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29723 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29725 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29727 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29728 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29730 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29731 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29732 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29733 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29734 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29735 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29736 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29737 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29738 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29739 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29740 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29741 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29742 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29743 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29744 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29745 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29746 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29748 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29749 ceil, ceilf, floor, floorf.
29751 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29752 Perform IRELATIVE relocations last.
29754 * elf/do-rel.h: Add another parameter nrelative, replacing the
29755 local variable with the same name. Change name of the function
29756 to end in Rel or Rela (uppercase).
29757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29758 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29759 elf_dynamic_do_##reloc function.
29761 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29763 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29764 is sufficient, at least on modern CPUs.
29766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29768 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29769 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29771 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29773 * math/bits/math-finite.h: Add entries for exp.
29774 * math/e_expl.c: Add __*_finite alias.
29775 * sysdeps/i386/fpu/e_exp.S: Likewise.
29776 * sysdeps/i386/fpu/e_expf.S: Likewise.
29777 * sysdeps/i386/fpu/e_expl.c: Likewise.
29778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29779 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29780 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29782 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29783 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29784 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29786 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29787 is sufficient, at least on modern CPUs.
29789 * ctype/ctype-info.c (__ctype_init): Define.
29790 * include/ctype.h (__ctype_init): Declare.
29791 (__ctype_b_loc): The variable is always initialized.
29792 (__ctype_toupper_loc): Likewise.
29793 (__ctype_tolower_loc): Likewise.
29794 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29795 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29797 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29799 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29801 * configure.in: Also look in $cxxmachine/include for C++ system
29804 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29806 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29807 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29808 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29809 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29810 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29811 (USE_AS_WMEMCMP): New macro.
29813 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29814 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29815 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29816 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29818 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29819 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29820 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29821 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29822 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29823 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29824 (USE_AS_WMEMCMP): New macro.
29825 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29826 * sysdeps/string/test-memcmp.c: Update.
29827 Fix simple_wmemcmp.
29829 * wcsmbs/wmemcmp.c: Update.
29830 (WMEMCMP): New macro.
29833 2011-10-12 Andreas Jaeger <aj@suse.de>
29836 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29838 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29840 * libio/iofwide.c (do_length): Avoid warning.
29842 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29844 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29846 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29848 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29849 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29850 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29851 * sysdeps/i386/i686/fpu/e_log.S: New file.
29852 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29853 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29855 * ctype/ctype.h: Add support for inlined isXXX functions when
29856 compiling C++ code.
29858 2011-10-14 Andreas Schwab <schwab@redhat.com>
29860 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29864 2011-10-13 Roland McGrath <roland@hack.frob.com>
29867 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29869 2011-10-13 Andreas Schwab <schwab@redhat.com>
29871 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29872 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29875 * sysdeps/x86_64/memrchr.S: Check for zero size.
29877 * string/stratcliff.c: Add memrchr tests.
29879 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29882 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29883 rawmemchr-sse2 rawmemchr-sse2-bsf.
29884 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29885 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29886 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29887 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29888 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29889 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29890 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29891 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29892 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29893 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29894 * string/memrchr.c (MEMRCHR): New macro.
29896 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29898 Add integration with gcc's -ffinite-math-only and optimize wrapper
29900 * Versions.def: Define GLIBC_2.15 version for libm.
29901 * math/Makefile (headers): Add bits/math-finite.h.
29902 * math/bits/math-finite.h: New file.
29903 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29904 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29905 * math/e_acoshl.c: Add __*_finite alias.
29906 * math/e_acosl.c: Likewise.
29907 * math/e_asinl.c: Likewise.
29908 * math/e_atan2l.c: Likewise.
29909 * math/e_atanhl.c: Likewise.
29910 * math/e_coshl.c: Likewise.
29911 * math/e_exp10.c: Likewise.
29912 * math/e_exp10f.c: Likewise.
29913 * math/e_exp10l.c: Likewise.
29914 * math/e_exp2l.c: Likewise.
29915 * math/e_fmodl.c: Likewise.
29916 * math/e_gammal_r.c: Likewise.
29917 * math/e_hypotl.c: Likewise.
29918 * math/e_j0l.c: Likewise.
29919 * math/e_j1l.c: Likewise.
29920 * math/e_jnl.c: Likewise.
29921 * math/e_lgammal_r.c: Likewise.
29922 * math/e_log10l.c: Likewise.
29923 * math/e_log2l.c: Likewise.
29924 * math/e_logl.c: Likewise.
29925 * math/e_powl.c: Likewise.
29926 * math/e_sinhl.c: Likewise.
29927 * math/e_sqrtl.c: Likewise.
29928 * math/e_scalb.c: Completely rewritten and optimized.
29929 * math/e_scalbf.c: Likewise.
29930 * math/e_scalbl.c: Likewise.
29931 * math/w_acos.c: Likewise.
29932 * math/w_acosf.c: Likewise.
29933 * math/w_acosl.c: Likewise.
29934 * math/w_acosh.c: Likewise.
29935 * math/w_acoshf.c: Likewise.
29936 * math/w_acoshl.c: Likewise.
29937 * math/w_asin.c: Likewise.
29938 * math/w_asinf.c: Likewise.
29939 * math/w_asinl.c: Likewise.
29940 * math/w_atan2.c: Likewise.
29941 * math/w_atan2f.c: Likewise.
29942 * math/w_atan2l.c: Likewise.
29943 * math/w_atanh.c: Likewise.
29944 * math/w_atanhf.c: Likewise.
29945 * math/w_atanhl.c: Likewise.
29946 * math/w_exp10.c: Likewise.
29947 * math/w_exp10f.c: Likewise.
29948 * math/w_exp10l.c: Likewise.
29949 * math/w_fmod.c: Likewise.
29950 * math/w_fmodf.c: Likewise.
29951 * math/w_fmodl.c: Likewise.
29952 * math/w_j0.c: Likewise.
29953 * math/w_j0f.c: Likewise.
29954 * math/w_j0l.c: Likewise.
29955 * math/w_j1.c: Likewise.
29956 * math/w_j1f.c: Likewise.
29957 * math/w_j1l.c: Likewise.
29958 * math/w_jn.c: Likewise.
29959 * math/w_jnf.c: Likewise.
29960 * math/w_log.c: Likewise.
29961 * math/w_logf.c: Likewise.
29962 * math/w_logl.c: Likewise.
29963 * math/w_log10.c: Likewise.
29964 * math/w_log10f.c: Likewise.
29965 * math/w_log10l.c: Likewise.
29966 * math/w_log2.c: Likewise.
29967 * math/w_log2f.c: Likewise.
29968 * math/w_log2l.c: Likewise.
29969 * math/w_pow.c: Likewise.
29970 * math/w_powf.c: Likewise.
29971 * math/w_powl.c: Likewise.
29972 * math/w_remainder.c: Likewise.
29973 * math/w_remainderf.c: Likewise.
29974 * math/w_remainderl.c: Likewise.
29975 * math/w_scalb.c: Likewise.
29976 * math/w_scalbf.c: Likewise.
29977 * math/w_scalbl.c: Likewise.
29978 * math/w_sqrt.c: Likewise.
29979 * math/w_sqrtf.c: Likewise.
29980 * math/w_sqrtl.c: Likewise.
29981 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29982 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29984 * math/math_private.h: Declare __kernel_standard_f.
29985 * math/w_cosh.c: Remove cruft and optimize a bit.
29986 * math/w_coshf.c: Likewise.
29987 * math/w_coshl.c: Likewise.
29988 * math/w_exp2.c: Likewise.
29989 * math/w_exp2f.c: Likewise.
29990 * math/w_exp2l.c: Likewise.
29991 * math/w_hypot.c: Likewise.
29992 * math/w_hypotf.c: Likewise.
29993 * math/w_hypotl.c: Likewise.
29994 * math/w_lgamma.c: Likewise.
29995 * math/w_lgamma_r.c: Likewise.
29996 * math/w_lgammaf.c: Likewise.
29997 * math/w_lgammaf_r.c: Likewise.
29998 * math/w_lgammal.c: Likewise.
29999 * math/w_lgammal_r.c: Likewise.
30000 * math/w_sinh.c: Likewise.
30001 * math/w_sinhf.c: Likewise.
30002 * math/w_sinhl.c: Likewise.
30003 * math/w_tgamma.c: Likewise.
30004 * math/w_tgammaf.c: Likewise.
30005 * math/w_tgammal.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30008 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30009 Minor optimizations. Pretty printing. Remove cruft.
30010 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30011 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30013 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30014 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30015 * sysdeps/i386/fpu/e_asin.S: Likewise.
30016 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30017 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30018 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30019 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30020 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30021 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30022 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30023 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30024 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30025 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30026 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30027 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30028 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30029 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30030 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30031 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30032 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30033 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30034 * sysdeps/i386/fpu/e_log.S: Likewise.
30035 * sysdeps/i386/fpu/e_log10.S: Likewise.
30036 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30037 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30038 * sysdeps/i386/fpu/e_log2.S: Likewise.
30039 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30040 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30041 * sysdeps/i386/fpu/e_logf.S: Likewise.
30042 * sysdeps/i386/fpu/e_logl.S: Likewise.
30043 * sysdeps/i386/fpu/e_pow.S: Likewise.
30044 * sysdeps/i386/fpu/e_powf.S: Likewise.
30045 * sysdeps/i386/fpu/e_powl.S: Likewise.
30046 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30047 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30048 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30049 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30051 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30052 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30053 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30054 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30055 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30059 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30061 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30062 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30064 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30065 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30066 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30075 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30076 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30077 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30078 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30079 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30080 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30081 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30082 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30083 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30084 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30085 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30086 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30087 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30088 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30089 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30090 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30091 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30092 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30093 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30094 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30095 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30096 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30105 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30106 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30107 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30108 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30109 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30110 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30111 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30112 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30119 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30120 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30124 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30127 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30129 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30130 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30131 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30132 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30133 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30134 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30136 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30137 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30138 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30139 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30140 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30142 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30143 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30144 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30146 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30147 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30148 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30149 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30150 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30151 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30152 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30153 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30154 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30155 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30156 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30157 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30158 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30159 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30160 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30161 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30162 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30163 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30164 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30165 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30166 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30167 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30168 (__isnanf): Likewise.
30169 (__isinf_ns): Likewise.
30170 (__isinf_nsf): Likewise.
30171 (__finite): Likewise.
30172 (__finitef): Likewise.
30173 (__ieee754_sqrt): Define as macro.
30174 (__ieee754_sqrtf): Define as macro.
30175 (__ieee754_sqrtl): Define as macro.
30176 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30178 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30179 __FINITE_MATH_ONLY__ consistent.
30180 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30182 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30184 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30187 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30189 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30191 * po/ja.po: Update from translation team.
30193 2011-10-08 Roland McGrath <roland@hack.frob.com>
30195 * locale/programs/locarchive.c (prepare_address_space): New function.
30196 (create_archive, enlarge_archive, open_archive): Use it.
30198 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30199 inside [SHARED], where it is used.
30201 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30203 * nss/getent.c (netgroup_keys): Remove unused variable.
30204 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30206 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30208 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30209 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30212 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30213 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30214 * math/Makefile (libm-calls): Add s_isinf_ns.
30215 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30216 * math/multc3.c: Likewise.
30217 * math/s_casin.c: Likewise.
30218 * math/s_casinf.c: Likewise.
30219 * math/s_casinl.c: Likewise.
30220 * math/s_ccos.c: Likewise.
30221 * math/s_ccosf.c: Likewise.
30222 * math/s_ccosl.c: Likewise.
30223 * math/s_ctan.c: Likewise.
30224 * math/s_ctanf.c: Likewise.
30225 * math/s_ctanh.c: Likewise.
30226 * math/s_ctanhf.c: Likewise.
30227 * math/s_ctanhl.c: Likewise.
30228 * math/s_ctanl.c: Likewise.
30229 * math/w_fmod.c: Likewise.
30230 * math/w_fmodf.c: Likewise.
30231 * math/w_fmodl.c: Likewise.
30232 * math/w_remainder.c: Likewise.
30233 * math/w_remainderf.c: Likewise.
30234 * math/w_remainderl.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30236 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30237 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30239 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30240 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30241 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30242 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30244 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30246 * stdio-common/printf_fphex.c: Likewise.
30247 * stdio-common/printf_size.c: Likewise.
30249 * math/e_exp10.c: Include math_private.h using <...> not "...".
30250 * math/e_exp10f.c: Likewise.
30251 * math/e_exp10l.c: Likewise.
30252 * math/e_exp2l.c: Likewise.
30253 * math/e_j0l.c: Likewise.
30254 * math/e_j1l.c: Likewise.
30255 * math/e_jnl.c: Likewise.
30256 * math/e_lgammal_r.c: Likewise.
30257 * math/e_rem_pio2l.c: Likewise.
30258 * math/e_scalb.c: Likewise.
30259 * math/e_scalbf.c: Likewise.
30260 * math/e_scalbl.c: Likewise.
30261 * math/k_cosl.c: Likewise.
30262 * math/k_sinl.c: Likewise.
30263 * math/k_tanl.c: Likewise.
30264 * math/s_cacoshf.c: Likewise.
30265 * math/s_catan.c: Likewise.
30266 * math/s_catanf.c: Likewise.
30267 * math/s_catanh.c: Likewise.
30268 * math/s_catanhf.c: Likewise.
30269 * math/s_catanhl.c: Likewise.
30270 * math/s_catanl.c: Likewise.
30271 * math/s_ccosh.c: Likewise.
30272 * math/s_ccoshf.c: Likewise.
30273 * math/s_ccoshl.c: Likewise.
30274 * math/s_cexp.c: Likewise.
30275 * math/s_cexpf.c: Likewise.
30276 * math/s_cexpl.c: Likewise.
30277 * math/s_clog.c: Likewise.
30278 * math/s_clog10.c: Likewise.
30279 * math/s_clog10f.c: Likewise.
30280 * math/s_clog10l.c: Likewise.
30281 * math/s_clogf.c: Likewise.
30282 * math/s_clogl.c: Likewise.
30283 * math/s_csin.c: Likewise.
30284 * math/s_csinf.c: Likewise.
30285 * math/s_csinh.c: Likewise.
30286 * math/s_csinhf.c: Likewise.
30287 * math/s_csinhl.c: Likewise.
30288 * math/s_csinl.c: Likewise.
30289 * math/s_csqrt.c: Likewise.
30290 * math/s_csqrtf.c: Likewise.
30291 * math/s_csqrtl.c: Likewise.
30292 * math/s_ctan.c: Likewise.
30293 * math/s_ctanf.c: Likewise.
30294 * math/s_ctanh.c: Likewise.
30295 * math/s_ctanhf.c: Likewise.
30296 * math/s_ctanhl.c: Likewise.
30297 * math/s_ctanl.c: Likewise.
30298 * math/s_ldexp.c: Likewise.
30299 * math/s_ldexpf.c: Likewise.
30300 * math/s_ldexpl.c: Likewise.
30301 * math/s_significand.c: Likewise.
30302 * math/s_significandf.c: Likewise.
30303 * math/s_significandl.c: Likewise.
30304 * math/w_acos.c: Likewise.
30305 * math/w_acosf.c: Likewise.
30306 * math/w_acosh.c: Likewise.
30307 * math/w_acoshf.c: Likewise.
30308 * math/w_acoshl.c: Likewise.
30309 * math/w_acosl.c: Likewise.
30310 * math/w_asin.c: Likewise.
30311 * math/w_asinf.c: Likewise.
30312 * math/w_asinl.c: Likewise.
30313 * math/w_atan2.c: Likewise.
30314 * math/w_atan2f.c: Likewise.
30315 * math/w_atan2l.c: Likewise.
30316 * math/w_atanh.c: Likewise.
30317 * math/w_atanhf.c: Likewise.
30318 * math/w_atanhl.c: Likewise.
30319 * math/w_cosh.c: Likewise.
30320 * math/w_coshf.c: Likewise.
30321 * math/w_coshl.c: Likewise.
30322 * math/w_dremf.c: Likewise.
30323 * math/w_exp10.c: Likewise.
30324 * math/w_exp10f.c: Likewise.
30325 * math/w_exp10l.c: Likewise.
30326 * math/w_exp2.c: Likewise.
30327 * math/w_exp2f.c: Likewise.
30328 * math/w_fmod.c: Likewise.
30329 * math/w_fmodf.c: Likewise.
30330 * math/w_fmodl.c: Likewise.
30331 * math/w_hypot.c: Likewise.
30332 * math/w_hypotf.c: Likewise.
30333 * math/w_hypotl.c: Likewise.
30334 * math/w_j0.c: Likewise.
30335 * math/w_j0f.c: Likewise.
30336 * math/w_j0l.c: Likewise.
30337 * math/w_j1.c: Likewise.
30338 * math/w_j1f.c: Likewise.
30339 * math/w_j1l.c: Likewise.
30340 * math/w_jn.c: Likewise.
30341 * math/w_jnf.c: Likewise.
30342 * math/w_jnl.c: Likewise.
30343 * math/w_lgamma.c: Likewise.
30344 * math/w_lgamma_r.c: Likewise.
30345 * math/w_lgammaf.c: Likewise.
30346 * math/w_lgammaf_r.c: Likewise.
30347 * math/w_lgammal.c: Likewise.
30348 * math/w_lgammal_r.c: Likewise.
30349 * math/w_log.c: Likewise.
30350 * math/w_log10.c: Likewise.
30351 * math/w_log10f.c: Likewise.
30352 * math/w_log10l.c: Likewise.
30353 * math/w_log2.c: Likewise.
30354 * math/w_log2f.c: Likewise.
30355 * math/w_log2l.c: Likewise.
30356 * math/w_logf.c: Likewise.
30357 * math/w_logl.c: Likewise.
30358 * math/w_pow.c: Likewise.
30359 * math/w_powf.c: Likewise.
30360 * math/w_powl.c: Likewise.
30361 * math/w_remainder.c: Likewise.
30362 * math/w_remainderf.c: Likewise.
30363 * math/w_remainderl.c: Likewise.
30364 * math/w_scalb.c: Likewise.
30365 * math/w_scalbf.c: Likewise.
30366 * math/w_scalbl.c: Likewise.
30367 * math/w_sinh.c: Likewise.
30368 * math/w_sinhf.c: Likewise.
30369 * math/w_sinhl.c: Likewise.
30370 * math/w_sqrt.c: Likewise.
30371 * math/w_sqrtf.c: Likewise.
30372 * math/w_sqrtl.c: Likewise.
30373 * math/w_tgamma.c: Likewise.
30374 * math/w_tgammaf.c: Likewise.
30375 * math/w_tgammal.c: Likewise.
30377 * po/ja.po: Update from translation team.
30379 2011-09-29 Andreas Jaeger <aj@suse.de>
30382 * sunrpc/netname.c (netname2host): Fix logic.
30386 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30388 * math/w_remainder.c (__remainder): Likewise.
30389 * math/w_remainderf.c (__remainderf): Likewise.
30390 * math/libm-test.inc (remainder_test): Add test cases.
30392 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30394 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30397 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30399 * string/test-memcmp.c: Avoid unncessary #defines.
30400 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30402 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30404 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30405 Use new sse2 version for core i3 - i7 as it's faster
30406 than sse42 version.
30407 (bit_Prefer_PMINUB_for_stringop): New.
30408 * sysdeps/x86_64/rawmemchr.S: Update.
30409 Replace with faster SSE2 version.
30410 * sysdeps/x86_64/memrchr.S: New file.
30411 * sysdeps/x86_64/memchr.S: Update.
30412 Replace with faster SSE2 version.
30414 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30416 * elf/dl-load.c (lose): Add cast to avoid warning.
30418 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30420 * po/ca.po: Update from translation team.
30422 * inet/getnetgrent_r.c: Hook up nscd.
30423 * nscd/Makefile (routines): Add nscd_netgroup.
30424 (nscd-modules): Add netgroupcache.
30425 (CFLAGS-netgroupcache.c): Define.
30426 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30427 (cache_search): Add const to second parameter.
30428 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30430 (dbs): Add netgrdb entry.
30431 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30432 (verify_persistent_db): Handle netgrdb.
30433 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30434 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30436 (netgroup_response_header): Define.
30437 (innetgroup_response_header): Define.
30438 (datahead): Add netgroup_response_header and innetgroup_response_header
30440 * nscd/nscd.conf: Add entries for netgroup cache.
30441 * nscd/nscd.h (dbtype): Add netgrdb.
30442 (_PATH_NSCD_NETGROUP_DB): Define.
30443 (netgroup_iov_disabled): Declare.
30444 (xmalloc, xcalloc, xrealloc): Move declarations here.
30445 (cache_search): Adjust prototype.
30446 Add netgroup-related prototypes.
30447 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30448 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30449 (__nscd_innetgr): Declare.
30450 * nscd/selinux.c (perms): Use access_vector_t as element type and
30451 add netgroup-related initializers.
30452 * nscd/netgroupcache.c: New file.
30453 * nscd/nscd_netgroup.c: New file.
30454 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30455 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30456 For four parameters use innetgr.
30457 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30458 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30459 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30460 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30462 * nscd/connections.c (register_traced_file): Don't register file
30463 for disabled databases.
30465 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30467 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30469 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30470 from tree and freeing node.
30472 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30474 * nss/nsswitch.c (__nss_database_lookup): Handle
30475 nss_parse_service_list out of memory case.
30477 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30479 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30480 out of memory case.
30482 2011-10-04 Andreas Schwab <schwab@redhat.com>
30484 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30485 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30487 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30488 elf_machine_rela, elf_machine_lazy_rel.
30489 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30490 (ELF_DYNAMIC_DO_REL): Likewise.
30491 (ELF_DYNAMIC_DO_RELA): Likewise.
30492 (ELF_DYNAMIC_RELOCATE): Likewise.
30493 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30494 to ELF_DYNAMIC_DO_REL.
30495 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30496 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30497 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30499 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30500 skip_ifunc, don't call ifunc function if non-zero.
30501 (elf_machine_rela): Likewise.
30502 (elf_machine_lazy_rel): Likewise.
30503 (elf_machine_lazy_rela): Likewise.
30504 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30505 (elf_machine_lazy_rel): Likewise.
30506 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30508 (elf_machine_lazy_rel): Likewise.
30509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30511 (elf_machine_lazy_rel): Likewise.
30512 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30513 (elf_machine_lazy_rel): Likewise.
30514 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30515 (elf_machine_lazy_rel): Likewise.
30516 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30517 (elf_machine_lazy_rel): Likewise.
30518 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30519 (elf_machine_lazy_rel): Likewise.
30520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30521 (elf_machine_lazy_rel): Likewise.
30522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30523 (elf_machine_lazy_rel): Likewise.
30525 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30527 * nss/nss_files/files-init.c (_nss_files_init): Use static
30528 initialization for all the *_traced_file variables.
30530 2011-09-28 Andreas Schwab <schwab@redhat.com>
30532 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30534 2011-09-27 Roland McGrath <roland@hack.frob.com>
30537 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30539 2011-09-27 Andreas Schwab <schwab@redhat.com>
30541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30542 Reread the line before reparsing it.
30544 2011-09-26 Andreas Schwab <schwab@redhat.com>
30546 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30548 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30549 Maxim Kuvyrkov <maxim@codesourcery.com>
30550 Joseph Myers <joseph@codesourcery.com>
30552 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30553 if needed for __stack_chk_guard.
30555 2011-09-19 Roland McGrath <roland@hack.frob.com>
30557 * sysdeps/posix/spawni.c (script_execute): Always define it.
30558 It will be optimized away if unused.
30559 (maybe_script_execute): New function.
30560 (__spawni): Call it.
30562 * Makerules: Don't include tls.make.
30563 (config-tls): Always set to thread.
30564 * tls.make.c: File removed.
30566 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30568 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30569 * config.make.in (CPPFLAGS-config): New substituted variable.
30571 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30576 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30577 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30579 2011-09-15 Roland McGrath <roland@hack.frob.com>
30581 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30582 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30584 (CALL_FAIL): Likewise.
30585 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30586 (CALL_FAIL): Macro removed.
30587 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30589 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30591 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30592 for __FINITE_MATH_ONLY__ == 1.
30594 2011-09-15 Andreas Schwab <schwab@redhat.com>
30596 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30597 __ieee754_sqrt instead of sqrt.
30598 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30599 __ieee754_sqrtf instead of sqrtf.
30600 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30601 __floorf instead of floorf.
30602 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30603 __floorf, __truncf instead of floorf, truncf.
30605 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30607 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30609 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30610 __extern_always_inline.
30611 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30614 2011-09-14 Andreas Schwab <schwab@redhat.com>
30616 * elf/rtld.c (dl_main): Also relocate in dependency order when
30617 doing symbol dependency testing.
30619 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30622 Always define `refsym'.
30624 2011-09-13 Andreas Schwab <schwab@redhat.com>
30626 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30627 (__FD_ELT): Renamed from __FDELT.
30628 * misc/bits/select2.h (__FD_ELT): Likewise.
30629 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30630 __FD_MASK instead of __FDELT, __FDMASK.
30631 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30633 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30636 * elf/Makefile (gen-ldd): Fix pattern.
30638 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30639 (init_tls): Likewise.
30641 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30645 2011-09-12 Andreas Schwab <schwab@redhat.com>
30647 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30648 `struct cmsghdr *' instead of `void *'.
30649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30652 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30654 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30656 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30657 ldd_rewrite_script.
30659 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30661 * configure.in: Remove --with-tls option.
30662 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30663 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30664 out in case it is missing.
30665 * sysdeps/ia64/elf/configure.in: Likewise.
30666 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30667 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30668 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30669 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30670 * sysdeps/sh/elf/configure.in: Likewise.
30671 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30672 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30673 * sysdeps/x86_64/elf/configure.in: Likewise.
30674 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30675 * sysdeps/mach/hurd/tls.h: Likewise.
30678 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30681 * configure.in: Fix use of AC_INIT.
30683 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30685 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30687 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30689 * malloc/hooks.c: Likewise.
30692 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30693 variables statically.
30694 (narenas): Initialize.
30695 (list_lock): Initialize.
30696 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30697 initializtion of main_arena and list_lock. Small cleanups.
30698 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30699 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30700 Add initializers to main_arena and mp_.
30701 (malloc_state): Remove pagesize member. Change all users to use
30704 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30705 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30706 is always initialized.
30708 * malloc/malloc.c: Removed unused configurations and dead code.
30709 * malloc/arena.c: Likewise.
30710 * malloc/hooks.c: Likewise.
30711 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30713 * include/tls.h: Removed. USE___THREAD must always be defined.
30714 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30715 * elf/dl-libc.c: Likewise.
30716 * elf/dl-tsd.c: Likewise.
30717 * include/errno.h: Likewise.
30718 * include/netdb.h: Likewise.
30719 * include/resolv.h: Likewise.
30720 * inet/herrno-loc.c: Likewise.
30721 * inet/herrno.c: Likewise.
30722 * malloc/arena.c: Likewise.
30723 * malloc/hooks.c: Likewise.
30724 * malloc/malloc.c: Likewise.
30725 * resolv/res-state.c: Likewise.
30726 * resolv/res_libc.c: Likewise.
30727 * sysdeps/i386/dl-machine.h: Likewise.
30728 * sysdeps/ia64/dl-machine.h: Likewise.
30729 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30730 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30731 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30732 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30733 * sysdeps/sh/dl-machine.h: Likewise.
30734 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30735 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30736 * sysdeps/unix/i386/sysdep.S: Likewise.
30737 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30738 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30743 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30747 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30748 * sysdeps/x86_64/dl-machine.h: Likewise.
30749 * tls.make.c: Likewise.
30751 * configure.in: Remove --with-__thread option. Make tests for
30752 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30753 tls_model attribute fail if no support is available. Remove
30755 * Makeconfig: Adjust for dropped configure option. All features are
30757 * Makerules: Likewise.
30758 * Versions.def: Likewise.
30759 * argp/argp-fmtstream.c: Likewise.
30760 * argp/argp-fmtstream.h: Likewise.
30761 * argp/argp-help.c: Likewise.
30762 * assert/assert.c: Likewise.
30763 * config.h.in: Likewise.
30764 * config.make.in: Likewise.
30765 * configure: Likewise.
30766 * configure.in: Likewise.
30767 * csu/Versions: Likewise.
30768 * csu/init.c: Likewise.
30769 * elf/tst-audit2.c: Likewise.
30770 * elf/tst-tls10.c: Likewise.
30771 * elf/tst-tls10.h: Likewise.
30772 * elf/tst-tls11.c: Likewise.
30773 * elf/tst-tls12.c: Likewise.
30774 * elf/tst-tls14.c: Likewise.
30775 * elf/tst-tlsmod11.c: Likewise.
30776 * elf/tst-tlsmod12.c: Likewise.
30777 * elf/tst-tlsmod13.c: Likewise.
30778 * elf/tst-tlsmod13a.c: Likewise.
30779 * elf/tst-tlsmod14a.c: Likewise.
30780 * elf/tst-tlsmod15b.c: Likewise.
30781 * elf/tst-tlsmod16a.c: Likewise.
30782 * elf/tst-tlsmod16b.c: Likewise.
30783 * elf/tst-tlsmod7.c: Likewise.
30784 * elf/tst-tlsmod8.c: Likewise.
30785 * elf/tst-tlsmod9.c: Likewise.
30786 * gmon/gmon.c: Likewise.
30787 * grp/fgetgrent_r.c: Likewise.
30788 * grp/putgrent.c: Likewise.
30789 * hurd/fopenport.c: Likewise.
30790 * include/libc-symbols.h: Likewise.
30791 * include/tls.h: Likewise.
30792 * intl/gettextP.h: Likewise.
30793 * intl/loadinfo.h: Likewise.
30794 * locale/global-locale.c: Likewise.
30795 * locale/localeinfo.h: Likewise.
30796 * mach/devstream.c: Likewise.
30797 * malloc/arena.c: Likewise.
30798 * malloc/set-freeres.c: Likewise.
30799 * misc/err.c: Likewise.
30800 * misc/getttyent.c: Likewise.
30801 * misc/mntent_r.c: Likewise.
30802 * posix/getopt.c: Likewise.
30803 * posix/wordexp.c: Likewise.
30804 * pwd/fgetpwent_r.c: Likewise.
30805 * resolv/Versions: Likewise.
30806 * resolv/res_hconf.c: Likewise.
30807 * shadow/fgetspent_r.c: Likewise.
30808 * shadow/putspent.c: Likewise.
30809 * stdio-common/printf_fphex.c: Likewise.
30810 * stdio-common/tmpfile.c: Likewise.
30811 * stdlib/abort.c: Likewise.
30812 * stdlib/fmtmsg.c: Likewise.
30813 * sunrpc/auth_unix.c: Likewise.
30814 * sunrpc/clnt_perr.c: Likewise.
30815 * sunrpc/clnt_tcp.c: Likewise.
30816 * sunrpc/clnt_udp.c: Likewise.
30817 * sunrpc/clnt_unix.c: Likewise.
30818 * sunrpc/openchild.c: Likewise.
30819 * sunrpc/svc_simple.c: Likewise.
30820 * sunrpc/svc_tcp.c: Likewise.
30821 * sunrpc/svc_udp.c: Likewise.
30822 * sunrpc/svc_unix.c: Likewise.
30823 * sunrpc/xdr.c: Likewise.
30824 * sunrpc/xdr_array.c: Likewise.
30825 * sunrpc/xdr_rec.c: Likewise.
30826 * sunrpc/xdr_ref.c: Likewise.
30827 * sunrpc/xdr_stdio.c: Likewise.
30829 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30831 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30833 2011-07-03 Andreas Jaeger <aj@suse.de>
30835 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30836 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30837 regenerate with gen-libm-tests.pl.
30839 2010-05-12 Petr Baudis <pasky@suse.cz>
30842 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30843 around j0() zero points by switching to j1().
30844 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30849 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30851 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30853 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30856 Patch in part by Pavel Roskin <proski@gnu.org>.
30859 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30861 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30862 Free memory block if necessary.
30865 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30866 be NULL. Don't lock in this case.
30868 2011-09-09 Roland McGrath <roland@hack.frob.com>
30870 * elf/elf.h (ELFOSABI_GNU): New macro.
30871 (ELFOSABI_LINUX): Define to that.
30873 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30875 * string/strncat.c (strncat): Undef the symbol in case it has been
30876 defined in bits/string.h.
30878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30880 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30882 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30885 2011-08-17 Andreas Jaeger <aj@suse.de>
30887 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30889 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30890 Ian Lance Taylor <iant@google.com>
30892 * math/libm-test.inc (lround_test): New testcase.
30893 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30895 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30897 * Makefile: Remove support for automatic cvs check-ins.
30898 * Makerules: Likewise.
30899 * config.make.in: Likewise.
30900 * configure.in: Likewise.
30901 * intl/Makefile: Likewise.
30902 * locale/Makefile: Likewise.
30903 * po/Makefile: Likewise.
30904 * posix/Makefile: Likewise.
30905 * sysdeps/gnu/Makefile: Likewise.
30906 * sysdeps/mach/hurd/Makefile: Likewise.
30907 * sysdeps/sparc/sparc32/Makefile: Likewise.
30910 * posix/Makefile (bug-regex32-ENV): Define.
30911 Patch by John Stanley <jpsinthemix@verizon.net>.
30913 * misc/Makefile (headers): Add bits/select2.h.
30914 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30915 * misc/bits/select2.h: New file.
30916 * include/bits/select2.h: New file.
30917 * debug/Makefile (routines): Add fdelt_chk.
30918 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30919 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30921 * debug/fdelt_chk.c: New file.
30923 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30924 * wcsmbs/test-wmemcmp.c: Likewise.
30925 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30926 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30928 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30930 * string/Makefile (strop-tests): Add memcmp.
30931 * string/test-wmemcmp.c: New file.
30932 * string/test-memcmp.c: Add wmemcmp support.
30934 2011-09-08 Roland McGrath <roland@hack.frob.com>
30937 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30940 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30941 garbage value in a __mach_port_mod_refs call in the cases of the
30942 task-self and thread-self ports.
30944 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30946 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30948 2011-09-08 Andreas Schwab <schwab@redhat.com>
30950 * elf/dl-load.c (lose): Check for non-null L.
30952 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30954 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30956 * elf/dl-libc.c (dlerror_run): Pass back error code from
30960 * elf/dl-load.c (lose): Free l_origin if it is valid.
30962 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30964 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30965 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30967 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30969 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30971 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30973 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30974 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30975 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30976 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30977 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30978 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30979 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30980 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30981 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30982 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30984 2011-08-15 Alan Modra <amodra@gmail.com>
30987 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30988 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30989 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30990 ppc_mcount to static-only-routines.
30991 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30993 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30994 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30996 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30998 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30999 for finite and infinity parameters.
31001 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31004 and add nop instructions for throughput optimization.
31005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31007 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31010 aligned copy for power7 with vector-scalar instructions.
31011 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31013 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31018 2011-09-07 Andreas Schwab <schwab@redhat.com>
31021 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31024 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31026 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31027 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31028 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31029 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31032 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31034 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31035 Forgot to demangle the pointer.
31037 * sysdeps/i386/sysdep.h: Define atom_text_section.
31038 * sysdeps/x86_64/sysdep.h: Likewise.
31039 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31040 section with atom_text_section.
31041 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31043 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31044 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31045 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31048 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31049 already be defined. Change to take two parameters and don't assign
31050 result to variable. Adjust all users.
31051 Define INTERNAL_GETTIME if not already defined.
31052 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31055 HAVE_CLOCK_GETTIME_VSYSCALL.
31056 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31058 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31059 gettimeofday vsyscall, just use time.
31061 2011-09-06 Andreas Schwab <schwab@redhat.com>
31063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31066 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31068 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31072 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31073 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31074 syscall if possible.
31076 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31078 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31079 e_ident. Don't pass to find_mapsXX.
31080 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31082 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31085 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31086 * sysdeps/x86_64/multiarch/strchr.S: Update.
31087 Check bit_slow_BSF bit.
31088 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31089 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31090 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31092 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31095 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31097 (tryshell): Define.
31098 (__spawni): Change last parameter to be flag. Test
31099 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31100 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31101 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31102 * posix/spawni.c: Likewise.
31103 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31104 * posix/spawnp.c: Likewise. Change normal version to use
31105 SPAWN_XFLAGS_USE_PATH.
31106 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31107 SPAWN_XFLAGS_TRY_SHELL.
31110 * posix/glob.h: Remove gcc 1.x support.
31113 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31115 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31118 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31120 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31121 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31122 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31123 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31124 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31127 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31129 * sysdeps/x86_64/wcscmp.S: New file.
31131 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31132 wcscmp-c wcscmp-sse2
31133 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31134 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31135 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31136 * wcsmbs/wcscmp.c: Allow renaming.
31138 2011-09-05 David S. Miller <davem@davemloft.net>
31140 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31141 stack slot, rather than the struct return pointer slot.
31142 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31143 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31147 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31149 * po/ja.po: Update from translation team.
31152 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31153 kernel in 64-bit binaries.
31155 2011-09-01 David S. Miller <davem@davemloft.net>
31157 * elf/elf.h (HWCAP_SPARC_*): Move to..
31158 * sysdeps/sparc/sysdep.h: this new file and add new values.
31159 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31160 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31161 _DL_HWCAP_COUNT to 24.
31162 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31164 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31165 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31166 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31168 instead of magic constants.
31169 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31171 2011-08-31 David S. Miller <davem@davemloft.net>
31173 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31175 Reimplement to do errno handling inline.
31176 (SYSCALL_ERROR_HANDLER): New macro.
31177 (__SYSCALL_STRING): Do not do errno handling in asm.
31178 (__CLONE_SYSCALL_STRING): Delete.
31179 (__INTERNAL_SYSCALL_STRING): Delete.
31180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31181 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31182 (PSEUDO): Reimplement to do errno handling inline.
31183 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31184 (SYSCALL_ERROR_HANDLER): New macro.
31185 (__SYSCALL_STRING): Do not do errno handling in asm.
31186 (__CLONE_SYSCALL_STRING): Delete.
31187 (__INTERNAL_SYSCALL_STRING): Delete.
31188 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31189 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31191 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31192 (inline_syscall*): Add 'err' argument.
31193 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31194 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31195 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31196 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31198 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31199 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31201 2011-08-30 Andreas Schwab <schwab@redhat.com>
31203 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31205 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31207 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31210 2011-08-24 David S. Miller <davem@davemloft.net>
31212 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31214 2011-08-24 Andreas Schwab <schwab@redhat.com>
31216 * elf/Makefile: Add rules to build and run unload8 test.
31217 * elf/unload8.c: New file.
31218 * elf/unload8mod1.c: New file.
31219 * elf/unload8mod1x.c: New file.
31220 * elf/unload8mod2.c: New file.
31221 * elf/unload8mod3.c: New file.
31223 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31226 2011-08-23 David S. Miller <davem@davemloft.net>
31228 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31229 subtract stack bias.
31230 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31231 %sp not %fp in calculations.
31232 (_JMPBUF_UNWINDS_ADJ): Likewise.
31234 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31235 (aio_suspend): Call it to force an exception region around the
31236 AIO_MISC_WAIT() invocation.
31238 2011-08-23 Andreas Schwab <schwab@redhat.com>
31240 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31243 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31245 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31247 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31248 and <dl-machine.h>.
31249 (Elf64_FuncDesc): Remove.
31251 2011-08-22 David S. Miller <davem@davemloft.net>
31253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31254 sigaltstack check, add missing cfi directives.
31255 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31256 missing cfi directives, and sigaltstack handling.
31258 2011-08-16 Andreas Schwab <schwab@redhat.com>
31261 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31262 object is seen twice.
31263 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31265 * elf/Makefile (distribute): Add tst-initorder2.c.
31266 (tests): Add tst-initorder2.
31267 (modules-names): Add tst-initorder2a tst-initorder2b
31268 tst-initorder2c tst-initorder2d. Add rules to build them.
31269 ($(objpfx)tst-initorder2.out): New rule.
31270 * elf/tst-initorder2.c: New file.
31271 * elf/tst-initorder2.exp: New file.
31273 2011-08-22 Andreas Schwab <schwab@redhat.com>
31275 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31277 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31278 dependencies back to end of function.
31280 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31281 $(elfobjdir)/ld.so.
31283 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31286 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31288 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31289 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31290 of __vdso_gettimeofday.
31291 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31292 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31294 (_libc_vdso_platform_setup): Remove initialization of
31295 __vdso_gettimeofday and __vdso_time.
31297 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31299 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31300 and fgetc_unlocked.
31301 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31304 * elf/dl-open.c (add_to_global): Report additions to the global scope
31305 for LD_DEBUG=scopes.
31306 (dl_open_worker): Also print scope of newly loaded dependencies.
31307 (_dl_show_scope): Indicate if there is no scope.
31310 * stdio-common/Makefile (tests): Add bug24.
31311 * stdio-common/bug24.c: New file.
31313 2011-08-19 Andreas Jaeger <aj@suse.de>
31316 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31317 non-existant file when using close-on-exec mode.
31319 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31322 the very first instruction.
31324 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31325 the CFI state in the end.
31326 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31327 inclusion of dl-trampoline.h.
31328 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31330 2011-08-19 Andreas Schwab <schwab@redhat.com>
31332 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31333 expectations for long double.
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31336 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31338 2011-08-14 David S. Miller <davem@davemloft.net>
31340 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31341 artificual limit depends upon the system page size.
31343 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31345 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31346 * resolv/Makefile: Define CFLAGS-libresolv.
31348 2011-08-17 Andreas Schwab <schwab@redhat.com>
31350 * nss/makedb.c (compute_tables): Make variables used in nested
31353 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31355 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31356 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31357 if buffer was too small.
31359 * elf/pldd.c (main): Attach to all threads in the process.
31360 Rewrite /proc handling to use *at functions.
31362 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31364 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31365 specifies first scope to show.
31366 (dl_open_worker): Update callers. Move printing scope of new
31367 object to before the relocation.
31368 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31369 * sysdeps/generic/ldsodefs.h: Update declaration.
31371 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31372 string for the scope number.
31374 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31376 * nscd/servicescache.c (cache_addserv): Make sure written is always
31379 2011-08-14 Roland McGrath <roland@hack.frob.com>
31381 * sysdeps/i386/i486/bits/atomic.h
31382 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31383 statement expression, so as to suppress "set but not used" warning.
31384 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31386 * string/strncat.c (STRNCAT): Use prototype definition.
31388 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31389 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31391 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31392 (localedef-modules): Add localedef.
31393 (locale-modules): Add locale.
31395 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31396 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31397 to avoid a warning.
31399 2011-08-14 David S. Miller <davem@davemloft.net>
31401 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31402 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31404 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31406 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31407 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31408 * elf/rtld.c (dl_main): Set l_name of vDSO.
31409 Call _dl_show_scope when DL_DEBUG_SCOPES.
31410 (process_dl_debug): Recognize scopes flag and also set it for all.
31411 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31412 Declare _dl_show_scope.
31414 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31415 (do_dlopen): Pass caller_dlopen to dl_open.
31416 (__libc_dlopen_mode): Initialize caller_dlopen.
31418 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31419 of libc. Make tolower call locale-independent. Optimize a bit by
31420 using isdigit instead of isalnum.
31421 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31423 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31425 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31426 was a dependency or dynamically loaded.
31428 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31430 * intl/l10nflist.c: Allow architecture-specific pop function.
31431 * sysdeps/x86_64/l10nflist.c: New file.
31433 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31436 2011-08-10 Andreas Schwab <schwab@redhat.com>
31438 * include/dirent.h: Add libc_hidden_proto for scandirat and
31439 scandirat64. Don't declare __scandirat64.
31440 * dirent/scandirat.c: Add libc_hidden_def.
31441 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31442 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31444 2011-08-10 David S. Miller <davem@davemloft.net>
31446 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31450 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31452 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31454 * Versions.def [libc]: Add GLIBC_2.15.
31455 * dirent/Makefile (routines): Add scandirat and scandirat64.
31456 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31458 * dirent/dirent.h: Declare scandirat and scandirat64.
31459 * dirent/scandirat.c: New file.
31460 * dirent/scandirat64.c: New file.
31461 * sysdeps/wordsize-64/scandirat.c: New file.
31462 * sysdeps/wordsize-64/scandirat64.c: New file.
31463 * dirent/opendir.c: Define opendirat.
31464 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31466 * dirent/scandir64.c: Adjust for scandir.c change.
31467 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31468 __scandirat64, and __scandir_cancel_handler.
31469 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31470 additional parameter and use openat instead of open (outside of ld.so).
31471 Add new __opendir as wrapper around __opendirat.
31472 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31473 here without requiring old scandirat implementation.
31475 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31477 * dirent/scandir.c (cancel_handler): Renamed to
31478 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31479 defined. Adjust users.
31480 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31481 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31483 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31485 * string/test-string.h (IMPL): Use __STRING to expand name and then
31488 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31491 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31493 * string/Makefile: Update.
31494 (strop-tests): Append strncat.
31495 * string/test-wcscmp.c: New file.
31496 New comprehensive test for wcscmp.
31497 * string/test-strcmp.c: Update.
31498 (WIDE): New define.
31500 2011-07-22 Andreas Schwab <schwab@redhat.com>
31502 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31505 2011-07-26 Andreas Schwab <schwab@redhat.com>
31507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31508 encoding to ACE if AI_IDN.
31510 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31513 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31515 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31518 Fix overflow bug in strncat.
31519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31521 * string/test-strncat.c: Update.
31522 Add new tests for checking overflow bugs.
31524 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31527 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31528 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31529 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31531 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31532 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31533 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31534 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31537 (USE_AS_STRCAT): Define.
31538 Add strcat and strncat support.
31539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31541 2011-07-25 Andreas Schwab <schwab@redhat.com>
31543 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31544 __n bigger than INT_MAX+1.
31545 (__strncmp_g): Likewise.
31547 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31549 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31550 * libio/stido.h: Likewise.
31552 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31557 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31558 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31559 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31560 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31564 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31569 (_dl_x86_64_save_sse): Likewise.
31571 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31575 (_dl_x86_64_save_sse): Likewise.
31577 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31579 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31581 2011-07-21 Andreas Schwab <schwab@redhat.com>
31583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31585 (_dl_x86_64_save_sse): Use correct AVX check.
31587 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31590 bug in strncpy/strncat.
31591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31593 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31595 * string/tester.c (test_strcat): Add tests for different alignments
31596 of source and destination.
31597 (test_strncat): Likewise.
31599 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31602 * posix/glob.c (glob): Check passed in values before using them in
31603 expressions to avoid some overflows.
31604 (glob_in_dir): Likewise.
31607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31608 check for AVX enablement so that we don't crash with old kernels and
31610 * elf/tst-audit4.c: Add same checks here.
31611 * elf/tst-audit6.c: Likewise.
31613 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31615 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31617 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31619 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31621 * po/cs.po: Update from translation team.
31622 * po/bg.po: Likewise.
31624 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31626 * misc/sys/cdefs.h: Add support for const attribute.
31627 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31628 to gnu_dev_{major,minor,makedev} functions.
31630 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31632 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31634 2011-07-20 Andreas Schwab <schwab@redhat.com>
31636 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31639 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31642 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31643 register in order to avoid conflicts with the soft frame pointer
31644 being held in r11 when necessary.
31645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31646 (INTERNAL_VSYSCALL_NCS): Likewise.
31648 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31650 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31651 * elf/dl-fini.c (_dl_fini): Adjust caller.
31652 * elf/dl-close.c (_dl_close_worker): Likewise.
31653 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31655 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31657 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31658 "aux_cache->nlibs < 0".
31660 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31661 in the reload-count case.
31663 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31666 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31667 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31668 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31669 * sysdeps/x86_64/multiarch/strcat.S: New file.
31670 * sysdeps/x86_64/multiarch/strncat.S: New file.
31671 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31672 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31673 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31674 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31675 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31676 (USE_AS_STRCAT): Define.
31677 Add strcat and strncat support.
31678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31680 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31681 * string/strncat.c: Update.
31682 (USE_AS_STRNCAT): Define.
31683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31684 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31686 * sysdeps/x86_64/multiarch/init-arch.h
31687 (bit_Prefer_PMINUB_for_stringop): New.
31688 (index_Prefer_PMINUB_for_stringop): Likewise.
31689 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31690 bit_Prefer_PMINUB_for_stringop.
31692 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31694 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31696 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31697 of casting of buffer.
31698 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31699 buffer32 and buffer64.
31700 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31701 writes instead of casting of buffer.
31702 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31704 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31707 2011-07-19 Andreas Schwab <schwab@redhat.com>
31709 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31711 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31713 * nscd/nscd.c (termination_handler): Don't do anything for a database
31714 if it has not yet been initialized.
31716 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31718 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31720 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31722 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31724 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31726 * po/nl.po: Update from translation team.
31727 * po/sv.po: Likewise.
31729 2011-07-16 Roland McGrath <roland@hack.frob.com>
31731 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31732 now disallowed by GCC.
31734 * configure.in (use-default-link): Default to yes if a test -shared
31735 link meets our qualifications.
31736 * configure: Regenerated.
31738 * config.make.in (output-format): New variable.
31739 * configure.in: Check for ld --print-output-format support.
31740 * configure: Regenerated.
31741 * Makerules ($(common-objpfx)format.lds)
31742 [$(output-format) != unknown]: Just use $(output-format),
31743 instead of the linker-script munging.
31745 2011-07-14 Roland McGrath <roland@hack.frob.com>
31747 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31748 of $(common-objpfx)shlib.lds.
31749 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31751 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31752 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31754 * configure.in (-z relro check): Adjust test code to add a large
31755 writable data section after it.
31756 * configure: Regenerated.
31758 2011-07-11 Roland McGrath <roland@hack.frob.com>
31760 * configure.in (-z relro check): Fix test code to make the variable
31762 * configure: Regenerated.
31764 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31766 * nscd/nscd.h (struct traced_file): Define.
31767 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31768 elements. Add traced_files.
31769 (inotify_fd): Declare.
31770 (register_traced_file): Declare.
31771 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31772 (inotify_fd): Export.
31773 (resolv_conf_descr): Remove.
31774 (nscd_init): Move inotify descriptor creation to main.
31775 Don't register files for notification here.
31776 (register_traced_file): New function.
31777 (invalidate_cache): Don't use reset_res to determine whether to call
31778 res_init, go through the list of registered files.
31779 (main_loop_poll): The inotify descriptors are now stored in the
31780 structures for the traced files.
31781 (main_loop_epoll): Likewise
31782 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31783 to __nss_disable_nscd.
31784 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31785 for a database anymore. Check the records for all the registered
31787 * nss/Makefile (libnss_files-routines): Add files-init.
31788 (libnss_db-routines): Add db-init.
31789 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31790 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31791 * nss/nss_db/db-init.c: New file.
31792 * nss/nss_files/files-init.c: New file.
31793 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31794 __nss_lookup_function.
31795 (__nss_lookup_function): Call nss_load_library.
31796 (nss_load_all_libraries): New function.
31797 (__nss_disable_nscd): Take parameter with callback function for files
31798 to register. Set is_nscd. Load all the DSOs for the NSS modules
31799 used for the cached services.
31800 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31801 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31802 options for features to all the files in nscd.
31804 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31806 2011-07-10 Roland McGrath <roland@hack.frob.com>
31808 * csu/elf-init.c (__libc_csu_init): Comment typo.
31810 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31812 * po/pl.po: Update from translation team.
31813 * po/ja.po: Likewise.
31814 * po/ru.po: Likewise.
31815 * po/ko.po: Likewise.
31816 * po/fr.po: Likewise.
31818 2011-07-09 Roland McGrath <roland@hack.frob.com>
31820 * configure.in (.ctors/.dtors header and trailer check):
31821 Use an empirical test on a built program.
31822 * configure: Regenerated.
31824 * configure.in (-z relro check): Use an empirical test on a built DSO.
31825 Detect, but do not require, on ia64.
31826 * configure: Regenerated.
31828 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31829 Update tests that use readelf to use $READELF instead.
31830 * configure: Regenerated.
31832 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31834 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31835 if the result is not used.
31837 2011-07-05 Andreas Jaeger <aj@suse.de>
31840 * stdlib/tst-strtod.c: Add testcase.
31842 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31844 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31845 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31846 The latter has a higher limit. Take additional parameter to pass to
31848 (__pathconf): Pass file to __statfs_link_max.
31849 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31851 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31855 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31858 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31859 (__statfs_filesize_max): Likewise.
31860 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31862 2011-07-05 Andreas Jaeger <aj@suse.de>
31864 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31866 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31868 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31870 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31873 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31875 * Makefile (strop-tests): Add strncat.
31876 * string/test-strncat.c: New file.
31878 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31880 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31882 2011-06-21 Andreas Jaeger <aj@suse.de>
31884 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31885 Copy rule from iconvdata/Makefile.
31887 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31890 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31891 but no long options are defined, just return 'W'.
31893 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31896 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31898 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31900 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31902 (innetgr): Likewise.
31904 2011-07-05 Roland McGrath <roland@hack.frob.com>
31906 * config.make.in (install_root): Default to $(DESTDIR).
31908 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31912 2011-07-02 Roland McGrath <roland@hack.frob.com>
31914 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31916 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31917 containing directory rather than embedding absolute directory names.
31919 * scripts/check-local-headers.sh: Rewritten using awk.
31920 Match by word, not by line. Print error messages for matches.
31921 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31923 * Makerules [shlib-lds-flags empty]:
31924 ($(common-objpfx)libc_pic.opts): New target.
31925 ($(common-objpfx)libc_pic.os.clean): New target.
31926 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31928 * config.make.in (OBJCOPY): New variable.
31929 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31930 * configure: Regenerated.
31932 * config.make.in (use-default-link): New variable.
31933 * configure.in (use_default_link): Grok --with-default-link to set it.
31934 * configure: Regenerated.
31935 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31936 (shlib-lds, shlib-lds-flags): Define to empty.
31938 * Makerules (shlib-lds): New variable.
31939 (shlib-lds-flags): New variable.
31940 (build-shlib, build-moduile, build-module-asneeded): Use it.
31941 ($(common-objpfx)libc.so): Use $(shlib-lds).
31942 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31943 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31945 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31946 DT_FLAGS/DT_FLAGS_1 with zero flags.
31948 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31949 linker script munging.
31951 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31953 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31955 * crypt/sha512.c (sha512_process_block): Perform total addition using
31956 128-bit if possible.
31957 (__sha512_finish_ctx): Likewise.
31958 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31960 * crypt/sha256.c (SWAP64): Define.
31961 (sha256_process_block): Perform total addition using 64-bit if
31963 (__sha256_finish_ctx): Likewise.
31965 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31967 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31969 * nscd/hstcache.c (cache_addhst): Likewise.
31970 * nscd/grpcache.c (cache_addgr): Likewise.
31971 * nscd/aicache.c (addhstaiX): Likewise
31972 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31974 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31976 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31977 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31978 * nscd/hstcache.c (cache_addhst): Likewise.
31979 * nscd/grpcache.c (cache_addgr): Likewise.
31980 * nscd/aicache.c (addhstaiX): Likewise
31982 2011-07-01 Andreas Schwab <schwab@redhat.com>
31984 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31985 domain only when needed.
31987 2011-06-30 Andreas Schwab <schwab@redhat.com>
31989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31990 is always restored.
31992 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31994 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31995 are re-adding the entry.
31996 * nscd/servicescache.c (cache_addserv): Likewise.
31998 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32000 * sysdeps/generic/dl-irel.h: fix protection against multiple
32002 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32004 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32007 * malloc/memusage.sh: Fix quoting in message.
32008 * debug/xtrace.sh: Likewise.
32010 * configure.in: Remove support for --experimental-malloc option, make
32012 * config.make.in: Likewise.
32013 * malloc/Makefile: Likewise.
32015 2011-06-27 Andreas Schwab <schwab@redhat.com>
32017 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32018 two-byte characters.
32020 2011-06-27 Roland McGrath <roland@hack.frob.com>
32022 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32023 AC_CACHE_CHECK invocation.
32024 * configure: Regenerated.
32026 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32028 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32031 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32032 bit from old_res_options.
32034 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32036 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32037 value type for setfct.
32039 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32042 __gettimeofday instead of gettimeofday.
32044 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32046 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32048 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32052 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32055 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32058 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32059 strcpy-sse2-unaligned strncpy-sse2-unaligned
32060 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32061 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32062 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32063 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32064 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32065 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32066 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32067 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32068 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32069 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32070 (STRCPY): Support SSE2 and SSSE3 versions.
32072 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32076 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32077 kernels which artificially limit size of requests.
32079 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32082 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32083 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32084 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32085 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32086 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32087 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32088 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32091 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32092 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32093 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32094 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32095 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32097 Enable unaligned load optimization for Intel Core i3, i5 and i7
32099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32101 (index_Fast_Unaligned_Load): Define.
32102 (HAS_FAST_UNALIGNED_LOAD): Define.
32104 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32106 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32108 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32112 until it is clear that the information is realy needed.
32113 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32115 2011-06-22 Andreas Schwab <schwab@redhat.com>
32117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32119 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32122 /sys/devices/system/cpu/online if it is usable.
32124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32125 reading the information from the /proc filesystem to once a second.
32127 2011-06-21 Andreas Jaeger <aj@suse.de>
32129 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32130 NULL after inclusion of kernel headers.
32132 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32134 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32135 calls to internal_setent.
32138 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32139 addresses using gethostbyname4_r ignore IPv4 addresses.
32141 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32142 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32144 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32146 2011-06-20 David S. Miller <davem@davemloft.net>
32148 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32150 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32152 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32153 (elf_irel): Use it.
32154 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32155 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32156 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32157 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32158 * sysdeps/x86_64/dl-irel.h: Likewise.
32160 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32161 * elf/dl-sym.c: Likewise.
32163 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32165 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32166 need to dereference resplen2.
32168 2011-06-14 Andreas Schwab <schwab@redhat.com>
32170 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32172 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32174 * Makeconfig: Define vardbdir and inst_vardbdir.
32175 * nss/Makefile: Add rules to install db-Makefile.
32177 * nss/nss_db/db-XXX.c: Cleanup.
32179 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32180 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32182 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32183 * nss/makedb.c: Implement -g option to specify that value strings
32184 are generated and should not be added to table iterated over for
32186 * nss/nss_db/db-initgroups.c: New file.
32188 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32191 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32192 (internal_getgrouplist): Adjust to name change.
32193 Update use_initgroups_entry if this is not the first call.
32194 * nss/databases.def: Add initgroups entry.
32196 * nss/makedb.c (compute_tables): Check result of multiple hash table
32197 sizes to minimize maximum chain length.
32199 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32201 * Versions.def: Add entry for libnss_db.
32202 * shlib-versions: Likewise.
32203 * nss/Makefile: Add rules to build libnss_db.
32204 * nss/Versions: Add libnss_db information. Organize libnss_files
32206 * nss/db-Makefile: Add gshadow support. Change rules for the new
32207 makedb progra. Some minor improvements to generate smaller files.
32208 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32210 * nss/makedb.c: ...here.
32211 Improve database format to be smaller and require less memory at
32213 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32215 * nss/nss_db/db-netgrp.c: Likewise.
32216 * nss/nss_db/db-open.c: Likewise.
32217 * nss/nss_files/flies-XXX.x: Adjust comments.
32218 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32219 * nss/nss_files/files-grp.c: Likewise.
32220 * nss/nss_files/files-hosts.c: Likewise.
32221 * nss/nss_files/files-network.c: Likewise.
32222 * nss/nss_files/files-proto.c: Likewise.
32223 * nss/nss_files/files-pwd.c: Likewise.
32224 * nss/nss_files/files-rpc.c: Likewise.
32225 * nss/nss_files/files-service.c: Likewise.
32226 * nss/nss_files/files-sgrp.c: Likewise.
32227 * nss/nss_files/files-spwd.c: Likewise.
32228 * nss/nss_db/db-alias.c: Removed.
32229 * nss/nss_db/dummy-db.h: Removed.
32231 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32233 * nss/makedb.c: Rewritten to not use database library.
32234 * nss/Makefile: Update to build new makedb program.
32236 2011-06-14 Andreas Jaeger <aj@suse.de>
32238 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32239 memset declaration.
32241 2011-06-10 Andreas Schwab <schwab@redhat.com>
32243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32246 2011-06-10 Roland McGrath <roland@hack.frob.com>
32248 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32249 * elf/Makefile ($(objpfx)ld.so): Likewise.
32251 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32252 Don't list ld.so twice in dependencies.
32254 * posix/bug-regex31.c: Include <stdlib.h>.
32256 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32258 * nis/nss_compat/compat-spwd.c
32259 (getspent_next_nss_netgr): Remove unused variable.
32260 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32262 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32263 nonmembers" output to use the right array.
32265 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32267 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32269 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32270 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32271 * catgets/gencat.c (read_input_file): Likewise.
32272 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32274 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32275 variable definition inside #if's controlling its use.
32277 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32279 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32281 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32283 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32286 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32288 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32289 * configure: Regenerated.
32291 * Makerules: Revert last change.
32292 * elf/Makefile: Likewise.
32294 2011-06-09 Roland McGrath <roland@hack.frob.com>
32296 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32297 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32298 (reloc-link): Likewise.
32300 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32302 * elf/Makefile: Add rules to build pldd.
32303 * elf/pldd.c: New file.
32304 * elf/pldd-xx.c: New file.
32306 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32308 * version.h: Update for 2.15 development version.
32310 2011-06-07 David S. Miller <davem@davemloft.net>
32312 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32315 elf_machine_lazy_rel): Likewise.
32316 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32317 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32318 elf_machine_lazy_rel): Likewise.
32319 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32320 dl_hwcap via passed in argument.
32321 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32324 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32326 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32328 2011-06-06 Roland McGrath <roland@hack.frob.com>
32331 * manual/fdl-1.1.texi: New file, verbatim from:
32332 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32333 * manual/lgpl-2.1.texi: New file, verbatim from:
32334 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32335 * manual/Makefile (licenses): New variable, list those new file names.
32337 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32339 * manual/fdl.texi: File removed.
32340 * manual/lesser.texi: File removed.
32341 * manual/libc.texinfo (Copying, Documentation License):
32342 Use new @include file names, put @appendix directive before @include.
32344 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32347 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32348 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32349 (mq_open): Add __NTH.
32351 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32354 Assume Intel Core i3/i5/i7 processor if AVX is available.
32356 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32361 2011-05-31 Andreas Schwab <schwab@redhat.com>
32363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32364 memory. Use alloca_account. Fix memory leak when retrying.
32366 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32368 * version.h (RELEASE): Bump for 2.14 release.
32369 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32371 * config.make.in (RANLIB): Remove entry.
32373 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32375 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32376 (libc.pot): Work around missing support for .ksh extension in xgettext.
32379 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32380 if both request failed.
32381 (send_dg): In case of server errors clear resplen or *resplen2.
32384 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32385 when there are multiple maps.
32386 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32387 (_dl_fini): Remove test here.
32389 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32391 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32394 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32395 bit from old_res_options.
32396 (gaih_inet): Likewise.
32399 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32402 * resolv/res_init.c (res_setoptions): Make the code more compact.
32405 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32409 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32411 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32414 * malloc/malloc.h: Declare malloc hook variables as volatile.
32416 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32420 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32421 raise in the comment.
32422 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32423 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32424 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32426 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32429 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32430 grow the buffers more if it already has to be sufficient.
32431 (build_wcs_upper_buffer): Likewise.
32432 * posix/regexec.c (check_matching): Likewise.
32433 (clean_state_log_if_needed): Likewise.
32434 (extend_buffers): Don't enlarge buffers beyond size of the input
32436 Patches mostly by Emil Wojak <emil@wojak.eu>.
32437 * posix/bug-regex32.c: New file.
32438 * posix/Makefile (tests): Add bug-regex32.
32440 * locale/findlocale.c (_nl_find_locale): Return right away if
32441 _nl_explode_name failed.
32442 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32444 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32446 * debug/xtrace.sh: Unify messages.
32447 * malloc/memusage.sh: Likewise.
32450 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32451 time symbol from vDSO. Substitute with vsyscall if not available.
32452 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32455 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32456 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32457 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32458 Add sendmmsg and internal_sendmmsg.
32459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32460 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32461 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32463 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32464 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32467 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32470 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32471 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32477 * iconvdata/Makefile (tests): Add bug-iconv9.
32478 * iconvdata/bug-iconv9.c: New file.
32480 2011-05-27 Andreas Schwab <schwab@redhat.com>
32483 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32485 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32488 (struct user_regs_struct): Change intcs field back to cs.
32490 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32492 * po/ja.po: Update from translation team.
32494 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32497 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32498 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32500 2011-05-20 Andreas Schwab <schwab@redhat.com>
32502 * stdlib/longlong.h: Update from GCC.
32504 2011-05-23 Andreas Schwab <schwab@redhat.com>
32506 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32508 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32509 Add parameter name.
32510 (__sysconf): Pass it down.
32512 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32515 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32518 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32519 add in in __libc_use_alloca calls. Adjust callers.
32520 (glob): Use malloc in some situations.
32522 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32523 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32526 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32528 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32529 and CLOCK_BOOTTIME_ALARM.
32532 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32535 * string/_strerror.c (__strerror_r): Print negative errors as signed
32539 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32540 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32541 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32543 * configure.in: Fix typo in redirection and correct removal of test
32544 files in two cases.
32547 * locale/setlocale.c (new_composite_name): Fix test to check for
32548 identical name of all categories.
32551 * libio/filedoalloc.c (local_isatty): New function.
32552 (_IO_file_doallocate): Use local_isatty.
32553 * stdio-common/perror.c (perror): In case a new stream is used
32554 forward the stream error.
32555 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32558 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32563 * include/alloca.h (extend_alloca_account): Define.
32566 * posix/regex.h: Fix comments with documentation of user-accessible
32567 fields after compilation and describe correct free'ing of pattern
32568 after re_compile_pattern.
32569 Patch by Reuben Thomas <rrt@sc3d.org>.
32571 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32573 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32574 and -mno-altivec to prevent the compiler from using Altivec and/or
32575 VSX instructions when the corresponding registers are not available.
32577 2011-05-19 Andreas Schwab <schwab@redhat.com>
32579 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32581 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32583 * libio/freopen.c (freopen): Use __dup2, not dup2.
32584 * libio/freopen64.c (freopen64): Likewise.
32586 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32589 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32590 * math/Makefile (tests): Add test-powl.
32591 (CFLAGS-test-powl.c): Define.
32592 * math/test-powl.c: New file.
32594 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32596 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32598 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32601 * iconvdata/gb18030.c: Update to GB18020-2005.
32603 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32605 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32606 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32607 Patch by Aharon Robbins <arnold@skeeve.com>.
32610 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32614 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32615 through underflows.
32618 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32619 point to strings before performing equality test for error_one_per_line
32623 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32626 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32627 (struct user_fpregs_struct): Avoid __uint*_t types.
32630 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32631 symbol info. Use it instead of calling _dl_addr locally.
32632 (lock_and_info): New function.
32633 (tr_freehook): Call lock_and_info and pass symbol info as additional
32634 parameter to tr_where.
32635 (tr_mallochook): Likewise.
32636 (tr_reallochook): Likewise.
32637 (tr_memalignhook): Likewise.
32639 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32640 used and couldn't be at all thread-safe.
32642 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32644 * libio/freopen.c (freopen): Don't close old file descriptor
32645 before the new one is opened. Instead dup the new file descriptor
32646 to the old one after the new stream is created.
32647 * libio/freopen64.c (freopen64): Likewise.
32648 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32649 * libio/fileops.c (_IO_new_file_close_it): Handle new
32650 _IO_FLAGS2_NOCLOSE flag.
32651 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32652 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32653 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32654 _IO_FLAGS2_NOCLOSE flag.
32655 * include/unistd.h: Add hidden_proto for dup3.
32656 Define __have_dup3.
32657 * io/dup3.c: Define hidden symbol.
32658 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32661 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32662 when an incomplete long option is used.
32663 * posix/tst-getopt_long1.c: New file.
32664 * posix/Makefile (tests): Add tst-getopt_long1.
32667 * scripts/config.guess: Update from autoconf-2.68.
32668 * scripts/config.sub: Likewise.
32671 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32673 (has_cpuclock): ...this. New function.
32674 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32675 macro here based on has_cpuclock code.
32678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32679 First byte (not low byte) is now always NUL.
32680 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32683 Use non-cancelable interfaces.
32686 * locale/iso-639.def: Add entry for Sorani.
32689 * include/stdlib.h: Move include protection to the right place.
32690 Define abort_msg_s. Declare __abort_msg with it.
32691 * stdlib/abort.c (__abort_msg): Adjust type.
32692 * assert/assert.c (__assert_fail_base): New function. Majority
32693 of code from __assert_fail. Allocate memory for __abort_msg with
32695 (__assert_fail): Now call __assert_fail_base.
32696 * assert/assert-perr.c: Remove bulk of implementation. Use
32697 __assert_fail_base.
32698 * include/assert.hL Declare __assert_fail_base.
32699 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32701 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32703 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32707 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32708 until all modules are registered in the DTV.
32709 * elf/Makefile: Add rules to build and run tst-tls19.
32710 * elf/tst-tls19.c: New file.
32711 * elf/tst-tls19mod1.c: New file.
32712 * elf/tst-tls19mod2.c: New file.
32713 * elf/tst-tls19mod3.c: New file.
32714 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32717 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32721 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32722 two-byte sequence errors.
32723 * iconvdata/Makefile (tests): Add bug-iconv8.
32724 * iconvdata/bug-iconv8.c: New file.
32727 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32730 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32733 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32734 (dummy_getcfa): New function.
32735 (init): Get _Unwind_GetCFA address, use dummy if not found.
32736 (backtrace_helper): In recursion check, also check whether CFA changes.
32737 (__backtrace): Completely initialize arg.
32739 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32740 storing incomplete byte sequence in state object. Avoid testing for
32741 guaranteed too small input if we know there is enough data available.
32743 2011-05-11 Andreas Schwab <schwab@redhat.com>
32745 * Makeconfig (+link-pie): Indent.
32746 * Rules (binaries-pie): Define if $(have-fpie) and
32748 (binaries-shared): Also filter out $(binaries-pie).
32749 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32750 * nscd/Makefile (others-pie): Add nscd.
32751 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32752 ($(objpfx)nscd): Remove command override.
32753 * login/Makefile (others-pie): Add pt_chown.
32754 ($(objpfx)pt_chown): Remove command override.
32755 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32756 remove command overrides.
32758 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32760 * libio/tst_putwc.c: Fix error messages.
32763 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32764 currently writing and seek to current position when not.
32765 * libio/Makefile (tests): Add bug-fclose1.
32766 * libio/bug-fclose1.c: New file.
32768 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32771 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32772 don't set DF_1_NODELETE here.
32773 (do_lookup_x): When entering new entry test for copy relocation
32774 and if necessary set DF_1_NODELETE flag.
32775 * elf/tst-unique4.cc: New file.
32776 * elf/tst-unique4.h: New file.
32777 * elf/tst-unique4lib.cc: New file.
32778 * elf/Makefile: Add rules to build and run tst-unique4.
32779 Patch by Piotr Bury <pbury@goahead.com>.
32781 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32784 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32787 * misc/mntent_r.c (addmntent): Flush the stream after the output
32790 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32791 (is_trusted_path_normalize): Skip initial colon. Append slash
32792 to empty buffer. Duplicate is_trusted_path code but allow
32793 constructed patch to be prefix.
32794 (is_dst): Allow $ORIGIN followed by /.
32795 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32796 Correct testing of result of is_trusted_path_normalize
32797 (decompose_rpath): Fix warning.
32799 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32802 * grp/initgroups.c (internal_getgrouplist): When we found the service
32803 list through the initgroups entry in nsswitch.conf do not always
32804 continue on a successful lookup. Don't always use the
32805 __nss_group_database value if it is set.
32806 * nss/nsswitch.conf (initgroups): Change action for successful db
32807 lookup to continue for compatibility.
32809 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32812 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32814 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32816 * iconvdata/tst-tables.sh: Likewise.
32817 * iconvdata/cp770.c: New file.
32818 * iconvdata/cp771.c: New file.
32819 * iconvdata/cp772.c: New file.
32820 * iconvdata/cp773.c: New file.
32821 * iconvdata/cp774.c: New file.
32822 * iconvdata/testdata/CP770: New file.
32823 * iconvdata/testdata/CP770..UTF8: New file.
32824 * iconvdata/testdata/CP771: New file.
32825 * iconvdata/testdata/CP771..UTF8: New file.
32826 * iconvdata/testdata/CP772: New file.
32827 * iconvdata/testdata/CP772..UTF8: New file.
32828 * iconvdata/testdata/CP773: New file.
32829 * iconvdata/testdata/CP773..UTF8: New file.
32830 * iconvdata/testdata/CP774: New file.
32831 * iconvdata/testdata/CP774..UTF8: New file.
32833 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32835 * iconvdata/gen-8bit-gap.sh: Likewise.
32836 * iconvdata/gen-8bit.sh: Likewise.
32838 * locale/iso-639.def: Add ary entry.
32841 * locale/C-translit.h.in: Add U20A1 transliteration.
32844 * locale/iso-639.def: Add wae entry.
32845 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32848 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32852 * locale/C-translit.h.in: Add entry for U20B9.
32853 Patch by pravin.d.s@gmail.com.
32855 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32858 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32859 ENAMETOOLONG use generic getcwd.
32860 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32861 in rtld. Use *stat64.
32862 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32863 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32864 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32865 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32866 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32867 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32868 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32869 __fstatat64 macros.
32870 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32871 * dirent/rewinddir.c: Add libc_hidden_def.
32872 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32873 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32875 * include/dirent.h (__alloc_dir): Add flags parameter.
32876 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32877 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32879 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32880 from fdopendir if O_CLOEXEC is already set.
32882 2011-03-15 Alan Modra <amodra@gmail.com>
32884 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32885 l_tls_firstbyte_offset non-zero. Save padding offset in
32886 l_tls_firstbyte_offset for later use.
32887 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32888 freeing static tls block.
32890 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32892 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32893 where #ifdef was intended. The intent is to prevent ARG_MAX from
32894 being defined by the kernel headers.
32896 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32899 * resolv/resolv.h: Define RES_NOTLDQUERY.
32900 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32901 no-tld-query and set RES_NOTLDQUERY.
32902 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32903 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32904 modern BIND to search name as TLD unless forbidden.
32906 2011-05-07 Petr Baudis <pasky@suse.cz>
32907 Ulrich Drepper <drepper@gmail.com>
32910 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32911 (is_trusted_path): ...to here.
32912 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32913 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32914 using is_trusted_path_normalize() in setuid scripts.
32916 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32918 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32919 __BEGIN/__END_DECLS.
32921 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32924 NSS_STATUS_NOTFOUND if no record was found.
32926 2011-05-05 Andreas Schwab <schwab@redhat.com>
32928 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32929 (headers-not-in-tirpc): Remove rpc/netdb.h
32930 * resolv/netdb.h: Revert last change.
32932 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32934 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32935 circular dependency between libgcc.a and libc.a.
32937 2011-05-05 Andreas Schwab <schwab@redhat.com>
32939 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32940 * nis/Makefile: Don't install rpcsvc/*.
32941 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32942 instead of <rpc/types.h>.
32943 (MAXHOSTNAMELEN): Define.
32945 2011-05-03 Andreas Schwab <schwab@redhat.com>
32947 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32949 2011-04-28 Maciej Babinski <mbabinski@google.com>
32952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32953 gethostbyname4_r when IPv6 results are possible.
32955 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32958 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32959 _PC_PIPE_BUF handling.
32961 2011-04-30 Bruno Haible <bruno@clisp.org>
32964 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32965 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32967 * inet/getnameinfo.c (getnameinfo): Likewise.
32969 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32971 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32972 to groups setting in database lookup.
32973 * nss/nsswitch.conf: Add initgroups entry.
32975 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32978 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32980 Patch by Eric Blake <eblake@redhat.com>.
32982 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32984 * sunrpc/Makefile (need-export-routines): Add svc_run.
32985 (routines): Remove svc_run.
32986 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32987 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32988 * sunrpc/svc_run.c (svc_run): Likewise.
32989 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32991 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32994 problem in reallocation in last patch.
32996 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32998 * sunrpc/Makefile: Move inclusion of Rules.
33000 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33002 * nss/nss_files/files-initgroups.c: New file.
33003 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33004 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33005 _nss_files_initgroups_dyn.
33007 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33009 * elf/elf.h (R_ARM_IRELATIVE): Define.
33011 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33013 * po/ru.po: Update from translation team.
33015 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33017 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33020 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33023 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33024 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33025 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33026 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33029 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33033 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33037 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33040 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33042 * stdlib/bug-getcontext.c: New file.
33043 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33045 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33047 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33048 instructions into .machine "z9-109".
33049 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33050 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33052 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33054 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33055 between environment variables and auxiliary vector.
33057 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33059 * Makefile: Add rules to build linkobj/libc.so.
33060 * include/libc-symbols.h: Define libc_hidden_nolink.
33061 * include/rpc/auth.h: Mark functions which are to be hidden.
33062 * include/rpc/auth_des.h: Likewise.
33063 * include/rpc/auth_unix.h: Likewise.
33064 * include/rpc/clnt.h: Likewise.
33065 * include/rpc/des_crypt.h: Likewise.
33066 * include/rpc/key_prot.h: Likewise.
33067 * include/rpc/pmap_clnt.h: Likewise.
33068 * include/rpc/pmap_prot.h: Likewise.
33069 * include/rpc/pmap_rmt.h: Likewise.
33070 * include/rpc/rpc_msg.h: Likewise.
33071 * include/rpc/svc.h: Likewise.
33072 * include/rpc/svc_auth.h: Likewise.
33073 * include/rpc/xdr.h: Likewise.
33074 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33075 * nss/Makefile: Likewise.
33076 * sunrpc/Makefile: Don't install headers. Build library with normal
33077 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33078 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33079 for the compat linking library. Remove use of INTDEF/INTUSE.
33080 * sunrpc/auth_none.c: Likewise.
33081 * sunrpc/auth_unix.c: Likewise.
33082 * sunrpc/authdes_prot.c: Likewise.
33083 * sunrpc/authuxprot.c: Likewise.
33084 * sunrpc/clnt_gen.c: Likewise.
33085 * sunrpc/clnt_perr.c: Likewise.
33086 * sunrpc/clnt_raw.c: Likewise.
33087 * sunrpc/clnt_simp.c: Likewise.
33088 * sunrpc/clnt_tcp.c: Likewise.
33089 * sunrpc/clnt_udp.c: Likewise.
33090 * sunrpc/clnt_unix.c: Likewise.
33091 * sunrpc/des_crypt.c: Likewise.
33092 * sunrpc/des_soft.c: Likewise.
33093 * sunrpc/get_myaddr.c: Likewise.
33094 * sunrpc/key_call.c: Likewise.
33095 * sunrpc/key_prot.c: Likewise.
33096 * sunrpc/netname.c: Likewise.
33097 * sunrpc/pm_getmaps.c: Likewise.
33098 * sunrpc/pm_getport.c: Likewise.
33099 * sunrpc/pmap_clnt.c: Likewise.
33100 * sunrpc/pmap_prot.c: Likewise.
33101 * sunrpc/pmap_prot2.c: Likewise.
33102 * sunrpc/pmap_rmt.c: Likewise.
33103 * sunrpc/publickey.c: Likewise.
33104 * sunrpc/rpc_cmsg.c: Likewise.
33105 * sunrpc/rpc_common.c: Likewise.
33106 * sunrpc/rpc_dtable.c: Likewise.
33107 * sunrpc/rpc_prot.c: Likewise.
33108 * sunrpc/rpc_thread.c: Likewise.
33109 * sunrpc/rtime.c: Likewise.
33110 * sunrpc/svc.c: Likewise.
33111 * sunrpc/svc_auth.c: Likewise.
33112 * sunrpc/svc_authux.c: Likewise.
33113 * sunrpc/svc_raw.c: Likewise.
33114 * sunrpc/svc_run.c: Likewise.
33115 * sunrpc/svc_simple.c: Likewise.
33116 * sunrpc/svc_tcp.c: Likewise.
33117 * sunrpc/svc_udp.c: Likewise.
33118 * sunrpc/svc_unix.c: Likewise.
33119 * sunrpc/svcauth_des.c: Likewise.
33120 * sunrpc/xcrypt.c: Likewise.
33121 * sunrpc/xdr.c: Likewise.
33122 * sunrpc/xdr_array.c: Likewise.
33123 * sunrpc/xdr_float.c: Likewise.
33124 * sunrpc/xdr_intXX_t.c: Likewise.
33125 * sunrpc/xdr_mem.c: Likewise.
33126 * sunrpc/xdr_rec.c: Likewise.
33127 * sunrpc/xdr_ref.c: Likewise.
33128 * sunrpc/xdr_sizeof.c: Likewise.
33129 * sunrpc/xdr_stdio.c: Likewise.
33131 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33134 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33135 * sysdeps/ia64/dl-tls.h: Likewise.
33136 * sysdeps/powerpc/dl-tls.h: Likewise.
33137 * sysdeps/s390/dl-tls.h: Likewise.
33138 * sysdeps/sh/dl-tls.h: Likewise.
33139 * sysdeps/sparc/dl-tls.h: Likewise.
33140 * sysdeps/x86_64/dl-tls.h: Likewise.
33141 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33143 2011-03-14 Andreas Schwab <schwab@redhat.com>
33145 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33146 rpath element also skip the following colon.
33147 (expand_dynamic_string_token): Add is_path parameter and pass
33148 down to DL_DST_REQUIRED and _dl_dst_substitute.
33149 (decompose_rpath): Call expand_dynamic_string_token with
33150 non-zero is_path. Ignore empty rpaths.
33151 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33154 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33159 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33162 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33163 Patch by Filipe David Manana <fdmanana@apache.org>.
33165 2011-04-07 Andreas Schwab <schwab@redhat.com>
33167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33168 Maintain aligned stack.
33169 (CHECK_RSP): Remove unused macro.
33171 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33173 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33176 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33178 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33180 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33182 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33185 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33186 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33187 * sysdeps/x86_64/memmove.c: New file.
33188 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33189 (memcpy): Renamed to ...
33190 (__new_memcpy): This.
33191 (memcpy): Provide GLIBC_2_14 memcpy.
33192 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33193 (memcpy): Provide GLIBC_2_2_5 memcpy.
33195 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33198 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33200 2011-03-30 Andreas Schwab <schwab@redhat.com>
33202 * misc/syncfs.c: New file.
33203 * misc/Makefile (routines): Add syncfs.
33204 * posix/unistd.h: Declare syncfs.
33205 * sysdeps/unix/syscalls.list: Add syncfs.
33207 2011-04-01 Andreas Schwab <schwab@redhat.com>
33209 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33216 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33219 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33222 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33223 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33225 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33227 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33229 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33230 sync_file_range.c with -fexceptions.
33231 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33232 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33233 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33234 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33235 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33236 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33238 sync_file_range as cancellation point
33239 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33240 now a wrapper around __call_sync_file_range with cancellation handling.
33241 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33242 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33243 function name to __call_sync_file_range.
33244 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33245 Add call_sync_file_range.
33247 2011-04-01 Andreas Schwab <schwab@redhat.com>
33249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33252 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33254 * iconv/iconv.h: Fix typo in comment.
33255 * io/fcntl.h: Likewise.
33256 * libio/stdio.h: Likewise.
33257 * posix/spawn.h: Likewise.
33258 * posix/unistd.h: Likewise.
33259 * stdlib/stdlib.h: Likewise.
33260 * time/time.h: Likewise.
33261 * wcsmbs/wchar.h: Likewise.
33263 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33264 open_by_handle): Add.
33265 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33266 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33267 Augment a few comments.
33268 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33270 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33273 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33276 * io/fcntl.h (AT_EMPTY_PATH): Define.
33278 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33280 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33281 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33282 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33284 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33285 * Versions.def: Add GLIBC_2.14.
33286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33289 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33291 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33293 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33295 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33298 * string/test-strncmp.c (do_page_test): New function.
33299 (check2): Likewise.
33300 (test_main): Call check2.
33301 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33303 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33307 Handle cache information in CPU leaf 4.
33308 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33310 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33313 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33314 character representation.
33315 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33317 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33319 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33320 END(__isnan) to END(__isnanf) to match function entry point/label
33321 EALIGN(__isnanf,...).
33323 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33325 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33327 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33330 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33331 copy from the symbol referenced in the relocation to initialize the
33333 Patch by Piotr Bury <pbury@goahead.com>.
33334 * elf/Makefile: Add rules to build and tst-unique3.
33335 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33336 * elf/tst-unique3.cc: New file.
33337 * elf/tst-unique3.h: New file.
33338 * elf/tst-unique3lib.cc: New file.
33339 * elf/tst-unique3lib2.cc: New file.
33341 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33343 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33345 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33346 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33349 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33351 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33352 to-be-loaded object along a path to loader is ld.so.
33354 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33355 Ulrich Drepper <drepper@gmail.com>
33357 * sysdeps/x86_64/memset.S: After aligning destination, code
33358 branches to different locations depending on the value of
33359 misalignment, when multiarch is enabled. Fix this.
33361 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33363 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33364 Set _x86_64_preferred_memory_instruction for AMD processsors.
33365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33366 Set bit_Prefer_SSE_for_memop for AMD processors.
33368 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33370 * libio/fmemopen.c (fmemopen): Optimize a bit.
33372 2011-03-03 Andreas Schwab <schwab@redhat.com>
33374 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33376 2011-03-03 Roland McGrath <roland@redhat.com>
33378 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33380 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33382 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33383 __bzero_ultra1 instead of __memset_ultra1.
33385 2011-02-23 Andreas Schwab <schwab@redhat.com>
33386 Ulrich Drepper <drepper@gmail.com>
33389 * include/link.h (struct link_map): Add l_orig_initfini.
33390 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33391 returning unsuccessfully.
33392 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33393 close of a file loaded at startup, restore the original l_initfini
33395 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33396 list, store the pointer.
33397 * elf/Makefile ($(objpfx)noload-mem): New rule.
33398 (noload-ENV): Define.
33399 (tests): Add $(objpfx)noload-mem.
33400 * elf/noload.c: Include <memcheck.h>.
33401 (main): Call mtrace. Close all opened handles.
33403 2011-02-17 Andreas Schwab <schwab@redhat.com>
33406 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33407 dependencies are missing.
33409 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33411 Fix __if_freereq crash: Unlike the generic version which uses free,
33413 * sysdeps/mach/hurd/ifreq.h: New file.
33415 2011-01-27 Petr Baudis <pasky@suse.cz>
33416 Ulrich Drepper <drepper@gmail.com>
33419 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33420 to extend_alloca().
33421 * stdio-common/bug23.c: New file.
33422 * stdio-common/Makefile (tests): Add bug23.
33424 2010-09-28 Andreas Schwab <schwab@redhat.com>
33425 Ulrich Drepper <drepper@gmail.com>
33428 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33429 before performing relro protection. At old place add assertion
33430 to make sure nothing changed.
33432 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33433 Glauber de Oliveira Costa <glommer@gmail.com>
33435 * elf/elf.h: Add new ARM TLS relocs.
33437 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33440 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33442 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33444 * sysdeps/wordsize-64/tst-writev.c: New file.
33446 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33448 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33449 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33450 insns in _dl_start to prevent a TOC reference before relocs are
33453 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33456 * Makeconfig: Remove RANLIB definition.
33457 * Makerules: Don't use RANLIB.
33458 * aclocal.m4: Remove ranlib test.
33459 * configure.in: No need to check for ranlib.
33460 * elf/rtld-Rules: Don't use RANLIB.
33462 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33464 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33466 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33467 inclusion protection macro.
33469 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33470 SIGRTMIN and SIGRTMAX and print information in that case only when
33471 SIGRTMIN is defined.
33473 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33475 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33476 arginfo fn returning -1.
33478 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33479 and thousands string is zero terminated.
33481 2011-02-03 Andreas Schwab <schwab@redhat.com>
33483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33484 sysdeps/unix/sysv/linux/bits/socket.h.
33486 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33488 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33489 (__CPU_COUNT): Remove old macros.
33490 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33491 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33492 (__CPU_ALLOC, __CPU_FREE): Add macros.
33493 (__sched_cpualloc, __sched_cpufree): Add declarations.
33495 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33497 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33498 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33499 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33500 (readdhstai): Return value of addhstaiX call.
33501 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33502 (addgrbyX): Return value returned by cache_addgr.
33503 (readdgrbyname): Return value returned by addgrbyX.
33504 (readdgrbygid): Likewise.
33505 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33506 (addpwbyX): Return value returned by cache_addpw.
33507 (readdpwbyname): Return value returned by addhstbyX.
33508 (readdpwbyuid): Likewise.
33509 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33510 (addservbyX): Return value returned by cache_addserv.
33511 (readdservbyname): Return value returned by addservbyX:
33512 (readdservbyport): Likewise.
33513 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33514 (addhstbyX): Return value returned by cache_addhst.
33515 (readdhstbyname): Return value returned by addhstbyX.
33516 (readdhstbyaddr): Likewise.
33517 (readdhstbynamev6): Likewise.
33518 (readdhstbyaddrv6): Likewise.
33519 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33520 (readdinitgroups): Return value returned by addinitgroupsX.
33521 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33522 (prune_cache): Keep track of timeout value of re-added entries.
33523 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33524 * nscd/nscd.h: Adjust prototypes of readd* functions.
33526 2011-02-04 Roland McGrath <roland@redhat.com>
33528 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33529 (nis_stats): Likewise.
33530 * nis/nis_modify.c (nis_modify): Likewise.
33531 * nis/nis_remove.c (nis_remove): Likewise.
33532 * nis/nis_add.c (nis_add): Likewise.
33534 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33536 * posix/fnmatch_loop.c: Add some consts.
33538 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33540 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33543 * config.make.in (config-cflags-novzeroupper): Define.
33544 * configure.in: Substitute libc_cv_cc_novzeroupper.
33545 * elf/Makefile (AVX-CFLAGS): Define.
33546 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33547 (CFLAGS-tst-auditmod4a.c): Likewise.
33548 (CFLAGS-tst-auditmod4b.c): Likewise.
33549 (CFLAGS-tst-auditmod6b.c): Likewise.
33550 (CFLAGS-tst-auditmod6c.c): Likewise.
33551 (CFLAGS-tst-auditmod7b.c): Likewise.
33552 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33554 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33556 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33557 function to the callback.
33558 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33560 2011-02-02 Andreas Schwab <schwab@redhat.com>
33562 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33565 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33568 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33570 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33572 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33575 * elf/Makefile: Add rules to build and run new test.
33576 * elf/tst-initorder.c: New file.
33577 * elf/tst-initorder.exp: New file.
33578 * elf/tst-initordera1.c: New file.
33579 * elf/tst-initordera2.c: New file.
33580 * elf/tst-initordera3.c: New file.
33581 * elf/tst-initordera4.c: New file.
33582 * elf/tst-initorderb1.c: New file.
33583 * elf/tst-initorderb2.c: New file.
33584 * elf/tst-order-a1.c: New file.
33585 * elf/tst-order-a2.c: New file.
33586 * elf/tst-order-a3.c: New file.
33587 * elf/tst-order-a4.c: New file.
33588 * elf/tst-order-b1.c: New file.
33589 * elf/tst-order-b2.c: New file.
33590 * elf/tst-order-main.c: New file.
33591 New test case by George Gensure <werkt0@gmail.com>.
33593 2010-10-01 Andreas Schwab <schwab@redhat.com>
33595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33596 decoding ACE if AI_CANONIDN.
33598 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33600 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33602 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33604 * version.h (RELEASE): Bump for 2.13 release.
33605 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33607 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33609 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33611 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33613 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33614 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33616 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33618 * posix/getconf.c: Update copyright year.
33619 * catgets/gencat.c: Likewise.
33620 * csu/version.c: Likewise.
33621 * debug/catchsegv.sh: Likewise.
33622 * debug/xtrace.sh: Likewise.
33623 * elf/ldconfig.c: Likewise.
33624 * elf/ldd.bash.in: Likewise.
33625 * elf/sprof.c (print_version): Likewise.
33626 * iconv/iconv_prog.c: Likewise.
33627 * iconv/iconvconfig.c: Likewise.
33628 * locale/programs/locale.c: Likewise.
33629 * locale/programs/localedef.c: Likewise.
33630 * malloc/memusage.sh: Likewise.
33631 * malloc/mtrace.pl: Likewise.
33632 * nscd/nscd.c (print_version): Likewise.
33633 * nss/getent.c: Likewise.
33635 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33636 PF_CAIF, and PF_ALG.
33637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33639 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33641 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33642 (modules-names): Use them.
33643 (ifunc-test-modules, ifunc-pie-tests): Define.
33644 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33645 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33646 (test-extras): Likewise.
33647 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33648 $(compile-command.c).
33649 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33650 (all-built-dso): Define.
33651 (check-textrel.out, check-execstack.out): Depend on it.
33653 * configure.in: Don't override --enable-multi-arch.
33655 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33658 * nscd/hstcache.c (tryagain): Define.
33659 (cache_addhst): Return tryagain not notfound for temporary errors.
33660 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33663 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33666 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33667 to make the syscall.
33668 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33671 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33672 and fall back to matching as normal character if the string ends before
33673 the matching ']' is found. This is what POSIX requires.
33674 * posix/testfnm.c: Adjust test result.
33675 * posix/globtest.sh: Adjust test result. Add new test.
33676 * posix/tst-fnmatch.input: Likewise.
33677 * posix/tst-fnmatch2.c: Add new test.
33679 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33681 * elf/Makefile (check-execstack): Revert last change. Depend on
33683 (check-execstack.h): New target.
33684 (generated): Add check-execstack.h.
33685 * elf/check-execstack.c: Include "check-execstack.h".
33686 (main): Revert last change.
33687 (handle_file): Return zero if GNU_STACK is absent and
33688 DEFAULT_STACK_PERMS doesn't include PF_X.
33690 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33692 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33693 in child fails because the descriptor is already closed.
33694 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33695 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33696 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33699 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33703 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33704 temporary buffer used to handle multi lookups locally.
33705 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33707 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33709 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33712 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33714 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33715 alignment for SSE2.
33717 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33720 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33721 characters. When rounding increased number of integer digits recompute
33723 * stdio-common/tst-grouping.c: New file.
33724 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33726 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33728 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33729 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33731 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33733 * bits/select.h: Likewise.
33735 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33737 * po/ja.po: Update from translation team.
33739 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33742 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33743 implementation just like for lxstat, fxstatat, et al.
33745 2010-12-27 Jim Meyering <meyering@redhat.com>
33748 * posix/regexec.c (build_trtable): Return failure indication upon
33749 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33751 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33754 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33755 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33756 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33757 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33760 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33763 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33764 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33766 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33768 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33769 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33770 script has SORT_BY_INIT_PRIORITY.
33771 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33772 NO_CTORS_DTORS_SECTIONS is defined.
33773 * elf/soinit.c: Likewise.
33774 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33775 NO_CTORS_DTORS_SECTIONS is defined.
33776 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33777 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33778 * sysdeps/sh/init-first.c: Likewise.
33779 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33781 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33783 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33784 always use the slow path.
33786 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33788 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33789 similar rule which adds the sysdep directories to the header search in
33790 order to pick up the correct platform stackinfo.h.
33791 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33792 perform test if it is, otherwise return successfully without testing.
33793 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33794 DEFAULT_STACK_PERMS define in stackinfo.h.
33795 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33796 defined in stackinfo.h.
33797 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33798 DEFAULT_STACK_PERMS defined in stackinfo.h.
33799 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33800 * sysdeps/ia64/stackinfo.h: Likewise.
33801 * sysdeps/s390/stackinfo.h: Likewise.
33802 * sysdeps/sh/stackinfo.h: Likewise.
33803 * sysdeps/sparc/stackinfo.h: Likewise.
33804 * sysdeps/x86_64/stackinfo.h: Likewise.
33805 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33806 PF_X for powerpc64. Retain PF_X for powerpc32.
33808 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33810 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33812 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33813 GETDENTS_64BIT_ALIGNED.
33815 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33817 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33819 2010-12-10 Andreas Schwab <schwab@redhat.com>
33821 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33824 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33825 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33827 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33828 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33830 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33833 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33836 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33838 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33840 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33842 * po/it.po: Update from translation team.
33844 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33849 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33851 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33853 2010-11-24 Andreas Schwab <schwab@redhat.com>
33855 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33857 (gaih_getanswer_slice): Likewise.
33859 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33863 2010-05-31 Petr Baudis <pasky@suse.cz>
33866 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33867 silently even in the chroot mode.
33869 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33871 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33872 last patch a bit. Pretty printing
33874 2010-05-31 Petr Baudis <pasky@suse.cz>
33877 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33878 initialization of skip_initgroups_dyn.
33880 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33882 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33883 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33885 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33887 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33889 2010-11-11 Andreas Schwab <schwab@redhat.com>
33891 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33892 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33893 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33894 ($(objpfx)tst-fnmatch-mem): New rule.
33895 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33896 * posix/tst-fnmatch.c (main): Call mtrace.
33898 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33901 Support Intel processor model 6 and model 0x2c.
33903 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33905 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33908 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33911 * string/test-strncasecmp.c (check_result): New function.
33912 (do_one_test): Use it.
33913 (check1): New function.
33914 (test_main): Use it.
33915 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33916 Support strcasecmp and strncasecmp.
33918 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33921 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33924 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33926 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33930 * sysdeps/x86_64/multiarch/bzero.S: New file.
33931 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33932 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33933 * sysdeps/x86_64/multiarch/memset.S: New file.
33934 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33936 Set bit_Prefer_SSE_for_memop for Intel processors.
33937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33939 (index_Prefer_SSE_for_memop): Define.
33940 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33942 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33944 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33945 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33947 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33950 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33951 (__x86_64_raw_data_cache_size_half): Likewise.
33952 (__x86_64_raw_shared_cache_size): Likewise.
33953 (__x86_64_raw_shared_cache_size_half): Likewise.
33955 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33956 (__x86_64_raw_data_cache_size_half): Likewise.
33957 (__x86_64_raw_shared_cache_size): Likewise.
33958 (__x86_64_raw_shared_cache_size_half): Likewise.
33959 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33960 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33961 and __x86_64_raw_shared_cache_size_half. Round
33962 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33963 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33964 to multiple of 256 bytes.
33966 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33969 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33970 of inacessible symlinks. Verify result of symlink before returning it.
33971 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33972 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33974 2010-10-28 Erich Ritz <erichritz@gmail.com>
33976 * math/math.h (isinf): Fix typo in comment.
33978 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33980 * po/da.po: Update from translation team.
33982 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33984 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33985 is added to the list.
33987 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33988 Ulrich Drepper <drepper@gmail.com>
33990 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33991 the global list here. Move code to...
33992 (_dl_add_to_namespace_list): ...here. New function.
33993 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33994 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33995 * elf/dl-load.c (lose): Don't remove the element from the list.
33996 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33997 (_dl_map_object): Likewise.
33999 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34002 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34003 into all bytes of SSE register.
34004 Patch by Richard Li <richardpku@gmail.com>.
34006 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34009 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34012 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34014 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34015 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34017 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34022 2010-10-22 Andreas Schwab <schwab@redhat.com>
34024 * include/dlfcn.h (__RTLD_SECURE): Define.
34025 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34026 mode & __RTLD_SECURE instead.
34027 (open_path): Rename preloaded parameter to secure.
34028 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34029 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34030 * elf/dl-deps.c (openaux): Likewise.
34031 * elf/rtld.c (struct map_args): Remove is_preloaded.
34032 (map_doit): Don't use it.
34033 (dl_main): Likewise.
34034 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34035 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34037 2010-09-09 Andreas Schwab <schwab@redhat.com>
34039 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34040 (sysd-rules-targets): Remove duplicates.
34041 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34042 rtld-%.$o dependency.
34044 2010-10-18 Andreas Schwab <schwab@redhat.com>
34046 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34047 _dl_map_object do it.
34049 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34051 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34052 fast fma builtins, define the macros in the C99 standard.
34053 (FP_FAST_FMAF): Likewise.
34054 (FP_FAST_FMAL): Likewise.
34055 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34057 * bits/mathdef.h: Update copyright year.
34058 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34060 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34062 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34063 builtins, define the macros in the C99 standard.
34064 (FP_FAST_FMAF): Likewise.
34065 (FP_FAST_FMAL): Likewise.
34066 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34068 (FP_FAST_FMAF): Likewise.
34070 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34073 * math/libm-test.inc (fma_test): Some new testcases.
34074 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34075 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34076 y and infinite z. Do multiplication by C already in long double.
34077 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34079 y and infinite z. Do bitwise or of inexact bit into u.d.
34080 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34081 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34082 * sysdeps/i386/fpu/s_fma.S: Removed.
34083 * sysdeps/i386/fpu/s_fmal.S: Removed.
34085 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34088 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34090 computation is not scheduled after fetestexcept. Fix value
34091 of minimum denormal long double.
34093 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34096 * math/libm-test.inc (fma_test): Add some more tests.
34097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34100 2010-10-15 Andreas Schwab <schwab@redhat.com>
34102 * scripts/data/localplt-s390-linux-gnu.data: New file.
34103 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34105 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34108 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34109 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34111 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34113 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34115 if one of x and y is very large and the other is subnormal.
34116 * sysdeps/s390/fpu/s_fmaf.c: New file.
34117 * sysdeps/s390/fpu/s_fma.c: New file.
34118 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34119 * sysdeps/powerpc/fpu/s_fma.S: New file.
34120 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34121 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34122 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34124 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34127 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34130 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34131 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34132 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34133 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34134 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34137 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34140 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34141 * posix/bug-regex31.input: Add test case.
34143 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34145 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34146 * posix/bug-regex31.input: New file.
34149 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34150 (parse_sub_exp): Fix last change, use postorder.
34152 * posix/bug-regex31.c: New file.
34153 * posix/Makefile: Add rules to build and run bug-regex31.
34155 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34158 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34161 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34162 to have entries in sys_siglist.
34165 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34168 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34171 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34172 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34173 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34174 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34175 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34176 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34177 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34178 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34179 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34180 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34181 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34182 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34183 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34184 * math/ftestexcept.c (fetestexcept): Likewise.
34185 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34186 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34187 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34188 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34189 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34190 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34191 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34193 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34196 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34199 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34201 * string/bug-strstr1.c: New file.
34202 * string/Makefile: Add rules to build and run bug-strstr1.
34204 2010-10-05 Eric Blake <eblake@redhat.com>
34207 * string/str-two-way.h (two_way_long_needle): Always clear memory
34208 when skipping input due to the shift table.
34210 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34213 * malloc/mcheck.c: Handle large requests.
34216 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34217 for strncmp and strncasecmp.
34218 * string/stratcliff.c: Add tests for strcmp and strncmp.
34219 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34221 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34223 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34226 2010-09-30 Andreas Jaeger <aj@suse.de>
34228 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34229 (CGROUP_SUPER_MAGIC): Define.
34230 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34231 Handle btrfs and cgroup file systems.
34232 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34235 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34237 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34238 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34240 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34243 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34244 trying to locate the ELF header.
34246 2010-09-27 Andreas Schwab <schwab@redhat.com>
34249 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34250 Mask out sign-bit copies when constructing f_fsid.
34252 2010-09-24 Petr Baudis <pasky@suse.cz>
34254 * debug/stack_chk_fail_local.c: Add missing licence exception.
34255 * debug/warning-nop.c: Likewise.
34257 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34259 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34260 implementing getdents64 using getdents syscall, set d_type if
34261 __ASSUME_GETDENTS32_D_TYPE.
34263 2010-09-16 Andreas Schwab <schwab@redhat.com>
34265 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34266 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34268 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34271 * posix/unistd.h: Undo change of feature selection for ftruncate from
34274 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34276 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34279 2010-09-20 Andreas Schwab <schwab@redhat.com>
34281 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34283 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34285 2010-09-14 Andreas Schwab <schwab@redhat.com>
34287 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34288 variables after CHECK_SP call.
34289 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34291 2010-09-13 Andreas Schwab <schwab@redhat.com>
34292 Ulrich Drepper <drepper@redhat.com>
34294 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34295 re-relocationg ld.so.
34296 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34297 _dl_init_paths call.
34298 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34301 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34303 * resolv/res_init.c (__res_vinit): Count the default server we added.
34305 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34306 Ulrich Drepper <drepper@redhat.com>
34309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34310 (____longjmp_chk): Use %ebx for saving value across system call.
34313 2010-09-06 Andreas Schwab <schwab@redhat.com>
34315 * manual/Makefile: Don't mix pattern rules with normal rules.
34317 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34319 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34321 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34322 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34323 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34324 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34325 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34328 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34331 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34332 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34334 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34336 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34337 * sysdeps/x86_64/addmul_1.S: Likewise.
34338 * sysdeps/x86_64/lshift.S: Likewise.
34339 * sysdeps/x86_64/mul_1.S: Likewise.
34340 * sysdeps/x86_64/rshift.S: Likewise.
34341 * sysdeps/x86_64/sub_n.S: Likewise.
34342 * sysdeps/x86_64/submul_1.S: Likewise.
34344 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34346 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34347 Define __sched_param instead of SCHED_* and sched_param when
34348 <bits/sched.h> is included with __need_schedparam defined.
34349 * bits/sched.h [__need_schedparam]
34350 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34351 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34352 (__defined_schedparam): Define to 1.
34353 (__sched_param): New structure, identical to sched_param.
34354 (__need_schedparam): Undefine.
34356 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34359 (epoll_create1): Declare.
34361 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34363 2010-08-31 Andreas Schwab <schwab@redhat.com>
34366 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34367 shifting retval into place.
34369 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34371 * nis/rpcsvc/nis.h: Update copyright notice.
34372 * nis/rpcsvc/nis.x: Likewise.
34373 * nis/rpcsvc/nis_callback.h: Likewise.
34374 * nis/rpcsvc/nis_callback.x: Likewise.
34375 * nis/rpcsvc/nis_object.x: Likewise.
34376 * nis/rpcsvc/nis_tags.h: Likewise.
34377 * nis/rpcsvc/yp.h: Likewise.
34378 * nis/rpcsvc/yp.x: Likewise.
34379 * nis/rpcsvc/ypupd.h: Likewise.
34380 * nis/yp_xdr.c: Likewise.
34381 * nis/ypupdate_xdr.c: Likewise.
34383 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34384 mainly the body of pmap_getport. Add parameters to specify timeouts.
34385 (pmap_getport): Use __libc_rpc_getport.
34386 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34387 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34388 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34390 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34395 2010-08-27 Roland McGrath <roland@redhat.com>
34397 * sysdeps/i386/i686/multiarch/Makefile
34398 (CFLAGS-varshift.c): New variable.
34400 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34402 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34403 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34407 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34409 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34411 * sysdeps/x86_64/strlen.S: Unroll the loop.
34412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34413 strlen-sse2 strlen-sse2-bsf.
34414 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34415 __strlen_no_bsf if bit_Slow_BSF is set.
34416 (__strlen_sse42): Removed.
34417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34418 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34420 2010-08-25 Roland McGrath <roland@redhat.com>
34422 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34423 * sysdeps/x86_64/multiarch/varshift.c: New file.
34424 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34425 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34426 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34427 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34429 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34432 strlen-sse2 strlen-sse2-bsf.
34433 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34434 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34435 (__strlen_sse2): Removed.
34436 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34439 bit_Slow_BSF for Atom.
34440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34441 (index_Slow_BSF): Define.
34442 (HAS_SLOW_BSF): Define.
34444 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34447 * resolv/res_init.c (__res_vinit): When no server address at all
34448 is given default to loopback.
34450 2010-08-24 Roland McGrath <roland@redhat.com>
34452 * configure.in: Remove config-name.h generation.
34453 * configure: Regenerated.
34454 * config-name.in: File removed.
34455 * scripts/config-uname.sh: New file.
34456 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34457 ($(objdir)config-name.h): New target.
34459 * sunrpc/rpc_parse.h: Avoid nested comment.
34461 2010-08-24 Richard Henderson <rth@redhat.com>
34462 Ulrich Drepper <drepper@redhat.com>
34463 H.J. Lu <hongjiu.lu@intel.com>
34465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34467 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34468 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34469 _mm_alignr_epi8 with _mm_loadu_si128.
34470 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34471 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34472 (__m128i_shift_right): Removed.
34473 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34474 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34475 * sysdeps/x86_64/multiarch/varshift.h: New file.
34476 * sysdeps/x86_64/multiarch/varshift.S: New file.
34478 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34480 * configure.in: Move assembler checks to before sysdep dir checking.
34482 2010-08-20 Petr Baudis <pasky@suse.cz>
34484 * LICENSES: Sync the sunrpc license.
34486 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34488 * sunrpc/auth_des.c: Update copyright notice once again.
34489 * sunrpc/auth_none.c: Likewise.
34490 * sunrpc/auth_unix.c: Likewise.
34491 * sunrpc/authdes_prot.c: Likewise.
34492 * sunrpc/authuxprot.c: Likewise.
34493 * sunrpc/bindrsvprt.c: Likewise.
34494 * sunrpc/clnt_gen.c: Likewise.
34495 * sunrpc/clnt_perr.c: Likewise.
34496 * sunrpc/clnt_raw.c: Likewise.
34497 * sunrpc/clnt_simp.c: Likewise.
34498 * sunrpc/clnt_tcp.c: Likewise.
34499 * sunrpc/clnt_udp.c: Likewise.
34500 * sunrpc/clnt_unix.c: Likewise.
34501 * sunrpc/des_crypt.c: Likewise.
34502 * sunrpc/des_soft.c: Likewise.
34503 * sunrpc/get_myaddr.c: Likewise.
34504 * sunrpc/getrpcport.c: Likewise.
34505 * sunrpc/key_call.c: Likewise.
34506 * sunrpc/key_prot.c: Likewise.
34507 * sunrpc/openchild.c: Likewise.
34508 * sunrpc/pm_getmaps.c: Likewise.
34509 * sunrpc/pm_getport.c: Likewise.
34510 * sunrpc/pmap_clnt.c: Likewise.
34511 * sunrpc/pmap_prot.c: Likewise.
34512 * sunrpc/pmap_prot2.c: Likewise.
34513 * sunrpc/pmap_rmt.c: Likewise.
34514 * sunrpc/rpc/auth.h: Likewise.
34515 * sunrpc/rpc/auth_unix.h: Likewise.
34516 * sunrpc/rpc/clnt.h: Likewise.
34517 * sunrpc/rpc/des_crypt.h: Likewise.
34518 * sunrpc/rpc/key_prot.h: Likewise.
34519 * sunrpc/rpc/netdb.h: Likewise.
34520 * sunrpc/rpc/pmap_clnt.h: Likewise.
34521 * sunrpc/rpc/pmap_prot.h: Likewise.
34522 * sunrpc/rpc/pmap_rmt.h: Likewise.
34523 * sunrpc/rpc/rpc.h: Likewise.
34524 * sunrpc/rpc/rpc_des.h: Likewise.
34525 * sunrpc/rpc/rpc_msg.h: Likewise.
34526 * sunrpc/rpc/svc.h: Likewise.
34527 * sunrpc/rpc/svc_auth.h: Likewise.
34528 * sunrpc/rpc/types.h: Likewise.
34529 * sunrpc/rpc/xdr.h: Likewise.
34530 * sunrpc/rpc_clntout.c: Likewise.
34531 * sunrpc/rpc_cmsg.c: Likewise.
34532 * sunrpc/rpc_common.c: Likewise.
34533 * sunrpc/rpc_cout.c: Likewise.
34534 * sunrpc/rpc_dtable.c: Likewise.
34535 * sunrpc/rpc_hout.c: Likewise.
34536 * sunrpc/rpc_main.c: Likewise.
34537 * sunrpc/rpc_parse.c: Likewise.
34538 * sunrpc/rpc_parse.h: Likewise.
34539 * sunrpc/rpc_prot.c: Likewise.
34540 * sunrpc/rpc_sample.c: Likewise.
34541 * sunrpc/rpc_scan.c: Likewise.
34542 * sunrpc/rpc_scan.h: Likewise.
34543 * sunrpc/rpc_svcout.c: Likewise.
34544 * sunrpc/rpc_tblout.c: Likewise.
34545 * sunrpc/rpc_util.c: Likewise.
34546 * sunrpc/rpc_util.h: Likewise.
34547 * sunrpc/rpcinfo.c: Likewise.
34548 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34549 * sunrpc/rpcsvc/key_prot.x: Likewise.
34550 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34551 * sunrpc/rpcsvc/mount.x: Likewise.
34552 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34553 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34554 * sunrpc/rpcsvc/rex.x: Likewise.
34555 * sunrpc/rpcsvc/rstat.x: Likewise.
34556 * sunrpc/rpcsvc/rusers.x: Likewise.
34557 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34558 * sunrpc/rpcsvc/spray.x: Likewise.
34559 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34560 * sunrpc/rtime.c: Likewise.
34561 * sunrpc/svc.c: Likewise.
34562 * sunrpc/svc_auth.c: Likewise.
34563 * sunrpc/svc_authux.c: Likewise.
34564 * sunrpc/svc_raw.c: Likewise.
34565 * sunrpc/svc_run.c: Likewise.
34566 * sunrpc/svc_simple.c: Likewise.
34567 * sunrpc/svc_tcp.c: Likewise.
34568 * sunrpc/svc_udp.c: Likewise.
34569 * sunrpc/svc_unix.c: Likewise.
34570 * sunrpc/svcauth_des.c: Likewise.
34571 * sunrpc/xcrypt.c: Likewise.
34572 * sunrpc/xdr.c: Likewise.
34573 * sunrpc/xdr_array.c: Likewise.
34574 * sunrpc/xdr_float.c: Likewise.
34575 * sunrpc/xdr_mem.c: Likewise.
34576 * sunrpc/xdr_rec.c: Likewise.
34577 * sunrpc/xdr_ref.c: Likewise.
34578 * sunrpc/xdr_sizeof.c: Likewise.
34579 * sunrpc/xdr_stdio.c: Likewise.
34581 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34584 2010-08-19 Andreas Schwab <schwab@redhat.com>
34586 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34588 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34590 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34591 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34592 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34593 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34594 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34595 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34596 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34597 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34599 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34600 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34601 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34602 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34603 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34605 2010-07-26 Anton Blanchard <anton@samba.org>
34607 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34608 * malloc/arena.c (heap_trim): Likewise.
34610 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34612 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34615 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34617 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34619 * sysdeps/i386/elf/Makefile: New file.
34621 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34623 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34624 from fanotify_init.
34625 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34628 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34630 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34632 * sysdeps/multiarch/strcmp.S: Likewise.
34634 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34636 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34637 strncase_l-nonascii.
34638 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34639 Add strncase_l-ssse3.
34640 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34641 * sysdeps/x86_64/strcmp.S: Likewise.
34642 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34643 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34644 * sysdeps/x86_64/strncase.S: New file.
34645 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34646 * sysdeps/x86_64/strncase_l.S: New file.
34647 * string/Makefile (strop-tests): Add strncasecmp.
34648 * string/test-strncasecmp.c: New file.
34650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34653 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34654 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34656 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34658 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34660 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34662 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34663 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34664 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34666 2010-05-01 Alan Modra <amodra@gmail.com>
34668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34669 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34670 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34671 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34672 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34673 tidying. Don't tail-call __sigjmp_save for static lib.
34674 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34676 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34677 (CALL_MCOUNT): Add eh info, and nop after bl.
34678 (TAIL_CALL_SYSCALL_ERROR): New macro.
34679 (PSEUDO_RET): Use it.
34680 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34681 Correct save location of integer regs and cr.
34682 (_dl_profile_resolve): Correct cr save location. Delete nops
34683 after bl when SHARED. Reduce cfi size a little by better
34684 placement of cfi directives.
34685 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34686 make a stack frame. Instead use parm save area as a temp.
34687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34688 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34690 Don't make a stack frame for parent, use parm save area.
34691 Increase child stack frame to 112 bytes. Don't save unused reg,
34692 and adjust reg usage. Set up cfi on error recovery and
34693 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34695 (__makecontext): Add dummy nop after jump to exit.
34696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34697 Use correct parm save area and cr save, reduce stack frame.
34698 Correct cfi for possible PSEUDO_RET frame setup.
34699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34700 Branch to local label emitted by PSEUDO_RET rather than
34703 2010-08-12 Andreas Schwab <schwab@redhat.com>
34706 * locale/programs/locale.c (print_assignment): New function.
34707 (show_locale_vars): Use it.
34709 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34711 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34713 (struct statfs64): Likewise.
34714 (_STATFS_F_FLAGS): Define.
34715 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34717 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34718 (ST_VALID): Define locally.
34719 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34720 __statvfs_getflags, use the provided value.
34721 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34722 __ASSUME_STATFS_F_FLAGS.
34724 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34726 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34727 Add sys/fanotify.h.
34728 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34729 fanotify_mask for GLIBC_2.13.
34730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34731 fanotify_init and fanotify_mark.
34732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34733 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34735 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34737 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34738 prlimit64 for GLIBC_2.13.
34739 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34744 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34745 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34746 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34749 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34752 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34753 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34755 * nss/Makefile: Add rules to build and run tst-nss-test1.
34756 * shlib-versions: Add entry for libnss_test1.
34757 * nss/nss_test1.c: New file.
34758 * nss/tst-nss-test1.c: New file.
34760 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34761 (__nss_configure_lookup): Set appropriate entry in
34762 __nss_configure_lookup to true.
34763 * nss/nsswitch.h: Define enum with indeces of databases in
34764 databases and __nss_database_custom arrays. Declare
34765 __nss_database_custom.
34766 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34767 to avoid using nscd when custom rules are installed.
34768 * nss/getXXbyYY_r.c: Likewise.
34769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34771 * nss/nss_files/files-parse.c: Whitespace fixes.
34773 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34776 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34777 * posix/fnmatch_loop.c: Likewise.
34779 2010-07-17 Andi Kleen <ak@linux.intel.com>
34781 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34782 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34783 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34784 * Versions.def [GLIBC_2.13]: Add.
34786 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34788 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34789 Also fail if tpwd after pwuid call is NULL.
34791 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34793 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34794 when converting to ms.
34796 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34798 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34799 EOPNOTSUPP errors with ENOTTY.
34800 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34801 EOPNOTSUPP errors with ENOTTY.
34803 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34805 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34806 Add strcasecmp_l-ssse3.
34807 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34809 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34810 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34811 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34813 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34815 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34817 * string/Makefile (strop-tests): Add strcasecmp.
34818 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34819 strcasecmp_l-nonascii.
34820 (gen-as-const-headers): Add locale-defines.sym.
34821 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34822 * sysdeps/x86_64/strcasecmp.S: New file.
34823 * sysdeps/x86_64/strcasecmp_l.S: New file.
34824 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34825 * sysdeps/x86_64/locale-defines.sym: New file.
34826 * string/test-strcasecmp.c: New file.
34828 * string/test-strcasestr.c: Test both ends of the range of characters.
34829 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34831 2010-07-29 Roland McGrath <roland@redhat.com>
34834 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34836 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34838 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34841 2010-07-27 Andreas Schwab <schwab@redhat.com>
34843 * manual/memory.texi (Malloc Tunable Parameters): Document
34846 2010-07-26 Roland McGrath <roland@redhat.com>
34849 * configure.in (-fgnu89-inline check): Set and substitute
34850 gnu89_inline, not libc_cv_gnu89_inline.
34851 * configure: Regenerated.
34852 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34854 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34856 * string/test-strnlen.c: New file.
34857 * string/Makefile (strop-tests): Add strnlen.
34858 * string/tester.c (test_strnlen): Add a few more test cases.
34859 * string/tst-strlen.c: Better error reporting.
34861 * sysdeps/x86_64/strnlen.S: New file.
34863 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34865 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34866 lower-latency instructions.
34868 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34870 * string/test-strcasestr.c: New file.
34871 * string/test-strstr.c: New file.
34872 * string/Makefile (strop-tests): Add strstr and strcasestr.
34873 * string/str-two-way.h: Don't undefine MAX.
34874 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34876 2010-07-21 Andreas Schwab <schwab@redhat.com>
34878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34879 strcasestr-nonascii.
34880 (CFLAGS-strcasestr-nonascii.c): Define.
34881 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34883 Remove unused attribute.
34885 2010-07-20 Roland McGrath <roland@redhat.com>
34887 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34888 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34889 ld.so.cache was broken. With it, there is no way to disable dsocaps
34890 like LD_HWCAP_MASK can disable hwcaps.
34892 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34894 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34896 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34898 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34899 call in strcasestr.
34900 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34901 __strcasestr_sse42_nonascii.
34902 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34903 strcasestr-nonascii.c.
34904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34906 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34908 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34909 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34911 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34913 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34918 2010-07-06 Andreas Schwab <schwab@redhat.com>
34921 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34924 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34926 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34927 _PC_PIPE_BUF using F_GETPIPE_SZ.
34929 2010-07-05 Roland McGrath <roland@redhat.com>
34931 * manual/arith.texi (Rounding Functions): Fix rint description
34932 implicit in round description.
34934 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34936 * elf/Makefile: Fix linking for a few tests to make recent linker
34939 2010-06-30 Andreas Schwab <schwab@redhat.com>
34941 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34942 $(common-objpfx)libc_nonshared.a.
34944 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34946 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34947 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34948 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34949 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34950 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34951 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34952 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34953 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34968 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34969 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34970 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34971 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34972 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34973 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34974 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34975 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34976 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34977 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34978 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34979 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34995 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34997 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34998 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34999 * string/memmove.c (memmove): Renamed to ...
35000 (MEMMOVE): ...this. Default to memmove.
35001 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35002 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35005 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35006 mempcpy-ssse3-back memmove-ssse3-back.
35007 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35010 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35011 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35012 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35013 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35014 * sysdeps/x86_64/multiarch/memmove.c: New file.
35015 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35016 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35017 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35018 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35019 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35022 (index_Fast_Copy_Backward): Define.
35023 (HAS_ARCH_FEATURE): Define.
35024 (HAS_FAST_REP_STRING): Define.
35025 (HAS_FAST_COPY_BACKWARD): Define.
35027 2010-06-21 Andreas Schwab <schwab@redhat.com>
35029 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35030 Restore proper fallback handling.
35032 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35035 * posix/group_member.c (__group_member): Correct checking loop.
35037 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35038 OOM in getpwuid_r correctly. Return error number when the caller
35039 should return, otherwise -1.
35040 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35041 call returning > 0 value.
35042 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35044 2010-06-07 Andreas Schwab <schwab@redhat.com>
35046 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35047 libc_nonshared.a from targets in modules-names.
35049 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35051 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35054 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35056 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35057 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35059 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35061 2010-06-02 Andreas Schwab <schwab@redhat.com>
35063 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35065 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35067 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35076 2010-06-14 Roland McGrath <roland@redhat.com>
35078 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35080 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35082 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35083 __REDIRECT followed by __THROW.
35084 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35085 * posix/getopt.h (getopt): Likewise.
35087 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35089 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35090 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35091 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35093 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35094 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35096 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35098 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35100 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35104 Properly check family and model.
35106 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35108 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35110 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35112 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35114 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35116 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35119 2010-05-19 Andreas Schwab <schwab@redhat.com>
35121 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35124 2010-05-21 Andreas Schwab <schwab@redhat.com>
35126 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35127 and internal_recvmmsg.
35128 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35129 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35130 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35131 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35133 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35134 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35135 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35137 2010-05-20 Andreas Schwab <schwab@redhat.com>
35139 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35141 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35143 POWER7 optimizations.
35144 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35145 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35147 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35149 * version.h: Update for 2.13 development version.
35151 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35153 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35154 exceptions. Return 0.
35156 2010-05-07 Roland McGrath <roland@redhat.com>
35158 * elf/ldconfig.c (main): Add a const.
35160 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35162 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35163 (args_options): Add no-idn option.
35164 (ahosts_keys_int): Add idn_flags to ai_flags.
35165 (parse_option): Handle 'i' option to clear idn_flags.
35167 * malloc/malloc.c (_int_free): Possible race in the most recently
35168 added check. Only act on the data if no current modification
35171 See ChangeLog.17 for earlier changes.