1 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4 (NO_TEST_INLINE): Update value.
5 (ERRNO_UNCHANGED): Likewise.
6 (ERRNO_EDOM): Likewise.
7 (ERRNO_ERANGE): Likewise.
8 (IGNORE_RESULT): Likewise.
9 (check_float_internal): Check signs of NaN results if
11 (check_complex): Pass TEST_NAN_SIGN flag through to second
12 check_float_internal call.
13 (copysign_test_data): Add tests with quiet NaNs as second
14 argument. Use TEST_NAN_SIGN.
15 (fabs_test_data): Add test of negative quiet NaN argument. Use
17 (signbit_test_data): Add tests of quiet NaN argument.
18 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22 (parse_args): Handle function results specified as IGNORE.
23 * math/libm-test.inc (IGNORE_RESULT): New macro.
24 (check_float_internal): Do not check numerical result if flag
26 (check_complex): Pass through IGNORE_RESULT to second
27 check_float_internal call.
28 (check_int): Do not check numerical result if flag IGNORE_RESULT
30 (check_long): Likewise.
31 (check_bool): Likewise.
32 (check_longlong): Likewise.
33 (lrint_test_data): Add tests of infinite and NaN arguments.
34 (lrint_tonearest_test_data): Likewise.
35 (lrint_towardzero_test_data): Likewise.
36 (lrint_downward_test_data): Likewise.
37 (lrint_upward_test_data): Likewise.
38 (llrint_test_data): Likewise.
39 (llrint_tonearest_test_data): Likewise.
40 (llrint_towardzero_test_data): Likewise.
41 (llrint_downward_test_data): Likewise.
42 (llrint_upward_test_data): Likewise.
43 (lround_test_data): Likewise.
44 (llround_test_data): Likewise.
46 * math/libm-test.inc (NO_TEST_INLINE): New macro.
47 (ERRNO_UNCHANGED): Update value.
48 (ERRNO_EDOM): Likewise.
49 (ERRNO_ERANGE): Likewise.
50 (NO_TEST_INLINE_FLOAT): New macro.
51 (NO_TEST_INLINE_DOUBLE): Likewise.
52 (enable_test): New function.
53 (RUN_TEST_f_f): Check enable_test before running test.
54 (RUN_TEST_2_f): Likewise.
55 (RUN_TEST_fff_f): Likewise.
56 (RUN_TEST_c_f): Likewise.
57 (RUN_TEST_f_f1): Likewise.
58 (RUN_TEST_fF_f1): Likewise.
59 (RUN_TEST_fI_f1): Likewise.
60 (RUN_TEST_ffI_f1): Likewise.
61 (RUN_TEST_c_c): Likewise.
62 (RUN_TEST_cc_c): Likewise.
63 (RUN_TEST_f_i): Likewise.
64 (RUN_TEST_f_i_tg): Likewise.
65 (RUN_TEST_ff_i_tg): Likewise.
66 (RUN_TEST_f_b): Likewise.
67 (RUN_TEST_f_b_tg): Likewise.
68 (RUN_TEST_f_l): Likewise.
69 (RUN_TEST_f_L): Likewise.
70 (RUN_TEST_fFF_11): Likewise.
71 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
73 (cosh_test_data): Likewise.
74 (exp_test_data): Likewise.
75 (expm1_test_data): Likewise.
76 (hypot_test_data): Likewise.
77 (pow_test_data): Likewise.
78 (sinh_test_data): Likewise.
79 (tanh_test_data): Likewise.
80 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
83 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
84 tests with quiet NaN input and output.
85 (acosh_test_data): Likewise.
86 (asin_test_data): Likewise.
87 (asinh_test_data): Likewise.
88 (atan_test_data): Likewise.
89 (atanh_test_data): Likewise.
90 (atan2_test_data): Likewise.
91 (cbrt_test_data): Likewise.
92 (cos_test_data): Likewise.
93 (cosh_test_data): Likewise.
94 (erf_test_data): Likewise.
95 (erfc_test_data): Likewise.
96 (exp_test_data): Likewise.
97 (exp10_test_data): Likewise.
98 (exp2_test_data): Likewise.
99 (expm1_test_data): Likewise.
100 (hypot_test_data): Likewise.
101 (j0_test_data): Likewise.
102 (j1_test_data): Likewise.
103 (jn_test_data): Likewise.
104 (lgamma_test_data): Likewise.
105 (log_test_data): Likewise.
106 (log10_test_data): Likewise.
107 (log1p_test_data): Likewise.
108 (log2_test_data): Likewise.
109 (pow_test_data): Likewise.
110 (scalb_test_data): Likewise.
111 (sin_test_data): Likewise.
112 (sincos_test_data): Likewise.
113 (sinh_test_data): Likewise.
114 (tan_test_data): Likewise.
115 (tanh_test_data): Likewise.
116 (tgamma_test_data): Likewise.
117 (y0_test_data): Likewise.
118 (y1_test_data): Likewise.
119 (yn_test_data): Likewise.
122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
123 argument being NaN and avoid computations with second argument in
125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
129 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
131 * locale/iso-639.def: Add Chitwani Tharu (the).
133 2013-11-14 Andreas Schwab <schwab@suse.de>
135 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
136 word instead of empty string.
138 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
141 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
143 (__fe_nomask_env): Likewise.
145 2013-11-13 Steve Ellcey <sellcey@mips.com>
147 * benchtests/bench-timing.h: Include time.h.
149 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
152 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
154 * sysdeps/unix/sysv/linux/configure: Regenerated.
156 2013-11-13 Joseph Myers <joseph@codesourcery.com>
159 * stdlib/strtod_l.c (round_and_return): Do not consider
160 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
161 exponent one less than half the least subnormal exponent.
162 * stdlib/test-strtod-round-data: Add more tests.
163 * stdlib/tst-strtod-round.c (tests): Regenerated.
165 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
169 (__fe_mask_env): Likewise.
170 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
171 libm_hidden_proto and add function prototype.
172 (__fe_mask_env): Add function prototype.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
174 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
176 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
178 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
180 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
182 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
183 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
185 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
187 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
190 2013-11-11 David S. Miller <davem@davemloft.net>
193 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
194 symbol in the non-vis3 case in static builds.
195 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
196 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
197 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
198 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
200 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
203 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
206 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208 * benchtests/Makefile: Add bench-strtod.
209 * benchtests/bench-strtod.c: New file: strtod benchtest
211 2013-11-11 Andreas Schwab <schwab@suse.de>
214 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
215 terminating NUL in key length.
217 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
220 Add artificial ODP entry for vDSO symbol for PPC64.
221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
222 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
224 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
227 * nss/getent.c (services_keys): Recognize services starting with digit.
229 2013-11-06 David S. Miller <davem@davemloft.net>
232 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
233 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
235 2013-11-06 Will Newton <will.newton@linaro.org>
237 * manual/memory.texi (Malloc Examples): Remove register
238 keyword from examples.
240 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
242 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
244 2013-11-04 Joseph Myers <joseph@codesourcery.com>
246 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
247 depending on [__GCC_IEC_559 > 0].
248 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
249 depending on [__GCC_IEC_559_COMPLEX > 0].
251 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
253 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
256 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
258 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
260 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
263 * malloc/malloc (malloc_info): Do not handle first bin as
266 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
268 * locale/iso-639.def: Add Central Nahuatl (nhn).
270 2013-11-01 Bruno Haible <bruno@clisp.org>
273 * manual/math.texi (BSD Random): Specify range upper bound as
276 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
278 * locale/iso-639.def: Add Meadow Mari (mhr).
280 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
282 [BZ #14752], [BZ #15763]
283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
285 * rt/tst_shm.c: Add test for escaping directory.
287 2013-10-31 Andreas Schwab <schwab@suse.de>
290 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
291 followed by 'x' as part of digit sequence.
292 * stdio-common/tst-sscanf.c (double_tests2): New tests.
294 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
297 * configure.ac: allow GNU Make 4.0 and greater.
298 * configure: Regenerated.
300 2013-10-30 Will Newton <will.newton@linaro.org>
303 * malloc/hooks.c (memalign_check): Limit alignment to the
304 maximum representable power of two.
305 * malloc/malloc.c (__libc_memalign): Likewise.
306 * malloc/tst-memalign.c (do_test): Add test for very
307 large alignment values.
308 * malloc/tst-posix_memalign.c (do_test): Likewise.
310 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
313 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
314 (munmap_chunk): Likewise.
315 (mremap_chunk): Likewise.
317 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
320 * stdlib/div.c (div): Remove obsolete code.
321 * stdlib/ldiv.c (ldiv): Likewise.
322 * stdlib/lldiv.c (lldiv): Likewise.
324 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
327 * nss/nss_files/files-XXX.c (get_contents_ret): New
329 (get_contents): New function.
330 (internal_getent): Use it. Expand size of LINEBUFLEN.
332 2013-10-30 Mike Frysinger <vapier@gentoo.org>
334 * configure.in: Moved to ...
335 * configure.ac: ... here. Change reference to configure.in
337 * sysdeps/arm/preconfigure.ac: ... here.
338 configure.in to configure.ac.
339 * sysdeps/gnu/configure.in: Moved to ...
340 * sysdeps/gnu/configure.ac: ... here.
341 * sysdeps/i386/configure.in: Moved to ...
342 * sysdeps/i386/configure.ac: ... here.
343 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
344 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
345 * sysdeps/mach/configure.in: Moved to ...
346 * sysdeps/mach/configure.ac: ... here.
347 * sysdeps/mach/hurd/configure.in: Moved to ...
348 * sysdeps/mach/hurd/configure.ac: ... here.
349 * sysdeps/powerpc/configure.in: Moved to ...
350 * sysdeps/powerpc/configure.ac: ... here.
351 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
352 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
353 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
354 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
355 * sysdeps/s390/s390-32/configure.in: Moved to ...
356 * sysdeps/s390/s390-32/configure.ac: ... here.
357 * sysdeps/s390/s390-64/configure.in: Moved to ...
358 * sysdeps/s390/s390-64/configure.ac: ... here.
359 * sysdeps/sh/configure.in: Moved to ...
360 * sysdeps/sh/configure.ac: ... here.
361 * sysdeps/sparc/configure.in: Moved to ...
362 * sysdeps/sparc/configure.ac: ... here.
363 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
364 * sysdeps/unix/sysv/linux/configure.ac: ... here.
365 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
366 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
367 * sysdeps/x86_64/configure.in: Moved to ...
368 * sysdeps/x86_64/configure.ac: ... here.
369 * sysdeps/x86_64/preconfigure.in: Moved to ...
370 * sysdeps/x86_64/preconfigure.ac: ... here.
371 * aclocal.m4: Change reference to configure.in to configure.ac.
372 * config.h.in: Likewise.
373 * manual/install.texi: Likewise.
374 * manual/maint.texi: Likewise.
375 * Makefile: Likewise.
376 * malloc/Makefile: Likewise.
377 * nscd/Makefile: Likewise.
378 * Makeconfig: Change reference to configure.in and
379 preconfigure.in to configure.ac and preconfigure.ac
381 * INSTALL: Regenerated.
382 * configure: Likewise.
383 * sysdeps/gnu/configure: Likewise.
384 * sysdeps/i386/configure: Likewise.
385 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
386 * sysdeps/mach/configure: Likewise.
387 * sysdeps/mach/hurd/configure: Likewise.
388 * sysdeps/powerpc/configure: Likewise.
389 * sysdeps/powerpc/powerpc32/configure: Likewise.
390 * sysdeps/powerpc/powerpc64/configure: Likewise.
391 * sysdeps/s390/s390-32/configure: Likewise.
392 * sysdeps/s390/s390-64/configure: Likewise.
393 * sysdeps/sh/configure: Likewise.
394 * sysdeps/sparc/configure: Likewise.
395 * sysdeps/unix/sysv/linux/configure: Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
397 * sysdeps/x86_64/configure: Likewise.
398 * sysdeps/x86_64/preconfigure: Likewise.
400 2013-10-29 Andreas Schwab <schwab@suse.de>
402 * stdio-common/Makefile (tst-swscanf-ENV): Define.
404 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
406 * benchtests/pow-inputs: Add new inputs.
408 * benchtests/exp-inputs: Add new inputs.
410 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
411 conditional check for return value.
414 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
416 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
417 to provide a boost for large inputs with word alignment.
418 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
419 implementation based on optimized PPC64 strcpy.
420 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
421 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
422 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
423 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
425 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
428 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
430 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
433 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
434 * time/tst-strptime.c (day_tests): Add testcase.
436 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
439 * manual/pattern.texi: Acknowledge that fnmatch can fail.
441 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
444 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
447 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
450 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
451 heap for large requests.
453 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
456 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
457 result if the result has no associated interface.
458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
459 interface for all 127.X.Y.Z addresses.
461 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
463 * locale/iso-639.def: Add Ligurian (lij)
465 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
468 * sunrpc/rpc_main.c: Document rpcgen -5.
470 2013-10-19 Michael Stahl <mstahl@redhat.com>
472 * elf/rtld.c (do_preload): Print the reason why preloading failed.
474 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
477 * posix/glob.c: Match only directories when trailing slash is present.
478 * posix/tst-gnuglob.c (my_opendir): Do not open files.
479 (main): Add testcase.
481 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
484 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
486 2013-10-18 Carlos O'Donell <carlos@redhat.com>
488 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
489 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
490 AUTH_DES and cindex for FIPS 140-2.
491 (DES Encryption): Add cindex FIPS 46-3.
493 * locale/locarchive.h (struct locarhandle): Add fname.
494 * locale/programs/localedef.c (main): Pass ARGV[remaining]
495 if an optional argument was specified to --list-archive,
497 * locale/programs/locarchive.c (show_archive_content): Take new
498 argument fname and pass it via ah.fname to open_archive.
499 * locale/programs/localedef.h: Update decl.
500 (open_archive): If AH->fname is non-null, open that file
501 rather than the default file name, and don't ignore ENOENT.
502 (create_archive): Set AH.fname to NULL.
503 (delete_locales_from_archive): Likewise.
504 (add_locales_to_archive): Likewise.
505 * locale/programs/locfile.c (write_all_categories): Likewise.
507 2013-10-18 Joseph Myers <joseph@codesourcery.com>
508 Aldy Hernandez <aldyh@redhat.com>
510 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
511 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
512 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
513 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
514 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
515 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
518 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
520 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
521 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
522 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
523 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
524 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
526 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
528 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
530 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
532 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
533 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
535 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
536 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
537 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
538 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
540 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
541 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
542 * sysdeps/powerpc/preconfigure: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
545 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
546 Replace contents of file by #include of <fenv_libc.h>.
547 * sysdeps/powerpc/soft-fp/sfp-machine.h
548 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
550 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
557 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
563 Allow copysignl PLT reference to be missing.
565 2013-10-18 Richard Sandiford <richard@codesourcery.com>
566 Joseph Myers <joseph@codesourcery.com
569 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
571 (add_to_tablewc): Assert sequence of wide characters is nonempty.
573 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
575 * elf/tst-tls-dlinfo.c: Don't include tls.h.
576 * elf/tst-tls1.c: Likewise.
577 * elf/tst-tls10.h: Likewise.
578 * elf/tst-tls14.c: Likewise.
579 * elf/tst-tls2.c: Likewise.
580 * elf/tst-tls3.c: Likewise.
581 * elf/tst-tls4.c: Likewise.
582 * elf/tst-tls5.c: Likewise.
583 * elf/tst-tls6.c: Likewise.
584 * elf/tst-tls7.c: Likewise.
585 * elf/tst-tls8.c: Likewise.
586 * elf/tst-tls9.c: Likewise.
587 * elf/tst-tlsmod1.c: Likewise.
588 * elf/tst-tlsmod13.c: Likewise.
589 * elf/tst-tlsmod13a.c: Likewise.
590 * elf/tst-tlsmod14a.c: Likewise.
591 * elf/tst-tlsmod16a.c: Likewise.
592 * elf/tst-tlsmod16b.c: Likewise.
593 * elf/tst-tlsmod2.c: Likewise.
594 * elf/tst-tlsmod3.c: Likewise.
595 * elf/tst-tlsmod4.c: Likewise.
596 * elf/tst-tlsmod5.c: Likewise.
597 * elf/tst-tlsmod6.c: Likewise.
599 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
602 * malloc/malloc.c: remove checks for statistics.
604 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
607 * inet/inet_net.c (inet_network): Detect additional invalid strings.
608 * inet/tst-network.c: Add testcase.
610 2013-10-17 Andreas Schwab <schwab@suse.de>
613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
614 to determine canonical name.
616 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
618 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
619 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
623 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
624 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
625 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
627 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
628 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
633 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
636 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
637 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
641 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
642 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
644 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
645 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
646 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
647 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
650 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
652 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
654 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
655 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
656 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
659 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
660 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
661 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
662 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
663 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
665 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
666 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
668 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
669 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
672 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
673 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
675 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
677 2013-10-17 Joseph Myers <joseph@codesourcery.com>
680 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
681 make result into a quiet NaN.
683 2013-10-16 Joseph Myers <joseph@codesourcery.com>
685 * soft-fp/adddf3.c: Fix horizontal whitespace.
686 * soft-fp/addsf3.c: Likewise.
687 * soft-fp/addtf3.c: Likewise.
688 * soft-fp/divdf3.c: Likewise.
689 * soft-fp/divsf3.c: Likewise.
690 * soft-fp/divtf3.c: Likewise.
691 * soft-fp/double.h: Likewise.
692 * soft-fp/eqdf2.c: Likewise.
693 * soft-fp/eqsf2.c: Likewise.
694 * soft-fp/eqtf2.c: Likewise.
695 * soft-fp/extenddftf2.c: Likewise.
696 * soft-fp/extended.h: Likewise.
697 * soft-fp/extendsfdf2.c: Likewise.
698 * soft-fp/extendsftf2.c: Likewise.
699 * soft-fp/extendxftf2.c: Likewise.
700 * soft-fp/fixdfdi.c: Likewise.
701 * soft-fp/fixdfsi.c: Likewise.
702 * soft-fp/fixdfti.c: Likewise.
703 * soft-fp/fixsfdi.c: Likewise.
704 * soft-fp/fixsfsi.c: Likewise.
705 * soft-fp/fixsfti.c: Likewise.
706 * soft-fp/fixtfdi.c: Likewise.
707 * soft-fp/fixtfsi.c: Likewise.
708 * soft-fp/fixtfti.c: Likewise.
709 * soft-fp/fixunsdfdi.c: Likewise.
710 * soft-fp/fixunsdfsi.c: Likewise.
711 * soft-fp/fixunsdfti.c: Likewise.
712 * soft-fp/fixunssfdi.c: Likewise.
713 * soft-fp/fixunssfsi.c: Likewise.
714 * soft-fp/fixunssfti.c: Likewise.
715 * soft-fp/fixunstfdi.c: Likewise.
716 * soft-fp/fixunstfsi.c: Likewise.
717 * soft-fp/fixunstfti.c: Likewise.
718 * soft-fp/floatdidf.c: Likewise.
719 * soft-fp/floatdisf.c: Likewise.
720 * soft-fp/floatditf.c: Likewise.
721 * soft-fp/floatsidf.c: Likewise.
722 * soft-fp/floatsisf.c: Likewise.
723 * soft-fp/floatsitf.c: Likewise.
724 * soft-fp/floattidf.c: Likewise.
725 * soft-fp/floattisf.c: Likewise.
726 * soft-fp/floattitf.c: Likewise.
727 * soft-fp/floatundidf.c: Likewise.
728 * soft-fp/floatundisf.c: Likewise.
729 * soft-fp/floatunditf.c: Likewise.
730 * soft-fp/floatunsidf.c: Likewise.
731 * soft-fp/floatunsisf.c: Likewise.
732 * soft-fp/floatunsitf.c: Likewise.
733 * soft-fp/floatuntidf.c: Likewise.
734 * soft-fp/floatuntisf.c: Likewise.
735 * soft-fp/floatuntitf.c: Likewise.
736 * soft-fp/fmadf4.c: Likewise.
737 * soft-fp/fmasf4.c: Likewise.
738 * soft-fp/fmatf4.c: Likewise.
739 * soft-fp/gedf2.c: Likewise.
740 * soft-fp/gesf2.c: Likewise.
741 * soft-fp/getf2.c: Likewise.
742 * soft-fp/ledf2.c: Likewise.
743 * soft-fp/lesf2.c: Likewise.
744 * soft-fp/letf2.c: Likewise.
745 * soft-fp/muldf3.c: Likewise.
746 * soft-fp/mulsf3.c: Likewise.
747 * soft-fp/multf3.c: Likewise.
748 * soft-fp/negdf2.c: Likewise.
749 * soft-fp/negsf2.c: Likewise.
750 * soft-fp/negtf2.c: Likewise.
751 * soft-fp/op-1.h: Likewise.
752 * soft-fp/op-2.h: Likewise.
753 * soft-fp/op-4.h: Likewise.
754 * soft-fp/op-8.h: Likewise.
755 * soft-fp/op-common.h: Likewise.
756 * soft-fp/quad.h: Likewise.
757 * soft-fp/single.h: Likewise.
758 * soft-fp/soft-fp.h: Likewise.
759 * soft-fp/sqrtdf2.c: Likewise.
760 * soft-fp/sqrtsf2.c: Likewise.
761 * soft-fp/sqrttf2.c: Likewise.
762 * soft-fp/subdf3.c: Likewise.
763 * soft-fp/subsf3.c: Likewise.
764 * soft-fp/subtf3.c: Likewise.
765 * soft-fp/truncdfsf2.c: Likewise.
766 * soft-fp/trunctfdf2.c: Likewise.
767 * soft-fp/trunctfsf2.c: Likewise.
768 * soft-fp/trunctfxf2.c: Likewise.
769 * soft-fp/unorddf2.c: Likewise.
770 * soft-fp/unordsf2.c: Likewise.
771 * soft-fp/unordtf2.c: Likewise.
773 2013-10-15 Joseph Myers <joseph@codesourcery.com>
775 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
776 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
778 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
780 * elf/dl-libc.c: Clear initfini list after freeing.
782 2013-10-14 Joseph Myers <joseph@codesourcery.com>
784 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
785 * soft-fp/addsf3.c: Likewise.
786 * soft-fp/addtf3.c: Likewise.
787 * soft-fp/divdf3.c: Likewise.
788 * soft-fp/divsf3.c: Likewise.
789 * soft-fp/divtf3.c: Likewise.
790 * soft-fp/double.h: Likewise.
791 * soft-fp/eqdf2.c: Likewise.
792 * soft-fp/eqsf2.c: Likewise.
793 * soft-fp/eqtf2.c: Likewise.
794 * soft-fp/extenddftf2.c: Likewise.
795 * soft-fp/extended.h: Likewise.
796 * soft-fp/extendsfdf2.c: Likewise.
797 * soft-fp/extendsftf2.c: Likewise.
798 * soft-fp/extendxftf2.c: Likewise.
799 * soft-fp/fixdfdi.c: Likewise.
800 * soft-fp/fixdfsi.c: Likewise.
801 * soft-fp/fixdfti.c: Likewise.
802 * soft-fp/fixsfdi.c: Likewise.
803 * soft-fp/fixsfsi.c: Likewise.
804 * soft-fp/fixsfti.c: Likewise.
805 * soft-fp/fixtfdi.c: Likewise.
806 * soft-fp/fixtfsi.c: Likewise.
807 * soft-fp/fixtfti.c: Likewise.
808 * soft-fp/fixunsdfdi.c: Likewise.
809 * soft-fp/fixunsdfsi.c: Likewise.
810 * soft-fp/fixunsdfti.c: Likewise.
811 * soft-fp/fixunssfdi.c: Likewise.
812 * soft-fp/fixunssfsi.c: Likewise.
813 * soft-fp/fixunssfti.c: Likewise.
814 * soft-fp/fixunstfdi.c: Likewise.
815 * soft-fp/fixunstfsi.c: Likewise.
816 * soft-fp/fixunstfti.c: Likewise.
817 * soft-fp/floatdidf.c: Likewise.
818 * soft-fp/floatdisf.c: Likewise.
819 * soft-fp/floatditf.c: Likewise.
820 * soft-fp/floatsidf.c: Likewise.
821 * soft-fp/floatsisf.c: Likewise.
822 * soft-fp/floatsitf.c: Likewise.
823 * soft-fp/floattidf.c: Likewise.
824 * soft-fp/floattisf.c: Likewise.
825 * soft-fp/floattitf.c: Likewise.
826 * soft-fp/floatundidf.c: Likewise.
827 * soft-fp/floatundisf.c: Likewise.
828 * soft-fp/floatunsidf.c: Likewise.
829 * soft-fp/floatunsisf.c: Likewise.
830 * soft-fp/floatuntidf.c: Likewise.
831 * soft-fp/floatuntisf.c: Likewise.
832 * soft-fp/floatuntitf.c: Likewise.
833 * soft-fp/fmadf4.c: Likewise.
834 * soft-fp/fmasf4.c: Likewise.
835 * soft-fp/fmatf4.c: Likewise.
836 * soft-fp/gedf2.c: Likewise.
837 * soft-fp/gesf2.c: Likewise.
838 * soft-fp/getf2.c: Likewise.
839 * soft-fp/ledf2.c: Likewise.
840 * soft-fp/lesf2.c: Likewise.
841 * soft-fp/letf2.c: Likewise.
842 * soft-fp/muldf3.c: Likewise.
843 * soft-fp/mulsf3.c: Likewise.
844 * soft-fp/multf3.c: Likewise.
845 * soft-fp/negdf2.c: Likewise.
846 * soft-fp/negsf2.c: Likewise.
847 * soft-fp/negtf2.c: Likewise.
848 * soft-fp/op-1.h: Likewise.
849 * soft-fp/op-2.h: Likewise.
850 * soft-fp/op-4.h: Likewise.
851 * soft-fp/op-8.h: Likewise.
852 * soft-fp/op-common.h: Likewise.
853 * soft-fp/quad.h: Likewise.
854 * soft-fp/single.h: Likewise.
855 * soft-fp/soft-fp.h: Likewise.
856 * soft-fp/sqrtdf2.c: Likewise.
857 * soft-fp/sqrtsf2.c: Likewise.
858 * soft-fp/sqrttf2.c: Likewise.
859 * soft-fp/subdf3.c: Likewise.
860 * soft-fp/subsf3.c: Likewise.
861 * soft-fp/subtf3.c: Likewise.
862 * soft-fp/truncdfsf2.c: Likewise.
863 * soft-fp/trunctfdf2.c: Likewise.
864 * soft-fp/trunctfsf2.c: Likewise.
865 * soft-fp/trunctfxf2.c: Likewise.
866 * soft-fp/unorddf2.c: Likewise.
867 * soft-fp/unordsf2.c: Likewise.
868 * soft-fp/unordtf2.c: Likewise.
870 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
873 * misc/error.c (error_tail): Fix possible buffer overflow.
875 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
878 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
881 2013-10-14 P. J. McDermott <pj@pehjota.net>
884 * elf/ldd.bash.in (try_trace): New function. Delete previous code
885 testing pipefail option.
887 2013-10-12 Joseph Myers <joseph@codesourcery.com>
889 * soft-fp/double.h: Indent preprocessor directives inside #if.
890 * soft-fp/extended.h: Likewise.
891 * soft-fp/op-2.h: Likewise.
892 * soft-fp/op-4.h: Likewise.
893 * soft-fp/op-common.h: Likewise.
894 * soft-fp/quad.h: Likewise.
895 * soft-fp/single.h: Likewise.
896 * soft-fp/soft-fp.h: Likewise.
898 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
900 * iconv/iconv_prog.c: Fix typos.
901 * stdio-common/psiginfo-data.h: Likewise.
903 2013-10-12 Reuben Thomas <rrt@sc3d.org>
906 * locale/setlocale.c: Fix typo.
908 2013-10-12 Joseph Myers <joseph@codesourcery.com>
911 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
912 signaling NaN arguments.
913 * soft-fp/unordsf2.c (__unordsf2): Likewise.
914 * soft-fp/unordtf2.c (__unordtf2): Likewise.
917 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
919 * soft-fp/gesf2.c (__gesf2): Likewise.
920 * soft-fp/getf2.c (__getf2): Likewise.
921 * soft-fp/ledf2.c (__ledf2): Likewise.
922 * soft-fp/lesf2.c (__lesf2): Likewise.
923 * soft-fp/letf2.c (__letf2): Likewise.
925 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
926 * soft-fp/eqsf2.c (__eqsf2): Likewise.
927 * soft-fp/eqtf2.c (__eqtf2): Likewise.
928 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
929 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
930 * soft-fp/fixdfti.c (__fixdfti): Likewise.
931 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
932 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
933 * soft-fp/fixsfti.c (__fixsfti): Likewise.
934 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
935 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
936 * soft-fp/fixtfti.c (__fixtfti): Likewise.
937 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
938 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
939 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
940 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
941 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
942 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
943 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
944 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
945 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
946 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
947 * soft-fp/floatdisf.c (__floatdisf): Likewise.
948 * soft-fp/floatsisf.c (__floatsisf): Likewise.
949 * soft-fp/floattidf.c (__floattidf): Likewise.
950 * soft-fp/floattisf.c (__floattisf): Likewise.
951 * soft-fp/floattitf.c (__floattitf): Likewise.
952 * soft-fp/floatundidf.c (__floatundidf): Likewise.
953 * soft-fp/floatundisf.c (__floatundisf): Likewise.
954 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
955 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
956 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
957 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
958 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
959 * soft-fp/gesf2.c (__gesf2): Likewise.
960 * soft-fp/getf2.c (__getf2): Likewise.
961 * soft-fp/ledf2.c (__ledf2): Likewise.
962 * soft-fp/lesf2.c (__lesf2): Likewise.
963 * soft-fp/letf2.c (__letf2): Likewise.
965 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
966 Undefine and redefine.
967 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
968 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
969 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
970 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
971 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
972 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
973 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
974 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
975 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
976 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
977 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
978 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
979 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
980 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
981 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
984 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
985 without decrementing exponent if mantissa >= that for the
987 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
988 denominator, not >. Decrement exponent in < case instead of
989 incrementing in >= case.
990 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
991 without decrementing exponent if mantissa >= that for the
994 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
995 computing saturated result for unsigned overflow.
997 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
998 Jeff Law <law@redhat.com>
1000 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1001 (atan2Mp): Add systemtap probe marker.
1002 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1003 (__ieee754_log): Add systemtap probe marker.
1004 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1005 (atanMp): Add systemtap probe marker.
1006 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1007 (tanMp): Add systemtap probe marker.
1008 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1009 (__slowexp): Add systemtap probe marker.
1010 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1011 (__slowpow): Add systemtap probe marker.
1012 * manual/probes.texi: Document probes.
1014 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1017 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1019 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1021 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1022 written to buffer but not flushed.
1023 * libio/iofwrite_u.c: Likewise.
1024 * libio/iopadn.c: Return bytes returned even if EOF was
1026 * libio/iowpadn.c: Likewise.
1027 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1028 if _IO_padn does not write the whole buffer.
1029 [!COMPILE_WPRINTF] (PAD): Likewise.
1031 2013-10-10 David S. Miller <davem@davemloft.net>
1033 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1036 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1038 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1039 instead of FSF address.
1040 * soft-fp/fixdfti.c: Likewise.
1041 * soft-fp/fixsfti.c: Likewise.
1042 * soft-fp/fixtfti.c: Likewise.
1043 * soft-fp/fixunsdfti.c: Likewise.
1044 * soft-fp/fixunssfti.c: Likewise.
1045 * soft-fp/fixunstfti.c: Likewise.
1046 * soft-fp/floattidf.c: Likewise.
1047 * soft-fp/floattisf.c: Likewise.
1048 * soft-fp/floattitf.c: Likewise.
1049 * soft-fp/floatuntidf.c: Likewise.
1050 * soft-fp/floatuntisf.c: Likewise.
1051 * soft-fp/floatuntitf.c: Likewise.
1052 * soft-fp/trunctfxf2.c: Likewise.
1054 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1055 * soft-fp/fixdfti.c: Likewise.
1056 * soft-fp/fixsfti.c: Likewise.
1057 * soft-fp/fixtfti.c: Likewise.
1058 * soft-fp/fixunsdfti.c: Likewise.
1059 * soft-fp/fixunssfti.c: Likewise.
1060 * soft-fp/fixunstfti.c: Likewise.
1061 * soft-fp/floattidf.c: Likewise.
1062 * soft-fp/floattisf.c: Likewise.
1063 * soft-fp/floattitf.c: Likewise.
1064 * soft-fp/floatuntidf.c: Likewise.
1065 * soft-fp/floatuntisf.c: Likewise.
1066 * soft-fp/floatuntitf.c: Likewise.
1067 * soft-fp/trunctfxf2.c: Likewise.
1069 2013-10-10 David S. Miller <davem@davemloft.net>
1071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1073 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1075 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1076 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1077 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1078 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1079 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1080 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1081 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1084 for NaNs before doing comparisons on argument.
1085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1088 2013-10-10 Will Newton <will.newton@linaro.org>
1090 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1091 passed to _int_memalign does not overflow.
1093 2013-10-10 Torvald Riegel <triegel@redhat.com>
1095 * scripts/bench.pl: Add include-sources directive.
1096 * benchtests/README: Update documentation.
1098 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1100 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1101 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1102 instead of FP_INIT_ROUNDMODE.
1103 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1104 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1107 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1108 copy class of input value.
1109 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1110 not handle exceptions.
1111 * soft-fp/negsf2.c (__negsf2): Likewise.
1112 * soft-fp/negtf2.c (__negtf2): Likewise.
1113 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1115 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1117 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1118 semicolon. From Linux kernel.
1120 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1122 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1124 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1127 * manual/socket.texi: Added statement about buffer
1128 for gethostbyname2_r.
1130 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1132 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1133 Use .p2align directive instead, throughout.
1134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1135 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1136 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1139 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1140 * sysdeps/x86_64/strchr.S: Likewise.
1141 * sysdeps/x86_64/strrchr.S: Likewise.
1143 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1145 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1147 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1149 * sysdeps/generic/math_private.h (__mpsin1): Remove
1151 (__mpcos1): Likewise.
1152 (__mpsin): New argument __range_reduce.
1153 (__mpcos): Likewise.
1154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1155 (slow): Use __mpsin and __mpcos.
1162 (bsloww1): Likewise.
1163 (bsloww2): Likewise.
1166 (csloww1): Likewise.
1167 (csloww2): Likewise.
1168 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1169 range_reduce. Merge in __mpsin1.
1170 (__mpcos): Likewise.
1172 (__mpcos1): Likewise.
1174 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1176 * locale/loadlocale.c (_nl_intern_locale_data): Use
1178 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1179 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1180 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1181 obstack data is appropriately aligned.
1182 (obstack_int32_grow_fast): Likewise.
1183 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1184 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1185 (add_locale_uint32_array): Likewise.
1187 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1189 * benchtests/Makefile: Remove ARGLIST and RET variables.
1190 ($(objpfx)bench-%.c): Pass only function name to the script.
1191 * benchtests/README: Update documentation.
1192 * benchtests/acos-inputs: Add new directives.
1193 * benchtests/acosh-inputs: Likewise.
1194 * benchtests/asin-inputs: Likewise.
1195 * benchtests/asinh-inputs: Likewise.
1196 * benchtests/atan-inputs: Likewise.
1197 * benchtests/atanh-inputs: Likewise.
1198 * benchtests/cos-inputs: Likewise.
1199 * benchtests/cosh-inputs: Likewise.
1200 * benchtests/exp-inputs: Likewise.
1201 * benchtests/log-inputs: Likewise.
1202 * benchtests/pow-inputs: Likewise.
1203 * benchtests/rint-inputs: Likewise.
1204 * benchtests/sin-inputs: Likewise.
1205 * benchtests/sinh-inputs: Likewise.
1206 * benchtests/tan-inputs: Likewise.
1207 * benchtests/tanh-inputs: Likewise.
1208 * scripts/bench.pl: Add support for new directives.
1210 2013-10-07 Alan Modra <amodra@gmail.com>
1212 * README: Fix careless merge.
1214 2013-10-05 Alan Modra <amodra@gmail.com>
1216 * NEWS: Mention powerpc64le support and bugs fixed.
1217 * README: Both big-endian and little-endian powerpc64 supported.
1219 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1221 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1222 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1223 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1224 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1226 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1228 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1231 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1234 Move -mhard-float appending from
1235 ports/sysdeps/powerpc/powerpc32/Makefile.
1236 [$(with-fp) = yes] (ASFLAGS): Likewise.
1237 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1238 * sysdeps/powerpc/nofpu: Move directory from
1239 ports/sysdeps/powerpc/nofpu.
1240 * sysdeps/powerpc/soft-fp: Move directory from
1241 ports/sysdeps/powerpc/soft-fp.
1242 * sysdeps/powerpc/powerpc32/405: Move directory from
1243 ports/sysdeps/powerpc/powerpc32/405.
1244 * sysdeps/powerpc/powerpc32/440: Move directory from
1245 ports/sysdeps/powerpc/powerpc32/440.
1246 * sysdeps/powerpc/powerpc32/464: Move directory from
1247 ports/sysdeps/powerpc/powerpc32/464.
1248 * sysdeps/powerpc/powerpc32/476: Move directory from
1249 ports/sysdeps/powerpc/powerpc32/476.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1251 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1253 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1255 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1257 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1259 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1260 * README: Update for powerpc-*-linux-gnu software floating point
1263 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1264 case to powerpc/powerpc32*.
1265 * sysdeps/unix/sysv/linux/configure: Regenerated.
1267 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1268 (_FPU_MASK_OM): Define as 0x04.
1269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1277 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1280 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1283 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1284 and setcontext_e500.
1286 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1288 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1290 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1292 * manual/threads.texi (Default Thread Attributes): Fix typo.
1294 2013-10-04 Will Newton <will.newton@linaro.org>
1296 * malloc/Makefile: Add tst-memalign.
1297 * malloc/tst-memalign.c: New file.
1299 * malloc/tst-posix_memalign.c: Add comments.
1300 (do_test): Add comments and call free on all potentially
1301 allocated pointers. Add space after cast.
1303 * malloc/tst-pvalloc.c: Add comments.
1304 (do_test): Add comments and call free on all potentially
1305 allocated pointers. Remove duplicate check for NULL pointer.
1306 Add space after cast.
1308 * malloc/tst-valloc.c: Add comments.
1309 (do_test): Add comments and call free on all potentially
1310 allocated pointers. Remove duplicate check for NULL pointer.
1311 Add space after cast.
1313 2013-10-04 Alan Modra <amodra@gmail.com>
1315 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1316 Use stdint types in rather than __attribute__((mode())).
1317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1319 2013-10-04 Alan Modra <amodra@gmail.com>
1321 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1322 Correct handling of unaligned relocs for little-endian.
1323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1325 2013-10-04 Alan Modra <amodra@gmail.com>
1327 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1328 * configure: Regenerate.
1329 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1330 * shlib-versions: Likewise.
1332 2013-10-04 Alan Modra <amodra@gmail.com>
1334 * string/tester.c (test_memrchr): Increment reported test cycle.
1336 2013-10-04 Alan Modra <amodra@gmail.com>
1338 * string/test-memcpy.c (do_one_test): When reporting errors, print
1339 string address and don't overrun end of string.
1341 2013-10-04 Alan Modra <amodra@gmail.com>
1343 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1344 insrdi. Make better use of reg selection to speed exit slightly.
1345 Schedule entry path a little better. Remove useless "are we done"
1346 checks on entry to main loop. Handle wrapping around zero address.
1347 Correct main loop count. Handle single left-over word from main
1348 loop inline rather than by using loop_small. Remove extra word
1349 case in loop_small caused by wrong loop count. Add little-endian
1351 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1354 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1355 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1356 support. Avoid rlwimi.
1357 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1359 2013-10-04 Alan Modra <amodra@gmail.com>
1361 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1363 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1364 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1365 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1366 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1367 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1368 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1370 2013-10-04 Alan Modra <amodra@gmail.com>
1372 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1377 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1380 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1381 use of regs. Use power7 mtocrf. Tidy function tails.
1383 2013-10-04 Alan Modra <amodra@gmail.com>
1385 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1386 Formatting. Consistently use rXXX register defines or rN defines.
1387 Use early exit labels that avoid restoring unused non-volatile regs.
1388 Make cr field use more consistent with rWORDn compares. Rename
1389 regs used as shift registers for unaligned loop, using rN defines
1390 for short lifetime/multiple use regs.
1391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1393 addi 1,1,64 to pop stack frame. Simplify return value code.
1394 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1396 2013-10-04 Alan Modra <amodra@gmail.com>
1398 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1399 support. Correct typos, formatting. Optimize tail. Use insrdi
1401 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1403 little-endian support. Correct typos.
1404 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1406 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1407 in loop and entry code to keep "and." results.
1408 (strchr): Add little-endian support. Comment. Move cntlzd
1410 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1412 2013-10-04 Alan Modra <amodra@gmail.com>
1414 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1415 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1416 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1419 2013-10-04 Alan Modra <amodra@gmail.com>
1421 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1422 (rTMP): Define as r11.
1423 (strcmp): Add little-endian support. Optimise tail.
1424 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1425 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1432 2013-10-04 Alan Modra <amodra@gmail.com>
1434 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1435 little-endian support. Remove unnecessary "are we done" tests.
1436 Handle "s" wrapping around zero and extremely large "size".
1437 Correct main loop count. Handle single left-over word from main
1438 loop inline rather than by using small_loop. Correct comments.
1439 Delete "zero" tail, use "end_max" instead.
1440 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1442 2013-10-04 Alan Modra <amodra@gmail.com>
1444 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1445 support. Don't branch over align.
1446 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1448 support. Rearrange tmp reg use to suit. Comment.
1449 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1451 2013-10-04 Alan Modra <amodra@gmail.com>
1453 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1455 2013-10-04 Alan Modra <amodra@gmail.com>
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1458 conditional form of branch and link when obtaining pc.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1461 2013-10-04 Alan Modra <amodra@gmail.com>
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1468 2013-10-04 Alan Modra <amodra@gmail.com>
1470 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1471 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1472 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1473 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1474 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1475 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1476 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1477 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1478 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1479 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1481 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1482 Alistair Popple <alistair@ozlabs.au.ibm.com>
1483 Alan Modra <amodra@gmail.com>
1486 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1488 _dl_hwcap access for little-endian.
1489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1490 destroy vmx regs when saving unaligned.
1491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1492 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1493 destroy vmx regs when saving unaligned.
1495 2013-10-04 Alan Modra <amodra@gmail.com>
1497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1498 Don't use a union to pack hi/low value.
1500 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1502 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1504 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1506 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1507 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1508 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1510 2013-10-04 Alan Modra <amodra@gmail.com>
1512 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1513 constants to usual value for .cst8 section, and remove redundant
1515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1516 constant for 0x1p52. Load little-endian words of double from
1517 correct stack offsets.
1519 2013-10-04 Alan Modra <amodra@gmail.com>
1521 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1522 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1523 words of double from correct stack offsets.
1524 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1531 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1532 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1536 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1537 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1540 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1542 2013-10-04 Alan Modra <amodra@gmail.com>
1544 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1545 64-bit int/double union.
1546 (_FPU_SETCW): Likewise.
1547 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1548 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1550 2013-10-04 Alan Modra <amodra@gmail.com>
1552 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1553 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1555 2013-10-04 Alan Modra <amodra@gmail.com>
1557 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1558 use vector int constants.
1559 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1561 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1563 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1564 array with long long.
1565 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1566 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1567 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1568 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1569 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1570 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1571 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1572 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1573 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1574 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1575 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1576 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1577 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1579 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1581 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1582 (__signbit): Likewise. Correct for little-endian.
1583 (__signbitl): Call __signbit.
1584 (lrint): Correct for little-endian.
1585 (lrintf): Call lrint.
1587 2013-10-04 Alan Modra <amodra@gmail.com>
1589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1590 union 32-bit int array member with 64-bit int array.
1591 (t515, tm256): Double rather than long double.
1592 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1594 2013-10-04 Alan Modra <amodra@gmail.com>
1596 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1598 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1600 version of math_ldbl.h.
1602 2013-10-04 Alan Modra <amodra@gmail.com>
1604 [BZ #15734], [BZ #15735]
1605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1606 all uses of ieee875 long double macros and unions. Simplify test
1607 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1608 ldbl_extract_mantissa value for ix,iy exponents. Properly
1609 normalize after ldbl_extract_mantissa, and don't add hidden bit
1610 already handled. Don't treat low word of ieee854 mantissa like
1611 low word of IBM long double and mask off bit when testing for
1613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1614 all uses of ieee875 long double macros and unions. Simplify tests
1615 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1616 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1617 two1022, instead use their values. Recognise that tests for large
1618 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1620 Rewrite all uses of ieee875 long double macros and unions. Simplify
1621 test for 0.0L and nan. Correct negation.
1622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1623 ieee875 long double macros and unions. Correct output for large
1624 magnitude x. Correct absolute value calculation.
1625 (__erfcl): Likewise.
1626 * math/libm-test.inc: Add tests for errors discovered in IBM long
1627 double versions of fmodl, remainderl, erfl and erfcl.
1629 2013-10-04 Alan Modra <amodra@gmail.com>
1631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1632 all uses of ieee854 long double macros and unions. Simplify tests
1633 for long doubles that are fully specified by the high double.
1634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1636 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1637 Remove dead code too.
1638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1639 (__ieee754_ynl): Likewise.
1640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1643 Remove dead code too.
1644 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1654 Comment on variable precision.
1655 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1658 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1664 2013-10-04 Alan Modra <amodra@gmail.com>
1666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1668 all uses of ieee854 long double macros and unions.
1669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1682 Simplify sign and nan test too.
1683 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1688 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1698 2013-10-04 Alan Modra <amodra@gmail.com>
1700 * stdio-common/printf_size.c (__printf_size): Don't use
1701 union ieee854_long_double in fpnum union.
1702 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1703 signbit macro to retrieve sign from long double.
1704 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1705 retrieve sign from long double.
1706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1707 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1709 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1710 * math/test-misc.c (main): Don't use union ieee854_long_double.
1712 2013-10-04 Alan Modra <amodra@gmail.com>
1715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1717 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1718 calculation. Remove unnecessary test for denormal exponent.
1719 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1720 Correct handling of denormals. Avoid undefined shift behaviour.
1721 Correct normalisation of low mantissa when low double is denormal.
1722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1723 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1724 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1725 Correct normalisation of low mantissa. Test for overflow of high
1726 mantissa and normalise.
1727 (ldbl_nearbyint): Use more readable constant for two52.
1728 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1729 (__mpn_construct_long_double): Fix test for overflow of high
1730 mantissa and correct normalisation. Avoid undefined shift.
1732 2013-10-04 Alan Modra <amodra@gmail.com>
1734 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1735 (union ibm_extended_long_double): Define as an array of ieee754_double.
1736 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1738 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1739 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1748 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1750 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1751 page size instead of calling getpagesize.
1753 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1754 (LOCFILE_ALIGN_MASK): Likewise.
1755 (LOCFILE_ALIGN_UP): Likewise.
1756 (LOCFILE_ALIGNED_P): Likewise.
1757 * locale/programs/ld-collate.c (collate_output): Use the new
1758 macros instead of __alignof__ (int32_t).
1759 * locale/weight.h (findidx): Likewise.
1761 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1764 * manual/string.texi: Fix strncat and wcsncat.
1766 2013-10-03 Brooks Moses <bmoses@google.com>
1769 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1770 * Makerules: ...here, and adjust associated comments.
1772 2013-10-02 Will Newton <will.newton@linaro.org>
1774 * malloc/Makefile: Add tst-pvalloc.
1775 * malloc/tst-pvalloc.c: New file.
1777 2013-10-02 Will Newton <will.newton@linaro.org>
1779 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1780 improve test coverage.
1782 2013-10-02 Will Newton <will.newton@linaro.org>
1784 * malloc/Makefile: Add tst-posix_memalign.
1785 * malloc/tst-posix_memalign.c: New file.
1787 2013-10-01 Eric Blake <eblake@redhat.com>
1789 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1790 Use __THROWNL rather than __THROW on static functions.
1792 2013-09-30 Petr Machata <pmachata@redhat.com>
1794 * elf/elf.h (R_AARCH64_ABS16): New macro.
1795 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1796 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1797 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1798 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1799 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1800 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1801 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1802 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1803 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1804 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1805 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1806 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1807 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1808 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1809 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1810 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1811 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1812 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1813 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1814 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1815 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1816 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1817 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1818 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1819 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1820 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1821 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1822 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1823 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1824 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1825 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1826 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1827 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1828 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1829 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1830 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1831 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1832 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1833 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1834 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1835 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1836 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1837 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1838 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1839 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1840 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1841 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1842 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1843 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1844 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1845 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1846 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1847 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1848 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1849 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1850 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1851 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1852 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1853 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1854 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1855 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1856 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1857 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1858 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1859 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1860 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1861 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1862 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1863 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1864 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1865 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1866 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1867 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1868 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1869 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1870 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1871 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1872 (R_AARCH64_TLSDESC_LDR): Likewise.
1873 (R_AARCH64_TLSDESC_ADD): Likewise.
1874 (R_AARCH64_TLSDESC_CALL): Likewise.
1876 2013-09-30 Andreas Schwab <schwab@suse.de>
1879 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1880 the nss database lookup.
1881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1884 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1886 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1888 2013-09-28 P. J. McDermott <pj@pehjota.net>
1890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1891 ${Bash-specific parameter/pattern/string} parameter expansion.
1892 * sysdeps/unix/make-syscalls.sh: Likewise.
1894 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1896 * sysdeps/sh/stackguard-macros.h: New file.
1898 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1902 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1904 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1905 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1907 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1910 Fix thread ID register.
1912 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1914 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1915 [POSIX || UNIX98]: Require rather than permitting all symbols from
1917 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1918 element of struct sched_param.
1919 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1920 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1921 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1922 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1925 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1927 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1928 argument calculation.
1930 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1932 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1934 [POSIX] (pthread_attr_t): Do not require type.
1935 [POSIX] (pthread_cond_t): Likewise.
1936 [POSIX] (pthread_condattr_t): Likewise.
1937 [POSIX] (pthread_key_t): Likewise.
1938 [POSIX] (pthread_mutex_t): Likewise.
1939 [POSIX] (pthread_mutexattr_t): Likewise.
1940 [POSIX] (pthread_once_t): Likewise.
1941 [POSIX] (pthread_t): Likewise.
1942 [POSIX-based standards] (pthread_atfork): Expect function.
1944 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1945 Richard Sandiford <richard@codesourcery.com>
1947 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1948 (swap_endianness_p): New extern variable.
1949 (set_big_endian): New inline function.
1950 (maybe_swap_uint32): Likewise.
1951 (maybe_swap_uint32_array): Likewise.
1952 (maybe_swap_uint32_obstack): Likewise.
1953 * locale/programs/locfile.c: Include <stdbool.h>.
1954 (swap_endianness_p): New variable.
1955 (add_locale_uint32): Call maybe_swap_uint32.
1956 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1957 (write_locale_data): Call maybe_swap_uint32_array.
1958 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1960 (obstack_int32_grow_fast): Likewise.
1961 (output_weightwc): Call maybe_swap_uint32_obstack.
1962 (collate_output): Likewise.
1963 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1964 (OPT_LITTLE_ENDIAN): Likewise.
1965 (options): Add --little-endian and --big-endian options.
1966 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1967 * locale/programs/locarchive.c: Include "locfile.h".
1971 (create_archive): Use the new macros to access fields of
1972 structures directly mapped from or written to locale archives.
1973 (oldlocrecentcmp): Likewise.
1974 (enlarge_archive): Likewise.
1975 (insert_name): Likewise.
1976 (add_alias): Likewise.
1977 (add_locale): Likewise.
1978 (delete_locales_from_archive): Likewise.
1979 (show_archive_content): Likewise.
1980 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1983 2013-09-24 Roland McGrath <roland@hack.frob.com>
1985 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1986 http://www.gnu.org/doc/freemanuals.texi.
1987 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1989 2013-09-24 Will Newton <will.newton@linaro.org>
1991 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1994 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1996 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1999 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2001 * manual/threads.texi (POSIX Threads): Fix a typo.
2003 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2006 * string/tst-strcoll-overflow.c: New test case.
2007 * string/Makefile (xtests): Add tst-strcoll-overflow.
2008 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2009 cache if string sizes may cause integer overflow.
2012 * string/strcoll_l.c (coll_seq): New members rule, idx,
2013 save_idx and back_us.
2014 (get_next_seq_nocache): New function.
2015 (do_compare_nocache): New function.
2016 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2019 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2022 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2023 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2024 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2027 * elf/Makefile (tests): Add tst-ptrguard1.
2028 (tests-static): Add tst-ptrguard1-static.
2029 (tst-ptrguard1-ARGS): Define.
2030 (tst-ptrguard1-static-ARGS): Define.
2031 * elf/tst-ptrguard1.c: New file.
2032 * elf/tst-ptrguard1-static.c: New file.
2033 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2034 * sysdeps/i386/stackguard-macros.h: Likewise.
2035 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2036 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2037 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2038 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2039 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2040 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2042 2013-09-23 Hector Marco <hecmargi@upv.es>
2043 Ismael Ripoll <iripoll@disca.upv.es>
2044 Carlos O'Donell <carlos@redhat.com>
2047 * sysdeps/generic/stackguard-macros.h: Define
2048 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2049 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2050 Define __pointer_chk_guard_local.
2051 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2052 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2054 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2057 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2059 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2061 * include/string.h (__ffs): Declare as hidden.
2062 * string/ffs.c (__ffs): Define as hidden.
2063 * sysdeps/i386/ffs.c (__ffs): Likewise.
2064 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2065 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2066 * sysdeps/s390/ffs.c (__ffs): Likewise.
2067 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2069 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2071 * NEWS: Mention malloc probes.
2073 * malloc/arena.c (new_heap): New memory_heap_new probe.
2074 (grow_heap): New memory_heap_more probe.
2075 (shrink_heap): New memory_heap_less probe.
2076 (heap_trim): New memory_heap_free probe.
2077 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2078 (systrim): New memory_sbrk_less probe.
2079 * manual/probes.texi: Document them.
2081 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2082 * manual/probes.texi: Document it.
2084 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2085 (__libc_realloc): Add memory_realloc_retry probe.
2086 (__libc_memalign): Add memory_memalign_retry probe.
2087 (__libc_valloc): Add memory_valloc_retry probe.
2088 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2089 (__libc_calloc): Add memory_calloc_retry probe.
2090 * manual/probes.texi: Document them.
2092 * malloc/arena.c (get_free_list): Add probe
2093 memory_arena_reuse_free_list.
2094 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2095 and memory_arena_reuse.
2096 (arena_get2) [!PER_THREAD]: Likewise.
2097 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2098 memory_arena_reuse_realloc.
2099 * manual/probes.texi: Document them.
2101 * malloc/malloc.c (__libc_free): Add
2102 memory_mallopt_free_dyn_thresholds probe.
2103 (__libc_mallopt): Add multiple memory_mallopt probes.
2104 * manual/probes.texi: Document them.
2106 * malloc/malloc.c: Include stap-probe.h.
2107 (__libc_mallopt): Add memory_mallopt probe.
2108 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2109 * manual/probes.texi: New.
2110 * manual/Makefile (chapters): Add probes.
2111 * manual/threads.texi: Set next node.
2113 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2116 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2117 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2118 Add `Chinese' to `nan' entry name.
2120 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2122 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2123 (POLYNOMIAL): Likewise.
2124 (TAYLOR_SINCOS): Likewise.
2125 (TAYLOR_SLOW): Likewise.
2126 (__sin): Use TAYLOR_SINCOS.
2128 (slow): Use TAYLOR_SLOW.
2133 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2135 * stdlib/strtod_l.c: Fix buffer overrun.
2137 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2139 * benchtests/Makefile (bench): Add sincos.
2140 * benchtests/bench-sincos.c: New file.
2142 * math/libm-test.inc (cos_test_data): New test inputs.
2143 (sin_test_data): Likewise.
2145 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2153 (bsloww1): Likewise.
2154 (bsloww2): Likewise.
2156 (csloww1): Likewise.
2157 (csloww2): Likewise.
2159 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2168 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2170 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2171 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2172 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2173 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2174 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2175 * elf/cache.c (print_entry): Handle the new cache flags.
2177 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2178 Aldy Hernandez <aldyh@redhat.com>
2180 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2181 Change condition to [_SOFT_FLOAT].
2182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2194 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2197 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2200 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2202 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2203 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2204 (__longjmp): Use LOAD_GP to load saved GPRs.
2205 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2206 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2207 (__sigsetjmp): Use SAVE_GP to save GPRs.
2209 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2210 Do not append -msoft-float.
2211 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2213 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2215 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2217 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2220 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2221 (_FPU_GETCW): Use initial "__" on variable and field names but not
2222 on macro parameter name.
2223 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2224 parentheses around reference to macro parameter.
2226 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2228 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2230 (ctype_startup): Use uint32_t in cast and sizeof for
2233 2013-09-11 Jia Liu <proljc@gmail.com>
2235 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2237 [__FreeBSD__]: Likewise.
2239 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2242 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2243 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2244 (strchr): Remove __strchr_sse42 ifunc selection.
2245 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2246 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2248 2013-09-11 Will Newton <will.newton@linaro.org>
2250 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2251 parameter to RES. Remove hardcoded 1000 value.
2252 * benchtests/bench-skeleton.c (main): Pass RES parameter
2253 to TIMING_INIT and multiply result by 1000.
2255 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2259 2013-09-11 Andreas Schwab <schwab@suse.de>
2261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2263 (O_TMPFILE) [__USE_GNU]: Define.
2264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2267 2013-09-11 Will Newton <will.newton@linaro.org>
2270 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2273 2013-09-11 Will Newton <will.newton@linaro.org>
2276 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2279 2013-09-11 Will Newton <will.newton@linaro.org>
2282 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2285 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2287 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2288 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2293 2013-09-10 Allan McRae <allan@archlinux.org>
2296 * manual/arith.texi (Parsing of Floats): Clarify
2300 * manual/install.texi (Running make install): Mention
2302 * INSTALL: Regenerated.
2304 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2306 * csu/init-first.c (_init): Remove the !SHARED condition around
2307 FPU control word initialization.
2308 * elf/dl-support.c (_dl_fpu_control): New variable.
2309 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2310 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2311 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2312 * math/test-fpucw-static.c: New file.
2313 * math/test-fpucw-ieee.c: New file.
2314 * math/test-fpucw-ieee-static.c: New file.
2315 * math/Makefile (tests): Add `test-fpucw-ieee' and
2317 (tests-static): New variable.
2318 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2320 [($(build-shared),yes)]
2321 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2323 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2326 2013-09-09 Allan McRae <allan@archlinux.org>
2329 * manual/string.texi (Collation Functions): Fix typo in
2331 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2334 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2337 * libio/memstream.c (open_memstream): Fix memory leak.
2338 * libio/wmemstream.c (open_wmemstream): Likewise.
2341 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2343 2013-09-09 Will Newton <will.newton@linaro.org>
2345 * malloc/Makefile: Add tst-realloc to tests.
2346 * malloc/tst-realloc.c: New file.
2348 2013-09-09 Allan McRae <allan@archlinux.org>
2351 * COPYING: Update from GNU website to fix FSF address.
2352 * COPYING.LIB: Likewise.
2354 2013-09-06 David S. Miller <davem@davemloft.net>
2356 * po/zh_TW.po: Update Chinese (traditional) translation from
2357 translation project.
2359 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2360 Joseph Myers <joseph@codesourcery.com>
2362 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2364 (obstack_chunk_alloc): New macro.
2365 (obstack_chunk_free): Likewise.
2366 (record_offset): New function.
2367 (init_locale_data): Likewise.
2368 (align_locale_data): Likewise.
2369 (add_locale_empty): Likewise.
2370 (add_locale_raw_data): Likewise.
2371 (add_locale_raw_obstack): Likewise.
2372 (add_locale_string): Likewise.
2373 (add_locale_wstring): Likewise.
2374 (add_locale_uint32): Likewise.
2375 (add_locale_uint32_array): Likewise.
2376 (add_locale_char): Likewise.
2377 (start_locale_structure): Likewise.
2378 (end_locale_structure): Likewise.
2379 (start_locale_prelude): Likewise.
2380 (end_locale_prelude): Likewise.
2381 (write_locale_data): Take locale_file structure rather than an
2383 * locale/programs/locfile.h: Include "obstack.h".
2384 (struct locale_file): Change to store locale file contents instead
2386 (init_locale_data): New prototype.
2387 (align_locale_data): Likewise.
2388 (add_locale_empty): Likewise.
2389 (add_locale_raw_data): Likewise.
2390 (add_locale_raw_obstack): Likewise.
2391 (add_locale_string): Likewise.
2392 (add_locale_wstring): Likewise.
2393 (add_locale_uint32): Likewise.
2394 (add_locale_uint32_array): Likewise.
2395 (add_locale_char): Likewise.
2396 (start_locale_structure): Likewise.
2397 (end_locale_structure): Likewise.
2398 (start_locale_prelude): Likewise.
2399 (end_locale_prelude): Likewise.
2400 (write_locale_data): Update prototype.
2401 * locale/programs/3level.h (struct TABLE): Remove result field.
2402 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2403 Use new locale_file interface.
2404 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2405 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2406 * locale/programs/ld-address.c (address_output): Use new
2407 locale_file interface.
2408 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2410 (collate_finish): Don't call collseq_table_finalize.
2411 (collate_output): Use new locale_file interface.
2412 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2414 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2415 (TABLE): Move defines earlier in file.
2416 (ELEMENT): Likewise.
2417 (DEFAULT): Likewise.
2418 (wctrans_table_add): Move macro and inline function earlier in
2420 (struct wctype_table): Move type earlier in file.
2421 (add_locale_wctype_table): New static prototype.
2422 (struct locale_ctype_t): Use logical types instead of struct iovec
2423 pointers for members.
2424 (ctype_output): Use new locale_file interface.
2425 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2426 new locale_file interface.
2427 (allocate_arrays): Update for use of new locale_file interface.
2428 * locale/programs/ld-identification.c (identification_output): Use
2429 new locale_file interface.
2430 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2431 * locale/programs/ld-messages.c (messages_output): Likewise.
2432 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2433 * locale/programs/ld-name.c (name_output): Likewise.
2434 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2435 * locale/programs/ld-paper.c (paper_output): Likewise.
2436 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2437 * locale/programs/ld-time.c (time_output): Likewise.
2439 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441 * benchtests/Makefile: Add memrchr benchmark.
2442 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2443 benchmark as memrchr.
2444 * benchtests/bench-memrchr-ifunc.c: New file.
2445 * benchtests/bench-memrchr.c: New file.
2447 2013-09-06 Will Newton <will.newton@linaro.org>
2449 * benchtests/Makefile (string-bench): Add memcpy.
2451 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2452 Cong Wang <amwang@redhat.com>
2454 * sysdeps/unix/sysv/linux/bits/in.h
2455 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2456 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2457 before __USE_KERNEL_IPV6_DEFS uses.
2458 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2460 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2461 sockaddr_in6, or ipv6_mreq.
2463 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2465 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2466 memory access for final bytes in some large inputs.
2467 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2469 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471 * string/test-memrchr.c: New file.
2472 * string/test-memrchr-ifunc.c: New file.
2473 * string/Makefile: Add new memrchr testcase.
2475 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2477 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2478 fanotify_init returns EPERM.
2480 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2482 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2484 (top level): Treat second token from macro or constant entries for
2485 allowed headers as allowed.
2486 * include/complex.h: Condition internal declarations on
2488 * include/fenv.h: Condition include of <stdbool.h> and internal
2489 declarations on [!_ISOMAC].
2491 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2494 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2496 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2498 * configure.in (--enable-versioning): Remove configure option.
2499 (libc_cv_asm_symver_directive): Remove configure test.
2500 (libc_cv_ld_version_script_option): Likewise.
2501 (VERSIONING): Remove variable and AC_SUBST.
2502 (DO_VERSIONING): Remove AC_DEFINE.
2503 * configure: Regenerated.
2504 * config.h.in (DO_VERSIONING): Remove macro.
2505 * Makerules [$(versioning) = yes]: Change conditionals to
2506 [$(build-shared) = yes].
2507 * config.make.in (versioning): Remove variable.
2508 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2509 [$(build-shared) = yes].
2510 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2511 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2512 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2513 [$(build-shared) = yes].
2514 * extra-lib.mk [$(versioning) = yes]: Likewise.
2515 * hurd/Makefile [$(versioning) = yes]: Likewise.
2516 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2518 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2520 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2521 [SHARED && !NO_HIDDEN].
2522 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2524 [SHARED && DO_VERSIONING]: Likewise..
2525 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2526 [$(build-shared) = yes].
2527 * manual/install.texi (--disable-versioning): Remove
2529 * INSTALL: Regenerated.
2530 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2532 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2533 [$(build-shared) = yes].
2534 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2535 * sysdeps/i386/i686/multiarch/strstr-c.c
2536 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2537 [SHARED && !NO_HIDDEN].
2538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2539 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2540 * sysdeps/powerpc/powerpc32/dl-machine.c
2541 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2542 * sysdeps/powerpc/powerpc32/sysdep.h
2543 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2544 to [SHARED && PIC && !NO_HIDDEN].
2545 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2546 conditional to [SHARED].
2548 2013-09-04 Will Newton <will.newton@linaro.org>
2550 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2551 * benchtests/bench-string.h: Include bench-timing.h instead
2552 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2553 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2554 call to HP_TIMING_DIFF_INIT.
2555 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2556 instead of hp-timing.h macros.
2557 * benchtests/bench-memchr.c: Likewise.
2558 * benchtests/bench-memcmp.c: Likewise.
2559 * benchtests/bench-memcpy.c: Likewise.
2560 * benchtests/bench-memmem.c: Likewise.
2561 * benchtests/bench-memmove.c: Likewise.
2562 * benchtests/bench-memset.c: Likewise.
2563 * benchtests/bench-rawmemchr.c: Likewise.
2564 * benchtests/bench-strcasecmp.c: Likewise.
2565 * benchtests/bench-strcasestr.c: Likewise.
2566 * benchtests/bench-strcat.c: Likewise.
2567 * benchtests/bench-strchr.c: Likewise.
2568 * benchtests/bench-strcmp.c: Likewise.
2569 * benchtests/bench-strcpy.c: Likewise.
2570 * benchtests/bench-strcpy_chk.c: Likewise.
2571 * benchtests/bench-strlen.c: Likewise.
2572 * benchtests/bench-strncasecmp.c: Likewise.
2573 * benchtests/bench-strncat.c: Likewise.
2574 * benchtests/bench-strncmp.c: Likewise.
2575 * benchtests/bench-strncpy.c: Likewise.
2576 * benchtests/bench-strnlen.c: Likewise.
2577 * benchtests/bench-strpbrk.c: Likewise.
2578 * benchtests/bench-strrchr.c: Likewise.
2579 * benchtests/bench-strspn.c: Likewise.
2580 * benchtests/bench-strstr.c: Likewise.
2582 2013-09-04 Will Newton <will.newton@linaro.org>
2584 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2586 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2589 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2590 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2591 * math/libm-test.inc (lgamma_test_data): Add more tests.
2592 * sysdeps/i386/fpu/libm-test-ulps: Update.
2593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2595 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2597 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2601 Add strcmp-sse2-unaligned
2602 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2604 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2606 * Versions.def (libc): Add GLIBC_2.19.
2608 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2610 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2611 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2613 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2617 intermediate calculations in recurrence.
2618 (__ieee754_ynf): Likewise.
2619 * math/libm-test.inc (jn_test_data): Do not allow spurious
2620 underflow exception. Add more tests.
2621 (yn_test_data): Add more tests.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2625 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2629 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2631 * csu/init-first.c: Fix then/than typos.
2632 * locale/programs/ld-collate.c: Likewise.
2633 * locale/programs/linereader.h: Likewise.
2634 * manual/charset.texi: Likewise.
2635 * manual/filesys.texi: Likewise.
2636 * manual/stdio.texi: Likewise.
2637 * manual/string.texi: Likewise.
2638 * stdlib/fmtmsg.c: Likewise.
2639 * sysdeps/i386/stpncpy.S: Likewise.
2640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2641 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2645 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2647 * elf/dl-open.c: Fix typos.
2648 * iconvdata/gbbig5.c: Likewise.
2649 * iconvdata/iso-2022-jp.c: Likewise.
2650 * iconv/gconv_int.h: Likewise.
2651 * iconv/loop.c: Likewise.
2652 * nis/rpcsvc/nis.h: Likewise.
2653 * resolv/ns_name.c: Likewise.
2654 * stdio-common/vfscanf.c: Likewise.
2655 * streams/stropts.h: Likewise.
2656 * sunrpc/rpc_thread.c: Likewise.
2657 * sysdeps/i386/strpbrk.S: Likewise.
2658 * sysdeps/ieee754/k_standard.c: Likewise.
2659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2661 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2662 * sysdeps/mach/hurd/profil.c: Likewise.
2663 * sysdeps/s390/dl-procinfo.h: Likewise.
2664 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2667 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2670 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2672 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2675 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2677 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2683 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2684 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2686 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2688 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2689 Roland McGrath <roland@hack.frob.com>
2691 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2692 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2694 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2696 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2697 __executable_start symbol instead of _start.
2699 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2701 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2702 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2704 * sysdeps/gnu/ldsodefs.h: ... this new file.
2706 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2707 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2708 instead of ELFOSABI_LINUX.
2710 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2711 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2712 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2713 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2715 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2716 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2717 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2719 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2720 (ibm_extended_long_double): Add ieee_nan member.
2721 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2722 (do_test): New function.
2724 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2726 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2727 functions, renamed from truncdfsf_test, trunctfsf_test,
2729 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2731 (do_test): Run all these.
2733 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2735 * argp/argp-help.c: Fix typos.
2736 * argp/argp-parse.c: Likewise.
2737 * debug/backtracesyms.c: Likewise.
2738 * elf/elf.h: Likewise.
2739 * malloc/malloc.c: Likewise.
2740 * nis/nis_print.c: Likewise.
2741 * resolv/res_comp.c: Likewise.
2742 * stdlib/stdlib.h: Likewise.
2743 * sunrpc/clnt_tcp.c: Likewise.
2744 * sunrpc/clnt_udp.c: Likewise.
2745 * sunrpc/clnt_unix.c: Likewise.
2746 * sysdeps/unix/bsd/ptsname.c: Likewise.
2747 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2748 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2755 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2757 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2759 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2762 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2765 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2766 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2767 ($(objpfx)bug-dl-leaf): New rule.
2768 ($(objpfx)bug-dl-leaf.so): Likewise.
2769 ($(objpfx)bug-dl-leaf.out): Likewise.
2770 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2771 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2772 * dlfcn/bug-dl-leaf.c: New test.
2773 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2774 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2775 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2776 (dlclose): Likewise.
2777 (dlmopen): Likewise.
2779 2013-08-27 Roland McGrath <roland@hack.frob.com>
2781 * include/netdb.h [!_ISOMAC]:
2782 Don't include <tls.h>.
2783 (h_errno, __libc_h_errno): Move declaration and macros out of
2786 * include/resolv.h [_RESOLV_H_]:
2787 Don't include <tls.h>.
2788 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2789 * resolv/res_libc.c: Don't include <tls.h>.
2790 (_res): Use __attribute__ ((nocommon)) in place of
2791 __attribute__ ((section (".bss"))).
2793 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2794 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2796 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2798 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2799 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2801 * resolv/res_mkquery.c: Include <sys/time.h>.
2803 * inet/ifreq.c: Moved to ...
2804 * sysdeps/unix/ifreq.c: ... here.
2805 * inet/ifreq.c: New file, true stub version.
2807 * socket/sa_len.c: New file.
2808 * socket/Makefile (aux): Add it.
2809 * sysdeps/unix/sysv/linux/Makefile
2810 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2811 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2812 and #include <socket/sa_len.c>.
2813 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2814 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2816 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2817 * bits/socket.h: ... here.
2819 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2820 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2821 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2823 2013-08-27 Andreas Schwab <schwab@suse.de>
2826 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2827 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2828 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2829 * string/test-strcasecmp.c (test_main): Run tests in several
2831 * string/test-strncasecmp.c (test_main): Likewise.
2833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2834 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2835 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2837 (__strncasecmp_ssse3) [PIC]: Likewise.
2839 2013-08-26 Roland McGrath <roland@hack.frob.com>
2841 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2843 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2844 instead of explicitly declaring xdecrypt.
2845 * nis/nss_nis/nis-publickey.c: Likewise.
2847 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2850 * nscd/aicache.c: Include res_hconf.h.
2851 (addhstaiX): Initialize res_hconf.
2853 2013-08-26 Andreas Schwab <schwab@suse.de>
2855 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2856 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2858 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2860 * nscd/aicache.c (addhstaiX): Fix indentation.
2862 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2864 * configure.ac: Quote $build_pt_chown test.
2865 * configure: Regenerated.
2867 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2870 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2871 * math/s_cexpf.c (__cexpf): Likewise.
2872 * math/s_cexpl.c (__cexpl): Likewise.
2873 * math/libm-test.inc (cexp_test_data): Correct expected return
2874 value for NaN + i0. Add another test.
2876 2013-08-22 David S. Miller <davem@davemloft.net>
2878 * po/ca.po: Update Catalan translation from translation project.
2879 * po/uk.po: Add Ukrainian translations from translation project.
2881 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2884 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2885 is infinite, not alongside NaN test.
2886 * math/s_fdimf.c (__fdimf): Likewise.
2887 * math/s_fdiml.c (__fdiml): Likewise.
2888 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2891 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2893 * argp/argp-help.c: Fix typos.
2894 * crypt/speeds.c: Likewise.
2895 * csu/check_fds.c: Likewise.
2896 * elf/dl-load.c: Likewise.
2897 * elf/dl-open.c: Likewise.
2898 * elf/reldep3.c: Likewise.
2899 * elf/reldep.c: Likewise.
2900 * elf/sprof.c: Likewise.
2901 * iconv/iconv_charmap.c: Likewise.
2902 * iconv/skeleton.c: Likewise.
2903 * iconv/strtab.c: Likewise.
2904 * io/lockf64.c: Likewise.
2905 * libio/libioP.h: Likewise.
2906 * resolv/gai_notify.c: Likewise.
2907 * resolv/ns_name.c: Likewise.
2908 * resolv/ns_samedomain.c: Likewise.
2909 * resolv/res_send.c: Likewise.
2910 * stdlib/random.c: Likewise.
2911 * sunrpc/rpc/xdr.h: Likewise.
2912 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2913 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2914 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2915 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2916 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2920 * sysdeps/mach/hurd/check_fds.c: Likewise.
2921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2922 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2923 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2925 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2927 * sysdeps/pthread/aio_notify.c: Likewise.
2928 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2929 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2931 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2932 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2934 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2936 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2937 version if bit_Slow_SSE4_2 is set.
2938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2939 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2941 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2945 trampoline stack frame information.
2946 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2948 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2949 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2950 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2951 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2952 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2953 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2955 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2956 interrupting a syscall and set with option SA_SIGINFO.
2958 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2961 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2962 argument is infinite.
2963 * math/s_cprojf.c (__cprojf): Likewise.
2964 * math/s_cprojl.c (__cprojl): Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2966 * math/libm-test.inc (cproj_test_data): Add more tests.
2968 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2970 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2971 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2972 size. Use __ffs to determine corresponding shift.
2974 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2975 Roland McGrath <roland@hack.frob.com>
2977 * Makefile (INSTALL): Remove trailing blank lines from output of
2980 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2982 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2983 Align 32 bit compat elf_greg to 8 bytes.
2985 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2987 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2989 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2991 * string/strcoll_l.c (coll_seq): New structure.
2992 (get_next_seq_cached): New function.
2993 (get_next_seq): New function.
2994 (do_compare): New function.
2995 (STRCOLL): Use GNU style definition. Simplify implementation
2996 by using get_next_seq, get_next_seq_cached and do_compare.
2998 2013-08-16 Florian Weimer <fweimer@redhat.com>
3002 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3004 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3006 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3007 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3008 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3010 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3011 GETDENTS_64BIT_ALIGNED.
3012 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3013 * manual/filesys.texi (Reading/Closing Directory): Document
3014 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3016 * manual/conf.texi (Limits for Files): Add portability note to
3018 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3020 2013-08-13 Andreas Schwab <schwab@suse.de>
3023 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3025 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3026 LDBL_MAX_EXP >= 16384]: Add tests for it.
3028 2013-08-12 David S. Miller <davem@davemloft.net>
3030 * version.h (RELEASE): Set to "development".
3031 (VERSION): Set to "2.18.90".
3032 * NEWS: Add 2.19 section.
3034 2013-08-03 David S. Miller <davem@davemloft.net>
3036 * po/ko.po: Update Korean translation from translation project.
3038 2013-08-01 David S. Miller <davem@davemloft.net>
3040 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3041 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3044 2013-07-30 David S. Miller <davem@davemloft.net>
3046 * po/fr.po: Update French translation from translation project.
3048 2013-07-28 David S. Miller <davem@davemloft.net>
3050 * po/cs.po: Update Czech translation from translation project.
3052 * po/sv.po: Update Swedish translation from translation project.
3054 2013-07-27 David S. Miller <davem@davemloft.net>
3056 * po/eo.po: Update Esperanto translation from translation project.
3058 * po/vi.po: Update Vietnamese translation from translation project.
3060 * po/de.po: Update German translation from translation project.
3062 2013-07-26 David S. Miller <davem@davemloft.net>
3064 * po/bg.po: Update Bulgarian translation from translation project.
3066 * po/nl.po: Update Dutch translation from translation project.
3067 * po/pl.po: Update Polish translation from translation project.
3068 * po/ru.po: Update Russian translation from translation project.
3070 2013-07-24 David S. Miller <davem@davemloft.net>
3072 * po/libc.pot: Update.
3074 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3076 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3078 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3079 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3082 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3084 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3086 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3087 Andreas Schwab <schwab@suse.de>
3088 Roland McGrath <roland@hack.frob.com>
3089 Joseph Myers <joseph@codesourcery.com>
3090 Carlos O'Donell <carlos@redhat.com>
3093 * config.h.in: Define HAVE_PT_CHOWN.
3094 * config.make.in (build-pt-chown): New variable.
3095 * configure.in (--enable-pt_chown): New configure option.
3096 * configure: Regenerate.
3097 * login/Makefile: Include Makeconfig. Build pt_chown only if
3098 build-pt-chown is enabled.
3099 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3100 pt_chown to fix pty ownership.
3101 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3103 * manual/install.texi (Configuring and compiling): Mention
3104 --enable-pt_chown. Add @findex for grantpt.
3105 * INSTALL: Regenerate.
3107 2013-07-20 David S. Miller <davem@davemloft.net>
3109 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3110 difference between 32-bit and 64-bit.
3112 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3115 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3116 Avoid system header dependency with -ffreestanding.
3117 ($(objpfx)bits/syscall%d): Likewise.
3119 2013-07-13 David S. Miller <davem@davemloft.net>
3121 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3122 underflows from atanl/atan2l due to bug 15319.
3123 (casinh_test_data): Likewise.
3125 2013-07-07 David S. Miller <davem@davemloft.net>
3127 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3129 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3131 * sysdeps/i386/fpu/libm-test-ulps: Update.
3132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3134 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3136 * configure.in (--enable-lock-elision): Fix message text.
3137 * INSTALL: Regenerate.
3138 * configure: Regenerate.
3140 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3144 2013-07-03 Andreas Jaeger <aj@suse.de>
3146 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3148 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3149 (ptrace_peeksiginfo_args): Add.
3150 (__ptrace_peeksiginfo_flags): Add.
3151 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3155 2013-07-03 Allan McRae <allan@archlinux.org>
3157 * sysdeps/i386/fpu/libm-test-ulps: Update.
3159 2013-07-02 David S. Miller <davem@davemloft.net>
3161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3163 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3167 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3172 2013-07-02 Andi Kleen <ak@linux.intel.com>
3174 * config.h.in (ENABLE_LOCK_ELISION): Add.
3175 * configure.in (--enable-lock-elision): Add option.
3176 * manual/install.texi: Document --enable lock elision.
3177 * configure: Regenerate
3178 * INSTALL: Regenerate.
3180 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3182 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3183 SSE4.2 strcasecmp for libc.a.
3184 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3186 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3189 * soft-fp/op-common.h (_FP_FMA): New macro.
3190 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3191 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3192 (_FP_MUL_MEAT_1_imm): ... here.
3193 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3194 (_FP_MUL_MEAT_1_wide): ... here.
3195 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3196 (_FP_MUL_MEAT_1_hard): ... here.
3197 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3198 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3199 (_FP_MUL_MEAT_2_wide): ... here.
3200 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3201 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3202 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3203 (_FP_MUL_MEAT_2_gmp): ... here.
3204 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3205 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3206 (_FP_MUL_MEAT_4_wide): ... here.
3207 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3208 (_FP_MUL_MEAT_4_gmp): ... here.
3209 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3210 (_FP_WFRACBITS_DW_S): Likewise.
3211 (_FP_WFRACXBITS_DW_S): Likewise.
3212 (_FP_HIGHBIT_DW_S): Likewise.
3213 (FP_FMA_S): Likewise.
3214 (_FP_FRAC_HIGH_DW_S): Likewise.
3215 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3216 (_FP_WFRACBITS_DW_D): Likewise.
3217 (_FP_WFRACXBITS_DW_D): Likewise.
3218 (_FP_HIGHBIT_DW_D): Likewise.
3219 (FP_FMA_D): Likewise.
3220 (_FP_FRAC_HIGH_DW_D): Likewise.
3221 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3222 (_FP_WFRACBITS_DW_E): Likewise.
3223 (_FP_WFRACXBITS_DW_E): Likewise.
3224 (_FP_HIGHBIT_DW_E): Likewise.
3225 (FP_FMA_E): Likewise.
3226 (_FP_FRAC_HIGH_DW_E): Likewise.
3227 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3228 (_FP_WFRACBITS_DW_Q): Likewise.
3229 (_FP_WFRACXBITS_DW_Q): Likewise.
3230 (_FP_HIGHBIT_DW_Q): Likewise.
3231 (FP_FMA_Q): Likewise.
3232 (_FP_FRAC_HIGH_DW_Q): Likewise.
3233 * soft-fp/fmasf4.c: New file.
3234 * soft-fp/fmadf4.c: Likewise.
3235 * soft-fp/fmatf4.c: Likewise.
3237 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3240 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3244 (index_Slow_SSE4_2): Likewise.
3245 (index_Prefer_PMINUB_for_stringop): Likewise.
3246 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3247 bit_Slow_SSE4_2 is set.
3248 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3249 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3251 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3253 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3254 rtld_global._dl_hwcap2.
3255 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3257 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3258 POWER8 feature descriptions defined in _dl_hwcap2.
3259 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3260 string handling for POWER8 feature bits.
3261 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3262 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3263 _dl_powerpc_cap_flags.
3264 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3265 * sysdeps/powerpc/rtld-global-offsets.sym
3266 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3267 _dl_hwcap2 in the rtld_global_ro structure.
3269 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3271 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3272 hardware capabilities in support of AT_HWCAP2.
3273 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3274 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3276 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3277 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3278 explicitly the unknown a_type display mechanism is used.
3279 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3280 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3282 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3283 to macro prototype for AT_HWCAP2 support.
3284 * sysdeps/i386/dl-procinfo.h: Likewise.
3285 * sysdeps/s390/dl-procinfo.h: Likewise.
3286 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3287 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3288 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3289 return -1 for unknown a_type display fallback.
3290 * sysdeps/sparc/dl-procinfo.h: Likewise.
3291 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3292 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3294 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3297 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3299 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3302 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3303 mprotect making __stack_prot writable.
3305 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3306 Joseph Myers <joseph@codesourcery.com>
3308 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3309 as being properly aligned.
3311 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3313 * dlfcn/modstatic5.c: New file.
3314 * dlfcn/tststatic5.c: New file.
3315 * dlfcn/Makefile (tests): Add tststatic5.
3316 (tests-static): Likewise.
3317 (modules-names): Add modstatic5.
3318 (tststatic5-ENV): New variable.
3319 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3322 * elf/dl-support.c (_dl_main_map): New variable.
3323 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3324 (_dl_nns, _dl_load_adds): Set to 1.
3325 (_dl_initial_searchlist): Refer to _dl_main_map.
3326 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3327 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3328 call to _dl_get_origin.
3329 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3331 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3332 * dlfcn/modstatic3.c: New file.
3333 * dlfcn/tststatic3.c: New file.
3334 * dlfcn/tststatic4.c: New file.
3335 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3336 (tests-static): Likewise.
3337 (modules-names): Add modstatic3.
3338 (tststatic3-ENV, tststatic4-ENV): New variables.
3339 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3340 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3342 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3344 * configure.in (CC): Require GCC version 4.4 or later.
3345 * configure: Regenerated.
3346 * manual/install.texi (Tools for Compilation): Update GCC version
3348 * INSTALL: Regenerated.
3350 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3353 * string/test-memcmp.c (check2): New.
3354 (main): Call check2.
3356 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3358 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3361 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3363 (dl_open_worker) [!SHARED]: ... here.
3365 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3367 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3369 2013-06-25 Richard Henderson <rth@redhat.com>
3371 * locale/programs/locarchive.c: Include <libc-internal.h>
3373 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3375 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3376 trailing whitespace removed.
3378 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3381 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3382 * locale/programs/locarchive.c: Include libc-mmap.h.
3383 (prepare_address_space): Take two new outputs (the mmap base and len).
3384 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3386 (create_archive): Declare new mmap base and len values for
3387 prepare_address_space, and store the result in ah.
3388 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3389 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3390 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3391 Declare new mmap base and len values for
3392 prepare_address_space, and store the result in new_ah.
3393 (open_archive): Declare new mmap base and len values for
3394 prepare_address_space, and store the result in ah.
3395 (close_archive): If ah->mmap_base is not NULL, use that and
3396 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3397 * sysdeps/generic/libc-mmap.h: New file.
3399 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3401 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3402 (ALIGN_UP): Likewise.
3403 (PTR_ALIGN_DOWN): Likewise.
3404 (PTR_ALIGN_UP): Likewise.
3406 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3408 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3409 entry mapped to PPC_PLATFORM_POWER8.
3410 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3412 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3413 (_dl_string_platform): Add case for exporting platform position for
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3416 search path to sysdeps/powerpc/powerpc32/power8 directory.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3418 search path to sysdeps/powerpc/powerpc64/power8 directory.
3419 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3421 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3424 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3426 * INSTALL: Regenerate.
3428 * nscd/connections.c (nscd_init): Fix comment.
3430 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3432 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3435 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3436 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3438 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3440 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3442 (DL_DST_REQ_STATIC): Remove macro.
3444 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3447 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3448 with a shift of 0 bits.
3450 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3452 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3455 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3458 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3460 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3463 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3464 accepts -fno-tree-loop-distribute-patterns.
3465 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3466 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3468 * string/memset.c (memset): Likewise.
3469 * string/test-memmove.c (simple_memmove): Disable loop transformation
3471 * string/test-memset.c (simple_memset): Likewise.
3472 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3473 * benchtests/bench-memset.c (simple_memset): Likewise.
3474 * configure: Regenerated.
3476 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3478 * math/test-misc.c (main): Ignore fesetround failure when failures
3479 of subsequent rounding tests would be ignored.
3482 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3483 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3484 * math/fegetenv.c (__fegetenv): Return 0.
3485 * math/fegetexcept.c (fegetexcept): Return 0.
3486 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3488 * math/feholdexcpt.c (feholdexcept): Return 0.
3489 * math/fesetenv.c (__fesetenv): Return 0.
3490 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3491 argument FE_TONEAREST.
3492 * math/feupdateenv.c (__feupdateenv): Return 0.
3493 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3495 2013-06-18 Roland McGrath <roland@hack.frob.com>
3497 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3498 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3499 ($(objpfx)rtld-%.os rules): Use them.
3501 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3503 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3506 2013-06-17 Roland McGrath <roland@hack.frob.com>
3508 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3509 length of target pattern, then descending length of dependency pattern.
3510 * configure.in (AWK): Require gawk 3.1.2 or newer.
3511 * manual/install.texi (Tools for Compilation): Say that we do.
3512 * configure: Regenerated.
3514 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3515 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3516 * scripts/sysd-rules.awk: ... this new script.
3517 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3518 than a glob-style pattern.
3520 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3522 * math/test-misc.c (main): Do not treat incorrectly rounded
3523 conversions as failure unless ROUNDING_TESTS passes.
3525 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3528 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3529 restore exception state around main square root computation, then
3530 check for inexactness explicitly.
3532 * math/libm-test.inc (fma_test_data): Add another test.
3534 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3536 * manual/threads.texi (Non-POSIX Extensions): New document
3537 node. Document pthread_getattr_default_np and
3538 pthread_setattr_default_np.
3540 * Versions.def (libpthread): Add GLIBC_2.18.
3541 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3550 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3561 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3564 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3566 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3567 H.J. Lu <hjl.tools@gmail.com>
3570 * sysdeps/x86_64/rtld-memset.c: Remove file.
3571 * sysdeps/x86_64/rtld-memset.S: New file.
3573 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3575 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3576 (test_in_one_mode): Take arguments for whether the rounding mode
3577 is supported for each floating-point type.
3578 (do_test): Pass new arguments to test_in_one_mode using
3581 2013-06-13 Roland McGrath <roland@hack.frob.com>
3583 * posix/tst-waitid.c (do_test): Distinguish different instances of
3584 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3585 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3586 before entering the kernel for waitpid.
3588 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3590 * NEWS: Fix note on clock function precision. Text by Roland
3593 2013-06-13 Roland McGrath <roland@hack.frob.com>
3595 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3596 it into place only when and if the sanity check passes.
3598 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3600 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3601 output for whether conversion result is exact. Take argument
3602 indicating whether type is IBM long double.
3603 (round_for_all): Change need_exact field to ibm_ld.
3604 * stdlib/tst-strtod-round.c (struct exactness): New type.
3605 (struct test): Change bool ld_ok field to struct exactness exact.
3606 (TEST): Update all definitions for change to field.
3607 (tests): Regenerate array contents.
3608 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3609 field value. Check for IBM long double here.
3610 (do_test): Update calls to test_in_one_mode.
3612 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3615 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3616 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3618 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3622 generated by the compiler on loop optimizations.
3623 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3624 general definitions.
3626 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3628 * math/bug-nextafter.c: Include <math-tests.h>.
3629 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3631 * math/bug-nexttoward.c: Include <math-tests.h>.
3632 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3634 * math/test-misc.c: Include <math-tests.h>.
3635 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3638 2013-06-12 Andreas Jaeger <aj@suse.de>
3640 * po/ia.po: Update Interlingua translation from translation
3643 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3645 * include/fenv.h: Include stdbool.h.
3646 (struct rm_ctx): New structure.
3647 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3649 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3650 (SET_RESTORE_ROUNDF): Likewise.
3651 (SET_RESTORE_ROUNDL): Likewise.
3652 (SET_RESTORE_ROUND_NOEX): Likewise.
3653 (SET_RESTORE_ROUND_NOEXF): Likewise.
3654 (SET_RESTORE_ROUND_NOEXL): Likewise.
3655 (SET_RESTORE_ROUND_53BIT): Likewise.
3656 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3657 (libc_feresetround_noexf_ctx): Likewise.
3658 (libc_feresetround_noexl_ctx): Likewise.
3659 (libc_feholdsetround_53bit_ctx): Likewise.
3660 (libc_feresetround_53bit_ctx): Likewise.
3661 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3662 (libc_feholdexcept_setround_sse_ctx): New function.
3663 (libc_fesetenv_sse_ctx): Likewise.
3664 (libc_feupdateenv_sse_ctx): Likewise.
3665 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3666 (libc_feholdexcept_setround_387_ctx): Likewise.
3667 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3668 (libc_feholdsetround_387_prec_ctx): Likewise.
3669 (libc_feholdsetround_387_ctx): Likewise.
3670 (libc_feholdsetround_387_53bit_ctx): Likewise.
3671 (libc_feholdsetround_sse_ctx): Likewise.
3672 (libc_feresetround_sse_ctx): Likewise.
3673 (libc_feresetround_387_ctx): Likewise.
3674 (libc_feupdateenv_387_ctx): Likewise.
3675 (libc_feholdexcept_setroundf_ctx): Define macro.
3676 (libc_fesetenvf_ctx): Likewise.
3677 (libc_feupdateenvf_ctx): Likewise.
3678 (libc_feholdsetroundf_ctx): Likewise.
3679 (libc_feresetroundf_ctx): Likewise.
3680 (libc_feholdexcept_setround_ctx): Likewise.
3681 (libc_fesetenv_ctx): Likewise.
3682 (libc_feupdateenv_ctx): Likewise.
3683 (libc_feholdsetround_ctx): Likewise.
3684 (libc_feresetround_ctx): Likewise.
3685 (libc_feholdexcept_setroundl_ctx): Likewise.
3686 (libc_feupdateenvl_ctx): Likewise.
3687 (libc_feholdsetroundl_ctx): Likewise.
3688 (libc_feresetroundl_ctx): Likewise.
3689 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3690 (libc_feresetround_53bit_ctx): Likewise.
3692 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3694 * locale/iso-639.def: Convert to UTF-8.
3696 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3698 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3699 (EXCEPTION_TESTS_double): Likewise.
3700 (EXCEPTION_TESTS_long_double): Likewise.
3701 (EXCEPTION_TESTS): Likewise.
3702 * math/libm-test.inc (test_exceptions): Only test exceptions if
3703 EXCEPTION_TESTS (FLOAT).
3705 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3707 * benchtests/Makefile (string-bench): Add strcpy_chk and
3709 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3710 * benchtests/bench-stpcpy_chk.c: New file.
3711 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3712 * benchtests/bench-strcpy_chk.c: New file.
3713 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3715 (do_test): Likewise.
3717 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3719 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3720 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3721 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3722 with tabs where appropriate.
3723 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3725 [PPC_PLATFORM_PPC440]: Likewise.
3726 [PPC_PLATFORM_PPC464]: Likewise.
3727 [PPC_PLATFORM_PPC476]: Likewise.
3728 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3729 ppc464, and ppc476 platform strings merging from ports/
3732 2013-06-11 Andreas Schwab <schwab@suse.de>
3735 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3736 (from_ucs4_idx): Regenerate.
3737 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3738 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3739 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3740 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3741 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3742 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3743 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3744 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3745 from FROM_LOOP and TO_LOOP specific macros.
3746 (BODY): Handle combining characters.
3747 * iconvdata/BIG5HKSCS.irreversible: Update.
3748 * iconvdata/BIG5HKSCS.precomposed: New file.
3749 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3751 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3753 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3755 * include/sys/time.h: Fix indentation and add copyright header.
3757 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3758 (do_test): Likewise.
3759 * string/test-memchr.c (do_one_test): Likewise.
3760 (do_test): Likewise.
3761 * string/test-memcmp.c (do_one_test): Likewise.
3762 (do_test): Likewise.
3763 * string/test-memcpy.c (do_one_test): Likewise.
3764 (do_test): Likewise.
3765 * string/test-memmem.c (do_one_test): Likewise.
3766 (do_test): Likewise.
3767 (do_random_tests): Likewise.
3768 * string/test-memmove.c (do_one_test): Likewise.
3769 (do_test): Likewise.
3770 * string/test-memset.c (do_one_test): Likewise.
3771 (do_test): Likewise.
3772 * string/test-rawmemchr.c (do_one_test): Likewise.
3773 (do_test): Likewise.
3774 * string/test-strcasecmp.c (do_one_test): Likewise.
3775 (do_test): Likewise.
3776 * string/test-strcasestr.c (do_one_test): Likewise.
3777 (do_test): Likewise.
3778 * string/test-strcat.c (do_one_test): Likewise.
3779 (do_test): Likewise.
3780 * string/test-strchr.c (do_one_test): Likewise.
3781 (do_test): Likewise.
3782 * string/test-strcmp.c (do_one_test): Likewise.
3783 (do_test): Likewise.
3784 * string/test-strcpy.c (do_one_test): Likewise.
3785 (do_test): Likewise.
3786 * string/test-string.h: Likewise.
3787 (test_init): Likewise.
3788 * string/test-strlen.c (do_one_test): Likewise.
3789 (do_test): Likewise.
3790 * string/test-strncasecmp.c (do_one_test): Likewise.
3791 (do_test): Likewise.
3792 * string/test-strncat.c (do_one_test): Likewise.
3793 (do_test): Likewise.
3794 * string/test-strncmp.c (do_one_test): Likewise.
3795 (do_test_limit): Likewise.
3796 (do_test): Likewise.
3797 * string/test-strncpy.c (do_one_test): Likewise.
3798 (do_test): Likewise.
3799 * string/test-strnlen.c (do_one_test): Likewise.
3800 (do_test): Likewise.
3801 * string/test-strpbrk.c (do_one_test): Likewise.
3802 (do_test): Likewise.
3803 * string/test-strrchr.c (do_one_test): Likewise.
3804 (do_test): Likewise.
3805 * string/test-strspn.c (do_one_test): Likewise.
3806 (do_test): Likewise.
3807 * string/test-strstr.c (do_one_test): Likewise.
3808 (do_test): Likewise.
3810 * benchtests/Makefile (string-bench): Add string benchmarks.
3811 * benchtests/bench-bcopy-ifunc.c: New file.
3812 * benchtests/bench-bcopy.c: New file.
3813 * benchtests/bench-bzero-ifunc.c: New file.
3814 * benchtests/bench-bzero.c: New file.
3815 * benchtests/bench-memccpy-ifunc.c: New file.
3816 * benchtests/bench-memccpy.c: New file.
3817 * benchtests/bench-memchr-ifunc.c: New file.
3818 * benchtests/bench-memchr.c: New file.
3819 * benchtests/bench-memcmp-ifunc.c: New file.
3820 * benchtests/bench-memcmp.c: New file.
3821 * benchtests/bench-memmem-ifunc.c: New file.
3822 * benchtests/bench-memmem.c: New file.
3823 * benchtests/bench-memmove-ifunc.c: New file.
3824 * benchtests/bench-memmove.c: New file.
3825 * benchtests/bench-mempcpy-ifunc.c: New file.
3826 * benchtests/bench-mempcpy.c: New file.
3827 * benchtests/bench-memset-ifunc.c: New file.
3828 * benchtests/bench-memset.c: New file.
3829 * benchtests/bench-rawmemchr-ifunc.c: New file.
3830 * benchtests/bench-rawmemchr.c: New file.
3831 * benchtests/bench-stpcpy-ifunc.c: New file.
3832 * benchtests/bench-stpcpy.c: New file.
3833 * benchtests/bench-stpncpy-ifunc.c: New file.
3834 * benchtests/bench-stpncpy.c: New file.
3835 * benchtests/bench-strcasecmp-ifunc.c: New file.
3836 * benchtests/bench-strcasecmp.c: New file.
3837 * benchtests/bench-strcasestr-ifunc.c: New file.
3838 * benchtests/bench-strcasestr.c: New file.
3839 * benchtests/bench-strcat-ifunc.c: New file.
3840 * benchtests/bench-strcat.c: New file.
3841 * benchtests/bench-strchr-ifunc.c: New file.
3842 * benchtests/bench-strchr.c: New file.
3843 * benchtests/bench-strchrnul-ifunc.c: New file.
3844 * benchtests/bench-strchrnul.c: New file.
3845 * benchtests/bench-strcmp-ifunc.c: New file.
3846 * benchtests/bench-strcmp.c: New file.
3847 * benchtests/bench-strcpy-ifunc.c: New file.
3848 * benchtests/bench-strcpy.c: New file.
3849 * benchtests/bench-strcspn-ifunc.c: New file.
3850 * benchtests/bench-strcspn.c: New file.
3851 * benchtests/bench-strlen-ifunc.c: New file.
3852 * benchtests/bench-strlen.c: New file.
3853 * benchtests/bench-strncasecmp-ifunc.c: New file.
3854 * benchtests/bench-strncasecmp.c: New file.
3855 * benchtests/bench-strncat-ifunc.c: New file.
3856 * benchtests/bench-strncat.c: New file.
3857 * benchtests/bench-strncmp-ifunc.c: New file.
3858 * benchtests/bench-strncmp.c: New file.
3859 * benchtests/bench-strncpy-ifunc.c: New file.
3860 * benchtests/bench-strncpy.c: New file.
3861 * benchtests/bench-strnlen-ifunc.c: New file.
3862 * benchtests/bench-strnlen.c: New file.
3863 * benchtests/bench-strpbrk-ifunc.c: New file.
3864 * benchtests/bench-strpbrk.c: New file.
3865 * benchtests/bench-strrchr-ifunc.c: New file.
3866 * benchtests/bench-strrchr.c: New file.
3867 * benchtests/bench-strspn-ifunc.c: New file.
3868 * benchtests/bench-strspn.c: New file.
3869 * benchtests/bench-strstr-ifunc.c: New file.
3870 * benchtests/bench-strstr.c: New file.
3872 * benchtests/Makefile: Disable parallel execution of targets.
3873 (string-bench): Add memcpy.
3874 (benchset): New variable to store a list of benchmark sets.
3875 (bench-func): Renamed from bench.
3876 (bench-set): New target.
3877 (bench): Depend on bench-func and bench-set.
3878 * benchtests/README: Add section on benchmark sets.
3879 * benchtests/bench-memcpy-ifunc.c: New file.
3880 * benchtests/bench-memcpy.c: New file.
3881 * benchtests/bench-string.h: New file.
3883 2013-06-11 Andreas Schwab <schwab@suse.de>
3886 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3887 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3888 values in the triple.
3889 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3890 terminator in the group key.
3892 2013-06-11 Andreas Jaeger <aj@suse.de>
3894 * po/zh_TW.po: Update Chinese (traditional) translation from
3895 translation project.
3897 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3899 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3900 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3901 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3902 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3903 (clock_getcpuclockid): Likewise.
3904 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3905 Add weak_alias and libc_hidden_def.
3906 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3907 * rt/clock_gettime.c (clock_gettime): Rename to
3908 __clock_gettime. Add weak_alias and libc_hidden_def.
3909 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3910 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3911 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3912 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3913 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3915 * rt/clock_settime.c (clock_settime): Rename to
3916 __clock_settime. Add weak_alias and libc_hidden_def.
3917 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3919 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3921 * mach/err_boot.sub: Remove trailing whitespace.
3922 * mach/err_ipc.sub: Likewise.
3923 * mach/err_mach.sub: Likewise.
3925 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3926 (ROUNDING_TESTS_double): Likewise.
3927 (ROUNDING_TESTS_long_double): Likewise.
3928 (ROUNDING_TESTS): Likewise.
3929 * math/libm-test.inc: Include <math-tests.h>.
3930 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3931 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3932 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3933 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3935 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3937 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3940 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3943 otherwise empty TRANS lines.
3944 * sysdeps/gnu/errlist.c: Regenerated.
3946 * catgets/gencat.c (error_print): Use (void) in function
3948 * crypt/crypt_util.c (__init_des): Likewise.
3949 * crypt/speeds.c (Stop): Likewise.
3951 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3952 * inet/ruserpass.c (token): Likewise.
3953 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3954 * intl/localealias.c (extend_alias_table): Likewise.
3955 * intl/plural-exp.c (init_germanic_plural): Likewise.
3956 * libio/fcloseall.c (__fcloseall): Likewise.
3957 * libio/genops.c (_IO_flush_all): Likewise.
3958 (_IO_flush_all_linebuffered): Likewise.
3959 (_IO_cleanup): Likewise.
3960 (_IO_iter_begin): Likewise.
3961 (_IO_iter_end): Likewise.
3962 (_IO_list_lock): Likewise.
3963 (_IO_list_unlock): Likewise.
3964 (_IO_list_resetlock): Likewise.
3965 * libio/getchar.c (getchar): Likewise.
3966 * libio/getchar_u.c (getchar_unlocked): Likewise.
3967 * libio/getwchar.c (getwchar): Likewise.
3968 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3969 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3970 * login/getpt.c (__getpt): Likewise.
3971 * login/tst-utmp.c (main): Likewise.
3972 * malloc/hooks.c (__malloc_check_init): Likewise.
3973 * malloc/malloc.c (__malloc_stats): Likewise.
3974 * malloc/mtrace.c (tr_break): Likewise.
3976 (muntrace): Likewise.
3977 * misc/fstab.c (endfsent): Likewise.
3978 * misc/getclktck.c (__getclktck): Likewise.
3979 * misc/getdtsz.c (__getdtablesize): Likewise.
3980 * misc/gethostid.c (gethostid): Likewise.
3981 * misc/getpagesize.c (__getpagesize): Likewise.
3982 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3983 (__get_nprocs): Likewise.
3984 (__get_phys_pages): Likewise.
3985 (__get_avphys_pages): Likewise.
3986 * misc/getttyent.c (getttyent): Likewise.
3987 (setttyent): Likewise.
3988 (endttyent): Likewise.
3989 * misc/getusershell.c (getusershell): Likewise.
3990 (endusershell): Likewise.
3991 (setusershell): Likewise.
3992 (initshells): Likewise.
3993 * misc/hsearch.c (__hdestroy): Likewise.
3994 * misc/sync.c (sync): Likewise.
3995 * misc/syslog.c (closelog_internal): Likewise.
3996 (closelog): Likewise.
3997 * misc/ttyslot.c (ttyslot): Likewise.
3998 * misc/vhangup.c (vhangup): Likewise.
3999 * posix/fork.c (__fork): Likewise.
4000 * posix/getegid.c (__getegid): Likewise.
4001 * posix/geteuid.c (__geteuid): Likewise.
4002 * posix/getgid.c (__getgid): Likewise.
4003 * posix/getpid.c (__getpid): Likewise.
4004 * posix/getppid.c (__getppid): Likewise.
4005 * posix/getuid.c (__getuid): Likewise.
4006 * posix/pause.c (pause): Likewise.
4007 * posix/setpgrp.c (setpgrp): Likewise.
4008 * posix/setsid.c (__setsid): Likewise.
4009 * posix/test-vfork.c (noop): Likewise.
4010 * resolv/gethnamaddr.c (_endhtent): Likewise.
4011 (_gethtent): Likewise.
4012 (ht_endhostent): Likewise.
4013 (gethostent): Likewise.
4014 (dns_service): Likewise.
4015 * stdlib/drand48.c (drand48): Likewise.
4016 * stdlib/lrand48.c (lrand48): Likewise.
4017 * stdlib/mrand48.c (mrand48): Likewise.
4018 * stdlib/rand.c (rand): Likewise.
4019 * stdlib/random.c (__random): Likewise.
4020 * stdlib/setenv.c (clearenv): Likewise.
4021 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4022 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4023 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4024 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4025 (__get_nprocs): Likewise.
4026 (__get_phys_pages): Likewise.
4027 (__get_avphys_pages): Likewise.
4028 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4029 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4030 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4031 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4032 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4033 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4034 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4035 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4036 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4037 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4038 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4039 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4040 * sysdeps/posix/clock.c (clock): Likewise.
4041 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4042 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4043 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4044 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4045 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4047 (__get_nprocs_conf): Likewise.
4048 (__get_phys_pages): Likewise.
4049 (__get_avphys_pages): Likewise.
4050 * time/clock.c (clock): Likewise.
4051 * time/tzset.c (__tzname_max): Likewise.
4053 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4055 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4056 (__bswap_32): Do not use "register".
4057 * crypt/crypt.c (_ufc_doit_r): Likewise.
4058 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4059 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4060 * gmon/gmon.c (__monstartup): Likewise.
4061 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4062 * hurd/hurdmalloc.c (more_memory): Likewise.
4065 (realloc): Likewise.
4066 (malloc_fork_prepare): Likewise.
4067 (malloc_fork_parent): Likewise.
4068 (malloc_fork_child): Likewise.
4069 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4070 (_svcauth_des): Likewise.
4071 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4072 * inet/inet_net.c (inet_network): Likewise.
4073 * inet/inet_netof.c (inet_netof): Likewise.
4074 * inet/rcmd.c (__validuser2_sa): Likewise.
4075 * io/fts.c (fts_open): Likewise.
4076 (fts_load): Likewise.
4077 (fts_close): Likewise.
4078 (fts_read): Likewise.
4079 (fts_children): Likewise.
4080 (fts_build): Likewise.
4081 (fts_stat): Likewise.
4082 (fts_sort): Likewise.
4083 (fts_alloc): Likewise.
4084 (fts_lfree): Likewise.
4085 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4086 (_IO_file_xsgetn): Likewise.
4087 (_IO_file_xsgetn_mmap): Likewise.
4088 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4089 (_IO_cookie_write): Likewise.
4090 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4091 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4092 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4093 * malloc/obstack.c (_obstack_begin): Likewise.
4094 (_obstack_begin_1): Likewise.
4095 (_obstack_newchunk): Likewise.
4096 (_obstack_allocated_p): Likewise.
4097 (obstack_free): Likewise.
4098 (_obstack_memory_used): Likewise.
4099 * misc/getttyent.c (getttynam): Likewise.
4100 (getttyent): Likewise.
4103 * misc/getusershell.c (initshells): Likewise.
4104 * misc/syslog.c (__vsyslog_chk): Likewise.
4105 * misc/ttyslot.c (ttyslot): Likewise.
4106 * nis/nis_hash.c (__nis_hash): Likewise.
4107 * posix/fnmatch_loop.c (FCT): Likewise.
4108 * posix/getconf.c (print_all): Likewise.
4110 * posix/getopt.c (exchange): Likewise.
4111 * posix/glob.c (globfree): Likewise.
4112 (prefix_array): Likewise.
4113 (__glob_pattern_type): Likewise.
4114 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4115 (NS_GET32): Likewise.
4116 (NS_PUT16): Likewise.
4117 (NS_PUT32): Likewise.
4118 * resolv/gethnamaddr.c (getanswer): Likewise.
4119 (gethostbyname2): Likewise.
4120 (gethostbyaddr): Likewise.
4121 (_gethtent): Likewise.
4122 (_gethtbyname2): Likewise.
4123 (_gethtbyaddr): Likewise.
4124 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4125 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4126 * resolv/res_init.c (__res_vinit): Likewise.
4127 (net_mask): Likewise.
4128 * resolv/res_mkquery.c (outchar): Likewise.
4130 * stdio-common/printf_fp.c (outchar): Likewise.
4132 * stdio-common/printf_fphex.c (outchar): Likewise.
4134 * stdio-common/printf_size.c (outchar): Likewise.
4136 * stdio-common/test_rdwr.c (main): Likewise.
4137 * stdio-common/tfformat.c (matches): Likewise.
4138 * stdio-common/vfprintf.c (outchar): Likewise.
4139 (printf_unknown): Likewise.
4140 (buffered_vfprintf): Likewise.
4141 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4142 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4143 (ReadFile): Likewise.
4144 * stdlib/qsort.c (SWAP): Likewise.
4145 (_quicksort): Likewise.
4146 * stdlib/setenv.c (__add_to_environ): Likewise.
4147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4148 * stdlib/strtol_l.c (__strtol_l): Likewise.
4149 * stdlib/tst-strtod.c (main): Likewise.
4150 * stdlib/tst-strtol.c (main): Likewise.
4151 * stdlib/tst-strtoll.c (main): Likewise.
4152 * string/bits/string2.h (__strcmp_cc): Likewise.
4153 (__strcmp_cg): Likewise.
4154 (__strcspn_c1): Likewise.
4155 (__strcspn_c2): Likewise.
4156 (__strcspn_c3): Likewise.
4157 (__strspn_c1): Likewise.
4158 (__strspn_c2): Likewise.
4159 (__strspn_c3): Likewise.
4160 (__strsep_1c): Likewise.
4161 (__strsep_2c): Likewise.
4162 (__strsep_3c): Likewise.
4163 * string/memccpy.c (__memccpy): Likewise.
4164 * string/stpcpy.c (__stpcpy): Likewise.
4165 * string/strcmp.c (strcmp): Likewise.
4166 * string/strrchr.c (strrchr): Likewise.
4167 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4169 * sysdeps/mach/hurd/getcwd.c
4170 (_hurd_canonicalize_directory_name_internal): Likewise.
4171 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4172 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4173 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4174 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4175 Likewise, in both definitions.
4176 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4178 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4179 64] (__bswap_64): Likewise.
4180 * time/test_time.c (main): Likewise.
4181 * time/tzfile.c (__tzfile_read): Likewise.
4182 (__tzfile_compute): Likewise.
4183 * time/tzset.c (__tzset_parse_tz): Likewise.
4184 (tzset_internal): Likewise.
4185 (compute_change): Likewise.
4186 * wcsmbs/wcscat.c (__wcscat): Likewise.
4187 * wcsmbs/wcschr.c (wcschr): Likewise.
4188 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4189 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4190 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4191 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4192 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4193 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4194 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4195 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4196 * wcsmbs/wmemset.c (wmemset): Likewise.
4198 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4200 * scripts/config.guess: Update to version 2013-05-16.
4201 * scripts/config.sub: Update to version 2013-04-24.
4202 * scripts/install-sh: Update to version 2011-11-20.07.
4203 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4204 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4206 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4208 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4209 * elf/sln.c: Likewise.
4210 * hurd/hurd/ioctl.h: Likewise.
4211 * hurd/hurdmalloc.c: Likewise.
4212 * hurd/xattr.c: Likewise.
4213 * include/shlib-compat.h: Likewise.
4214 * inet/ruserpass.c: Likewise.
4215 * libio/iofgets_u.c: Likewise.
4216 * libio/iofgetws_u.c: Likewise.
4217 * locale/programs/ld-identification.c: Likewise.
4218 * locale/programs/ld-time.c: Likewise.
4219 * mach/msg-destroy.c: Likewise.
4220 * nss/nss_files/files-netgrp.c: Likewise.
4221 * resolv/res_data.c: Likewise.
4222 * soft-fp/op-1.h: Likewise.
4223 * soft-fp/op-2.h: Likewise.
4224 * soft-fp/op-4.h: Likewise.
4225 * soft-fp/op-common.h: Likewise.
4226 * stdio-common/printf_fphex.c: Likewise.
4227 * stdlib/strtod_l.c: Likewise.
4228 * sunrpc/rpc/clnt.h: Likewise.
4229 * sysdeps/generic/framestate.c: Likewise.
4230 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4231 * sysdeps/i386/bsd-setjmp.S: Likewise.
4232 * sysdeps/i386/__longjmp.S: Likewise.
4233 * sysdeps/i386/setjmp.S: Likewise.
4234 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4235 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4252 * sysdeps/ieee754/support.c: Likewise.
4253 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4254 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4255 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4256 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4257 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4258 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4259 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4260 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4261 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4262 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4263 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4264 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4265 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4266 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4268 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4269 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4272 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4274 * posix/transbug.c: Remove executable mode.
4276 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4278 * crypt/speeds.c: Remove trailing whitespace.
4279 * dlfcn/default.c: Likewise.
4280 * elf/ifuncdep2.c: Likewise.
4281 * elf/ifuncmain1.c: Likewise.
4282 * elf/ifuncmain1vis.c: Likewise.
4283 * elf/testobj.h: Likewise.
4284 * elf/tst-stackguard1.c: Likewise.
4285 * gmon/sys/gmon.h: Likewise.
4286 * hurd/hurdmsg.c: Likewise.
4287 * hurd/new-fd.c: Likewise.
4288 * hurd/ports-get.c: Likewise.
4289 * iconvdata/ibm1008_420.c: Likewise.
4290 * inet/tst-getni1.c: Likewise.
4291 * inet/tst-getni2.c: Likewise.
4292 * libio/ioungetc.c: Likewise.
4293 * libio/wfiledoalloc.c: Likewise.
4294 * manual/libm-err-tab.pl: Likewise.
4295 * math/w_dremf.c: Likewise.
4296 * misc/ftruncate.c: Likewise.
4297 * posix/bug-glob2.c: Likewise.
4298 * posix/tst-pcre.c: Likewise.
4299 * posix/wait4.c: Likewise.
4300 * resolv/README: Likewise.
4301 * resolv/res_debug.h: Likewise.
4302 * resolv/tst-inet_ntop.c: Likewise.
4303 * setjmp/bug269-setjmp.c: Likewise.
4304 * soft-fp/extended.h: Likewise.
4305 * soft-fp/op-1.h: Likewise.
4306 * soft-fp/op-2.h: Likewise.
4307 * soft-fp/op-4.h: Likewise.
4308 * soft-fp/op-8.h: Likewise.
4309 * soft-fp/testit.c: Likewise.
4310 * stdio-common/bug16.c: Likewise.
4311 * stdlib/random.c: Likewise.
4312 * sunrpc/rpcsvc/rquota.x: Likewise.
4313 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4314 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4316 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4317 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4319 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4320 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4321 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4342 * sysdeps/ieee754/s_lib_version.c: Likewise.
4343 * sysdeps/mach/hurd/check_fds.c: Likewise.
4344 * sysdeps/mach/hurd/getsockname.c: Likewise.
4345 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4346 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4347 * sysdeps/powerpc/bits/link.h: Likewise.
4348 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4349 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4350 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4351 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4352 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4353 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4354 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4355 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4356 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4357 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4358 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4359 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4360 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4361 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4362 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4363 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4364 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4365 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4368 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4369 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4371 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4372 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4373 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4374 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4375 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4376 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4377 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4378 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4380 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4381 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4382 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4383 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4384 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4385 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4386 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4387 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4391 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4393 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4394 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4395 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4396 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4397 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4398 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4400 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4401 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4404 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4405 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4407 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4408 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4412 * sysdeps/powerpc/sysdep.h: Likewise.
4413 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4414 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4415 * sysdeps/sh/dl-trampoline.S: Likewise.
4416 * sysdeps/sh/memset.S: Likewise.
4417 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4418 * sysdeps/sh/strlen.S: Likewise.
4419 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4420 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4421 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4422 * sysdeps/sparc/sparc32/rem.S: Likewise.
4423 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4424 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4425 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4426 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4427 * sysdeps/sparc/sparc32/urem.S: Likewise.
4428 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4429 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4430 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4431 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4433 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4434 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4435 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4436 * sysdeps/unix/bsd/times.c: Likewise.
4437 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4438 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4442 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4444 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4445 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4446 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4448 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4449 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4452 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4453 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4454 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4455 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4456 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4457 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4458 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4459 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4460 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4461 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4462 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4463 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4464 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4465 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4466 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4467 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4468 * sysdeps/x86_64/strcspn.S: Likewise.
4470 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4472 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4473 generated file. Regenerate properly from gen-translit.pl.
4474 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4475 locale/C-translit.h.
4477 2013-06-05 Andreas Schwab <schwab@suse.de>
4480 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4481 week as 6 instead of -1.
4482 * time/tst-strptime.c (day_tests): Add test case.
4484 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4486 * sysdeps/generic/math_private.h
4487 (libc_feholdexcept_setround_53bit): Replace with
4488 libc_feholdsetround_53bit.
4489 (libc_feupdateenv_53bit): Replace with
4490 libc_feresetround_53bit.
4491 (SET_RESTORE_ROUND_53BIT): Adjust.
4493 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4495 * string/test-strchrnul.c: Add copyright header.
4497 * posix/tst-getaddrinfo4.c: Increase test timeout.
4499 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4502 * math/libm-test.inc (MAX_EXP): Remove
4504 (ulp): Use MIN_EXP - MANT_DIG.
4505 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4507 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4509 * po/be.po: Revert last change.
4510 * po/zh_CN.po: Likewise.
4511 * po/header.pot: Likewise.
4513 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4515 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4516 link-libc-deps to empty as target-specific variable.
4517 * Makerules (link-libc-args): New variable.
4518 (libc-for-link): Likewise.
4519 (link-libc-deps): Likewise.
4520 (lib%.so): Depend on $(link-libc-deps). Link with
4522 (build-module): Link with $(link-libc-args).
4523 (build-module-asneeded): Likewise.
4524 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4526 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4527 target-specific variable.
4528 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4529 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4530 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4532 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4534 ($(objpfx)libpcprofile.so): Likewise.
4535 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4537 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4538 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4539 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4541 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4542 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4543 * login/Makefile ($(objpfx)libutil.so): Likewise.
4544 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4545 * math/Makefile ($(objpfx)libm.so): Likewise.
4546 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4547 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4548 variable instead of depending directly on libc.
4549 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4550 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4552 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4554 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4555 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4556 ($(objpfx)libanl.so): Likewise.
4557 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4559 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4561 * sysdeps/i386/fpu/Makefile: Remove file.
4562 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4563 ($(objpfx)libm.so): Remove dependency on ld.so.
4565 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4568 * nis/yp_xdr.c (XDRMAXNAME): Define.
4569 (XDRMAXRECORD): Define.
4570 (xdr_domainname): Use XDRMAXNAME.
4571 (xdr_mapname): Likewise.
4572 (xdr_peername): Likewise.
4573 (xdr_keydat): Use XDRMAXRECORD.
4574 (xdr_valdat): Likewise.
4576 2013-05-30 Jeff Law <law@redhat.com>
4579 * manual/errno.texi (ESTALE): Update to account for more than
4580 just NFS file systems.
4581 * sysdeps/gnu/errlist.c: Regenerated.
4583 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4586 * elf/Makefile (tests): Add tst-null-argv.
4587 (modules-names): Add tst-null-argv-lib.
4588 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4589 (tst-null-argv-ENV): Set environment for tst-null-argv.
4590 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4591 (RTLD_PROGNAME): New macro.
4592 * elf/tst-null-argv.c: New test case.
4593 * elf/tst-null-argv-lib.c: Library for test case.
4594 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4595 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4596 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4597 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4598 * elf/dl-init.c (call_init): Likewise.
4599 (_dl_init): Likewise.
4600 * elf/dl-load.c (print_search_path): Likewise.
4601 (_dl_map_object): Likewise.
4602 * elf/dl-lookup.c (do_lookup_x): Likewise.
4603 (add_dependency): Likewise.
4604 (_dl_lookup_symbol_x): Likewise.
4605 (_dl_debug_bindings): Likewise.
4606 * elf/dl-open.c (_dl_show_scope): Likewise.
4607 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4608 * elf/dl-version.c (match_symbol): Likewise.
4609 (_dl_check_map_versions): Likewise.
4610 * elf/rtld.c (dl_main): Likewise.
4611 (print_unresolved): Use RTLD_PROGNAME.
4612 (print_missing_version): Likewise.
4613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4614 (elf_machine_rela): Likewise.
4615 * sysdeps/powerpc/powerpc32/dl-machine.c
4616 (__process_machine_rela): Likewise.
4617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4623 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4630 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4632 * po/be.po: Add descriptive title.
4633 * po/zh_CN.po: Likewise.
4634 * po/header.pot: Likewise.
4636 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4638 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4640 (enlarge_archive): Likewise.
4642 2013-05-28 Ben North <ben@redfrontdoor.org>
4644 * manual/arith.texi (frexp): It is the magnitude of the return
4645 value which lies in [0.5, 1), not the return value itself.
4647 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4651 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4653 * stdio-common/bug26.c (main): Correct fscanf template.
4655 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4656 declare _dl_skip_args.
4658 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4661 * manual/platform.texi: Add missing @end deftypefun.
4663 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4666 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4667 bit of mantissa of 2^16382.
4668 * math/libm-test.inc (hypot_test_data): Add more tests.
4670 * math/libm-test.inc: Add drem and pow10 to list of tested
4672 (pow10_test): New function.
4673 (drem_test): Likewise.
4674 (drem_test_tonearest): Likewise.
4675 (drem_test_towardzero): Likewise.
4676 (drem_test_downward): Likewise.
4677 (drem_test_upward): Likewise.
4678 (main): Call the new functions.
4680 * math/libm-test.inc (finite_test_data): Remove.
4681 (finite_test): Run tests from isfinite_test_data.
4682 (gamma_test_data): Remove.
4683 (gamma_test): Run tests from lgamma_test_data.
4684 * sysdeps/i386/fpu/libm-test-ulps: Update.
4685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4687 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4689 * manual/platform.texi: Add PowerPC PPR function set documentation.
4690 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4693 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4695 * math/libm-test.inc (MAX_EXP): Define.
4697 (ulp): New function.
4698 (check_float_internal): Use ULPDIFF.
4699 (cpow_test): Disable failing test.
4700 (check_ulp): Test ulp() implemetnation.
4701 (main): Call check_ulp before starting tests.
4703 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4705 * math/gen-libm-test.pl (generate_testfile): Do not handle
4706 START_DATA and END_DATA.
4707 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4709 (acos_tonearest_test_data): Likewise.
4710 (acos_towardzero_test_data): Likewise.
4711 (acos_downward_test_data): Likewise.
4712 (acos_upward_test_data): Likewise.
4713 (acosh_test_data): Likewise.
4714 (asin_test_data): Likewise.
4715 (asin_tonearest_test_data): Likewise.
4716 (asin_towardzero_test_data): Likewise.
4717 (asin_downward_test_data): Likewise.
4718 (asin_upward_test_data): Likewise.
4719 (asinh_test_data): Likewise.
4720 (atan_test_data): Likewise.
4721 (atanh_test_data): Likewise.
4722 (atan2_test_data): Likewise.
4723 (cabs_test_data): Likewise.
4724 (cacos_test_data): Likewise.
4725 (cacosh_test_data): Likewise.
4726 (carg_test_data): Likewise.
4727 (casin_test_data): Likewise.
4728 (casinh_test_data): Likewise.
4729 (catan_test_data): Likewise.
4730 (catanh_test_data): Likewise.
4731 (cbrt_test_data): Likewise.
4732 (ccos_test_data): Likewise.
4733 (ccosh_test_data): Likewise.
4734 (ceil_test_data): Likewise.
4735 (cexp_test_data): Likewise.
4736 (cimag_test_data): Likewise.
4737 (clog_test_data): Likewise.
4738 (clog10_test_data): Likewise.
4739 (conj_test_data): Likewise.
4740 (copysign_test_data): Likewise.
4741 (cos_test_data): Likewise.
4742 (cos_tonearest_test_data): Likewise.
4743 (cos_towardzero_test_data): Likewise.
4744 (cos_downward_test_data): Likewise.
4745 (cos_upward_test_data): Likewise.
4746 (cosh_test_data): Likewise.
4747 (cosh_tonearest_test_data): Likewise.
4748 (cosh_towardzero_test_data): Likewise.
4749 (cosh_downward_test_data): Likewise.
4750 (cosh_upward_test_data): Likewise.
4751 (cpow_test_data): Likewise.
4752 (cproj_test_data): Likewise.
4753 (creal_test_data): Likewise.
4754 (csin_test_data): Likewise.
4755 (csinh_test_data): Likewise.
4756 (csqrt_test_data): Likewise.
4757 (ctan_test_data): Likewise.
4758 (ctan_tonearest_test_data): Likewise.
4759 (ctan_towardzero_test_data): Likewise.
4760 (ctan_downward_test_data): Likewise.
4761 (ctan_upward_test_data): Likewise.
4762 (ctanh_test_data): Likewise.
4763 (ctanh_tonearest_test_data): Likewise.
4764 (ctanh_towardzero_test_data): Likewise.
4765 (ctanh_downward_test_data): Likewise.
4766 (ctanh_upward_test_data): Likewise.
4767 (erf_test_data): Likewise.
4768 (erfc_test_data): Likewise.
4769 (exp_test_data): Likewise.
4770 (exp_tonearest_test_data): Likewise.
4771 (exp_towardzero_test_data): Likewise.
4772 (exp_downward_test_data): Likewise.
4773 (exp_upward_test_data): Likewise.
4774 (exp10_test_data): Likewise.
4775 (exp2_test_data): Likewise.
4776 (expm1_test_data): Likewise.
4777 (fabs_test_data): Likewise.
4778 (fdim_test_data): Likewise.
4779 (finite_test_data): Likewise.
4780 (floor_test_data): Likewise.
4781 (fma_test_data): Likewise.
4782 (fma_towardzero_test_data): Likewise.
4783 (fma_downward_test_data): Likewise.
4784 (fma_upward_test_data): Likewise.
4785 (fmax_test_data): Likewise.
4786 (fmin_test_data): Likewise.
4787 (fmod_test_data): Likewise.
4788 (fpclassify_test_data): Likewise.
4789 (frexp_test_data): Likewise.
4790 (gamma_test_data): Likewise.
4791 (hypot_test_data): Likewise.
4792 (ilogb_test_data): Likewise.
4793 (isfinite_test_data): Likewise.
4794 (isgreater_test_data): Likewise.
4795 (isgreaterequal_test_data): Likewise.
4796 (isinf_test_data): Likewise.
4797 (isless_test_data): Likewise.
4798 (islessequal_test_data): Likewise.
4799 (islessgreater_test_data): Likewise.
4800 (isnan_test_data): Likewise.
4801 (isnormal_test_data): Likewise.
4802 (issignaling_test_data): Likewise.
4803 (isunordered_test_data): Likewise.
4804 (j0_test_data): Likewise.
4805 (j1_test_data): Likewise.
4806 (jn_test_data): Likewise.
4807 (ldexp_test_data): Likewise.
4808 (lgamma_test_data): Likewise.
4809 (lrint_test_data): Likewise.
4810 (lrint_tonearest_test_data): Likewise.
4811 (lrint_towardzero_test_data): Likewise.
4812 (lrint_downward_test_data): Likewise.
4813 (lrint_upward_test_data): Likewise.
4814 (llrint_test_data): Likewise.
4815 (llrint_tonearest_test_data): Likewise.
4816 (llrint_towardzero_test_data): Likewise.
4817 (llrint_downward_test_data): Likewise.
4818 (llrint_upward_test_data): Likewise.
4819 (log_test_data): Likewise.
4820 (log10_test_data): Likewise.
4821 (log1p_test_data): Likewise.
4822 (log2_test_data): Likewise.
4823 (logb_test_data): Likewise.
4824 (logb_downward_test_data): Likewise.
4825 (lround_test_data): Likewise.
4826 (llround_test_data): Likewise.
4827 (modf_test_data): Likewise.
4828 (nearbyint_test_data): Likewise.
4829 (nextafter_test_data): Likewise.
4830 (nexttoward_test_data): Likewise.
4831 (pow_test_data): Likewise.
4832 (pow_tonearest_test_data): Likewise.
4833 (pow_towardzero_test_data): Likewise.
4834 (pow_downward_test_data): Likewise.
4835 (pow_upward_test_data): Likewise.
4836 (remainder_test_data): Likewise.
4837 (remainder_tonearest_test_data): Likewise.
4838 (remainder_towardzero_test_data): Likewise.
4839 (remainder_downward_test_data): Likewise.
4840 (remainder_upward_test_data): Likewise.
4841 (remquo_test_data): Likewise.
4842 (rint_test_data): Likewise.
4843 (rint_tonearest_test_data): Likewise.
4844 (rint_towardzero_test_data): Likewise.
4845 (rint_downward_test_data): Likewise.
4846 (rint_upward_test_data): Likewise.
4847 (round_test_data): Likewise.
4848 (scalb_test_data): Likewise.
4849 (scalbn_test_data): Likewise.
4850 (scalbln_test_data): Likewise.
4851 (signbit_test_data): Likewise.
4852 (sin_test_data): Likewise.
4853 (sin_tonearest_test_data): Likewise.
4854 (sin_towardzero_test_data): Likewise.
4855 (sin_downward_test_data): Likewise.
4856 (sin_upward_test_data): Likewise.
4857 (sincos_test_data): Likewise.
4858 (sinh_test_data): Likewise.
4859 (sinh_tonearest_test_data): Likewise.
4860 (sinh_towardzero_test_data): Likewise.
4861 (sinh_downward_test_data): Likewise.
4862 (sinh_upward_test_data): Likewise.
4863 (sqrt_test_data): Likewise.
4864 (tan_test_data): Likewise.
4865 (tan_tonearest_test_data): Likewise.
4866 (tan_towardzero_test_data): Likewise.
4867 (tan_downward_test_data): Likewise.
4868 (tan_upward_test_data): Likewise.
4869 (tanh_test_data): Likewise.
4870 (tgamma_test_data): Likewise.
4871 (trunc_test_data): Likewise.
4872 (y0_test_data): Likewise.
4873 (y1_test_data): Likewise.
4874 (yn_test_data): Likewise.
4875 (significand_test_data): Likewise.
4877 * math/gen-libm-test.pl (@functions): Remove variable.
4878 (generate_testfile): Don't handle START and END lines.
4879 * math/libm-test.inc (START): New macro.
4881 (END_COMPLEX): Likewise.
4882 (acos_test): Use END macro without arguments.
4883 (acos_test_tonearest): Likewise.
4884 (acos_test_towardzero): Likewise.
4885 (acos_test_downward): Likewise.
4886 (acos_test_upward): Likewise.
4887 (acosh_test): Likewise.
4888 (asin_test): Likewise.
4889 (asin_test_tonearest): Likewise.
4890 (asin_test_towardzero): Likewise.
4891 (asin_test_downward): Likewise.
4892 (asin_test_upward): Likewise.
4893 (asinh_test): Likewise.
4894 (atan_test): Likewise.
4895 (atanh_test): Likewise.
4896 (atan2_test): Likewise.
4897 (cabs_test): Likewise.
4898 (cacos_test): Use END_COMPLEX macro without arguments.
4899 (cacosh_test): Likewise.
4900 (carg_test): Use END macro without arguments.
4901 (casin_test): Use END_COMPLEX macro without arguments.
4902 (casinh_test): Likewise.
4903 (catan_test): Likewise.
4904 (catanh_test): Likewise.
4905 (cbrt_test): Use END macro without arguments.
4906 (ccos_test): Use END_COMPLEX macro without arguments.
4907 (ccosh_test): Likewise.
4908 (ceil_test): Use END macro without arguments.
4909 (cexp_test): Use END_COMPLEX macro without arguments.
4910 (cimag_test): Use END macro without arguments.
4911 (clog_test): Use END_COMPLEX macro without arguments.
4912 (clog10_test): Likewise.
4913 (conj_test): Likewise.
4914 (copysign_test): Use END macro without arguments.
4915 (cos_test): Likewise.
4916 (cos_test_tonearest): Likewise.
4917 (cos_test_towardzero): Likewise.
4918 (cos_test_downward): Likewise.
4919 (cos_test_upward): Likewise.
4920 (cosh_test): Likewise.
4921 (cosh_test_tonearest): Likewise.
4922 (cosh_test_towardzero): Likewise.
4923 (cosh_test_downward): Likewise.
4924 (cosh_test_upward): Likewise.
4925 (cpow_test): Use END_COMPLEX macro without arguments.
4926 (cproj_test): Likewise.
4927 (creal_test): Use END macro without arguments.
4928 (csin_test): Use END_COMPLEX macro without arguments.
4929 (csinh_test): Likewise.
4930 (csqrt_test): Likewise.
4931 (ctan_test): Likewise.
4932 (ctan_test_tonearest): Likewise.
4933 (ctan_test_towardzero): Likewise.
4934 (ctan_test_downward): Likewise.
4935 (ctan_test_upward): Likewise.
4936 (ctanh_test): Likewise.
4937 (ctanh_test_tonearest): Likewise.
4938 (ctanh_test_towardzero): Likewise.
4939 (ctanh_test_downward): Likewise.
4940 (ctanh_test_upward): Likewise.
4941 (erf_test): Use END macro without arguments.
4942 (erfc_test): Likewise.
4943 (exp_test): Likewise.
4944 (exp_test_tonearest): Likewise.
4945 (exp_test_towardzero): Likewise.
4946 (exp_test_downward): Likewise.
4947 (exp_test_upward): Likewise.
4948 (exp10_test): Likewise.
4949 (exp2_test): Likewise.
4950 (expm1_test): Likewise.
4951 (fabs_test): Likewise.
4952 (fdim_test): Likewise.
4953 (finite_test): Likewise.
4954 (floor_test): Likewise.
4955 (fma_test): Likewise.
4956 (fma_test_towardzero): Likewise.
4957 (fma_test_downward): Likewise.
4958 (fma_test_upward): Likewise.
4959 (fmax_test): Likewise.
4960 (fmin_test): Likewise.
4961 (fmod_test): Likewise.
4962 (fpclassify_test): Likewise.
4963 (frexp_test): Likewise.
4964 (gamma_test): Likewise.
4965 (hypot_test): Likewise.
4966 (ilogb_test): Likewise.
4967 (isfinite_test): Likewise.
4968 (isgreater_test): Likewise.
4969 (isgreaterequal_test): Likewise.
4970 (isinf_test): Likewise.
4971 (isless_test): Likewise.
4972 (islessequal_test): Likewise.
4973 (islessgreater_test): Likewise.
4974 (isnan_test): Likewise.
4975 (isnormal_test): Likewise.
4976 (issignaling_test): Likewise.
4977 (isunordered_test): Likewise.
4978 (j0_test): Likewise.
4979 (j1_test): Likewise.
4980 (jn_test): Likewise.
4981 (ldexp_test): Likewise.
4982 (lgamma_test): Likewise.
4983 (lrint_test): Likewise.
4984 (lrint_test_tonearest): Likewise.
4985 (lrint_test_towardzero): Likewise.
4986 (lrint_test_downward): Likewise.
4987 (lrint_test_upward): Likewise.
4988 (llrint_test): Likewise.
4989 (llrint_test_tonearest): Likewise.
4990 (llrint_test_towardzero): Likewise.
4991 (llrint_test_downward): Likewise.
4992 (llrint_test_upward): Likewise.
4993 (log_test): Likewise.
4994 (log10_test): Likewise.
4995 (log1p_test): Likewise.
4996 (log2_test): Likewise.
4997 (logb_test): Likewise.
4998 (logb_test_downward): Likewise.
4999 (lround_test): Likewise.
5000 (llround_test): Likewise.
5001 (modf_test): Likewise.
5002 (nearbyint_test): Likewise.
5003 (nextafter_test): Likewise.
5004 (nexttoward_test): Likewise.
5005 (pow_test): Likewise.
5006 (pow_test_tonearest): Likewise.
5007 (pow_test_towardzero): Likewise.
5008 (pow_test_downward): Likewise.
5009 (pow_test_upward): Likewise.
5010 (remainder_test): Likewise.
5011 (remainder_test_tonearest): Likewise.
5012 (remainder_test_towardzero): Likewise.
5013 (remainder_test_downward): Likewise.
5014 (remainder_test_upward): Likewise.
5015 (remquo_test): Likewise.
5016 (rint_test): Likewise.
5017 (rint_test_tonearest): Likewise.
5018 (rint_test_towardzero): Likewise.
5019 (rint_test_downward): Likewise.
5020 (rint_test_upward): Likewise.
5021 (round_test): Likewise.
5022 (scalb_test): Likewise.
5023 (scalbn_test): Likewise.
5024 (scalbln_test): Likewise.
5025 (signbit_test): Likewise.
5026 (sin_test): Likewise.
5027 (sin_test_tonearest): Likewise.
5028 (sin_test_towardzero): Likewise.
5029 (sin_test_downward): Likewise.
5030 (sin_test_upward): Likewise.
5031 (sincos_test): Likewise.
5032 (sinh_test): Likewise.
5033 (sinh_test_tonearest): Likewise.
5034 (sinh_test_towardzero): Likewise.
5035 (sinh_test_downward): Likewise.
5036 (sinh_test_upward): Likewise.
5037 (sqrt_test): Likewise.
5038 (tan_test): Likewise.
5039 (tan_test_tonearest): Likewise.
5040 (tan_test_towardzero): Likewise.
5041 (tan_test_downward): Likewise.
5042 (tan_test_upward): Likewise.
5043 (tanh_test): Likewise.
5044 (tgamma_test): Likewise.
5045 (trunc_test): Likewise.
5046 (y0_test): Likewise.
5047 (y1_test): Likewise.
5048 (yn_test): Likewise.
5049 (significand_test): Likewise.
5051 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5054 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5056 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5059 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5060 __ppc_mdoio and __ppc_mdoom.
5061 * manual/platform.texi: Document new functions __ppc_yield,
5062 __ppc_mdoio and __ppc_mdoom.
5064 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5066 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5067 (main): Mention "tls" pseudo-hwcap is legacy.
5068 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5070 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5072 * math/gen-libm-test.pl (parse_args): Output only string of
5073 arguments as text for test name, not full call or descriptions of
5074 tests for extra outputs.
5075 (generate_testfile): Do not pass function name to parse_args.
5076 Generate this_func variable from START.
5077 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5079 (struct test_ff_f_data): Likewise.
5080 (test_ff_f_data_nexttoward): Likewise.
5081 (struct test_fi_f_data): Likewise.
5082 (struct test_fl_f_data): Likewise.
5083 (struct test_if_f_data): Likewise.
5084 (struct test_fff_f_data): Likewise.
5085 (struct test_c_f_data): Likewise.
5086 (struct test_f_f1_data): Likewise. Remove field extra_name.
5087 (struct test_fF_f1_data): Likewise.
5088 (struct test_ffI_f1_data): Likewise.
5089 (struct test_c_c_data): Rename test_name field to arg_str.
5090 (struct test_cc_c_data): Likewise.
5091 (struct test_f_i_data): Likewise.
5092 (struct test_ff_i_data): Likewise.
5093 (struct test_f_l_data): Likewise.
5094 (struct test_f_L_data): Likewise.
5095 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5097 (COMMON_TEST_SETUP): New macro.
5098 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5099 (COMMON_TEST_CLEANUP): Likewise.
5100 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5101 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5103 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5104 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5106 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5107 (RUN_TEST_fff_f): Take argument string. Call new setup and
5109 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5110 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5112 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5113 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5115 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5116 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5118 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5119 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5121 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5122 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5124 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5125 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5127 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5128 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5130 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5131 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5133 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5134 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5136 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5137 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5139 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5140 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5142 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5143 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5145 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5146 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5148 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5149 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5151 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5152 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5154 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5156 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5158 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5159 to _sifields.sigfault.
5160 (si_addr_lsb): Define new macro.
5161 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5162 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5163 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5165 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5168 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5170 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5172 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5175 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5177 * math/gen-libm-test.pl (parse_args): Do not include expected
5178 result in test name.
5179 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5183 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5186 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * benchtests/Makefile: Sort function entries.
5190 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5191 tanh, asinh, acosh, atanh.
5192 * benchtests/acos-inputs: New file.
5193 * benchtests/acosh-inputs: New file.
5194 * benchtests/asin-inputs: New file.
5195 * benchtests/asinh-inputs: New file.
5196 * benchtests/atanh-inputs: New file.
5197 * benchtests/cosh-inputs: New file.
5198 * benchtests/log-inputs: New file.
5199 * benchtests/sinh-inputs: New file.
5200 * benchtests/tanh-inputs: New file.
5202 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5205 * posix/tst-getaddrinfo4.c: New test.
5206 * posix/Makefile (tests): Add it.
5208 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5211 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5212 when no services were used.
5213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5214 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5216 2013-05-21 Andreas Schwab <schwab@suse.de>
5219 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5220 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5222 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5223 redundant variable declarations and reallocation of buffer when
5224 parsing as IPv6 address. Always set NSS status when called from
5225 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5226 buffer too small. Correct computation of needed size.
5227 * nss/Makefile (tests): Add test-digits-dots.
5228 * nss/test-digits-dots.c: New test.
5230 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5232 * benchtests/Makefile: Remove instructions for adding
5234 * benchtests/README: New file to explain how to execute and
5235 enhance the benchmark tests.
5237 2013-05-21 Andreas Schwab <schwab@suse.de>
5240 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5241 * setjmp/tst-sigsetjmp.c: New test.
5243 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5245 * sysdeps/x86_64/memset.S (memset): New implementation.
5246 (__bzero): Likewise.
5247 (__memset_tail): New function.
5249 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5251 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5252 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5253 __memcpy_sse2_unaligned ifunc selection.
5254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5255 Add memcpy-sse2-unaligned.S.
5256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5257 Add: __memcpy_sse2_unaligned.
5259 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5262 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5263 math_force_eval before restoring floating-point envrionment.
5264 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5265 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5269 (__nearbyintl): Use math_force_eval before restoring
5270 floating-point environment.
5271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5273 * math/gen-libm-test.pl (special_functions): Remove.
5274 (parse_args): Don't handle TEST_extra. Handle functions with no
5276 * math/libm-test.inc (struct test_sincos_data): Replace with
5277 struct test_fFF_11_data.
5278 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5279 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5280 (sincos_test_data): Change element type to struct
5281 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5282 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5283 RUN_TEST_LOOP_sincos.
5284 * math/README.libm-test: Don't mention special handling of
5285 individual functions.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5293 * math/gen-libm-test.pl (get_variable): Remove function.
5294 (parse_args): Don't show pointer parameters to call in test
5295 names. Use "extra output N" in test names for extra outputs
5296 rather than naming variables.
5298 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5301 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5302 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5303 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5305 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5307 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5310 * math/gen-libm-test.pl (@tests): Remove variable.
5312 (new_test): Remove function.
5313 (show_exceptions): New function.
5314 (special_functions): Use show_exceptions instead of new_test.
5315 (parse_args): Likewise.
5316 (generate_testfile): Pass only function name in generated call to
5317 print_max_error or print_complex_max_error.
5318 (get_ulps): Do not handle complex tests specially.
5319 (output_test): Rename to ...
5320 (get_all_ulps_for_test): ... this. Return a string rather than
5321 printing to a file. Require ulps to be present.
5322 (output_ulps): Generate arrays rather than #defines.
5323 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5324 (struct ulp_data): New type.
5325 (BUILD_COMPLEX_ULP): Remove macro.
5326 (compare_ulp_data): New function.
5327 (find_ulps): Likewise.
5328 (find_test_ulps): Likewise.
5329 (find_function_ulps): Likewise.
5330 (find_complex_function_ulps): Likewise.
5331 (print_max_error): Determine allowed ulps using
5333 (print_complex_max_error): Determine allowed ulps using
5334 find_complex_function_ulps.
5335 (check_float_internal): Determine max ulps using find_test_ulps.
5336 (check_float): Do not take max_ulp parameter. Update call to
5337 check_float_internal.
5338 (check_complex): Likewise.
5339 (check_int): Do not take max_ulp parameter.
5340 (check_long): Likewise.
5341 (check_bool): Likewise.
5342 (check_longlong): Likewise.
5343 (struct test_f_f_data): Remove max_ulp field.
5344 (struct test_ff_f_data): Likewise.
5345 (struct test_ff_f_data_nexttoward): Likewise.
5346 (struct test_fi_f_data): Likewise.
5347 (struct test_fl_f_data): Likewise.
5348 (struct test_if_f_data): Likewise.
5349 (struct test_fff_f_data): Likewise.
5350 (struct test_c_f_data): Likewise.
5351 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5352 (struct test_fF_f1_data): Likewise.
5353 (struct test_ffI_f1_data): Likewise.
5354 (struct test_c_c_data): Remove max_ulp field.
5355 (struct test_cc_c_data): Likewise.
5356 (struct test_f_i_data): Likewise.
5357 (struct test_ff_i_data): Likewise.
5358 (struct test_f_l_data): Likewise.
5359 (struct test_f_L_data): Likewise.
5360 (struct test_sincos_data): Likewise.
5361 (RUN_TEST_f_f): Do not handle ulps.
5362 (RUN_TEST_LOOP_f_f): Likewise.
5363 (RUN_TEST_2_f): Likewise.
5364 (RUN_TEST_LOOP_2_f): Likewise.
5365 (RUN_TEST_fff_f): Likewise.
5366 (RUN_TEST_LOOP_fff_f): Likewise.
5367 (RUN_TEST_c_f): Likewise.
5368 (RUN_TEST_LOOP_c_f): Likewise.
5369 (RUN_TEST_f_f1): Likewise.
5370 (RUN_TEST_LOOP_f_f1): Likewise.
5371 (RUN_TEST_fF_f1): Likewise.
5372 (RUN_TEST_LOOP_fF_f1): Likewise.
5373 (RUN_TEST_fI_f1): Likewise.
5374 (RUN_TEST_LOOP_fI_f1): Likewise.
5375 (RUN_TEST_ffI_f1): Likewise.
5376 (RUN_TEST_LOOP_ffI_f1): Likewise.
5377 (RUN_TEST_c_c): Likewise.
5378 (RUN_TEST_LOOP_c_c): Likewise.
5379 (RUN_TEST_cc_c): Likewise.
5380 (RUN_TEST_LOOP_cc_c): Likewise.
5381 (RUN_TEST_f_i): Likewise.
5382 (RUN_TEST_LOOP_f_i): Likewise.
5383 (RUN_TEST_f_i_tg): Likewise.
5384 (RUN_TEST_LOOP_f_i_tg): Likewise.
5385 (RUN_TEST_ff_i_tg): Likewise.
5386 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5387 (RUN_TEST_f_b): Likewise.
5388 (RUN_TEST_LOOP_f_b): Likewise.
5389 (RUN_TEST_f_b_tg): Likewise.
5390 (RUN_TEST_LOOP_f_b_tg): Likewise.
5391 (RUN_TEST_f_l): Likewise.
5392 (RUN_TEST_LOOP_f_l): Likewise.
5393 (RUN_TEST_f_L): Likewise.
5394 (RUN_TEST_LOOP_f_L): Likewise.
5395 (RUN_TEST_sincos): Likewise.
5396 (RUN_TEST_LOOP_sincos): Likewise.
5398 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5402 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5403 main case of finite arguments, set rounding mode to FE_TONEAREST
5404 and discard exceptions.
5405 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5407 (remainder_tonearest_test_data): New variable.
5408 (remainder_test_tonearest): New function.
5409 (remainder_towardzero_test_data): New variable.
5410 (remainder_test_towardzero): New function.
5411 (remainder_downward_test_data): New variable.
5412 (remainder_test_downward): New function.
5413 (remainder_upward_test_data): New variable.
5414 (remainder_test_upward): New function.
5415 (main): Call the new test functions.
5417 * math/libm-test.inc (struct test_f_f1_data): Remove field
5419 (struct test_fF_f1_data): Likewise.
5420 (struct test_ffI_f1_data): Likewise.
5421 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5422 based on value of EXTRA_EXPECTED.
5423 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5424 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5425 EXTRA_VAR based on value of EXTRA_EXPECTED.
5426 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5427 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5428 EXTRA_VAR based on value of EXTRA_EXPECTED.
5429 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5430 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5431 EXTRA_VAR based on value of EXTRA_EXPECTED.
5432 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5433 * math/gen-libm-test.pl (parse_args): Don't output initializers
5434 for extra output values.
5436 * math/libm-test.inc (check_int): Expect result to be exactly
5437 equal to expected value and do not handle ulps.
5438 (check_long): Likewise.
5439 (check_longlong): Likewise.
5441 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5443 (cimag_test_data): Likewise.
5444 (conj_test_data): Likewise.
5445 (copysign_test_data): Likewise.
5446 (cproj_test_data): Likewise.
5447 (creal_test_data): Likewise.
5448 (fabs_test_data): Likewise.
5449 (fdim_test_data): Likewise.
5450 (finite_test_data): Likewise.
5451 (floor_test_data): Likewise.
5452 (fmax_test_data): Likewise.
5453 (fmin_test_data): Likewise.
5454 (fmod_test_data): Likewise.
5455 (fpclassify_test_data): Likewise.
5456 (frexp_test_data): Likewise.
5457 (ilogb_test_data): Likewise.
5458 (isfinite_test_data): Likewise.
5459 (isgreater_test_data): Likewise.
5460 (isgreaterequal_test_data): Likewise.
5461 (isinf_test_data): Likewise.
5462 (isless_test_data): Likewise.
5463 (islessequal_test_data): Likewise.
5464 (islessgreater_test_data): Likewise.
5465 (isnan_test_data): Likewise.
5466 (isnormal_test_data): Likewise.
5467 (issignaling_test_data): Likewise.
5468 (isunordered_test_data): Likewise.
5469 (ldexp_test_data): Likewise.
5470 (lrint_test_data): Likewise.
5471 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5472 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5473 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5474 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5475 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5476 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5478 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5479 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5480 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5481 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5483 (lrint_downward_test_data): Test for "inexact" exceptions.
5484 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5485 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5486 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5488 (lrint_upward_test_data): Test for "inexact" exceptions.
5489 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5491 (llrint_test_data): Test for "inexact" exceptions.
5492 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5493 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5494 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5495 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5496 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5497 (llrint_downward_test_data): Test for "inexact" exceptions.
5498 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5499 (llrint_upward_test_data): Test for "inexact" exceptions.
5500 (logb_test_data): Likewise.
5501 (logb_downward_test_data): Likewise.
5502 (nextafter_test_data): Likewise.
5503 (nexttoward_test_data): Likewise.
5504 (remainder_test_data): Likewise.
5505 (remquo_test_data): Likewise.
5506 (scalbn_test_data): Likewise.
5507 (scalbln_test_data): Likewise.
5508 (signbit_test_data): Likewise.
5509 (sqrt_test_data): Likewise.
5510 (significand_test_data): Likewise.
5512 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5515 * benchtests/bench-modf.c (struct args): Mark arg0 as
5517 * scripts/bench.pl: Mark members of struct args as volatile.
5519 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5522 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5523 negative infinity on POWER6 or lower.
5524 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5526 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5529 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5530 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5531 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5532 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5533 (_FP_SETQNAN): New macro.
5534 (_FP_SETQNAN_SEMIRAW): Likewise.
5535 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5536 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5537 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5538 (FP_EXTEND): Use _FP_FRAC_SNANP.
5539 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5540 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5542 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5547 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5549 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5550 with DIVIDE_BY_ZERO_EXCEPTION.
5551 (gamma_test_data): Likewise.
5552 (lgamma_test_data): Likewise.
5553 (log_test_data): Likewise.
5554 (log10_test_data): Likewise.
5555 (log2_test_data): Likewise.
5556 (tgamma_test_data): Likewise.
5558 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5559 (acos_test_tonearest): Likewise.
5560 (acos_test_towardzero): Likewise.
5561 (acos_test_downward): Likewise.
5562 (acos_test_upward): Likewise.
5563 (acosh_test): Likewise.
5564 (asin_test): Likewise.
5565 (asin_test_tonearest): Likewise.
5566 (asin_test_towardzero): Likewise.
5567 (asin_test_downward): Likewise.
5568 (asin_test_upward): Likewise.
5569 (asinh_test): Likewise.
5570 (atan_test): Likewise.
5571 (atanh_test): Likewise.
5572 (atan2_test): Likewise.
5573 (cabs_test): Likewise.
5574 (cacos_test): Likewise.
5575 (cacosh_test): Likewise.
5576 (casin_test): Likewise.
5577 (casinh_test): Likewise.
5578 (catan_test): Likewise.
5579 (catanh_test): Likewise.
5580 (cbrt_test): Likewise.
5581 (ccos_test): Likewise.
5582 (ccosh_test): Likewise.
5583 (cexp_test): Likewise.
5584 (clog_test): Likewise.
5585 (clog10_test): Likewise.
5586 (cos_test): Likewise.
5587 (cos_test_tonearest): Likewise.
5588 (cos_test_towardzero): Likewise.
5589 (cos_test_downward): Likewise.
5590 (cos_test_upward): Likewise.
5591 (cosh_test): Likewise.
5592 (cosh_test_tonearest): Likewise.
5593 (cosh_test_towardzero): Likewise.
5594 (cosh_test_downward): Likewise.
5595 (cosh_test_upward): Likewise.
5596 (cpow_test): Likewise.
5597 (csin_test): Likewise.
5598 (csinh_test): Likewise.
5599 (csqrt_test): Likewise.
5600 (ctan_test): Likewise.
5601 (ctan_test_tonearest): Likewise.
5602 (ctan_test_towardzero): Likewise.
5603 (ctan_test_downward): Likewise.
5604 (ctan_test_upward): Likewise.
5605 (ctanh_test): Likewise.
5606 (ctanh_test_tonearest): Likewise.
5607 (ctanh_test_towardzero): Likewise.
5608 (ctanh_test_downward): Likewise.
5609 (ctanh_test_upward): Likewise.
5610 (erf_test): Likewise.
5611 (erfc_test): Likewise.
5612 (exp_test): Likewise.
5613 (exp_test_tonearest): Likewise.
5614 (exp_test_towardzero): Likewise.
5615 (exp_test_downward): Likewise.
5616 (exp_test_upward): Likewise.
5617 (exp10_test): Likewise.
5618 (exp2_test): Likewise.
5619 (expm1_test): Likewise.
5620 (fmod_test): Likewise.
5621 (gamma_test): Likewise.
5622 (hypot_test): Likewise.
5623 (j0_test): Likewise.
5624 (j1_test): Likewise.
5625 (jn_test): Likewise.
5626 (lgamma_test): Likewise.
5627 (log_test): Likewise.
5628 (log10_test): Likewise.
5629 (log1p_test): Likewise.
5630 (log2_test): Likewise.
5631 (logb_test_downward): Likewise.
5632 (pow_test): Likewise.
5633 (pow_test_tonearest): Likewise.
5634 (pow_test_towardzero): Likewise.
5635 (pow_test_downward): Likewise.
5636 (pow_test_upward): Likewise.
5637 (remainder_test): Likewise.
5638 (remquo_test): Likewise.
5639 (sin_test): Likewise.
5640 (sin_test_tonearest): Likewise.
5641 (sin_test_towardzero): Likewise.
5642 (sin_test_downward): Likewise.
5643 (sin_test_upward): Likewise.
5644 (sincos_test): Likewise.
5645 (sinh_test): Likewise.
5646 (sinh_test_tonearest): Likewise.
5647 (sinh_test_towardzero): Likewise.
5648 (sinh_test_downward): Likewise.
5649 (sinh_test_upward): Likewise.
5650 (sqrt_test): Likewise.
5651 (tan_test): Likewise.
5652 (tan_test_tonearest): Likewise.
5653 (tan_test_towardzero): Likewise.
5654 (tan_test_downward): Likewise.
5655 (tan_test_upward): Likewise.
5656 (tanh_test): Likewise.
5657 (tgamma_test): Likewise.
5658 (y0_test): Likewise.
5659 (y1_test): Likewise.
5660 (yn_test): Likewise.
5662 * math/gen-libm-test.pl (adjust_arg): Remove function.
5663 (special_function): Remove argument $in_func. Only handle
5664 generating output for tables of tests, not inside functions.
5665 (parse_args): Likewise.
5666 (generate_testfile): Remove variable $in_func. Update call to
5668 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5669 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5670 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5671 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5672 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5673 (MAX_VALUE_INIT): Rename macro to max_value.
5674 (MIN_VALUE_INIT): Rename macro to min_value.
5675 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5676 (plus_zero): Remove variable.
5677 (minus_zero): Likewise.
5678 (plus_infty): Likewise.
5679 (minus_infty): Likewise.
5680 (qnan_value): Likewise.
5681 (max_value): Likewise.
5682 (min_value): Likewise.
5683 (min_subnorm_value): Likewise.
5685 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5687 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5688 uint64_t or uint32_t usage.
5689 * crypt/sha256-block.c: Likewise.
5690 * crypt/sha256-crypt.c: Likewise.
5691 * crypt/sha256.c: Likewise.
5692 * crypt/sha512-block.c: Likewise.
5693 * crypt/sha512-crypt.c: Likewise.
5694 * crypt/sha512.c: Likewise.
5695 * debug/backtrace-tst.c: Likewise.
5696 * debug/pcprofiledump.c: Likewise.
5697 * elf/cache.c: Likewise.
5698 * elf/dl-cache.c: Likewise.
5699 * elf/dl-misc.c: Likewise.
5700 * elf/dl-profile.c: Likewise.
5701 * elf/dl-support.c: Likewise.
5702 * elf/ldconfig.c: Likewise.
5703 * elf/sprof.c: Likewise.
5704 * iconv/dummy-repertoire.c: Likewise.
5705 * iconv/iconv_charmap.c: Likewise.
5706 * iconv/skeleton.c: Likewise.
5707 * iconvdata/8bit-generic.c: Likewise.
5708 * iconvdata/cp737.h: Likewise.
5709 * iconvdata/cp775.h: Likewise.
5710 * iconvdata/ibm1008.h: Likewise.
5711 * iconvdata/ibm1025.h: Likewise.
5712 * iconvdata/ibm1046.h: Likewise.
5713 * iconvdata/ibm1097.h: Likewise.
5714 * iconvdata/ibm1112.h: Likewise.
5715 * iconvdata/ibm1122.h: Likewise.
5716 * iconvdata/ibm1123.h: Likewise.
5717 * iconvdata/ibm1124.h: Likewise.
5718 * iconvdata/ibm1129.h: Likewise.
5719 * iconvdata/ibm1130.h: Likewise.
5720 * iconvdata/ibm1132.h: Likewise.
5721 * iconvdata/ibm1133.h: Likewise.
5722 * iconvdata/ibm1137.h: Likewise.
5723 * iconvdata/ibm1140.h: Likewise.
5724 * iconvdata/ibm1141.h: Likewise.
5725 * iconvdata/ibm1142.h: Likewise.
5726 * iconvdata/ibm1143.h: Likewise.
5727 * iconvdata/ibm1144.h: Likewise.
5728 * iconvdata/ibm1145.h: Likewise.
5729 * iconvdata/ibm1146.h: Likewise.
5730 * iconvdata/ibm1147.h: Likewise.
5731 * iconvdata/ibm1148.h: Likewise.
5732 * iconvdata/ibm1149.h: Likewise.
5733 * iconvdata/ibm1153.h: Likewise.
5734 * iconvdata/ibm1154.h: Likewise.
5735 * iconvdata/ibm1155.h: Likewise.
5736 * iconvdata/ibm1156.h: Likewise.
5737 * iconvdata/ibm1157.h: Likewise.
5738 * iconvdata/ibm1158.h: Likewise.
5739 * iconvdata/ibm1160.h: Likewise.
5740 * iconvdata/ibm1161.h: Likewise.
5741 * iconvdata/ibm1162.h: Likewise.
5742 * iconvdata/ibm1163.h: Likewise.
5743 * iconvdata/ibm1164.h: Likewise.
5744 * iconvdata/ibm1166.h: Likewise.
5745 * iconvdata/ibm1167.h: Likewise.
5746 * iconvdata/ibm12712.h: Likewise.
5747 * iconvdata/ibm1390.h: Likewise.
5748 * iconvdata/ibm1399.h: Likewise.
5749 * iconvdata/ibm16804.h: Likewise.
5750 * iconvdata/ibm4517.h: Likewise.
5751 * iconvdata/ibm4899.h: Likewise.
5752 * iconvdata/ibm4909.h: Likewise.
5753 * iconvdata/ibm4971.h: Likewise.
5754 * iconvdata/ibm5347.h: Likewise.
5755 * iconvdata/ibm803.h: Likewise.
5756 * iconvdata/ibm856.h: Likewise.
5757 * iconvdata/ibm901.h: Likewise.
5758 * iconvdata/ibm902.h: Likewise.
5759 * iconvdata/ibm9030.h: Likewise.
5760 * iconvdata/ibm9066.h: Likewise.
5761 * iconvdata/ibm921.h: Likewise.
5762 * iconvdata/ibm922.h: Likewise.
5763 * iconvdata/ibm9448.h: Likewise.
5764 * iconvdata/isiri-3342.h: Likewise.
5765 * iconvdata/jis0201.h: Likewise.
5766 * include/link.h: Likewise.
5767 * include/netdb.h: Likewise.
5768 * inet/check_native.c: Likewise.
5769 * inet/check_pf.c: Likewise.
5770 * inet/getipv4sourcefilter.c: Likewise.
5771 * inet/getnameinfo.c: Likewise.
5772 * inet/getsourcefilter.c: Likewise.
5773 * inet/htonl.c: Likewise.
5774 * inet/setipv4sourcefilter.c: Likewise.
5775 * inet/setsourcefilter.c: Likewise.
5776 * inet/test-inet6_opt.c: Likewise.
5777 * inet/tst-network.c: Likewise.
5778 * locale/C-collate.c: Likewise.
5779 * locale/C-ctype.c: Likewise.
5780 * locale/C-time.c: Likewise.
5781 * locale/C-translit.h: Likewise.
5782 * locale/loadarchive.c: Likewise.
5783 * locale/programs/3level.h: Likewise.
5784 * locale/programs/charmap.c: Likewise.
5785 * locale/programs/charmap.h: Likewise.
5786 * locale/programs/ld-address.c: Likewise.
5787 * locale/programs/ld-collate.c: Likewise.
5788 * locale/programs/ld-ctype.c: Likewise.
5789 * locale/programs/ld-identification.c: Likewise.
5790 * locale/programs/ld-measurement.c: Likewise.
5791 * locale/programs/ld-messages.c: Likewise.
5792 * locale/programs/ld-monetary.c: Likewise.
5793 * locale/programs/ld-name.c: Likewise.
5794 * locale/programs/ld-numeric.c: Likewise.
5795 * locale/programs/ld-paper.c: Likewise.
5796 * locale/programs/ld-telephone.c: Likewise.
5797 * locale/programs/ld-time.c: Likewise.
5798 * locale/programs/linereader.c: Likewise.
5799 * locale/programs/locale.c: Likewise.
5800 * locale/programs/locarchive.c: Likewise.
5801 * locale/programs/locfile.h: Likewise.
5802 * locale/programs/repertoire.c: Likewise.
5803 * locale/programs/simple-hash.c: Likewise.
5804 * locale/programs/simple-hash.h: Likewise.
5805 * malloc/memusage.c: Likewise.
5806 * malloc/memusagestat.c: Likewise.
5807 * nis/nis_defaults.c: Likewise.
5808 * nis/nis_hash.c: Likewise.
5809 * nis/nis_print.c: Likewise.
5810 * nis/nis_xdr.c: Likewise.
5811 * nscd/connections.c: Likewise.
5812 * nscd/hstcache.c: Likewise.
5813 * nscd/nscd_gethst_r.c: Likewise.
5814 * nscd/nscd_getserv_r.c: Likewise.
5815 * nscd/nscd_helper.c: Likewise.
5816 * nscd/servicescache.c: Likewise.
5817 * nss/makedb.c: Likewise.
5818 * nss/nss_db/db-XXX.c: Likewise.
5819 * nss/nss_db/db-initgroups.c: Likewise.
5820 * nss/nss_db/db-netgrp.c: Likewise.
5821 * nss/nss_files/files-network.c: Likewise.
5822 * nss/nss_files/files-parse.c: Likewise.
5823 * posix/bug-regex5.c: Likewise.
5824 * posix/fnmatch_loop.c: Likewise.
5825 * posix/regcomp.c: Likewise.
5826 * posix/regexec.c: Likewise.
5827 * posix/tst-rfc3484-2.c: Likewise.
5828 * posix/tst-rfc3484-3.c: Likewise.
5829 * posix/tst-rfc3484.c: Likewise.
5830 * resolv/nss_dns/dns-canon.c: Likewise.
5831 * resolv/nss_dns/dns-network.c: Likewise.
5832 * resolv/res_init.c: Likewise.
5833 * resolv/res_mkquery.c: Likewise.
5834 * resolv/tst-aton.c: Likewise.
5835 * stdlib/cxa_atexit.c: Likewise.
5836 * stdlib/cxa_finalize.c: Likewise.
5837 * stdlib/gen-fpioconst.c: Likewise.
5838 * stdlib/strtol_l.c: Likewise.
5839 * string/tst-endian.c: Likewise.
5840 * sunrpc/auth_des.c: Likewise.
5841 * sunrpc/clnt_udp.c: Likewise.
5842 * sunrpc/rtime.c: Likewise.
5843 * sunrpc/svcauth_des.c: Likewise.
5844 * sunrpc/xdr.c: Likewise.
5845 * sunrpc/xdr_intXX_t.c: Likewise.
5846 * sunrpc/xdr_rec.c: Likewise.
5847 * sysdeps/generic/ldconfig.h: Likewise.
5848 * sysdeps/generic/ldsodefs.h: Likewise.
5849 * sysdeps/generic/memusage.h: Likewise.
5850 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5857 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5860 * sysdeps/posix/getaddrinfo.c: Likewise.
5861 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5862 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5863 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5864 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5865 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5866 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5867 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5868 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5869 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5870 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5871 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5872 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5873 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5874 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5875 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5876 * sysdeps/x86_64/dl-tls.h: Likewise.
5877 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5878 * time/alt_digit.c: Likewise.
5879 * time/era.c: Likewise.
5880 * wcsmbs/tst-c16c32-1.c: Likewise.
5882 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5884 * math/libm-test.inc (struct test_sincos_data): New type.
5885 (RUN_TEST_LOOP_sincos): New macro.
5886 (sincos_test_data): New variable.
5887 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5889 2013-05-16 Richard Henderson <rth@redhat.com>
5891 * math/atest-exp2.c (LIMB64): New macro.
5892 (CONSTSZ): New macro.
5893 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5895 (print_mpn_fp): ... to function scope.
5896 (read_mpn_hex): Remove.
5898 (exp2_mpn): Use mp_log2.
5899 (main): Use mp_exp1.
5901 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5903 * math/libm-test.inc: Remove comment about not testing "inexact"
5905 (INEXACT_EXCEPTION): New macro.
5906 (NO_INEXACT_EXCEPTION): Likewise.
5907 (INVALID_EXCEPTION_OK): Update value.
5908 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5909 (OVERFLOW_EXCEPTION_OK): Likewise.
5910 (UNDERFLOW_EXCEPTION_OK): Likewise.
5911 (IGNORE_ZERO_INF_SIGN): Likewise.
5912 (ERRNO_UNCHANGED): Likewise.
5913 (ERRNO_EDOM): Likewise.
5914 (ERRNO_ERANGE): Likewise.
5915 (test_exceptions): Handle testing "inexact" exceptions.
5916 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5917 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5918 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5919 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5921 (rint_towardzero_test_data): Likewise.
5922 (rint_downward_test_data): Likewise.
5923 (rint_upward_test_data): Likewise.
5925 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5926 with OVERFLOW_EXCEPTION.
5927 (exp10_test_data): Likewise.
5928 (exp2_test_data): Likewise.
5929 (expm1_test_data): Likewise.
5930 (lgamma_test_data): Likewise.
5931 (pow_test_data): Likewise.
5932 (tgamma_test_data): Likewise.
5933 (yn_test_data): Remove duplicate test of overflow.
5935 * math/libm-test.inc (struct test_cc_c_data): New type.
5936 (RUN_TEST_LOOP_cc_c): New macro.
5937 (cpow_test_data): New variable.
5938 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5940 * math/libm-test.inc (struct test_f_L_data): New type.
5941 (RUN_TEST_LOOP_f_L): New macro.
5942 (llrint_test_data): New variable.
5943 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5944 (llrint_tonearest_test_data): New variable.
5945 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5946 (llrint_towardzero_test_data): New variable.
5947 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5948 (llrint_downward_test_data): New variable.
5949 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5950 (llrint_upward_test_data): New variable.
5951 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5952 (llround_test_data): New variable.
5953 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5955 2013-05-13 Peter Collingbourne <pcc@google.com>
5957 * math/atest-exp2.c (get_log2): Remove const attribute.
5959 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5961 * math/libm-test.inc (struct test_f_l_data): New type.
5962 (RUN_TEST_LOOP_f_l): New macro.
5963 (lrint_test_data): New variable.
5964 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5965 (lrint_tonearest_test_data): New variable.
5966 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5967 (lrint_towardzero_test_data): New variable.
5968 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5969 (lrint_downward_test_data): New variable.
5970 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5971 (lrint_upward_test_data): New variable.
5972 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5973 (lround_test_data): New variable.
5974 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5976 2013-05-15 Peter Collingbourne <pcc@google.com>
5978 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5979 (EXTRACT_WORDS64) Use where appropriate.
5980 (INSERT_WORDS64) Likewise.
5982 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5983 constraints with x constraints.
5984 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5986 * malloc/obstack.c (_obstack_compat): Add initializer.
5988 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5991 si_trapno and add si_addr_lsb to _sifields.sigfault.
5992 (si_trapno): Remove macro.
5993 (si_addr_lsb): Define new macro.
5994 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5996 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5998 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5999 instead of TEST_f_l.
6000 (llrint_test_tonearest): Likewise.
6001 (llrint_test_towardzero): Likewise.
6002 (llrint_test_downward): Likewise.
6003 (llrint_test_upward): Likewise.
6004 (llround_test): Likewise.
6006 * math/libm-test.inc (struct test_f_i_data): Add comment.
6007 (RUN_TEST_LOOP_f_b): New macro.
6008 (RUN_TEST_LOOP_f_b_tg): Likewise.
6009 (finite_test_data): New variable.
6010 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6011 (isfinite_test_data): New variable.
6012 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6013 (isinf_test_data): New variable.
6014 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6015 (isnan_test_data): New variable.
6016 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6017 (isnormal_test_data): New variable.
6018 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6019 (issignaling_test_data): New variable.
6020 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6021 (signbit_test_data): New variable.
6022 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6024 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6025 with INVALID_EXCEPTION.
6026 (acosh_test_data): Likewise.
6027 (asin_test_data): Likewise.
6028 (atanh_test_data): Likewise.
6029 (fmod_test_data): Likewise.
6030 (log_test_data): Likewise.
6031 (log10_test_data): Likewise.
6032 (log2_test_data): Likewise.
6033 (pow_test_data): Likewise.
6034 (sqrt_test_data): Likewise.
6035 (y0_test_data): Likewise.
6036 (y1_test_data): Likewise.
6037 (yn_test_data): Likewise.
6039 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6042 * math/libm-test.inc (struct test_ff_i_data): New type.
6043 (RUN_TEST_LOOP_ff_i_tg): New macro.
6044 (isgreater_test_data): New variable.
6045 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6046 (isgreaterequal_test_data): New variable.
6047 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6048 (isless_test_data): New variable.
6049 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6050 (islessequal_test_data): New variable.
6051 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6052 (islessgreater_test_data): New variable.
6053 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6054 (isunordered_test_data): New variable.
6055 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6057 2013-05-14 David S. Miller <davem@davemloft.net>
6059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6061 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6063 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6065 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6067 (struct test_f_i_data): Change type of max_ulp to int.
6069 * math/libm-test.inc (test_ffI_f1_data): New type.
6070 (RUN_TEST_LOOP_ffI_f1): New macro.
6071 (remquo_test_data): New variable.
6072 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6074 * setjmp/tst-setjmp-fp.c: New file.
6075 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6076 (link-libm): New variable.
6077 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6079 * math/libm-test.inc (struct test_f_i_data): New type.
6080 (RUN_TEST_LOOP_f_i): New macro.
6081 (RUN_TEST_LOOP_f_i_tg): Likewise.
6082 (fpclassify_test_data): New variable.
6083 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6084 (ilogb_test_data): New variable.
6085 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6087 * math/libm-test.inc (scalbln_test): Correct function name in END
6090 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6091 (RUN_TEST_LOOP_fI_f1): New macro.
6092 (frexp_test_data): New variable.
6093 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6095 * math/libm-test.inc (struct test_fF_f1_data): New type.
6096 (RUN_TEST_LOOP_fF_f1): New macro.
6097 (modf_test_data): New variable.
6098 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6100 * math/libm-test.inc (struct test_f_f1_data): New type.
6101 (RUN_TEST_LOOP_f_f1): New macro.
6102 (gamma_test_data): New variable.
6103 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6104 (lgamma_test_data): New variable.
6105 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6107 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6110 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6111 (main): Comment "tls" pseudo-hwcap.
6113 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6115 * math/libm-test.inc (struct test_fl_f_data): New type.
6116 (RUN_TEST_LOOP_fl_f): New variable.
6117 (scalbln_test_data): New variable.
6118 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6120 * math/libm-test.inc (struct test_fi_f_data): New type.
6121 (RUN_TEST_LOOP_fi_f): New macro.
6122 (ldexp_test_data): New variable.
6123 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6124 (scalbn_test_data): New variable.
6125 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6127 * math/libm-test.inc (struct test_c_f_data): New type.
6128 (RUN_TEST_LOOP_c_f): New macro.
6129 (cabs_test_data): New variable.
6130 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6131 (carg_test_data): New variable.
6132 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6133 (cimag_test_data): New variable.
6134 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6135 (creal_test_data): New variable.
6136 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6138 * math/libm-test.inc (struct test_if_f_data): New type.
6139 (RUN_TEST_LOOP_if_f): New macro.
6140 (jn_test_data): New variable.
6141 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6142 (yn_test_data): New variable.
6143 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6145 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6147 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6150 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6152 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6154 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6155 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6156 (bench-deps): Add bench-timing.h.
6157 * benchtests-bench-skeleton.c: Include bench-timing.h.
6158 (main): Use TIMING_* macros instead of clock_gettime.
6159 * benchtests/bench-timing.h: New file.
6162 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6163 Renamed from _LIB_VERSION.
6164 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6166 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6168 * math/libm-test.inc (struct test_fff_f_data): New type.
6169 (RUN_TEST_LOOP_fff_f): New macro.
6170 (fma_test_data): New variable.
6171 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6172 (fma_towardzero_test_data): New variable.
6173 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6174 (fma_downward_test_data): New variable.
6175 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6176 (fma_upward_test_data): New variable.
6177 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6179 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6180 (struct test_c_c_data): New type.
6181 (RUN_TEST_LOOP_c_c): New macro.
6182 (cacos_test_data): New variable.
6183 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6184 (cacosh_test_data): New variable.
6185 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6186 (casin_test_data): New variable.
6187 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6188 (casinh_test_data): New variable.
6189 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6190 (catan_test_data): New variable.
6191 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6192 (catanh_test_data): New variable.
6193 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6194 (ccos_test_data): New variable.
6195 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6196 (ccosh_test_data): New variable.
6197 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6198 (cexp_test_data): New variable.
6199 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6200 (clog_test_data): New variable.
6201 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6202 (clog10_test_data): New variable.
6203 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6204 (conj_test_data): New variable.
6205 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6206 (cproj_test_data): New variable.
6207 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6208 (csin_test_data): New variable.
6209 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6210 (csinh_test_data): New variable.
6211 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6212 (csqrt_test_data): New variable.
6213 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6214 (ctan_test_data): New variable.
6215 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6216 (ctan_tonearest_test_data): New variable.
6217 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6218 (ctan_towardzero_test_data): New variable.
6219 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6220 (ctan_downward_test_data): New variable.
6221 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6222 (ctan_upward_test_data): New variable.
6223 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6224 (ctanh_test_data): New variable.
6225 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6226 (ctanh_tonearest_test_data): New variable.
6227 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6228 (ctanh_towardzero_test_data): New variable.
6229 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6230 (ctanh_downward_test_data): New variable.
6231 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6232 (ctanh_upward_test_data): New variable.
6233 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6234 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6237 * math/libm-test.inc (struct test_ff_f_data): New type.
6238 (struct test_ff_f_data_nexttoward): Likewise.
6239 (RUN_TEST_LOOP_2_f): New macro.
6240 (RUN_TEST_LOOP_ff_f): Likewise.
6241 (atan2_test_data): New variable.
6242 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6243 (copysign_test_data): New variable.
6244 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6245 (fdim_test_data): New variable.
6246 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6247 (fmax_test_data): New variable.
6248 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6249 (fmin_test_data): New variable.
6250 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6251 (fmod_test_data): New variable.
6252 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6253 (hypot_test_data): New variable.
6254 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6255 (nextafter_test_data): New variable.
6256 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6257 (nexttoward_test_data): New variable.
6258 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6259 (pow_test_data): New variable.
6260 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6261 (pow_tonearest_test_data): New variable.
6262 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6263 (pow_towardzero_test_data): New variable.
6264 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6265 (pow_downward_test_data): New variable.
6266 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6267 (pow_upward_test_data): New variable.
6268 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6269 (remainder_test_data): New variable.
6270 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6271 (scalb_test_data): New variable.
6272 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6273 * sysdeps/i386/fpu/libm-test-ulps: Update.
6275 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6277 * math/libm-test.inc (fma_test): Use max_value instead of local
6279 (nextafter_test): Likewise.
6281 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6282 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6283 (acos_downward_test_data): New variable.
6284 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6285 (acos_upward_test_data): New variable.
6286 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6287 (acosh_test_data): New variable.
6288 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6289 (asin_test_data): New variable.
6290 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6291 (asin_tonearest_test_data): New variable.
6292 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6293 (asin_towardzero_test_data): New variable.
6294 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6295 (asin_downward_test_data): New variable.
6296 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6297 (asin_upward_test_data): New variable.
6298 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6299 (asinh_test_data): New variable.
6300 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6301 (atan_test_data): New variable.
6302 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6303 (atanh_test_data): New variable.
6304 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6305 (cbrt_test_data): New variable.
6306 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6307 (ceil_test_data): New variable.
6308 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6309 (cos_test_data): New variable.
6310 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6311 (cos_tonearest_test_data): New variable.
6312 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6313 (cos_towardzero_test_data): New variable.
6314 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6315 (cos_downward_test_data): New variable.
6316 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6317 (cos_upward_test_data): New variable.
6318 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6319 (cosh_test_data): New variable.
6320 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6321 (cosh_tonearest_test_data): New variable.
6322 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6323 (cosh_towardzero_test_data): New variable.
6324 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6325 (cosh_downward_test_data): New variable.
6326 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6327 (cosh_upward_test_data): New variable.
6328 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6329 (erf_test_data): New variable.
6330 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6331 (erfc_test_data): New variable.
6332 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6333 (exp_test_data): New variable.
6334 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6335 (exp_tonearest_test_data): New variable.
6336 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6337 (exp_towardzero_test_data): New variable.
6338 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6339 (exp_downward_test_data): New variable.
6340 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6341 (exp_upward_test_data): New variable.
6342 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6343 (exp10_test_data): New variable.
6344 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6345 (exp2_test_data): New variable.
6346 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6347 (expm1_test_data): New variable.
6348 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6349 (fabs_test_data): New variable.
6350 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6351 (floor_test_data): New variable.
6352 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6353 (j0_test_data): New variable.
6354 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6355 (j1_test_data): New variable.
6356 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6357 (log_test_data): New variable.
6358 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6359 (log10_test_data): New variable.
6360 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6361 (log1p_test_data): New variable.
6362 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6363 (log2_test_data): New variable.
6364 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6365 (logb_test_data): New variable.
6366 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6367 (logb_downward_test_data): New variable.
6368 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6369 (nearbyint_test_data): New variable.
6370 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6371 (rint_test_data): New variable.
6372 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6373 (rint_tonearest_test_data): New variable.
6374 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6375 (rint_towardzero_test_data): New variable.
6376 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6377 (rint_downward_test_data): New variable.
6378 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6379 (rint_upward_test_data): New variable.
6380 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6381 (round_test_data): New variable.
6382 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6383 (sin_test_data): New variable.
6384 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6385 (sin_tonearest_test_data): New variable.
6386 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6387 (sin_towardzero_test_data): New variable.
6388 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6389 (sin_downward_test_data): New variable.
6390 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6391 (sin_upward_test_data): New variable.
6392 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6393 (sinh_test_data): New variable.
6394 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6395 (sinh_tonearest_test_data): New variable.
6396 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6397 (sinh_towardzero_test_data): New variable.
6398 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6399 (sinh_downward_test_data): New variable.
6400 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6401 (sinh_upward_test_data): New variable.
6402 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6403 (sqrt_test_data): New variable.
6404 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6405 (tan_test_data): New variable.
6406 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6407 (tan_tonearest_test_data): New variable.
6408 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6409 (tan_towardzero_test_data): New variable.
6410 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6411 (tan_downward_test_data): New variable.
6412 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6413 (tan_upward_test_data): New variable.
6414 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6415 (tanh_test_data): New variable.
6416 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6417 (tgamma_test_data): New variable.
6418 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6419 (trunc_test_data): New variable.
6420 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6421 (y0_test_data): New variable.
6422 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6423 (y1_test_data): New variable.
6424 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6425 (significand_test_data): New variable.
6426 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6428 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6431 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6433 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6435 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6437 2013-05-10 Andreas Jaeger <aj@suse.de>
6440 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6441 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6443 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6445 * math/gen-libm-test.pl (adjust_arg): New function.
6446 (special_functions): Handle generating output in both functions
6448 (parse_args): Likewise.
6449 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6450 $in_func argument to parse_args.
6451 * math/libm-test.inc (struct test_f_f_data): New type.
6452 (IF_ROUND_INIT_): New macro.
6453 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6454 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6455 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6456 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6457 (ROUND_RESTORE_): Likewise.
6458 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6459 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6460 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6461 (ROUND_RESTORE_FE_UPWARD): Likewise.
6462 (RUN_TEST_LOOP_f_f): New macro.
6463 (acos_test_data): New variable.
6464 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6465 (acos_tonearest_test_data): New variable.
6466 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6468 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6470 * benchtests/bench-skeleton.c (startup): Fix coding style.
6472 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6475 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6476 negative infinity argument.
6477 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6478 negative infinity argument.
6479 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6480 negative infinity argument.
6481 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6484 2013-05-10 Florian Weimer <fweimer@redhat.com>
6486 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6487 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6488 * iconv/iconv_prog.c (main): Likewise.
6489 * locale/programs/charmap-dir.c (charmap_readdir)
6490 (fopen_uncompressed): Likewise.
6491 * locale/programs/locfile.c (siblings_uncached)
6492 (write_locale_data): Use lstat64 instead of lstat.
6493 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6496 2013-05-10 Andreas Jaeger <aj@suse.de>
6499 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6503 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6505 * elf/dl-close.c (_dl_close_worker): Add comments.
6507 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6510 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6512 (__ieee754_rem_pio2l): Update comments.
6515 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6517 (__ieee754_rem_pio2l): Update comments.
6519 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6520 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6522 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6525 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6526 (M_PI_34_LOG10El): Likewise.
6527 (M_PI2_LOG10El): Likewise.
6528 (M_PI4_LOG10El): Likewise.
6529 (M_PI_LOG10El): Likewise.
6531 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6535 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6537 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6538 (MINUS_ZERO_INIT): Likewise.
6539 (PLUS_INFTY_INIT): Likewise.
6540 (MINUS_INFTY_INIT): Likewise.
6541 (QNAN_VALUE_INIT): Likewise.
6542 (MAX_VALUE_INIT): Likewise.
6543 (MIN_VALUE_INIT): Likewise.
6544 (MIN_SUBNORM_VALUE_INIT): Likewise.
6545 (plus_zero): Initialize with PLUS_ZERO_INIT.
6546 (minus_zero): Initialize with MINUS_ZERO_INIT.
6547 (plus_infty): Initialize with PLUS_INFTY_INIT.
6548 (minus_infty): Initialize with MINUS_INFTY_INIT.
6549 (qnan_value): Initialize with QNAN_VALUE_INIT.
6550 (max_value): Initialize with MAX_VALUE_INIT.
6551 (min_value): Initialize with MIN_VALUE_INIT.
6552 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6554 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6555 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6556 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6557 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6559 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6560 (RUN_TEST_2_f): Likewise.
6561 (RUN_TEST_ff_f): Likewise.
6562 (RUN_TEST_fi_f): Likewise.
6563 (RUN_TEST_fl_f): Likewise.
6564 (RUN_TEST_fff_f): Likewise.
6565 (RUN_TEST_c_f): Likewise.
6566 (RUN_TEST_f_f1): Likewise.
6567 (RUN_TEST_fF_f1): Likewise.
6568 (RUN_TEST_fI_f1): Likewise.
6569 (RUN_TEST_ffI_f1): Likewise.
6570 (RUN_TEST_c_c): Likewise.
6571 (RUN_TEST_cc_c): Likewise.
6572 (RUN_TEST_f_i): Likewise.
6573 (RUN_TEST_f_i_tg): Likewise.
6574 (RUN_TEST_ff_i_tg): Likewise.
6575 (RUN_TEST_f_b): Likewise.
6576 (RUN_TEST_f_b_tg): Likewise.
6577 (RUN_TEST_f_l): Likewise.
6578 (RUN_TEST_f_L): Likewise.
6579 (RUN_TEST_sincos): Likewise.
6580 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6581 whether to show exceptions. Do not include ");\n" in return
6583 (special_functions): Output call to RUN_TEST_sincos instead of
6584 check_float calls. Update calls to new_test.
6585 (parse_args): Output call to single RUN_TEST_* macro instead of
6586 check_* calls and other assignments. Update calls to new_test.
6592 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6593 input to result for tgamma overflow.
6594 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6595 (gamma_coeff): New variable.
6596 (NCOEFF): New macro.
6597 (gamma_positive): New function.
6598 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6599 underflow here. Use gamma_positive instead of exp (lgamma) for
6601 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6602 (gamma_coeff): New variable.
6603 (NCOEFF): New macro.
6604 (gammaf_positive): New function.
6605 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6606 underflow here. Use gamma_positive instead of exp (lgamma) for
6608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6609 (gamma_coeff): New variable.
6610 (NCOEFF): New macro.
6611 (gammal_positive): New function.
6612 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6613 underflow here. Use gamma_positive instead of exp (lgamma) for
6615 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6616 (gamma_coeff): New variable.
6617 (NCOEFF): New macro.
6618 (gammal_positive): New function.
6619 (__ieee754_gammal_r): Handle positive infinity, overflow and
6620 underflow here. Handle NaN the same as positive infinity. Remove
6621 check x < 0xffffffff for negative integers. Use gamma_positive
6622 instead of exp (lgamma) for other arguments.
6623 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6624 (gamma_coeff): New variable.
6625 (NCOEFF): New macro.
6626 (gammal_positive): New function.
6627 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6628 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6633 * sysdeps/generic/math_private.h (__gamma_productf): New
6635 (__gamma_product): Likewise.
6636 (__gamma_productl): Likewise.
6637 * math/Makefile (libm-calls): Add gamma_product.
6638 * math/libm-test.inc (tgamma_test): Add more tests.
6639 * sysdeps/i386/fpu/libm-test-ulps: Update.
6640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6642 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6644 * benchtests/bench-skeleton.c (main): Preheat CPU.
6646 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6648 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6650 2013-05-07 Roland McGrath <roland@hack.frob.com>
6652 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6653 and _dl_skip_args_internal.
6655 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6657 * manual/message.texi (Message Translation): Talk about users.
6658 Message to key mapping impacts design.
6660 2013-05-06 Roland McGrath <roland@hack.frob.com>
6662 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6664 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6666 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6667 * sysdeps/wordsize-64/glob64.c: ... here.
6669 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6670 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6673 * debug/getlogin_r_chk.c: Moved to ...
6674 * login/getlogin_r_chk.c: ... here.
6675 * debug/Makefile (routines): Move getlogin_r_chk to ...
6676 * login/Makefile (routines): ... here.
6677 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6678 * login/Versions (libc: GLIBC_2.4): ... here.
6680 * io/poll.c (__poll): Renamed from poll.
6681 Add libc_hidden_def.
6682 (poll): Define as weak alias.
6684 * debug/ptsname_r_chk.c: Moved to ...
6685 * login/ptsname_r_chk.c: ... here.
6686 * debug/Makefile (routines): Move ptsname_r_chk to ...
6687 * login/Makefile (routines): ... here.
6688 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6689 * login/Versions (libc: GLIBC_2.4): ... here.
6691 * posix/getlogin.c: Moved to ...
6692 * login/getlogin.c: ... here.
6693 * posix/getlogin_r.c: Moved to ...
6694 * login/getlogin_r.c: ... here.
6695 * posix/getlogin_r.c: Moved to ...
6696 * login/getlogin_r.c: ... here.
6697 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6698 * login/Makefile (routines): ... here.
6699 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6700 * login/Versions (libc: GLIBC_2.0): ... here.
6702 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6703 (setrlimit): Define as weak alias.
6705 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6706 Call __ names for open, ftruncate, and close.
6707 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6708 (truncate): Define as weak alias.
6710 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6712 * math/gen-libm-test.pl (parse_args): Initialize x before each
6713 test of frexp, modf and remquo.
6715 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6718 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6722 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6726 2013-05-06 Roland McGrath <roland@hack.frob.com>
6728 * elf/dl-writev.h: New file.
6729 * elf/dl-misc.c: Include it.
6730 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6731 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6733 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6735 * math/libm-test.inc (noXFails): Remove variable.
6736 (noXPasses): Likewise.
6737 (BUILD_COMPLEX_INT): Remove macro.
6738 (print_screen): Remove xfail argument.
6739 (print_screen_max_error): Likewise.
6740 (update_stats): Likewise.
6741 (print_max_error): Likewise. Update calls to other affected
6743 (print_complex_max_error): Likewise.
6744 (test_single_exception): Update calls to print_screen.
6745 (test_single_errno): Likewise.
6746 (check_float_internal): Remove xfail argument. Update calls to
6747 other affected functions.
6748 (check_float): Likewise.
6749 (check_complex): Likewise.
6750 (check_int): Likewise.
6751 (check_long): Likewise.
6752 (check_bool): Likewise.
6753 (check_longlong): Likewise.
6754 (main): Don't print noXFails and noXPasses.
6755 * math/gen-libm-test.pl (top level): Don't mention expected
6756 failure handling in comment.
6757 (new_test): Don't handle expected failures.
6758 (parse_args): Don't mention expected failure handling in comment.
6759 (generate_testfile): Don't handle expected failures.
6760 (parse_ulps): Likewise.
6761 (print_ulps_file): Likewise.
6762 (get_failure): Remove function.
6763 (output_test): Don't handle expected failures.
6764 * make/README.libm-test: Don't mention expected failure handling.
6766 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6767 (minus_zero): Likewise.
6768 (plus_infty): Likewise.
6769 (minus_infty): Likewise.
6770 (qnan_value): Likewise.
6771 (max_value): Likewise.
6772 (min_value): Likewise.
6773 (min_subnorm_value): Likewise.
6774 (initialize): Do not initialize those variables dynamically.
6776 2013-05-03 Roland McGrath <roland@hack.frob.com>
6778 * io/open.c (__open_2): Moved to ...
6779 * io/open_2.c: ... this new file.
6780 * io/open64.c (__open64_2): Moved to ...
6781 * io/open64_2.c: ... this new file.
6782 * io/openat.c (__openat_2): Moved to ...
6783 * io/openat_2.c: ... this new file.
6784 * io/openat64.c (__openat64_2): Moved to ...
6785 * io/openat64_2.c: ... this new file.
6786 * io/Makefile (routines): Add them.
6787 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6788 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6789 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6790 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6791 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6792 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6793 (__openat64): Add hidden_ver.
6794 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6795 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6797 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6798 Separately conditionalize setting of GLRO(dl_sysinfo) so
6799 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6800 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6802 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6807 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6808 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6809 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6810 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6811 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6813 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6815 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6818 * math/libm-test.inc (hypot_test): Do not use
6819 IGNORE_ZERO_INF_SIGN.
6821 2013-05-03 Andreas Jaeger <aj@suse.de>
6823 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6825 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6826 (PF_MAX): Adjust for VSOCK change.
6828 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6832 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6835 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6836 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6837 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6839 2013-05-02 David S. Miller <davem@davemloft.net>
6841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6843 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6845 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6847 2013-05-01 Roland McGrath <roland@hack.frob.com>
6849 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6851 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6854 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6855 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6856 Use __attribute__ ((__gnu_inline__)).
6857 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6858 Don't use __attribute__ ((__gnu_inline__)).
6860 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6863 * math/s_catan.c (__catan): Handle small real or imaginary part of
6864 input specially to avoid spurious underflow.
6865 * math/s_catanf.c (__catanf): Likewise.
6866 * math/s_catanh.c (__catanh): Likewise.
6867 * math/s_catanhf.c (__catanhf): Likewise.
6868 * math/s_catanhl.c (__catanhl): Likewise.
6869 * math/s_catanl.c (__catanl): Likewise.
6870 * math/libm-test.inc (catan_test): Add more tests.
6871 (catanh_test): Likewise.
6872 * sysdeps/i386/fpu/libm-test-ulps: Update.
6873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6875 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6879 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6882 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6883 accurately for denominator in atan2.
6884 * math/s_catanf.c (__catanf): Likewise.
6885 * math/s_catanh.c (__catanh): Likewise.
6886 * math/s_catanhf.c (__catanhf): Likewise.
6887 * math/s_catanhl.c (__catanhl): Likewise.
6888 * math/s_catanl.c (__catanl): Likewise.
6889 * math/libm-test.inc (catan_test): Add more tests.
6890 (catanh_test): Likewise.
6891 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6894 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6896 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6898 * benchtests/Makefile (bench): Remove slow benchmarks.
6899 * benchtests/atan-inputs: Add slow benchmark inputs.
6900 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6901 (BENCH_FUNC): Accept variant offset.
6903 * benchtests/bench-skeleton.c (main): Run benchmark for each
6905 * benchtests/cos-inputs: Add slow benchmark inputs.
6906 * benchtests/exp-inputs: Likewise.
6907 * benchtests/pow-inputs: Likewise.
6908 * benchtests/sin-inputs: Likewise.
6909 * benchtests/slowatan-inputs: Remove.
6910 * benchtests/slowatan.c: Remove.
6911 * benchtests/slowcos-inputs: Remove.
6912 * benchtests/slowcos.c: Remove.
6913 * benchtests/slowexp-inputs: Remove.
6914 * benchtests/slowexp.c: Remove.
6915 * benchtests/slowpow-inputs: Remove.
6916 * benchtests/slowpow.c: Remove.
6917 * benchtests/slowsin-inputs: Remove.
6918 * benchtests/slowsin.c: Remove.
6919 * benchtests/slowtan-inputs: Remove.
6920 * benchtests/slowtan.c: Remove.
6921 * benchtests/tan-inputs: Add slow benchmark inputs.
6922 * scripts/bench.pl: Parse comments and directives.
6924 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6926 ($(objpfx)bench-%.c): Remove *-ITER.
6927 * benchtests/bench-modf.c: Remove definition of ITER.
6928 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6929 (main): Loop for DURATION seconds instead of fixed number of
6931 * scripts/bench.pl: Don't expect iterations in parameters.
6933 2013-04-29 Roland McGrath <roland@hack.frob.com>
6935 * io/fchdir.c (__fchdir): Renamed from fchdir.
6936 (fchdir): Define as weak alias.
6938 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6940 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6941 (ERRNO_EDOM): Likewise.
6942 (ERRNO_ERANGE): Likewise.
6943 (noErrnoTests): New variable.
6944 (init_max_error): Set errno to 0.
6945 (test_single_errno): New function.
6946 (test_errno): Likewise.
6947 (check_float_internal): Call test_errno. Set errno to 0.
6948 (check_complex): Refer to errno tests in comment.
6949 (check_int): Call test_errno. Set errno to 0.
6950 (check_long): Likewise.
6951 (check_bool): Likewise.
6952 (check_longlong): Likewise.
6953 (cos_test): Use ERRNO_* flags for errno tests instead of
6955 (expm1_test): Likewise.
6956 (fmod_test): Likewise.
6957 (ilogb_test): Likewise.
6958 (lgamma_test): Likewise.
6959 (pow_test): Likewise.
6960 (remainder_test): Likewise.
6961 (sin_test): Likewise.
6962 (tan_test): Likewise.
6963 (yn_test): Likewise.
6964 (initialize): Set errno to 0.
6965 (main): Print number of errno tests.
6966 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6968 2013-04-29 Andreas Jaeger <aj@suse.de>
6971 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6975 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6976 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6980 * stdlib/random.c (__initstate): Return NULL if
6984 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6985 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6988 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6992 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6994 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6995 of individual tests.
6996 (casin_test): Likewise.
6997 (casinh_test): Likewise.
6999 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7002 * math/s_catan.c (__catan): Handle arguments with large real or
7003 imaginary part separately without squaring.
7004 * math/s_catanf.c (__catanf): Likewise.
7005 * math/s_catanh.c (__catanh): Likewise.
7006 * math/s_catanhf.c (__catanhf): Likewise.
7007 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7009 (__catanhl): Handle arguments with large real or imaginary part
7010 separately without squaring.
7011 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7013 (__catanl): Handle arguments with large real or imaginary part
7014 separately without squaring.
7015 * math/libm-test.inc (catan_test): Add more tests.
7016 (catanh_test): Likewise.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7020 2013-04-27 Andreas Jaeger <aj@suse.de>
7023 * stdlib/stdlib.h: Update guards for qecvt.
7024 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7027 2013-04-27 Allan McRae <allan@archlinux.org>
7029 * sysdeps/i386/fpu/libm-test-ulps: Update.
7031 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7034 * math/s_catan.c: Include <float.h>.
7035 (__catan): Ensure underflow exception occurs for underflowed
7037 * math/s_catanf.c: Include <float.h>.
7038 (__catanf): Ensure underflow exception occurs for underflowed
7040 * math/s_catanh.c: Include <float.h>.
7041 (__catanh): Ensure underflow exception occurs for underflowed
7043 * math/s_catanhf.c: Include <float.h>.
7044 (__catanhf): Ensure underflow exception occurs for underflowed
7046 * math/s_catanhl.c: Include <float.h>.
7047 (__catanhl): Ensure underflow exception occurs for underflowed
7049 * math/s_catanl.c: Include <float.h>.
7050 (__catanl): Ensure underflow exception occurs for underflowed
7052 * math/libm-test.inc (catan_test): Add more tests.
7053 (catanh_test): Likewise.
7056 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7058 * math/s_ccoshf.c (__ccoshf): Likewise.
7059 * math/s_ccoshl.c (__ccoshl): Likewise.
7060 * math/s_csin.c (__csin): Likewise.
7061 * math/s_csinf.c (__csinf): Likewise.
7062 * math/s_csinh.c (__csinh): Likewise.
7063 * math/s_csinhf.c (__csinhf): Likewise.
7064 * math/s_csinhl.c (__csinhl): Likewise.
7065 * math/s_csinl.c (__csinl): Likewise.
7066 * math/libm-test.inc (ccos_test): Add more tests.
7067 (ccosh_test): Likewise.
7068 (csin_test): Likewise.
7069 (csinh_test): Likewise.
7071 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7073 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7074 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7075 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7076 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7077 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7078 powerpc/power5+/fpu folders.
7079 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7082 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7086 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7088 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7089 additions to variable.
7090 [$(config-machine) = x86_64] (modules-names): Likewise.
7091 ($(objpfx)tst-audit3): Remove dependency.
7092 ($(objpfx)tst-audit3.out): Likewise.
7093 ($(objpfx)tst-audit4): Likewise.
7094 ($(objpfx)tst-audit4.out): Likewise.
7095 ($(objpfx)tst-audit5): Likewise.
7096 ($(objpfx)tst-audit5.out): Likewise.
7097 ($(objpfx)tst-audit6): Likewise.
7098 ($(objpfx)tst-audit6.out): Likewise.
7099 ($(objpfx)tst-audit7): Likewise.
7100 ($(objpfx)tst-audit7.out): Likewise.
7101 (tst-audit3-ENV): Remove variable.
7102 (tst-audit4-ENV): Likewise.
7103 (tst-audit5-ENV): Likewise.
7104 (tst-audit6-ENV): Likewise.
7105 (tst-audit7-ENV): Likewise.
7106 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7107 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7108 addition to variable.
7109 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7110 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7114 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7115 tst-audit3, tst-audit4 and tst-audit5.
7116 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7117 tst-audit6 and tst-audit7.
7118 [$(subdir) = elf] (modules-names): Add audit modules for those
7120 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7121 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7122 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7123 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7124 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7125 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7126 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7127 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7128 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7129 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7130 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7131 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7132 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7133 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7134 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7135 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7137 [$(subdir) = elf && $(config-cflags-avx) = yes]
7138 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7139 [$(subdir) = elf && $(config-cflags-avx) = yes]
7140 (CFLAGS-tst-auditmod4a.c): Likewise.
7141 [$(subdir) = elf && $(config-cflags-avx) = yes]
7142 (CFLAGS-tst-auditmod4b.c): Likewise.
7143 [$(subdir) = elf && $(config-cflags-avx) = yes]
7144 (CFLAGS-tst-auditmod6b.c): Likewise.
7145 [$(subdir) = elf && $(config-cflags-avx) = yes]
7146 (CFLAGS-tst-auditmod6c.c): Likewise.
7147 [$(subdir) = elf && $(config-cflags-avx) = yes]
7148 (CFLAGS-tst-auditmod7b.c): Likewise.
7149 * elf/tst-audit3.c: Move to ...
7150 * sysdeps/x86_64/tst-audit3.c: ... here.
7151 * elf/tst-audit4.c: Move to ...
7152 * sysdeps/x86_64/tst-audit4.c: ... here.
7153 * elf/tst-audit5.c: Move to ...
7154 * sysdeps/x86_64/tst-audit5.c: ... here.
7155 * elf/tst-audit6.c: Move to ...
7156 * sysdeps/x86_64/tst-audit6.c: ... here.
7157 * elf/tst-audit7.c: Move to ...
7158 * sysdeps/x86_64/tst-audit7.c: ... here.
7159 * elf/tst-auditmod3a.c: Move to ...
7160 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7161 * elf/tst-auditmod3b.c: Move to ...
7162 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7163 * elf/tst-auditmod4a.c: Move to ...
7164 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7165 * elf/tst-auditmod4b.c: Move to ...
7166 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7167 * elf/tst-auditmod5a.c: Move to ...
7168 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7169 * elf/tst-auditmod5b.c: Move to ...
7170 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7171 * elf/tst-auditmod6a.c: Move to ...
7172 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7173 * elf/tst-auditmod6b.c: Move to ...
7174 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7175 * elf/tst-auditmod6c.c: Move to ...
7176 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7177 * elf/tst-auditmod7a.c: Move to ...
7178 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7179 * elf/tst-auditmod7b.c: Move to ...
7180 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7182 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7185 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7186 define unconditionally.
7187 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7188 define unconditionally.
7189 (INT8_C, INT16_C, etc.): Likewise.
7191 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7193 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7194 __ehdr_start with hidden visibility.
7196 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7198 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7200 * math/libm-test.inc (cos_test): Use accurate hex constants.
7201 (sincost_test): Likewise.
7203 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7205 * math/libm-test.inc (catan_test): Add more tests.
7206 (catanh_test): Likewise.
7208 * math/s_catanf.c (__catanf): Use suffixed floating-point
7210 * math/s_catanhf.c (__catanhf): Likewise.
7211 * math/s_catanhl.c (__catanhl): Likewise.
7212 * math/s_catanl.c (__catanl): Likewise.
7215 * math/s_catan.c (__catan): Calculate imaginary part of result
7216 with log1p not log unless computing log of number close to 0.
7217 * math/s_catanf.c (__catanf): Likewise.
7218 * math/s_catanl.c (__catanl): Likewise.
7219 * math/s_catanh.c (__catanh): Calculate real part of result with
7220 log1p not log unless computing log of number close to 0.
7221 * math/s_catanhf.c (__catanhf): Likewise.
7222 * math/s_catanhl.c (__catanhl): Likewise.
7223 * math/libm-test.inc (catan_test): Add more tests.
7224 (catanh_test): Likewise.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7228 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7230 * benchtests/Makefile: Mention files in which fast and slow
7231 paths of math functions are implemented.
7233 2013-04-23 Roland McGrath <roland@hack.frob.com>
7235 * sysdeps/posix/timespec_get.c: New file.
7237 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7239 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7241 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7243 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7244 powerpc/power5/fpu folders.
7245 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7246 * benchtests/Makefile: Add modf testcase.
7247 * benchtests/bench-modf.c: New file: Benchmark test for mo
7249 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * time/Makefile (tests): Add tst-strptime-whitespace.
7253 * time/strptime_l.c (get_number): Use ISSPACE.
7254 (__strptime_internal): Likewise.
7255 * time/tst-strptime-whitespace.c: New test case.
7257 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7259 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7261 (_nss_files_init): Set it here.
7263 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7265 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7266 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7269 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7271 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7273 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7278 2013-04-21 David S. Miller <davem@davemloft.net>
7280 * po/ru.po: Update Russion translation from translation project.
7282 2013-04-17 Adam Conrad <adconrad@0c3.net>
7284 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7287 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7289 * configure.in: Remove i386 configure warning. Remove i386 case.
7290 * configure: Regenerate.
7291 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7292 Add example to error message.
7293 * sysdeps/i386/configure: Regenerate.
7295 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7297 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7299 * benchtests/cos-inputs: New file.
7300 * benchtests/slowcos-inputs: New file.
7301 * benchtests/slowcos.c: New file.
7302 * benchtests/slowtan-inputs: New file.
7303 * benchtests/slowtan.c: New file.
7304 * benchtests/tan-inputs: New file.
7306 2013-04-16 Roland McGrath <roland@hack.frob.com>
7308 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7311 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7313 * benchtests/Makefile: Include cppflags-iterator.mk to add
7314 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7316 * Makefile.in (bench-clean): New target.
7317 * benchtests/Makefile (bench-clean): Likewise.
7319 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7321 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7323 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7325 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7327 2013-04-15 Andreas Schwab <schwab@suse.de>
7329 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7331 * nscd/pwdcache.c (cache_addpw): Likewise.
7332 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7335 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7337 * benchtests/Makefile (bench): Write all output to
7338 bench-out.tmp together.
7340 2013-04-15 Andreas Schwab <schwab@suse.de>
7342 * nscd/nscd.c (main): Don't fork again after closing files.
7344 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7346 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7348 * benchtests/Rules (bench-deps): Collect dependencies into a
7349 single variable. Add Makefile to dependencies.
7350 ($(objpfx)bench-%.c): Depend on bench-deps.
7352 2013-04-12 Roland McGrath <roland@hack.frob.com>
7353 Xavier Roche <roche+kml2@exalead.com>
7356 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7357 just that it's a file descriptor.
7358 * manual/llio.texi (Synchronizing AIO Operations): Update description
7359 for EBADF error from aio_fsync.
7361 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7363 * Rules (bench): Move target definition...
7364 * benchtests/Makefile: ... here.
7366 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7368 * math/libm-test.inc (cos_test): Fix PI/2 test.
7369 (sincos_test): Likewise.
7370 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7371 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7373 2013-04-11 Andreas Schwab <schwab@suse.de>
7376 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7377 accept exponent character only when digits were seen.
7378 * stdio-common/Makefile (tests): Add bug26.
7379 * stdio-common/bug26.c: New file.
7382 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7385 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7387 * Makeconfig (rtld-prefix): Define built linker prefix.
7388 * Rules (run-bench): Use it.
7389 * math/Makefile (run-regen-ulps): Likewise.
7391 * Rules (bench): Remove eval.
7393 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7394 Roland McGrath <roland@hack.frob.com>
7395 Ondrej Bilka <neleai@seznam.cz>
7398 * time/getdate.c: Include ctype.h and alloca.h.
7399 (__getdate_r): Trim leading and trailing spaces of input.
7400 * time/tst-getdate.c (tests): Add tests with leading and
7403 2013-04-08 Roland McGrath <roland@hack.frob.com>
7406 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7407 when computing value.
7409 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7411 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7412 Use testrun.sh to run libm tests.
7415 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7417 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7420 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7422 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7424 * Makefile.in (regen-ulps): New target.
7425 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7426 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7427 [ifneq (no,$(PERL)] (regen-ulps): New target.
7428 [ifeq (no,$(PERL)] (regen-ulps): New target.
7429 * math/libm-test.inc (ulps_file_name): Define.
7430 (output_dir): New variable.
7431 (options): Add "output-dir" option.
7432 (parse_opt): Handle 'o' case.
7433 (main): If output_dir is non-NULL use it as a prefix
7435 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7437 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7440 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7441 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7442 fail configure if __sync_val_compare_and_swap is not inlined.
7443 * sysdeps/i386/configure: Regenerate.
7444 * configure.in: Build for i686 when configured for i386.
7445 * configure: Regenerate.
7446 * README: Remove i386 reference.
7448 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7450 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7453 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7455 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7456 (lmsnanval): New variables.
7457 (F): Add conversion tests.
7458 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7459 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7461 * stdio-common/tstdiomisc.c (F): Properly collect individual
7465 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7466 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7467 Instead, use input NaN values or generate a qNaN by arithmetic
7468 operation. Also fix bugs to comply with the standard.
7469 * math/libm-test.inc (remainder_test): Add more tests.
7472 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7474 input NaN values or generate a qNaN by arithmetic operation.
7476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7479 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7482 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7485 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7487 * math/s_cexpf.c (__cexpf): Likewise.
7488 * math/s_cexpl.c (__cexpl): Likewise.
7489 * math/libm-test.inc (cexp_test): Add more tests.
7491 2013-04-03 Andreas Schwab <schwab@suse.de>
7494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7495 order arrays from heap if bigger than alloca cutoff.
7497 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7499 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7500 (SNAN_TESTS_double): Refer to GCC PR56831.
7501 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7504 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7506 * Rules (bench): Move bench.out after the run is complete.
7508 * Rules (bench): Echo currently running benchmark.
7510 * benchtests/Makefile (bench): Add atan and slowatan.
7511 * benchtests/atan-inputs: New file.
7512 * benchtests/slowatan-inputs: New file.
7513 * benchtests/slowatan.c: New file.
7515 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7520 * sysdeps/unix/sysv/linux/kernel-features.h
7521 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7522 __ASSUME_XFS_RESTRICTED_CHOWN.
7523 * sysdeps/unix/sysv/linux/pathconf.c
7524 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7525 Save and restore errno.
7527 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7530 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7531 arguments using __kernel_casinh.
7532 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7533 arguments using __kernel_casinhf.
7534 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7535 arguments using __kernel_casinhl.
7536 * math/libm-test.inc (cacosh_test): Add more tests.
7537 * sysdeps/i386/fpu/libm-test-ulps: Update.
7538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7540 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7542 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7545 * bench/Makefile (bench): Add sin and slowsin.
7546 * benchtests/sin-inputs: New file.
7547 * benchtests/slowsin-inputs: New file.
7548 * benchtests/slowsin.c: New file.
7550 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7551 (bench): Add slowexp and slowpow.
7552 (exp-ITER): Increase iterations.
7553 (pow-ITER): Likewise.
7554 * benchtests/exp-inputs: Change input.
7555 * benchtests/pow-inputs: Likewise.
7556 * benchtests/slowexp-inputs: New file.
7557 * benchtests/slowexp.c: New file.
7558 * benchtests/slowpow-inputs: New file.
7559 * benchtests/slowpow.c: New file.
7561 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7563 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7565 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7566 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7567 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7568 * benchtests/Makefile: Add rint benchtest.
7569 * benchtests/rint-inputs: Input for rint benchtest.
7571 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7573 * Versions.def (libm): Add GLIBC_2.18.
7574 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7575 hidden libm prototypes.
7576 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7577 * math/Makefile (libm-calls): Add s_issignaling.
7578 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7579 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7580 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7582 * math/math.h [__USE_GNU] (issignaling): New macro.
7583 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7584 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7589 * manual/arith.texi (issignaling): New section.
7590 * manual/libm-err-tab.pl (@all_functions): Update comment.
7591 * math/gen-libm-test.pl (parse_args): Apply special handling for
7593 * math/libm-test.inc (print_float, issignaling_test): New
7595 (check_float_internal): Add issignaling checks.
7596 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7598 * sysdeps/powerpc/math-tests.h: New file.
7599 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7601 * math/test-snan.c (TEST_FUNC): Likewise.
7603 2013-03-30 David S. Miller <davem@davemloft.net>
7605 * po/de.po: Update from translation team.
7607 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7610 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7611 imaginary part less than 1.0 and real part less than 0.5
7613 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7614 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7615 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7616 (cacos_test): Add more tests.
7617 (casin_test): Likewise.
7618 (casinh_test): Likewise.
7619 * sysdeps/i386/fpu/libm-test-ulps: Update.
7620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7622 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7624 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7627 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7628 (__pow_mp): Replace ONE and MONE with their values.
7629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7631 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7632 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7633 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7636 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7638 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7639 (__pow_mp): Replace ZERO and MZERO with their values.
7640 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7641 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7644 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7645 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7648 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7650 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7652 2013-03-28 Roland McGrath <roland@hack.frob.com>
7654 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7655 Declare with __attribute__ ((weak)).
7656 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7657 Call __call_tls_dtors only if it's not NULL.
7659 2013-03-28 Roland McGrath <roland@hack.frob.com>
7661 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7662 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7663 magic __ehdr_start linker symbol if it's defined.
7664 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7665 them up here if it was already done.
7667 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7668 (_dl_aux_init): Use const in cast when setting it.
7669 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7670 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7671 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7673 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7675 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7676 * csu/libc-tls.c: Nor here.
7677 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7679 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7680 (__libc_message): Never call vsyslog.
7682 2013-03-28 Alan Modra <amodra@gmail.com>
7684 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7686 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7689 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7696 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7699 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7700 Don't add gid passed as argument.
7702 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7704 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7707 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7708 imaginary part between 1.0 and 1.5 and real part less than 0.5
7710 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7711 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7712 * math/libm-test.inc (cacos_test): Add more tests.
7713 (casin_test): Likewise.
7714 (casinh_test): Likewise.
7715 * sysdeps/i386/fpu/libm-test-ulps: Update.
7716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7718 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7720 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7724 (__dbl_mp): Likewise.
7725 (add_magnitudes): Likewise.
7726 (sub_magnitudes): Likewise.
7734 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7736 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7737 (__dubcos): Likewise.
7738 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7739 (__ieee754_acos): Likewise.
7740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7741 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7746 (my_log2): Likewise.
7747 (checkint): Likewise.
7748 * sysdeps/ieee754/dbl-64/e_remainder.c
7749 (__ieee754_remainder): Likewise.
7750 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7755 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7756 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7757 MANTISSA_STORE_T to store computations on mantissa. Use
7758 macros for rounding and division.
7760 (__dbl_mp): Likewise.
7761 (add_magnitudes): Likewise.
7762 (sub_magnitudes): Likewise.
7765 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7766 powers of two in terms of TWOPOW macro.
7767 (mp_no): Make type of mantissa as MANTISSA_T.
7768 [!RADIXI]: Define RADIXI.
7769 [!TWO52]: Define TWO52.
7770 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7772 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7774 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7775 llroundl symbol when building for PPC32.
7777 2013-03-24 Mark H Weaver <mhw@netris.org>
7779 * manual/arith.texi (Normalization Functions): Fix prototypes for
7780 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7782 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7786 high value to check if expl overflow.
7787 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7788 to check for underflow and overflow.
7789 * math/libm-test.inc: Add exp test.
7791 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7794 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7797 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7799 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7802 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7804 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7805 wrap blocks consisting of several statements.
7807 * sysdeps/generic/math-tests.h: New file.
7808 * sysdeps/i386/fpu/math-tests.h: Likewise.
7809 * math/test-snan.c: Include it.
7810 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7812 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7815 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7816 (__ieee754_j0l): Do not improve calculations using cos of twice
7817 input for inputs above LDBL_MAX / 2.0L.
7818 (__ieee754_y0l): Likewise.
7819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7820 (__ieee754_j1l): Do not improve calculations using cos of twice
7821 input for inputs above LDBL_MAX / 2.0L.
7822 (__ieee754_y1l): Likewise.
7823 * math/libm-test.inc (j0_test): Add another test.
7824 (j1_test): Likewise.
7825 (y0_test): Likewise.
7826 (y1_test): Likewise.
7827 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7831 * Rules ($(objpfx)bench-%.c): Include code from a C source
7834 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7837 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7838 imaginary part 1.0 and real part less than 0.5 specially.
7839 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7840 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7841 * math/libm-test.inc (cacos_test): Add more tests.
7842 (casin_test): Likewise.
7843 (casinh_test): Likewise.
7844 * sysdeps/i386/fpu/libm-test-ulps: Update.
7845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7850 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7852 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7854 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7855 * config.make.in (config-cflags-sse4): Remove variable.
7856 (config-cflags-avx): Likewise.
7857 (config-cflags-sse2avx): Likewise.
7858 (config-cflags-novzeroupper): Likewise.
7859 (config-asflags-i686): Likewise.
7860 (have-mfma4): Likewise.
7861 (have-as-vis3): Likewise.
7863 * configure.in (MIG): Do not AC_SUBST.
7864 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7865 (libc_cv_cc_sse4): Do not AC_SUBST.
7866 (libc_cv_cc_avx): Likewise.
7867 (libc_cv_cc_sse2avx): Likewise.
7868 (libc_cv_cc_novzeroupper): Likewise.
7869 (libc_cv_cc_fma4): Likewise.
7870 (libc_cv_as_i686): Likewise.
7871 (libc_cv_sparc_as_vis3): Likewise.
7872 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7874 (config-asflags-i686): Likewise.
7875 (config-cflags-avx): Likewise.
7876 (config-cflags-sse2avx): Likewise.
7877 (have-mfma4): Likewise.
7878 (config-cflags-novzeroupper): Likewise.
7879 * sysdeps/mach/configure.in (MIG): Likewise.
7880 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7881 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7883 (config-cflags-avx): Likewise.
7884 (config-cflags-sse2avx): Likewise.
7885 (have-mfma4): Likewise.
7886 (config-cflags-novzeroupper): Likewise.
7887 * configure: Regenerated.
7888 * sysdeps/i386/configure: Likewise.
7889 * sysdeps/mach/configure: Likewise.
7890 * sysdeps/sparc/configure: Likewise.
7891 * sysdeps/x86_64/configure: Likewise.
7893 2013-03-20 Roland McGrath <roland@hack.frob.com>
7896 * locale/programs/localedef.c (options): Put N_ translation marker
7897 on argument names, not just descriptions.
7899 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7901 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7903 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7906 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7908 2013-03-19 Roland McGrath <roland@hack.frob.com>
7910 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7911 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7912 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7913 [!BEFORE_ABORT] (before_abort): New function.
7914 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7915 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7916 (writev_for_fatal): New function.
7917 (WRITEV_FOR_FATAL): New macro; call that.
7918 (backtrace_and_maps): New function.
7919 (BEFORE_ABORT): New macro; call that.
7920 (struct str_list): Type removed.
7921 (__libc_message, __libc_fatal): Functions removed.
7922 Include <sysdeps/posix/libc_fatal.c> instead.
7924 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7926 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7928 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7931 2013-03-19 Andreas Schwab <schwab@suse.de>
7933 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7934 * sysdeps/gnu/configure: Regenerate.
7936 * configure.in: Substitute libc_cv_rtlddir.
7937 * configure: Regenerate.
7938 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7939 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7940 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7941 * elf/Makefile (install-others, CFLAGS-interp.c)
7942 (ldso_install, common-ldd-rewrite): Likewise.
7943 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7944 $(inst_slibdir)/$(rtld-installed-name).
7945 * scripts/rellns-sh: Add -p option.
7946 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7949 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7951 * manual/nptl.texi: Renamed to ...
7952 * manual/threads.texi: ... this.
7953 * manual/Makefile (chapters): Update.
7955 2013-03-18 Roland McGrath <roland@hack.frob.com>
7958 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7959 on argument names, not just descriptions.
7960 * malloc/memusagestat.c (options): Likewise.
7961 * nss/getent.c (options): Likewise.
7963 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7966 * iconv/iconv_prog.c (options): Put N_ translation marker
7967 on argument names, not just descriptions.
7968 * iconv/iconvconfig.c (options): Likewise.
7970 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7972 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7973 implementation which is faster on all x86_64 architectures.
7974 Tested on AMD, Intel Nehalem, SNB, IVB.
7975 * sysdeps/x86_64/strnlen.S: Likewise.
7977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7978 Remove all multiarch strlen and strnlen versions.
7979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7980 Remove strlen and strnlen related parts.
7982 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7986 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7987 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7988 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7989 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7990 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7991 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7993 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7995 * manual/memory.texi (Malloc Tunable Parameters):
7996 Sort parameters alphabetically. Add comments for missing entries.
7998 2013-03-17 David S. Miller <davem@davemloft.net>
8000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8002 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8005 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8006 for arguments at most half maximum finite value.
8007 * math/libm-test.inc (j0_test): Add more tests.
8008 (j1_test): Likewise.
8009 (y0_test): Likewise.
8010 (y1_test): Likewise.
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8015 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8016 1 / x and functions P and Q for arguments above 0x1p256L.
8017 (__ieee754_y0l): Likewise.
8018 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8019 (__ieee754_y1l): Likewise.
8020 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8021 (j1_test): Likewise.
8022 (y0_test): Likewise.
8023 (y1_test): Likewise.
8025 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8027 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8030 2013-03-15 Roland McGrath <roland@hack.frob.com>
8032 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8033 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8034 zero since it's initialized to EXEC_PAGESIZE.
8036 * sysdeps/unix/sysv/linux/ldsodefs.h
8037 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8038 * sysdeps/generic/ldsodefs.h: ... here.
8040 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8042 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8044 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8046 * math/test-snan.c: Renamed from
8047 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8048 * math/Makefile (tests): Add test-snan.
8049 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8052 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8053 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8055 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8056 __builtin_nan family of functions.
8057 * math/libm-test.inc (initialize): Initialize qnan_value with
8058 __builtin_nan family of functions.
8059 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8061 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8063 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8064 storage class. Initialize qNaN_var and sNaN_var with
8065 __builtin_nan and __builtin_nans families of functions,
8068 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8069 (sqrt_test): Remove duplicate test with qNaN input.
8070 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8071 (round_test, signbit_test, significand_test): Note missing +/-Inf
8072 as well as qNaN tests.
8074 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8075 qNaN_var. Fix a few strings, too.
8076 * math/libm-test.inc (nan_value): Rename to qnan_value.
8077 * math/gen-libm-test.pl (%beautify): Adjust to that.
8078 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8079 * math/test-misc.c (main): Likewise.
8080 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8081 to __qnan_bytes, and __qnan_union, respectively.
8082 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8084 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8085 and lqnanval, respectively.
8086 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8087 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8088 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8089 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8091 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8092 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8095 * math/test-misc.c (main): Fix copy'n'pastos.
8096 * misc/tst-efgcvt.c (special): Likewise.
8098 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8099 Remove declarations.
8101 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8103 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8104 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8105 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8106 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8108 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8111 macro to return vdso values correctly in IFUNC implementations.
8112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8113 Optimization by using IFUNC.
8115 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8116 Richard Henderson <rth@redhat.com>
8117 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8119 * Makefile.in (bench): New target.
8120 * NEWS: Mention the benchmark framework.
8121 * Rules (bench): Likewise.
8122 (binaries-bench): Generate binaries for functions to
8124 * benchtests/Makefile: New makefile for benchmark tests.
8125 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8127 * benchtests/exp-inputs: New input file for EXP function.
8128 * benchtests/pow-inputs: New input file for POW function.
8129 * scripts/bench.pl: New script to generate source files for
8132 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8134 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8136 computations on mantissa. Use macros for rounding and
8139 (__dbl_mp): Likewise.
8140 (add_magnitudes): Likewise.
8141 (sub_magnitudes): Likewise.
8144 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8145 powers of two in terms of TWOPOW macro.
8146 (mp_no): Make type of mantissa as MANTISSA_T.
8147 [!RADIXI]: Define RADIXI.
8148 [!TWO52]: Define TWO52.
8149 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8151 * manual/nptl.texi (cindex): Modify threads to pthreads.
8153 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8155 * sysdeps/x86_64/preconfigure: Regenerated.
8157 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8160 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8162 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8163 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8165 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8166 * math/libm-test.inc (j0_test): Do not allow one spurious
8167 underflow exception.
8168 (y1_test): Likewise.
8170 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8172 * manual/Makefile (chapters): Add nptl.
8173 * manual/debug.texi (Debugging Support): Add link to Threads
8175 * manual/nptl.texi: New file.
8177 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8179 2013-03-14 Petr Baudis <pasky@ucw.cz>
8181 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8182 for non-NULL pointer before the memory validity test. Pointed
8183 out by Holger Brunck <holger.brunck@keymile.com>.
8185 2013-03-13 Andreas Schwab <schwab@suse.de>
8187 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8190 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8192 * timezone/zic.c: Update from tzcode 2013b.
8194 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8196 * manual/install.texi (Configuring and compiling):
8197 Mention i686 and i586.
8198 * INSTALL: Regenerate.
8200 2013-03-12 Roland McGrath <roland@hack.frob.com>
8202 * sysdeps/init_array/elf-init.c: New file.
8204 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8205 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8207 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8208 __gmon_start__ as global, but as static with a .preinit_array pointer.
8209 * sysdeps/init_array/gmon-start.c: New file. Use that.
8210 * sysdeps/init_array/crti.S: New file, empty except for comments.
8211 * sysdeps/init_array/crtn.S: Likewise.
8213 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8215 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8218 Remove Prefer_SSE_for_memop.
8219 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8220 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8221 HAS_PREFER_SSE_FOR_MEMOP.
8222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8225 Remove bzero, memset ifunc support.
8226 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8227 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8228 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8229 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8231 2013-03-11 Andreas Schwab <schwab@suse.de>
8234 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8237 (GLIBC_2.16): Remove pthread_atfork.
8239 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8241 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8242 (ptestcases.h): Likewise.
8244 2013-03-08 Roland McGrath <roland@hack.frob.com>
8246 * Makeconfig ($(common-objpfx)config.status): Depend on
8247 sysdeps/*/preconfigure{,.in} too.
8249 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8251 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8252 (__free_hook): Use void * instead of __malloc_ptr_t.
8253 (__malloc_hook): Likewise.
8254 (__realloc_hook): Likewise.
8255 (__memalign_hook): Likewise.
8256 (__after_morecore_hook): Likewise.
8257 * malloc/arena.c (save_malloc_hook): Likewise.
8258 (save_free_hook): Likewise.
8259 * malloc/hooks.c (malloc_hook_ini): Likewise.
8260 (realloc_hook_ini): Likewise.
8261 (memalign_hook_ini): Likewise.
8262 * malloc/malloc.c (malloc_hook_ini): Likewise.
8263 (realloc_hook_ini): Likewise.
8264 (memalign_hook_ini): Likewise.
8265 (__free_hook): Likewise.
8266 (__malloc_hook): Likewise.
8267 (__realloc_hook): Likewise.
8268 (__memalign_hook): Likewise.
8269 (__libc_malloc): Likewise.
8270 (__libc_free): Likewise.
8271 (__libc_realloc): Likewise.
8272 (__libc_memalign): Likewise.
8273 (__libc_valloc): Likewise.
8274 (__libc_pvalloc): Likewise.
8275 (__libc_calloc): Likewise.
8276 (__posix_memalign): Likewise.
8277 * malloc/morecore.c (__sbrk): Likewise.
8278 (__default_morecore): Likewise.
8280 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8282 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8283 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8286 * malloc/malloc.h (__malloc_size_t): Remove macro.
8287 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8289 (old_memalign_hook): Likewise.
8290 (old_realloc_hook): Likewise.
8291 (struct hdr): Likewise.
8293 (mallochook): Likewise.
8294 (memalignhook): Likewise.
8295 (reallochook): Likewise.
8296 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8297 (tr_old_realloc_hook): Likewise.
8298 (tr_old_memalign_hook): Likewise.
8299 (tr_mallochook): Likewise.
8300 (tr_reallochook): Likewise.
8301 (tr_memalignhook): Likewise.
8303 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8306 default_ldbl_pack and using as default implementation.
8307 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8309 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8310 redundant definition.
8311 (ldbl_insert_mantissa): Likewise.
8312 (ldbl_canonicalize): Likewise.
8313 (ldbl_nearbyint): Likewise.
8314 (ldbl_pack): Rename to ldbl_pack_ppc.
8315 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8316 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8317 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8319 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8322 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8324 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8327 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8328 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8330 2013-03-07 Andreas Jaeger <aj@suse.de>
8332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8335 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8337 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8338 Include mpa.h and declare __MPEXP.
8339 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8341 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8342 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8344 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8345 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8347 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8348 (__slowpow): Use long double EXPL and LOGL functions to
8350 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8351 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8353 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8354 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8355 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8358 intermediate variable to calculate exponent.
8360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8364 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8365 [!NO__SQR]: Define __sqr.
8366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8367 and NO__SQR. Remove all code except __mul and __sqr. Include
8368 sysdeps/ieee754/dbl-64/mpa.c.
8369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8372 * posix/Makefile (tests): Add tst-pathconf.
8373 * posix/tst-pathconf.c: New test case.
8374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8376 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8378 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8380 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8382 2013-03-06 Andreas Jaeger <aj@suse.de>
8384 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8385 definition via __MAP_ANONYMOUS.
8387 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8388 it's not part of Linux headers.
8390 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8391 (MAP_HUGE_MASK): Define.
8393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8398 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8399 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8401 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8404 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8406 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8407 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8408 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8409 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8410 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8416 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8417 Handle f2fs and efivarfs.
8419 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8422 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8423 (EFIVARFS_MAGIC): Add.
8424 (F2FS_LINK_MAX): Add.
8426 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8428 * stdio-common/vfprintf.c: Replace __builtin_expect with
8431 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8434 * sysdeps/generic/bp-sym.h: Remove file.
8435 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8436 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8437 <bp-sym.h> and <bp-asm.h>.
8438 (__longjmp): Don't use BP_SYM.
8439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8441 (memcpy): Don't use BP_SYM.
8442 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8443 <bp-sym.h> and <bp-asm.h>.
8444 (memcpy): Don't use BP_SYM.
8445 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8447 (memcpy): Don't use BP_SYM.
8448 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8450 (memset): Don't use BP_SYM.
8451 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8452 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8453 (__bzero): Don't use BP_SYM.
8454 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8455 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8456 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8457 <bp-sym.h> and <bp-asm.h>.
8458 (memcmp): Don't use BP_SYM. Remove comment about bounded
8460 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8461 <bp-sym.h> and <bp-asm.h>.
8462 (memcpy): Don't use BP_SYM.
8463 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8464 <bp-sym.h> and <bp-asm.h>.
8465 (memset): Don't use BP_SYM.
8466 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8467 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8468 (__bzero): Don't use BP_SYM.
8469 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8470 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8472 <bp-sym.h> and <bp-asm.h>.
8473 (strncmp): Don't use BP_SYM. Remove comment about bounded
8475 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8476 <bp-sym.h> and <bp-asm.h>.
8477 (memcpy): Don't use BP_SYM.
8478 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8479 <bp-sym.h> and <bp-asm.h>.
8480 (memset): Don't use BP_SYM.
8481 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8482 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8483 (__bzero): Don't use BP_SYM.
8484 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8485 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8486 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8487 <bp-sym.h> and <bp-asm.h>.
8488 (__memchr): Don't use BP_SYM.
8489 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8490 <bp-sym.h> and <bp-asm.h>.
8491 (memcmp): Don't use BP_SYM. Remove comment about bounded
8493 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8494 <bp-sym.h> and <bp-asm.h>.
8495 (memcpy): Don't use BP_SYM.
8496 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8497 <bp-sym.h> and <bp-asm.h>.
8498 (__mempcpy): Don't use BP_SYM.
8499 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8500 <bp-sym.h> and <bp-asm.h>.
8501 (__memrchr): Don't use BP_SYM.
8502 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8503 <bp-sym.h> and <bp-asm.h>.
8504 (memset): Don't use BP_SYM.
8505 (__bzero): Likewise.
8506 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8507 <bp-sym.h> and <bp-asm.h>.
8508 (__rawmemchr): Don't use BP_SYM.
8509 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8510 <bp-sym.h> and <bp-asm.h>.
8511 (__STRCMP): Don't use BP_SYM.
8512 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8513 <bp-sym.h> and <bp-asm.h>.
8514 (strchr): Don't use BP_SYM.
8515 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8516 <bp-sym.h> and <bp-asm.h>.
8517 (__strchrnul): Don't use BP_SYM.
8518 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8519 <bp-sym.h> and <bp-asm.h>.
8520 (strlen): Don't use BP_SYM.
8521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8522 <bp-sym.h> and <bp-asm.h>.
8523 (strncmp): Don't use BP_SYM. Remove comment about bounded
8525 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (__strnlen): Don't use BP_SYM.
8528 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8529 <bp-sym.h> and <bp-asm.h>.
8530 (__GI__setjmp): Don't use BP_SYM.
8531 (_setjmp): Likewise.
8532 (__sigsetjmp): Likewise.
8533 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8534 (L(start_addresses)): Don't use BP_SYM.
8536 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8538 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8539 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8540 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8541 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8542 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8544 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8545 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8546 about bounded pointers.
8547 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8548 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8549 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8551 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8552 about bounded pointers. Remove GKM FIXME comments.
8553 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8554 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8556 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8557 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8558 Remove GKM FIXME comments.
8559 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8560 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8561 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8563 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8564 about bounded pointers. Remove GKM FIXME comment.
8565 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8567 (strncmp): Don't use BP_SYM. Remove comment about bounded
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8570 <bp-sym.h> and <bp-asm.h>.
8571 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8573 <bp-sym.h> and <bp-asm.h>.
8574 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8577 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8579 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8582 2013-03-05 David S. Miller <davem@davemloft.net>
8584 * po/es.po: Update from translation team.
8586 2013-03-05 Andreas Jaeger <aj@suse.de>
8588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8589 <bits/mman-linux.h>.
8590 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8592 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8593 <bits/mman-linux.h> to end of file.
8594 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8596 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8597 <bits/mman-linux.h> to end of file.
8598 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8601 <bits/mman-linux.h> to end of file.
8603 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8604 (MCL_CURRENT, MCL_FUTURE): Define here.
8606 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8611 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8613 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8615 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8616 fourth parameter needed for rt_sigprocmask syscall.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8618 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8620 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8621 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8622 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8624 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8627 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8628 comment about bounded pointers.
8629 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8630 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8632 2013-03-04 Andreas Jaeger <aj@suse.de>
8634 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8638 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8639 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8644 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8648 __ieee754_sqrl instead of __sqrl.
8650 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8652 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8653 * sysdeps/powerpc/fpu_control.h: ... here.
8654 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8655 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8656 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8657 * sysdeps/powerpc/bits/mathinline.h: ... here.
8659 2013-03-01 Roland McGrath <roland@hack.frob.com>
8661 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8662 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8663 to just [NEED_DL_SYSINFO_DSO].
8664 * elf/dl-support.c: Likewise.
8665 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8666 * elf/rtld.c (dl_main): Likewise.
8667 * elf/setup-vdso.h (setup_vdso): Likewise.
8668 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8669 * sysdeps/unix/sysv/linux/dl-sysdep.c
8670 (_dl_discover_osversion): Likewise.
8672 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8674 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8675 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8677 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8679 * NEWS: Mention libm performance improvements and non-x86 PI
8682 * csu/libc-start.c (__pthread_initialize_minimal): Change
8684 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8686 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8689 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8691 <bp-sym.h> and <bp-asm.h>.
8692 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8693 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8695 (memcpy): Don't use BP_SYM.
8696 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8698 (__mpn_add_n): Don't use BP_SYM.
8699 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8700 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8702 (__mpn_addmul_1): Don't use BP_SYM.
8703 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8704 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8706 (_setjmp): Don't use BP_SYM.
8707 (__novmx_setjmp): Likewise.
8708 (__GI__setjmp): Likewise.
8709 (__vmx_setjmp): Likewise.
8710 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8712 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8713 (__bzero): Don't use BP_SYM.
8714 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8715 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8716 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8717 <bp-sym.h> and <bp-asm.h>.
8718 (memcpy): Don't use BP_SYM.
8719 * sysdeps/powerpc/powerpc32/fpu/__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/fpu/setjmp-common.S: Don't include
8723 <bp-sym.h> and <bp-asm.h>.
8724 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8725 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8727 (__mpn_lshift): Don't use BP_SYM.
8728 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8729 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8731 (memset): Don't use BP_SYM.
8732 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8733 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8734 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8736 (__mpn_mul_1): Don't use BP_SYM.
8737 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8739 <bp-sym.h> and <bp-asm.h>.
8740 (memcmp): Don't use BP_SYM.
8741 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8742 <bp-sym.h> and <bp-asm.h>.
8743 (memcpy): Don't use BP_SYM.
8744 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8745 <bp-sym.h> and <bp-asm.h>.
8746 (memset): Don't use BP_SYM.
8747 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8748 <bp-sym.h> and <bp-asm.h>.
8749 (strncmp): Don't use BP_SYM.
8750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8751 <bp-sym.h> and <bp-asm.h>.
8752 (memcpy): Don't use BP_SYM.
8753 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8754 <bp-sym.h> and <bp-asm.h>.
8755 (memset): Don't use BP_SYM.
8756 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8757 <bp-sym.h> and <bp-asm.h>.
8758 (__memchr): Don't use BP_SYM.
8759 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8760 <bp-sym.h> and <bp-asm.h>.
8761 (memcmp): Don't use BP_SYM.
8762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8763 <bp-sym.h> and <bp-asm.h>.
8764 (memcpy): Don't use BP_SYM.
8765 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8766 <bp-sym.h> and <bp-asm.h>.
8767 (__mempcpy): Don't use BP_SYM.
8768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8769 <bp-sym.h> and <bp-asm.h>.
8770 (__memrchr): Don't use BP_SYM.
8771 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8772 <bp-sym.h> and <bp-asm.h>.
8773 (memset): Don't use BP_SYM.
8774 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8775 <bp-sym.h> and <bp-asm.h>.
8776 (__rawmemchr): Don't use BP_SYM.
8777 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8778 <bp-sym.h> and <bp-asm.h>.
8779 (__STRCMP): Don't use BP_SYM.
8780 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8781 <bp-sym.h> and <bp-asm.h>.
8782 (strchr): Don't use BP_SYM.
8783 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8784 <bp-sym.h> and <bp-asm.h>.
8785 (__strchrnul): Don't use BP_SYM.
8786 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8787 <bp-sym.h> and <bp-asm.h>.
8788 (strlen): Don't use BP_SYM.
8789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8790 <bp-sym.h> and <bp-asm.h>.
8791 (strncmp): Don't use BP_SYM.
8792 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8793 <bp-sym.h> and <bp-asm.h>.
8794 (__strnlen): Don't use BP_SYM.
8795 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8797 (__mpn_rshift): Don't use BP_SYM.
8798 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8799 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8800 <bp-sym.h> and <bp-asm.h>.
8801 (__sigsetjmp): Don't use BP_SYM.
8802 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8803 (L(start_addresses)): Don't use BP_SYM.
8805 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8807 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8808 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8809 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8810 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8812 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8813 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8814 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8815 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8817 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8819 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8820 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8822 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8824 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8825 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8826 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8828 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8830 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8832 (strncmp): Don't use BP_SYM,
8833 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8835 (__mpn_sub_n): Don't use BP_SYM.
8836 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8837 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8839 (__mpn_submul_1): Don't use BP_SYM.
8840 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8842 <bp-sym.h> and <bp-asm.h>.
8843 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8845 <bp-sym.h> and <bp-asm.h>.
8846 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8849 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8852 Use ZK to minimize writes to Z.
8853 (sub_magnitudes): Simplify code a bit.
8854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8855 Use ZK to minimize writes to Z.
8856 (sub_magnitudes): Simplify code a bit.
8858 2013-02-27 Roland McGrath <roland@hack.frob.com>
8860 * csu/gmon-start.c: Add special exception to license text.
8862 2013-02-27 Richard Henderson <rth@redhat.com>
8864 * scripts/config.guess: Update from config.git.
8865 * scripts/config.sub: Likewise.
8867 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8871 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8873 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8875 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8877 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8879 2013-02-26 Roland McGrath <roland@hack.frob.com>
8881 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8882 [$(build-shared = yes].
8884 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8886 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8887 (__mul): Reduce iterations for calculating mantissa.
8889 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8891 (__mpranred): Likewise.
8894 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8895 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8897 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8899 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8900 Define __attribute__.
8902 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8904 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8906 * posix/regex_internal.h (__attribute): Remove.
8907 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8908 (re_string_context_at): Likewise.
8909 (bitset_not): Use __attribute__ and mark function as possibly
8911 (bitset_merge): Likewise.
8912 (bitset_mask): Likewise.
8913 (re_string_char_size_at): Likewise.
8914 (re_string_wchar_at): Likewise.
8915 (re_string_elem_size_at): Likewise.
8917 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8919 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8923 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8928 (__dbl_mp): Likewise.
8929 (add_magnitudes): Likewise.
8930 (sub_magnitudes): Likewise.
8934 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8937 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8940 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8944 up changes with default code.
8945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8948 2013-02-24 Allan McRae <allan@archlinux.org>
8950 * manual/socket.texi (The Internet Namespace): Order menu items
8951 to match that in the file.
8953 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8954 node listing of the info page menu.
8956 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8959 * sysdeps/i386/bp-asm.h: Remove file.
8960 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8961 (PARMS): Do not use macros from bp-asm.h.
8965 (__mpn_add_n): Do not use BP_SYM
8966 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8968 (PARMS): Do not use macros from bp-asm.h.
8971 (__mpn_addmul_1): Do not use BP_SYM
8972 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8974 (PARMS): Do not use macros from bp-asm.h.
8976 (_setjmp): Likewise. Do not use BP_SYM.
8977 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8979 (PARMS): Do not use macros from bp-asm.h.
8981 (setjmp): Likewise. Do not use BP_SYM.
8982 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8984 (PARMS): Do not use macros from bp-asm.h.
8985 (__frexp): Do not use BP_SYM.
8987 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8989 (PARMS): Do not use macros from bp-asm.h.
8990 (__frexpf): Do not use BP_SYM.
8992 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8994 (PARMS): Do not use macros from bp-asm.h.
8995 (__frexpl): Do not use BP_SYM.
8997 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8999 (PARMS): Do not use macros from bp-asm.h.
9000 (__remquo): Do not use BP_SYM.
9002 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9004 (PARMS): Do not use macros from bp-asm.h.
9005 (__remquof): Do not use BP_SYM.
9006 (remquof): Likewise.
9007 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9009 (PARMS): Do not use macros from bp-asm.h.
9010 (__remquol): Do not use BP_SYM.
9011 (remquol): Likewise.
9012 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9014 (PARMS): Do not use macros from bp-asm.h.
9017 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9018 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9020 (PARMS): Do not use macros from bp-asm.h.
9021 (strlen): Do not use BP_SYM.
9022 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9024 (PARMS): Do not use macros from bp-asm.h.
9028 (__mpn_add_n): Do not use BP_SYM.
9029 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9031 (PARMS): Do not use macros from bp-asm.h.
9034 (__mpn_addmul_1): Do not use BP_SYM.
9035 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9038 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9040 (PARMS): Do not use macros from bp-asm.h.
9043 (__mpn_lshift): Do not use BP_SYM.
9044 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9046 (PARMS): Do not use macros from bp-asm.h.
9050 (memcpy): Likewise. Do not use BP_SYM.
9051 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9052 libc_hidden_def and weak_alias.
9053 (mempcpy): Do not use BP_SYM in weak_alias.
9054 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9056 (PARMS): Do not use macros from bp-asm.h.
9059 [!BZERO_P] (CHR): Likewise.
9060 (memset): Likewise. Do not use BP_SYM.
9061 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9063 (PARMS): Do not use macros from bp-asm.h.
9066 (__mpn_mul_1): Do not use BP_SYM.
9067 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9069 (PARMS): Do not use macros from bp-asm.h.
9072 (__mpn_rshift): Do not use BP_SYM.
9073 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9075 (PARMS): Do not use macros from bp-asm.h.
9078 (strchr): Likewise. Do not use BP_SYM.
9079 (index): Do not use BP_SYM in weak_alias.
9080 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9082 (PARMS): Do not use macros from bp-asm.h.
9085 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9086 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9088 (PARMS): Do not use macros from bp-asm.h.
9089 (strlen): Do not use BP_SYM.
9090 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9092 (PARMS): Do not use macros from bp-asm.h.
9096 (__mpn_sub_n): Do not use BP_SYM.
9097 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9099 (PARMS): Do not use macros from bp-asm.h.
9102 (__mpn_submul_1): Do not use BP_SYM.
9103 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9105 (PARMS): Do not use macros from bp-asm.h.
9109 (__mpn_add_n): Do not use BP_SYM.
9110 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9113 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9115 (PARMS): Do not use macros from bp-asm.h.
9118 (memcmp): Do not use BP_SYM.
9119 (bcmp): Do not use BP_SYM in weak_alias.
9120 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9122 (PARMS): Do not use macros from bp-asm.h.
9126 (memcpy): Likewise. Do not use BP_SYM.
9127 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9129 (PARMS): Do not use macros from bp-asm.h.
9133 (memmove): Likewise. Do not use BP_SYM.
9134 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9136 (PARMS): Do not use macros from bp-asm.h.
9140 (__mempcpy): Likewise. Do not use BP_SYM.
9141 (mempcpy): Do not use BP_SYM in weak_alias.
9142 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9144 (PARMS): Do not use macros from bp-asm.h.
9147 [!BZERO_P] (CHR): Likewise.
9148 (memset): Likewise. Do not use BP_SYM.
9149 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9151 (PARMS): Do not use macros from bp-asm.h.
9153 (strcmp): Do not use BP_SYM.
9154 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9156 (PARMS): Do not use macros from bp-asm.h.
9159 [USE_AS_STRTOK_R] (SAVE): Likewise.
9160 (FUNCTION): Likewise. Do not use BP_SYM.
9161 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9163 (strtok_r): Likewise.
9164 (__GI___strtok_r): Likewise.
9165 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9166 (PARMS): Do not use macros from bp-asm.h.
9169 (__mpn_lshift): Do not use BP_SYM.
9170 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9171 (PARMS): Do not use macros from bp-asm.h.
9174 (__memchr): Do not use BP_SYM.
9175 (memchr): Do not use BP_SYM in weak_alias.
9176 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9177 (PARMS): Do not use macros from bp-asm.h.
9180 (memcmp): Do not use BP_SYM.
9181 (bcmp): Do not use BP_SYM in weak_alias.
9182 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9183 (PARMS): Do not use macros from bp-asm.h.
9186 (__mpn_mul_1): Do not use BP_SYM.
9187 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9189 (PARMS): Do not use macros from bp-asm.h.
9192 (__rawmemchr): Do not use BP_SYM.
9193 (rawmemchr): Do not use BP_SYM in weak_alias.
9194 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9195 (PARMS): Do not use macros from bp-asm.h.
9198 (__mpn_rshift): Do not use BP_SYM.
9199 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9200 (PARMS): Do not use macros from bp-asm.h.
9202 (__sigsetjmp): Likewise. Do not use BP_SYM.
9203 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9204 (_start): Do not use BP_SYM.
9205 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9206 (PARMS): Do not use macros from bp-asm.h.
9209 (__stpcpy): Likewise. Do not use BP_SYM.
9210 (stpcpy): Do not use BP_SYM in weak_alias.
9211 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9213 (PARMS): Do not use macros from bp-asm.h.
9217 (__stpncpy): Likewise. Do not use BP_SYM.
9218 (stpncpy): Do not use BP_SYM in weak_alias.
9219 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9220 (PARMS): Do not use macros from bp-asm.h.
9223 (strchr): Likewise. Do not use BP_SYM.
9224 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9226 (PARMS): Do not use macros from bp-asm.h.
9229 (__strchrnul): Likewise. Do not use BP_SYM.
9230 (strchrnul): Do not use BP_SYM in weak_alias.
9231 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9233 (PARMS): Do not use macros from bp-asm.h.
9235 (strcspn): Do not use BP_SYM.
9236 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9238 (PARMS): Do not use macros from bp-asm.h.
9241 (strpbrk): Likewise. Do not use BP_SYM.
9242 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9244 (PARMS): Do not use macros from bp-asm.h.
9247 (strrchr): Likewise. Do not use BP_SYM.
9248 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9249 (PARMS): Do not use macros from bp-asm.h.
9251 (strspn): Do not use BP_SYM.
9252 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9253 (PARMS): Do not use macros from bp-asm.h.
9257 (FUNCTION): Likewise. Do not use BP_SYM.
9258 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9260 (strtok_r): Likewise.
9261 (__GI___strtok_r): Likewise.
9262 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9263 (PARMS): Do not use macros from bp-asm.h.
9267 (__mpn_sub_n): Do not use BP_SYM.
9268 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9270 (PARMS): Do not use macros from bp-asm.h.
9273 (__mpn_submul_1): Do not use BP_SYM.
9274 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9276 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9278 (PARMS): Do not use macros from bp-asm.h.
9283 (__clone): Do not use BP_SYM.
9284 (clone): Do not use BP_SYM in weak_alias.
9285 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9287 (PARMS): Do not use macros from bp-asm.h.
9289 (__mmap64): Do not use BP_SYM.
9290 (mmap64): Do not use BP_SYM in weak_alias.
9291 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9292 <bp-sym.h> and <bp-asm.h>.
9293 (PARMS): Do not use macros from bp-asm.h.
9294 (__posix_fadvise64_l64): Do not use BP_SYM.
9295 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9296 (PARMS): Do not use macros from bp-asm.h.
9298 (semtimedop): Do not use BP_SYM.
9299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9302 2013-02-21 Allan McRae <allan@archlinux.org>
9304 * manual/message.texi (Charset conversion in gettext):
9305 Move @end statement to beginning of line.
9307 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9314 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9319 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9321 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9322 tail-call to the resolved function if pltexit isn't needed.
9324 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9327 or Y being zero as being unlikely.
9328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9331 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9333 * manual/nss.texi (System Databases and Name Service Switch):
9334 Remove frobnicate @pxref.
9336 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9338 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9339 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9341 2013-02-20 Petr Machata <pmachata@redhat.com>
9343 * elf/elf.h (R_ARM_TARGET1): New macro.
9344 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9345 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9346 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9347 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9348 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9349 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9350 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9351 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9352 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9353 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9354 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9355 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9356 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9357 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9358 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9359 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9360 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9361 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9362 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9363 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9364 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9365 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9366 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9367 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9368 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9369 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9370 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9371 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9372 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9373 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9374 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9375 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9376 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9377 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9378 (R_ARM_THM_GOT_BREL12): Likewise.
9379 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9380 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9381 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9382 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9383 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9384 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9385 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9386 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9387 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9389 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9391 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9392 __attribute_used__ to __attribute__ ((unused)).
9394 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9396 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9402 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9405 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9407 (ENTER): Remove both macro definitions.
9409 (CHECK_BOUNDS_LOW): Likewise.
9410 (CHECK_BOUNDS_HIGH): Likewise.
9411 (CHECK_BOUNDS_BOTH): Likewise.
9412 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9413 (RETURN_BOUNDED_POINTER): Likewise.
9414 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9415 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9416 (POP_ERRNO_LOCATION_RETURN): Likewise.
9417 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9418 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9419 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9421 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9422 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9423 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9424 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9425 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9426 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9427 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9428 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9429 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9430 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9431 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9432 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9433 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9434 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9436 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9437 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9439 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9441 * sysdeps/i386/i586/memset.S (memset): Likewise.
9442 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9443 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9444 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9446 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9447 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9448 Change uses of L(2) to L(out).
9449 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9450 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9451 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9453 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9456 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9458 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9459 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9460 (RETURN): Do not use macro LEAVE.
9461 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9462 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9463 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9464 * sysdeps/i386/i686/memset.S (memset): Likewise.
9465 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9466 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9467 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9468 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9470 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9471 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9472 L(1_2) and L(1_3) into L(1).
9473 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9474 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9475 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9476 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9477 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9478 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9479 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9480 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9481 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9483 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9484 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9486 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9487 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9488 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9489 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9490 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9491 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9492 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9493 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9494 * sysdeps/i386/strspn.S (strspn): Likewise.
9495 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9497 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9498 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9499 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9500 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9502 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9503 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9504 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9506 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9508 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9510 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9513 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9515 * math/atest-exp.c (exp_mpn): Remove ROUND.
9516 * math/atest-exp2.c (exp_mpn): Likewise.
9517 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9519 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9520 * stdlib/tst-tls-atexit-lib.c: Likewise.
9521 * stdlib/tst-tls-atexit.c: Likewise.
9523 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9525 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9526 and __attribute_alloc_size__.
9528 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9530 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9531 __attribute_alloc_size__.
9532 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9533 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9535 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9537 * include/programs/xmalloc.h: New file.
9538 * catgets/gencat.c: Include it.
9539 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9540 * elf/pldd.c: Likewise.
9541 * iconv/iconv_charmap.c: Likewise.
9542 * iconv/iconvconfig.c: Likewise.
9543 * iconv/strtab.c: Likewise.
9544 * locale/programs/locale.c: Likewise.
9545 * locale/programs/localedef.h: Likewise.
9546 * locale/programs/simple-hash.c: Likewise.
9547 * nscd/nscd.h: Likewise.
9548 * nss/makedb.c: Likewise.
9549 * sysdeps/generic/ldconfig.h: Likewise.
9551 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9553 * Versions.def: Add GLIBC_2.18.
9554 * include/link.h (struct link_map): New member l_tls_dtor_count.
9555 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9556 (__call_tls_dtors): Likewise.
9557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9558 __cxa_thread_atexit_impl.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9575 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9576 (tests): Add test case tst-tls-atexit.
9577 (modules-names): Add shared library for tst-tls-atexit.
9578 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9579 (GLIBC_PRIVATE): Add __call_tls_dtors.
9580 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9582 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9583 * stdlib/tst-tls-atexit.c: New test case.
9584 * stdlib/tst-tls-atexit-lib.c: New test case.
9586 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9588 * elf/Versions (ld): Add _dl_find_dso_for_object.
9589 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9590 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9591 (dl_open_worker): Use _dl_find_dso_for_object.
9592 * elf/dl-sym.c (do_sym): Likewise.
9593 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9595 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9597 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9598 Syntactic changes only.
9599 (_dl_runtime_profile): Do a tail-call to the resolved function.
9601 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9604 * sysdeps/x86_64/bp-asm.h: Remove file.
9605 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9606 <bp-sym.h> and <bp-asm.h>.
9607 (__clone): Do not use BP_SYM.
9608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9609 <bp-sym.h> and <bp-asm.h>.
9610 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9611 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9613 (_setjmp): Do not use BP_SYM.
9614 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9616 (setjmp): Do not use BP_SYM.
9617 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9619 (mempcpy): Do not use BP_SYM in weak_alias.
9620 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9622 (strchr): Do not use BP_SYM.
9623 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9625 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9626 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9627 (_start): Do not use BP_SYM.
9628 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9630 (strcat): Do not use BP_SYM.
9631 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9633 (STRCMP): Do not use BP_SYM.
9634 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9636 (STRCPY): Do not use BP_SYM.
9637 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9639 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9641 (FUNCTION): Do not use BP_SYM.
9642 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9644 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9646 2013-02-17 Andreas Jaeger <aj@suse.de>
9648 * time/Versions: Sort entries.
9649 * string/Versions: Likewise.
9650 * resolv/Versions: Likewise.
9651 * posix/Versions: Likewise.
9652 * iconv/Versions: Likewise.
9653 * elf/Versions: Likewise.
9654 * wcsmbs/Versions: Likewise.
9656 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9658 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9659 loop termination condition.
9661 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9662 variable to calculate EZ.
9665 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9666 the lower precision input.
9668 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9671 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9672 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9673 (run-via-rtld-prefix): Do not handle %-bp tests.
9674 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9675 (all-object-suffixes): Remove .ob.
9676 (bppfx): Remove variable.
9677 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9678 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9679 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9680 [$(build-bounded) = yes] (libtype.ob): Likewise.
9681 * Makerules (elide-routines.ob): Remove variable.
9682 (do-tests-clean): Do not handle *-bp.out.
9683 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9684 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9685 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9686 (tests): Do not include $(tests-bp.out).
9687 (xtests): Do not include $(xtests-bp.out).
9688 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9689 [$(build-bounded) = yes] ($(addprefix
9690 $(objpfx),$(binaries-bounded))): Remove rule.
9691 ($(objpfx)%-bp.out): Remove rule.
9692 * config.make.in (build-bounded): Remove variable.
9693 * crypt/Makefile [$(build-bounded) = yes]
9694 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9695 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9697 [$(build-bounded) = yes] (install-lib): Likewise.
9698 [$(build-bounded) = yes] (generated): Likewise.
9699 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9701 * intl/Makefile [$(build-bounded) = yes]
9702 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9703 * math/Makefile [$(build-bounded) = yes]
9704 ($(tests:%=$(objpfx)%-bp): Likewise.
9705 * misc/Makefile [$(build-bounded) = yes]
9706 ($(objpfx)tst-tsearch-bp): Likewise.
9707 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9708 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9710 * string/Makefile (o-objects.ob): Remove variable.
9711 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9712 (CFLAGS-.ob): Remove variable.
9713 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9714 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9715 both definitions of variable.
9716 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9717 (ASFLAGS-.ob): Remove variable.
9719 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9722 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9723 Remove __BOUNDED_POINTERS__ from condition.
9724 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9725 * string/bits/string2.h [!__NO_STRING_INLINES &&
9726 !__BOUNDED_POINTERS__]: Likewise.
9727 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9729 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9730 Remove conditional code.
9731 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9732 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9733 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9737 * csu/libc-start.c: Do not include <bp-sym.h>.
9738 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9739 * elf/dl-open.c: Do not include <bp-sym.h>.
9740 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9741 * math/fegetenv.c: Do not include <bp-sym.h>.
9742 (fegetenv): Do not use BP_SYM in versioned symbols.
9743 * nptl/sysdeps/pthread/bits/libc-lockP.h
9744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9747 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9749 (__pthread_mutex_destroy): Likewise.
9750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9751 (__pthread_mutex_lock): Likewise.
9752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9753 (__pthread_mutex_trylock): Likewise.
9754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9755 (__pthread_mutex_unlock): Likewise.
9756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9757 (__pthread_mutexattr_init): Likewise.
9758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9759 (__pthread_mutexattr_destroy): Likewise.
9760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9761 (__pthread_mutexattr_settype): Likewise.
9762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9763 (__pthread_rwlock_init): Likewise.
9764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9765 (__pthread_rwlock_destroy): Likewise.
9766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9767 (__pthread_rwlock_rdlock): Likewise.
9768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9769 (__pthread_rwlock_tryrdlock): Likewise.
9770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9771 (__pthread_rwlock_wrlock): Likewise.
9772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9773 (__pthread_rwlock_trywrlock): Likewise.
9774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9775 (__pthread_rwlock_unlock): Likewise.
9776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9777 (__pthread_key_create): Likewise.
9778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9779 (__pthread_setspecific): Likewise.
9780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9781 (__pthread_getspecific): Likewise.
9782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9785 (_pthread_cleanup_push_defer): Likewise.
9786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9787 (_pthread_cleanup_pop_restore): Likewise.
9788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9789 (pthread_setcancelstate): Likewise.
9790 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9792 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9793 (memchr): Do not use BP_SYM in weak_alias.
9794 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9795 (fegetenv): Do not use BP_SYM in versioned symbols.
9796 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9797 (fesetenv): Do not use BP_SYM in versioned symbols.
9798 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9799 (feupdateenv): Do not use BP_SYM in versioned symbols.
9800 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9801 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9802 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9803 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9804 (open64): Do not use BP_SYM in weak_alias.
9805 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9806 (fegetenv): Do not use BP_SYM in versioned symbols.
9807 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9808 (fesetenv): Do not use BP_SYM in versioned symbols.
9809 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9810 (feupdateenv): Do not use BP_SYM in versioned symbols.
9811 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9812 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9813 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9814 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9815 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9816 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9817 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9819 (__libc_start_main): Do not use BP_SYM.
9821 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9824 redundant return line.
9828 (sub_magnitudes): Likewise.
9834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9838 (sub_magnitudes): Likewise.
9845 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9848 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9851 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9852 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9854 of __mul for squares.
9855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9859 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9860 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9862 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9865 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9867 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9868 prototype or function definition. Rename ubp_* variables and
9869 parameters. Remove argv definitions conditional on
9870 [__BOUNDED_POINTERS__].
9871 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9872 * elf/dl-runtime.c (_dl_fixup): Likewise.
9873 * include/set-hooks.h (RUN_HOOK): Likewise.
9874 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9876 * string/strcpy.c (strcpy): Do not use __unbounded.
9877 * sysdeps/generic/frame.h (struct layout): Likewise.
9878 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9879 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9880 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9881 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9882 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9883 (__backtrace): Likewise.
9884 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9886 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9887 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9888 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9890 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9891 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9892 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9893 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9894 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9895 Do not use __unbounded.
9896 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9897 Rename __unboundedrlimits parameter to rlimits in prototype.
9898 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9899 Do not use __unbounded.
9900 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9902 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9903 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9904 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9905 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9906 __ptrvalue or __unbounded.
9907 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9908 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9910 (__new_msgctl): Do not use __ptrvalue.
9911 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9913 (__libc_msgrcv): Do not use __ptrvalue.
9914 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9915 startup_info): Do not use __unbounded.
9916 (__libc_start_main): Likewise. Rename ubp_* variables and
9917 parameters. Remove argv definitions conditional on
9918 [__BOUNDED_POINTERS__].
9919 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9921 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9923 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9925 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9927 (__new_shmctl): Do not use __ptrvalue.
9928 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9929 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9931 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9933 (__libc_sigaction): Likewise.
9934 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9935 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9937 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9939 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9941 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9943 * string/mempcpy.c: Implement by calling memcpy.
9945 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9952 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9953 values in the mantissa.
9955 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9956 minimize writes to Z.
9957 (sub_magnitudes): Simplify code a bit.
9959 2013-02-12 Roland McGrath <roland@hack.frob.com>
9961 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9962 from the message. The linker prefixes all warnings with that already.
9964 2013-02-12 Andreas Schwab <schwab@suse.de>
9967 * posix/regexec.c (extend_buffers): Add parameter min_len.
9968 (check_matching): Pass minimum needed length.
9969 (clean_state_log_if_needed): Likewise.
9970 (get_subexp): Likewise.
9971 * posix/Makefile (tests): Add bug-regex34.
9972 (bug-regex34-ENV): Define.
9973 * posix/bug-regex34.c: New file.
9976 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9977 elements compare against the byte sequence of it, not its name.
9978 * posix/Makefile (tests): Add bug-regex35.
9979 (bug-regex35-ENV): Define.
9980 * posix/bug-regex35.c: New file.
9982 2013-02-11 Tom de Vries <tom@codesourcery.com>
9984 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9986 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9987 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9988 (CHECK_EOL): Add undef.
9990 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9992 * bits/stdlib-bsearch.h: New file.
9993 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9994 * stdlib/stdlib.h: Likewise.
9996 2013-02-11 Roland McGrath <roland@hack.frob.com>
9998 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9999 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10001 * manual/search.texi (Array Search Function): Add missing const in
10003 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10004 declaration to use rlim_t.
10005 (Basic Scheduling Functions): Remove erroneous const from
10006 sched_getparam prototype. Remove erroneous * from
10007 sched_get_priority_max and sched_get_priority_min prototypes.
10008 (Resource Usage): Fix summary @comment on vtimes to refer to
10009 sys/vtimes.h rather than vtimes.h.
10010 Add missing *s in vtimes prototype.
10011 (Limits on Resources): Fix ulimit prototype to return long int.
10012 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10013 prototypes to use long int rather than double.
10014 (BSD Random): Fix initstate and setstate to use char *, not void *.
10015 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10016 prototype to make second argument 'struct aiocb64 *const[]'.
10017 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10018 (Status of AIO Operations): Remove erroneous const in aio_return and
10019 aio_return64 prototypes.
10020 (Synchronizing I/O): Fix sync prototype to return void.
10021 * manual/startup.texi (Suboptions): Remove an erroneous const in
10022 getsubopt prototype.
10023 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10024 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10025 use size_t rather than int.
10026 (Scanning All Users): Likewise for getpwent_r.
10027 (Setting Groups): Add missing const to setgroups prototype.
10028 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10029 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10030 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10031 'const void *' rather than 'const char *'.
10032 (Host Address Functions): Likewise for inet_ntop.
10033 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10034 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10035 ssize_t for return value.
10036 (Sending Data): Likewise for send, sendto, sendmsg.
10037 (Socket Option Functions): Add a missing const in setsockopt prototype.
10038 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10039 use wchar_t for the argument.
10040 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10041 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10043 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10044 double/float/long double for second argument.
10045 Fix return types of significand, significandf, significandl.
10046 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10047 argument in fchmod prototype.
10048 (File Owner): Use uid_t and gid_t in fchown prototype.
10049 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10050 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10051 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10052 use 'const struct dirent **' as argument types to CMP function pointer
10054 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10055 (File Times): Fix summary magic @comment for struct utimbuf and utime
10056 to refer to utime.h, not time.h.
10057 * manual/string.texi (Argz Functions): Add missing const in
10058 argz_extract and argz_next prototypes.
10059 (Finding Tokens in a String): Likewise for basename.
10060 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10061 (Copying and Concatenation): Fix typo in wmemmove prototype.
10062 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10063 (Signal Stack): Remove erroneous const in sigstack prototype.
10064 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10066 (Simple Calendar Time): Likewise for stime.
10067 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10069 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10070 say sys/sysctl.h instead.
10071 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10072 and vsyslog prototypes.
10074 2013-02-11 Tom de Vries <tom@codesourcery.com>
10076 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10079 2013-02-11 Roland McGrath <roland@hack.frob.com>
10081 * misc/sys/mman.h: Fix typo in mremap comment.
10083 2013-02-08 Roland McGrath <roland@hack.frob.com>
10085 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10086 the '\0' terminator.
10088 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10091 * debug/segfault.c: Don't include <bp-checks.h>.
10092 * sysdeps/generic/bp-checks.h: Remove file.
10093 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10094 (__GETDENTS): Don't use CHECK_N.
10095 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10096 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10097 (__getgroups): Don't use CHECK_N.
10098 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10099 (setgroups): Don't use CHECK_N.
10100 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10101 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10102 (__libc_msgrcv): Don't use CHECK_N.
10103 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10104 (__libc_msgsnd): Don't use CHECK_N.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10107 (__libc_pread): Don't use CHECK_N.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10109 include <bp-checks.h>.
10110 (__libc_pread64): Don't use CHECK_N.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10112 include <bp-checks.h>.
10113 (__libc_pwrite): Don't use CHECK_N.
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10115 include <bp-checks.h>.
10116 (__libc_pwrite64): Don't use CHECK_N.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10119 (__libc_pread): Don't use CHECK_N.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10121 include <bp-checks.h>.
10122 (__libc_pread64): Don't use CHECK_N.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10124 include <bp-checks.h>.
10125 (__libc_pwrite): Don't use CHECK_N.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10127 include <bp-checks.h>.
10128 (__libc_pwrite64): Don't use CHECK_N.
10129 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10130 (do_pread): Don't use CHECK_N.
10131 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10132 (do_pread64): Don't use CHECK_N.
10133 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10134 (do_pwrite): Don't use CHECK_N.
10135 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10136 (do_pwrite64): Don't use CHECK_N.
10137 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10138 (__libc_readv): Don't use CHECK_N.
10139 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10140 (semop): Don't use CHECK_N.
10141 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10143 (semtimedop): Don't use CHECK_N.
10144 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10145 (__libc_pread): Don't use CHECK_N.
10146 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10148 (__libc_pread64): Don't use CHECK_N.
10149 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10151 (__libc_pwrite): Don't use CHECK_N.
10152 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10154 (__libc_pwrite64): Don't use CHECK_N.
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10157 (__libc_msgrcv): Don't use CHECK_N.
10158 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10159 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10160 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10161 (__libc_writev): Don't use CHECK_N.
10163 2013-02-08 Roland McGrath <roland@hack.frob.com>
10165 * string/strcpy.c: Removed unused variable.
10167 * Makeconfig (+sysdep-includes): Define with := rather than =.
10168 Use an existing include/ subdir of each sysdeps dir before it.
10170 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10172 * nscd/connection.c (register_traced_file): Comment function.
10173 [HAVE_INOTIFY] (union __inev): Define.
10174 [HAVE_INOTIFY] (inotify_check_files): New function.
10175 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10176 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10178 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10180 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10182 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10183 loaded if not already and that a failure is permanent.
10185 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10188 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10189 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10191 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10194 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10195 (CHECK_1_NULL_OK): Likewise.
10196 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10197 (__fxstat): Do not use CHECK_1.
10198 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10200 (___fxstat64): Do not use CHECK_1.
10201 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10203 (__fxstatat): Do not use CHECK_1.
10204 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10206 (__fxstatat64): Do not use CHECK_1.
10207 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10209 (__fxstat): Do not use CHECK_1.
10210 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10212 (__fxstatat): Do not use CHECK_1.
10213 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10215 (__getresgid): Do not use CHECK_1.
10216 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10218 (__getresuid): Do not use CHECK_1.
10219 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10221 (__lxstat): Do not use CHECK_1.
10222 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10224 (__old_msgctl): Do not use CHECK_1.
10225 (__new_msgctl): Likewise.
10226 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10228 (__new_setrlimit): Do not use CHECK_1.
10229 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10231 (__old_shmctl): Do not use CHECK_1.
10232 (__new_shmctl): Likewise.
10233 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10235 (__xstat): Do not use CHECK_1.
10236 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10237 (__lxstat): Do not use CHECK_1.
10238 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10240 (___lxstat64): Do not use CHECK_1.
10241 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10242 (__old_msgctl): Do not use CHECK_1.
10243 (__new_msgctl): Likewise.
10244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10246 (__gettimeofday): Do not use CHECK_1.
10247 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10248 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10249 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10251 (__gettimeofday): Do not use CHECK_1.
10252 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10253 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10254 (__new_shmctl): Do not use CHECK_1.
10255 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10257 (do_sigtimedwait): Do not use CHECK_1.
10258 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10260 (do_sigwaitinfo): Do not use CHECK_1.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10263 (msgctl): Do not use CHECK_1.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10266 (shmctl): Do not use CHECK_1.
10267 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10268 (ustat): Do not use CHECK_1.
10269 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10271 (__fxstat): Do not use CHECK_1.
10272 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10274 (__fxstatat): Do not use CHECK_1.
10275 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10277 (__lxstat): Do not use CHECK_1.
10278 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10280 (__xstat): Do not use CHECK_1.
10281 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10282 (__xstat): Do not use CHECK_1.
10283 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10284 (___xstat64): Do not use CHECK_1.
10287 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10289 (CHECK_BOUNDS_HIGH): Likewise.
10290 * string/strcpy.c: Do not include <bp-checks.h>.
10291 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10293 2013-02-07 Roland McGrath <roland@hack.frob.com>
10295 * nscd/nscd-client.h (__nscd_drop_map_ref):
10296 Add __attribute__ ((unused)).
10297 * nis/nss-nisplus.h (niserr2nss): Likewise.
10299 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10300 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10302 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10303 Remove inline keyword.
10304 * include/rounding-mode.h (round_away): Likewise.
10305 * libio/wfileops.c (adjust_wide_data): Likewise.
10306 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10307 (__m128i_strloadu_tolower): Likewise.
10308 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10309 (__m128i_strloadu_tolower): Likewise.
10310 * time/mktime.c (ydhms_diff): Likewise.
10311 * locale/elem-hash.h (elem_hash): Likewise.
10312 * locale/setlocale.c (setdata): Likewise.
10313 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10314 (re_string_wchar_at): Likewise.
10315 (bitset_not, bitset_merge, bitset_mask): Likewise.
10316 [!(__GNUC__ > 3)] (inline): Remove macro.
10317 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10318 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10319 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10320 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10321 * string/memcmp.c (memcmp_bytes): Likewise.
10322 * locale/programs/locarchive.c (compute_hashval): Likewise.
10323 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10324 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10325 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10326 * nss/getent.c (print_rpc, print_protocols): Likewise.
10327 (print_passwd, print_group, print_aliases): Likewise.
10328 * nis/nss-nisplus.h (niserr2nss): Likewise.
10329 * nscd/connections.c (restart_p): Likewise.
10330 Change return type to bool.
10332 2013-02-05 Roland McGrath <roland@hack.frob.com>
10334 * Makeconfig (all-Depend-files): Add existing
10335 $(sorted-subdirs:=/Depend) files.
10336 (all-subdirs): Remove nss.
10337 * sysdeps/unix/inet/Subdirs: Add it here instead.
10338 * hesiod/Depend: New file.
10340 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10341 instead of calling alloca.
10343 * io/lseek.c (__lseek): Rename to __libc_lseek.
10344 Define __lseek as an alias.
10346 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10348 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10350 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10351 else clause and remove check for non-standard endianness.
10353 2013-02-04 David S. Miller <davem@davemloft.net>
10355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10357 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10360 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10361 (__ubp_memchr): Remove prototype.
10362 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10363 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10364 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10365 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10366 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10368 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10369 (__ubp_memchr): Likewise.
10370 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10371 (__ubp_memchr): Likewise.
10372 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10373 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10374 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10375 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10377 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10378 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10379 (__getcwd): Do not use CHECK_STRING.
10380 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10382 (__real_chown): Do not use CHECK_STRING.
10383 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10385 (fchownat): Do not use CHECK_STRING.
10386 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10390 (__lchown): Do not use CHECK_STRING.
10391 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10392 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10393 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10394 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10396 include <bp-checks.h>.
10397 (truncate64): Do not use CHECK_STRING.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10400 (__real_chown): Do not use CHECK_STRING.
10401 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10403 (__lchown): Do not use CHECK_STRING.
10404 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10406 (__chown): Do not use CHECK_STRING.
10407 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10409 (truncate64): Do not use CHECK_STRING.
10410 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10412 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10413 (__xmknod): Do not use CHECK_STRING.
10414 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10416 (__xmknodat): Do not use CHECK_STRING.
10417 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10418 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10420 2013-02-04 Andreas Schwab <schwab@suse.de>
10423 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10424 * include/netdb.h: Likewise for h_errno.
10425 * elf/tst-stackguard1.c: Include <tls.h>.
10427 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10429 * elf/link.h (struct link_map): Extend the l_addr comment.
10430 * include/link.h (struct link_map): Likewise.
10432 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10435 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10436 (BOUNDED_1): Remove macro.
10437 * debug/backtrace.c: Don't include <bp-checks.h>.
10438 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10439 (__backtrace): Likewise.
10440 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10442 (__backtrace): Don't use BOUNDED_1.
10443 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10445 (__backtrace): Don't use BOUNDED_1.
10446 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10447 (__backtrace): Don't use BOUNDED_1.
10448 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10449 (shmat): Don't use BOUNDED_N.
10451 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10454 * sysdeps/generic/bp-start.h: Remove file.
10455 * csu/libc-start.c: Don't include <bp-start.h>.
10456 (LIBC_START_MAIN): Set up __environ directly instead of using
10457 INIT_ARGV_and_ENVIRON.
10458 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10462 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10464 (CHECK_FCNTL): Likewise.
10465 (CHECK_N_PAGES): Likewise.
10468 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10470 (CHECK_SIGSET_NULL_OK): Likewise.
10471 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10473 (sigpending): Don't use CHECK_SIGSET.
10474 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10476 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10477 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10479 (do_sigsuspend): Don't use CHECK_SIGSET.
10480 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10482 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10483 (do_sigwait): Don't use CHECK_SIGSET.
10484 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10486 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10487 include <bp-checks.h>.
10488 (sigpending): Don't use CHECK_SIGSET.
10489 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10490 include <bp-checks.h>.
10491 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10492 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10494 (sigpending): Don't use CHECK_SIGSET.
10495 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10497 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10500 * sysdeps/generic/bp-semctl.h: Remove file.
10501 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10502 <bp-checks.h> and <bp-semctl.h>.
10503 (__old_semctl): Don't use CHECK_SEMCTL.
10504 (__new_semctl): Likewise.
10505 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10507 (__old_semctl): Don't use CHECK_SEMCTL.
10508 (__new_semctl): Likewise.
10509 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10510 <bp-checks.h> and <bp-semctl.h>.
10511 (__old_semctl): Don't use CHECK_SEMCTL.
10512 (__new_semctl): Likewise.
10513 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10514 <bp-checks.h> and <bp-semctl.h>.
10515 (semctl): Don't use CHECK_SEMCTL.
10518 * Makerules (elide-bp-thunks): Remove variable.
10519 (elide-routines.oS): Don't use $(elide-bp-thunks).
10520 (elide-routines.os): Likewise.
10521 (elide-routines.o): Likewise.
10522 (elide-routines.op): Likewise.
10523 (elide-routines.og): Likewise.
10524 (objects): Don't use $(bp-thunks).
10525 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10527 (common-generated): Do not add s-proto-bp.d.
10528 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10531 Do not generate makefile rules for bounded-pointer thunks.
10532 * sysdeps/generic/bp-thunks.h: Remove file.
10533 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10534 * sysdeps/unix/s-proto-bp.S: Likewise.
10537 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10538 parts of result separately when argument is not close to line from
10539 -i to i and one part of argument is small.
10540 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10541 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10542 * math/libm-test.inc (cacos_test): Add more tests.
10543 (casin_test): Likewise.
10544 (casinh_test): Likewise.
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548 2013-01-31 David S. Miller <davem@davemloft.net>
10550 * po/de.po: Update from translation team.
10552 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10554 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10556 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10558 * configure.in (_AC_PROG_CC_C89): New definition.
10559 * configure: Regenerate.
10561 * configure.in (AC_PROG_CPP): New definition.
10562 * configure: Regenerate.
10564 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10566 * debug/tst-backtrace.h: New file.
10567 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10568 (ret): Remove variable.
10570 (FAIL): Remove macro.
10571 (NO_INLINE): Likewise.
10572 (fn1): Use match function instead of strstr.
10573 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10574 (ret): Remove variable.
10576 (FAIL): Remove macro.
10577 (NO_INLINE): Likewise.
10578 (fn): Use match function instead of strstr.
10579 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10580 (ret): Remove variable.
10582 (FAIL): Remove macro.
10583 (NO_INLINE): Likewise.
10584 (handle_signal): Use match function instead of strstr.
10585 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10586 (ret): Remove variable.
10588 (FAIL): Remove macro.
10589 (NO_INLINE): Likewise.
10590 (handle_signal): Use match function instead of strstr.
10592 2013-01-23 Roland McGrath <roland@hack.frob.com>
10594 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10596 2013-01-23 David S. Miller <davem@davemloft.net>
10598 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10599 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10600 argument of CAS if possible.
10601 * sysdeps/sparc/sparc64/bits/atomic.h
10602 (__arch_compare_and_exchange_val_32_acq): Likewise.
10603 (__arch_compare_and_exchange_val_64_acq): Likewise.
10605 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10607 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10608 * sysdeps/posix/ulimit.c: ... this.
10609 Include <limits.h>.
10610 * sysdeps/unix/bsd/ulimit.c: Remove file.
10612 2013-01-23 Adam Conrad <adconrad@0c3.net>
10614 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10615 (LDFLAGS-tst-array5): Likewise.
10617 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10620 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10621 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10622 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10623 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10625 2013-01-21 David S. Miller <davem@davemloft.net>
10627 * sysdeps/sparc/backtrace.c: New file.
10628 * sysdeps/sparc/sparc32/backtrace.h: New file.
10629 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10630 * sysdeps/sparc/sparc64/backtrace.h: New file.
10631 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10632 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10635 2013-01-21 Andreas Schwab <schwab@suse.de>
10638 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10641 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10647 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10648 Mark Mitchell <mark@codesourcery.com>
10649 Tom de Vries <tom@codesourcery.com>
10650 Paul Pluzhnikov <ppluzhnikov@google.com>
10652 * debug/tst-backtrace2.c: New file.
10653 * debug/tst-backtrace3.c: Likewise.
10654 * debug/tst-backtrace4.c: Likewise.
10655 * debug/tst-backtrace5.c: Likewise.
10656 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10657 (CFLAGS-tst-backtrace3.c): Likewise.
10658 (CFLAGS-tst-backtrace4.c): Likewise.
10659 (CFLAGS-tst-backtrace5.c): Likewise.
10660 (LDFLAGS-tst-backtrace2): Likewise.
10661 (LDFLAGS-tst-backtrace3): Likewise.
10662 (LDFLAGS-tst-backtrace4): Likewise.
10663 (LDFLAGS-tst-backtrace5): Likewise.
10664 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10665 tst-backtrace4 and tst-backtrace5.
10667 2013-01-18 Anton Blanchard <anton@samba.org>
10668 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10671 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10672 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10673 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10675 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10676 "+r" and remove output regs list as redundant. Add explicit inline
10677 asm to specify register of return val to work around compiler codegen
10678 bug. Remove (int) cast on return value. Add return type parameter to
10679 use in macro so that this macro does not truncate return value for
10681 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10682 pass to INTERNAL_VSYSCALL_NCS.
10683 (INLINE_VSYSCALL): Add 'long int' as return type to
10684 INTERNAL_VSYSCALL_NCS macro invocation.
10685 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10686 INTERNAL_VSYSCALL_NCS macro invocation.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10689 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10692 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10693 Fix application of SIMD FP exception mask.
10695 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10696 mp_no from a power of two.
10697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10698 __mpexp_twomm1. Use __pow_mp.
10700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10703 2013-01-17 David S. Miller <davem@davemloft.net>
10705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10707 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10710 * include/complex.h: Condition contents on [!_COMPLEX_H].
10711 (__kernel_casinhf): New prototype.
10712 (__kernel_casinh): Likewise.
10713 (__kernel_casinhl): Likewise.
10714 * math/Makefile (libm_calls): Add k_casinh.
10715 * math/k_casinh.c: New file.
10716 * math/k_casinhf.c: Likewise.
10717 * math/k_casinhl.c: Likewise.
10718 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10719 finite nonzero arguments.
10720 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10721 finite nonzero arguments.
10722 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10723 finite nonzero arguments.
10724 * math/s_casinh.c: Do not include <float.h>.
10725 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10726 * math/s_casinhf.c: Do not include <float.h>.
10727 (__casinhf): Move code for finite nonzero arguments to
10729 * math/s_casinhl.c: Do not include <float.h>.
10730 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10732 (__casinhl): Move code for finite nonzero arguments to
10734 * math/libm-test.inc (cacos_test): Add more tests.
10735 * sysdeps/i386/fpu/libm-test-ulps: Update.
10736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10738 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10740 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10741 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10742 [!HAVE_MREMAP]: Remove [defined linux] case.
10743 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10745 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10747 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10749 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10751 * elf/elf.h (R_386_SIZE32): New relocation.
10752 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10754 (elf_machine_rela): Likewise.
10755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10756 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10758 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10760 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10761 (FP_FAST_FMA): Do not define.
10762 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10763 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10764 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10765 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10766 !_SOFT_FLOAT]: Likewise.
10767 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10768 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10771 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10772 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10773 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10774 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10775 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10778 2013-01-16 Andreas Schwab <schwab@suse.de>
10781 * include/stdlib.h (__mktemp): Add declaration.
10782 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10783 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10785 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10787 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10789 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10790 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10791 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10793 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10794 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10798 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10799 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10800 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10802 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10803 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10805 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10807 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10809 2013-01-15 David S. Miller <davem@davemloft.net>
10811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10812 trunc{,f} to libm-sysdep_routes.
10813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10823 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10824 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10827 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10828 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10831 nearbyint{,f} to libm-sysdep_routes.
10832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10849 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10852 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10853 libc_feholdexcept and libc_fesetenv.
10855 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10857 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10859 2013-01-14 David S. Miller <davem@davemloft.net>
10861 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10862 (SPARC_ASM_VIS2_IFUNC): Likewise.
10863 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10865 use of 'siam' instruction.
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10899 routines to libm-sysdep_routines.
10900 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10903 fdim/fdimf to libm-sysdep_routines.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10912 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10913 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10914 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10915 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10917 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10919 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10920 to optimize copies.
10922 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10927 local variable MPTWO.
10928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10931 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10933 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10936 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10938 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10940 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10942 * manual/pattern.texi (glob_t): Document gl_flags.
10943 (glob64_t): Likewise.
10945 2013-01-11 David S. Miller <davem@davemloft.net>
10947 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10948 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10949 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10950 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10951 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10952 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10953 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10954 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10955 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10956 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10957 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10958 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10959 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10961 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10962 sparc V9 rather than using V8 code.
10963 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10964 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10966 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10968 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10971 2013-01-11 Roland McGrath <roland@hack.frob.com>
10973 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10974 not in the main loop.
10975 * configure: Regenerated.
10977 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10979 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10980 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10982 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10983 [!__GLIBC_HAVE_LONG_LONG] case.
10984 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10985 condition to just #else.
10986 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10987 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10988 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10989 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10991 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10992 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10993 #elif condition to just #else.
10994 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10995 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10996 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10997 #elif condition to just #else.
10999 2013-01-11 Steve Ellcey <sellcey@mips.com>
11001 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11002 (EF_MIPS_ARCH_64): Fix value.
11003 (EF_MIPS_ARCH_32R2): New.
11004 (EF_MIPS_ARCH_64R2): New.
11006 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11008 * Makeconfig (+link-pie-before-libc): New.
11009 (+link-pie-after-libc): Likewise.
11010 (+link-pie-tests): Likewise.
11011 (+link-pie): Rewritten.
11012 (link-before-libc): Remove $(config-LDFLAGS).
11013 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11014 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11015 (config-LDFLAGS): Renamed to ...
11016 (rtld-LDFLAGS): This.
11017 (rtld-tests-LDFLAGS): New macro.
11018 (link-libc-rpath-link): Likewise.
11019 (link-libc-tests-rpath-link): Likewise.
11020 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11021 (link-libc): Prepand $(link-libc-rpath-link).
11022 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11023 (test-program-prefix): New macro.
11024 (test-via-rtld-prefix): Likewise.
11025 (test-program-cmd): Likewise.
11026 (host-test-program-cmd): Likewise.
11027 * Makefile ($(common-objpfx)testrun.sh): Replace
11028 $(run-program-prefix) with $(test-program-prefix).
11029 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11031 ($(common-objpfx)shlib.lds): Likewise.
11032 (build-module-helper): Likewise.
11033 ($(common-objpfx)format.lds): Likewise.
11034 * Rules (binaries-pie-tests): New.
11035 (binaries-pie-notests): Likewise.
11036 (binaries-pie): Rewritten.
11037 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11038 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11039 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11040 (make-test-out): Replace $(host-built-program-cmd) with
11041 $(host-test-program-cmd).
11042 * config.make.in (build-hardcoded-path-in-tests): New variable.
11043 * configure.in (--enable-hardcoded-path-in-tests): New configure
11045 (hardcoded_path_in_tests): New AC_SUBST.
11046 * configure: Regenerated.
11047 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11048 $(built-program-cmd) with $(test-program-cmd).
11049 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11050 (test_program_cmd): This.
11051 * elf/Makefile ($(objpfx)order.out): Run test with
11052 $(test-program-prefix).
11053 ($(objpfx)order2.out): Likewise.
11054 ($(objpfx)tst-initorder.out): Likewise.
11055 ($(objpfx)tst-initorder2.out): Likewise.
11056 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11057 $(test-program-cmd).
11058 ($(objpfx)tst-array1-static.out): Likewise.
11059 ($(objpfx)tst-array2.out): Likewise.
11060 ($(objpfx)tst-array3.out): Likewise.
11061 ($(objpfx)tst-array4.out): Likewise.
11062 ($(objpfx)tst-array5.out): Likewise.
11063 ($(objpfx)tst-array5-static.out): Likewise.
11064 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11065 $(test-program-cmd).
11066 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11067 $(run-program-prefix) with $(test-program-prefix).
11068 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11069 (test_program_prefix): This.
11070 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11071 $(run-program-prefix) with $(test-program-prefix).
11072 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11073 (test_program_prefix): This.
11074 * iconvdata/tst-tables.sh: Likewise.
11075 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11076 $(run-program-prefix) with $(test-program-prefix).
11077 ($(objpfx)tst-translit.out): Likewise.
11078 ($(objpfx)tst-gettext2.out): Likewise.
11079 ($(objpfx)tst-gettext4.out): Likewise.
11080 ($(objpfx)tst-gettext6.out): Likewise.
11081 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11082 (test_program_prefix): This.
11083 * intl/tst-gettext2.sh: Likewise.
11084 * intl/tst-gettext4.sh Likewise.
11085 * intl/tst-gettext6.sh: Likewise.
11086 * intl/tst-translit.sh: Likewise.
11087 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11088 with $(test-program-cmd).
11089 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11090 $(run-program-prefix) with $(test-program-prefix).
11091 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11092 (test_program_prefix): This.
11093 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11094 $(run-program-prefix) with $(test-program-prefix).
11095 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11096 (test_program_prefix): This.
11097 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11098 * posix/Makefile ($(objpfx)globtest.out): Replace
11099 $(run-via-rtld-prefix) and $(test-wrapper) with
11100 $(test-program-prefix) and $(test-via-rtld-prefix).
11101 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11102 $(test-program-prefix).
11103 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11104 $(host-test-program-cmd).
11105 (tst-spawn-ARGS): Likewise.
11106 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11107 $(test-program-prefix).
11108 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11109 (test_via_rtld_prefix): This.
11110 (test_wrapper): Renamed to ...
11111 (test_program_prefix): This.
11112 (run_program_prefix): Replaced by test_program_prefix.
11113 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11114 (test_program_prefix): This.
11115 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11116 with $(host-test-program-cmd).
11117 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11118 $(run-program-prefix) with $(test-program-prefix).
11119 ($(objpfx)tst-printf.out): Likewise.
11120 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11121 $(test-program-cmd).
11122 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11123 (test_program_prefix): This.
11124 * stdio-common/tst-unbputc.sh: Likewise.
11125 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11126 $(run-program-prefix) with $(test-program-prefix).
11127 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11128 (test_program_prefix): This.
11129 * string/Makefile ($(objpfx)tst-svc.out): Replace
11130 $(built-program-cmd) with $(test-program-cmd).
11132 2013-01-11 Andreas Jaeger <aj@suse.de>
11135 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11136 value. Sync with Linux 3.7.
11138 2013-01-10 David S. Miller <davem@davemloft.net>
11140 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11141 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11142 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11144 2013-01-10 Roland McGrath <roland@hack.frob.com>
11146 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11148 * configure: Regenerated.
11150 2013-01-10 David S. Miller <davem@davemloft.net>
11152 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11153 sparc V9 rather than using V8 code.
11154 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11155 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11157 2013-01-10 Roland McGrath <roland@hack.frob.com>
11159 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11160 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11161 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11162 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11163 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11164 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11165 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11166 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11167 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11168 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11169 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11170 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11171 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11172 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11173 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11174 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11175 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11176 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11177 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11178 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11179 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11180 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11181 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11182 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11183 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11184 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11185 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11187 2013-01-10 David S. Miller <davem@davemloft.net>
11189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11191 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11193 * posix/Makefile (tests-static): New variable.
11194 (tests): Add $(tests-static).
11195 (tst-exec-static-ARGS): New variable.
11196 (tst-spawn-static-ARGS): Likewise.
11197 * posix/tst-exec-static.c: New file.
11198 * posix/tst-spawn-static.c: Likewise.
11199 * posix/tst-exec.c: Support run directly.
11200 * posix/tst-spawn.c: Likewise.
11202 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11204 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11206 * math/bits/mathcalls.h (llrint): Likewise.
11207 (llround): Likewise.
11208 * stdlib/stdlib.h (struct drand48_data): Likewise.
11209 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11210 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11211 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11213 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11215 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11216 (elf_greg_t): Likewise.
11217 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11218 (__jmp_buf): Likewise.
11219 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11221 (llrint): Likewise, for all definitions.
11222 (llrintl): Likewise.
11224 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11225 Remove [__GNUC__] condition.
11226 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11227 condition to just [__USE_ISOC99].
11228 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11230 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11233 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11234 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11236 (_POSIX_V6_ILP32_OFF32): Likewise.
11237 (_XBS5_ILP32_OFF32): Likewise.
11238 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11239 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11241 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11243 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11246 doubles __mpexp_twomm1. Adjust usage.
11247 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11250 2013-01-10 Andreas Schwab <schwab@suse.de>
11253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11254 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11256 2013-01-09 David S. Miller <davem@davemloft.net>
11259 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11260 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11261 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11262 TCP_FASTOPEN): Define.
11263 (tcp_repair_opt): New structure.
11264 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11266 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11267 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11268 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11269 (tcp_cookie_transactions): New structure.
11271 2013-01-09 Anton Blanchard <anton@samba.org>
11273 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11274 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11278 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11280 * include/features.h (__USE_ANSI): Remove.
11282 2013-01-09 Roland McGrath <roland@hack.frob.com>
11284 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11286 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11288 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11290 * sysdeps/s390/fpu/libm-test-ulps: Update.
11292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11294 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11298 (denorm): Likewise.
11299 (__mp_dbl): Likewise.
11300 (__dbl_mp): Likewise.
11301 (add_magnitudes): Likewise.
11302 (sub_magnitudes): Likewise.
11308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11312 (denorm): Likewise.
11313 (__mp_dbl): Likewise.
11314 (__dbl_mp): Likewise.
11315 (add_magnitudes): Likewise.
11316 (sub_magnitudes): Likewise.
11322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11326 (denorm): Likewise.
11327 (__mp_dbl): Likewise.
11328 (__dbl_mp): Likewise.
11329 (add_magnitudes): Likewise.
11330 (sub_magnitudes): Likewise.
11337 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11339 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11340 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11341 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11342 2 && __USE_EXTERN_INLINES]: Likewise.
11344 2013-01-08 Andreas Jaeger <aj@suse.de>
11347 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11349 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11350 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11352 2013-01-07 Anton Blanchard <anton@samba.org>
11354 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11355 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11356 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11357 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11358 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11359 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11360 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11361 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11364 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11366 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11368 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11369 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11370 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11372 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11373 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11374 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11378 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11379 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11380 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11381 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11383 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11384 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11386 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11387 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11388 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11390 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11392 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11393 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11394 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11396 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11398 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11400 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11401 (__MALLOC_PMT): Likewise.
11402 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11403 [__GNUC__], only on [_LIBC].
11404 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11405 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11406 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11407 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11408 forward declaration.
11409 (realloc_hook_ini): Likewise.
11410 (memalign_hook_ini): Likewise.
11411 (__libc_memalign): Do not use __MALLOC_PMT in variable
11413 (__libc_valloc): Likewise.
11414 (__libc_pvalloc): Likewise.
11415 (__libc_calloc): Likewise.
11416 (__posix_memalign): Likewise.
11419 * math/s_casinh.c: Include <float.h>.
11420 (__casinh): Do not do computation with squaring and square root
11421 for large arguments.
11422 * math/s_casinhf.c: Include <float.h>.
11423 (__casinhf): Do not do computation with squaring and square root
11424 for large arguments.
11425 * math/s_casinhl.c: Include <float.h>.
11426 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11427 (__casinhl): Do not do computation with squaring and square root
11428 for large arguments.
11429 * math/libm-test.inc (casin_test): Add more tests.
11430 (casinh_test): Likewise.
11431 * sysdeps/i386/fpu/libm-test-ulps: Update.
11432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11436 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11437 (__x86_64_raw_data_cache_size): Likewise.
11438 (__x86_64_data_cache_size_half): Likewise.
11439 (__x86_64_raw_data_cache_size_half): Likewise.
11440 (__x86_64_shared_cache_size): Likewise.
11441 (__x86_64_raw_shared_cache_size): Likewise.
11442 (__x86_64_shared_cache_size_half): Likewise.
11443 (__x86_64_raw_shared_cache_size_half): Likewise.
11444 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11446 (__x86_data_cache_size): This.
11447 (__x86_64_raw_data_cache_size): Renamed to ...
11448 (__x86_raw_data_cache_size): This.
11449 (__x86_64_data_cache_size_half): Renamed to ...
11450 (__x86_data_cache_size_half): This.
11451 (__x86_64_raw_data_cache_size_half): Renamed to ...
11452 (__x86_raw_data_cache_size_half): This.
11453 (__x86_64_shared_cache_size): Renamed to ...
11454 (__x86_shared_cache_size): This.
11455 (__x86_64_raw_shared_cache_size): Renamed to ...
11456 (__x86_raw_shared_cache_size): This.
11457 (__x86_64_shared_cache_size_half): Renamed to ...
11458 (__x86_shared_cache_size_half): This.
11459 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11460 (__x86_raw_shared_cache_size_half): This.
11461 * sysdeps/x86_64/memcpy.S: Updated.
11462 * sysdeps/x86_64/memset.S: Likewise.
11463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11464 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11465 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11467 2013-01-04 David S. Miller <davem@davemloft.net>
11469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11471 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11473 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11474 1 to avoid redefinition warning.
11475 (__USE_GNU): Don't define.
11476 (init_signaling_nan): Protoize.
11478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11480 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11482 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11484 (__cpymn): Likewise.
11485 (norm): Remove commented code.
11486 (denorm): Likewise.
11487 (__mp_dbl): Likewise.
11489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11490 (__cpymn): Likewise.
11491 (norm): Remove commented code.
11492 (denorm): Likewise.
11493 (__mp_dbl): Likewise.
11496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11497 mp_no value for 1.0 and 2.0.
11498 (norm): Use RADIXI instead of radixi.d.
11499 (denorm): Likewise.
11500 (__mul): Use 0.0 instead of zero.d.
11501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11502 mp_no value for 1.0 and 2.0.
11503 (norm): Use RADIXI instead of radixi.d.
11504 (denorm): Likewise.
11505 (__mul): Use 0.0 instead of zero.d.
11507 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11510 * math/s_casinh.c (__casinh): Reduce finite argument to first
11511 quadrant then set signs of results at the end.
11512 * math/s_casinhf.c (__casinhf): Likewise.
11513 * math/s_casinhl.c (__casinhl): Likewise.
11514 * math/libm-test.inc (casin_test): Add more tests.
11515 (casinh_test): Likewise.
11516 * sysdeps/i386/fpu/libm-test-ulps: Update.
11517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11519 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11521 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11523 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11525 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11527 (denorm): Likewise.
11528 (__mp_dbl): Likewise.
11531 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11532 and adjust the header comment.
11534 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11535 variable name from declaration.
11537 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11540 Initialize COMMON_CPUID_INDEX_7 element.
11541 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11542 (CPUID_RTM): Likewise.
11543 (HAS_RTM): Likewise.
11544 (COMMON_CPUID_INDEX_7): New enum.
11546 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11549 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11550 size is zero, record memory as freed.
11552 2013-01-03 Andreas Jaeger <aj@suse.de>
11554 * po/ia.po: Add new Interlingua translation.
11556 2012-01-03 Allan McRae <allan@archlinux.org>
11558 * locale/programs/localedef.c: Fix description of '--posix' flag.
11560 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11562 * NEWS: Update dates in second copyright notice.
11563 * README: Update copyright dates in example.
11564 * manual/libc.texinfo: Update copyright dates.
11565 * scripts/test-installation.pl: Update copyright date in --version
11568 * hurd/ctty-input.c: Fix copyright notice formatting.
11569 * hurd/ctty-output.c: Likewise.
11570 * hurd/dtable.c: Likewise.
11571 * hurd/hurd-raise.c: Likewise.
11572 * hurd/hurdprio.c: Likewise.
11573 * hurd/msgportdemux.c: Likewise.
11574 * misc/sys/file.h: Likewise.
11575 * misc/sys/ioctl.h: Likewise.
11576 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11577 * sysdeps/mach/hurd/chdir.c: Likewise.
11578 * sysdeps/mach/hurd/fchdir.c: Likewise.
11579 * sysdeps/mach/hurd/rename.c: Likewise.
11580 * sysdeps/mach/hurd/rmdir.c: Likewise.
11581 * sysdeps/mach/hurd/seekdir.c: Likewise.
11582 * sysdeps/mach/hurd/setsid.c: Likewise.
11583 * sysdeps/posix/wait3.c: Likewise.
11585 * All files with FSF copyright notices: Update copyright dates
11586 using scripts/update-copyrights.
11587 * intl/plural.c: Regenerated.
11588 * locale/programs/charmap-kw.h: Likewise.
11589 * locale/programs/locfile-kw.h: Likewise.
11591 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11593 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11597 calculation loop and add branch prediction.
11599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11600 check access beyond bounds of m1np.
11602 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11604 (__inv): Remove local variable MPTWO to use the global
11606 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11607 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11610 MP3HALFS static const.
11612 2013-01-01 David S. Miller <davem@davemloft.net>
11614 * po/ca.po: Update from translation team.
11616 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11618 * scripts/update-copyrights: New file.
11619 * Makeconfig: Reformat copyright notice.
11620 * ctype/ctype.h: Likewise.
11621 * debug/swprintf_chk.c: Likewise.
11622 * elf/dl-cache.c: Likewise.
11623 * elf/dl-debug.c: Likewise.
11624 * elf/dl-object.c: Likewise.
11625 * grp/initgroups.c: Likewise.
11626 * hurd/Makefile: Likewise.
11627 * hurd/hurd/signal.h: Likewise.
11628 * hurd/hurdfault.c: Likewise.
11629 * hurd/hurdioctl.c: Likewise.
11630 * hurd/hurdlookup.c: Likewise.
11631 * hurd/intr-msg.c: Likewise.
11632 * iconv/gconv_open.c: Likewise.
11633 * libio/swprintf.c: Likewise.
11634 * locale/lc-ctype.c: Likewise.
11635 * locale/nl_langinfo.c: Likewise.
11636 * mach/Machrules: Likewise.
11637 * mach/Makefile: Likewise.
11638 * malloc/obstack.h: Likewise.
11639 * manual/Makefile: Likewise.
11640 * manual/tsort.awk: Likewise.
11641 * misc/bits/stab.def: Likewise.
11642 * nis/nis_print_group_entry.c: Likewise.
11643 * nis/nis_table.c: Likewise.
11644 * nis/nss_compat/compat-pwd.c: Likewise.
11645 * nis/nss_compat/compat-spwd.c: Likewise.
11646 * po/Makefile: Likewise.
11647 * posix/fnmatch.c: Likewise.
11648 * posix/regex.h: Likewise.
11649 * resolv/Makefile: Likewise.
11650 * resolv/nss_dns/dns-network.c: Likewise.
11651 * resolv/res_hconf.c: Likewise.
11652 * scripts/gen-sorted.awk: Likewise.
11653 * soft-fp/soft-fp.h: Likewise.
11654 * stdio-common/printf.h: Likewise.
11655 * stdlib/monetary.h: Likewise.
11656 * stdlib/random.c: Likewise.
11657 * stdlib/random_r.c: Likewise.
11658 * sysdeps/generic/Makefile: Likewise.
11659 * sysdeps/gnu/Makefile: Likewise.
11660 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11662 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11688 * sysdeps/mach/hurd/errnos.awk: Likewise.
11689 * sysdeps/mach/hurd/fork.c: Likewise.
11690 * sysdeps/mach/hurd/getcwd.c: Likewise.
11691 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11692 * sysdeps/mach/hurd/mmap.c: Likewise.
11693 * sysdeps/mach/hurd/utimes.c: Likewise.
11694 * sysdeps/mach/hurd/xmknod.c: Likewise.
11695 * sysdeps/posix/profil.c: Likewise.
11696 * sysdeps/posix/readdir_r.c: Likewise.
11697 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11698 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11699 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11700 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11704 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11706 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11708 * sysdeps/pthread/lio_listio.c: Likewise.
11709 * sysdeps/sparc/dl-procinfo.h: Likewise.
11710 * sysdeps/unix/i386/sysdep.S: Likewise.
11711 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11712 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11713 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11714 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11716 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11717 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11718 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11719 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11720 * sysdeps/wordsize-32/divdi3.c: Likewise.
11721 * time/sys/time.h: Likewise.
11722 * wcsmbs/Makefile: Likewise.
11724 2013-01-01 David S. Miller <davem@davemloft.net>
11726 * po/fr.po: Update from translation team.
11728 * catgets/gencat.c: Update copyright year.
11729 * csu/version.c: Likewise.
11730 * debug/catchsegv.sh: Likewise.
11731 * debug/pcprofiledump.c: Likewise.
11732 * debug/xtrace.sh: Likewise.
11733 * elf/ldconfig.c: Likewise.
11734 * elf/ldd.bash.in: Likewise.
11735 * elf/pldd.c: Likewise.
11736 * elf/sotruss.ksh: Likewise.
11737 * elf/sprof.c: Likewise.
11738 * iconv/iconv_prog.c: Likewise.
11739 * iconv/iconvconfig.c: Likewise.
11740 * locale/programs/locale.c: Likewise.
11741 * locale/programs/localedef.c: Likewise.
11742 * login/programs/pt_chown.c: Likewise.
11743 * malloc/memusage.sh: Likewise.
11744 * malloc/memusagestat.c: Likewise.
11745 * malloc/mtrace.pl: Likewise.
11746 * nscd/nscd.c: Likewise.
11747 * nss/getent.c: Likewise.
11748 * nss/makedb.c: Likewise.
11749 * posix/getconf.c: Likewise.
11751 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11753 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11756 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11758 * math/bits/mathcalls.h (modf): Use __nonnull.
11760 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11762 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11763 (split): Use macro CN instead of the bare value.
11764 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11767 instead of the bare value.
11768 (power1): Likewise.
11770 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11772 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11774 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11776 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11778 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11779 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11780 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11781 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11783 2012-12-28 Andreas Jaeger <aj@suse.de>
11785 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11786 values are from Linux 3.7.
11788 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11789 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11791 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11793 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11796 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11798 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11799 variables with preprocessor constants.
11800 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11801 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11804 2012-12-27 Bruno Haible <bruno@clisp.org>
11807 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11810 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11813 and use variable directly.
11814 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11816 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11818 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11819 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11821 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11823 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11824 include directive. Remove local variable MPONE.
11825 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11826 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11827 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11829 2012-12-25 David S. Miller <davem@davemloft.net>
11831 * version.h (RELEASE): Set to "development".
11832 (VERSION): Set to "2.17.90".
11833 * NEWS: Add 2.18 section.
11835 2012-12-21 David S. Miller <davem@davemloft.net>
11837 * po/hr.po: Update from translation team.
11839 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11841 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11843 2012-12-19 Steve Ellcey <sellcey@mips.com>
11845 * NEWS: Mention new memcpy for MIPS.
11847 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11849 * manual/contrib.texi (Contributors): Spelling correction.
11851 2012-12-15 David S. Miller <davem@davemloft.net>
11853 * po/ru.po: Update from translation team.
11855 2012-12-13 David S. Miller <davem@davemloft.net>
11857 * NEWS: Mention IFUNC testsuite enhancements.
11859 * po/pl.po: Update from translation team.
11860 * po/bg.po: Likewise.
11862 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11863 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11865 2012-12-11 David S. Miller <davem@davemloft.net>
11867 * po/sv.po: Update from translation team.
11869 * po/vi.po: Update from translation team.
11871 * po/cs.po: Update from translation team.
11873 * po/de.po: Update from translation team.
11874 * po/eo.po: Likewise.
11875 * po/nl.po: Likewise.
11877 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11880 * manual/argp.texi (Argp Helper Functions): Move node to follow
11881 Argp Parsing State.
11884 * manual/conf.texi (Limits on File System Capacity): Mention if
11885 terminating null is included in the max size.
11887 2012-12-10 Andreas Jaeger <aj@suse.de>
11889 * po/cs.po: Update from translation team.
11891 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11893 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11894 void pointer and cast to uintptr_t.
11895 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11897 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11898 * sysdeps/s390/s390-64/memset.S: Likewise.
11900 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11903 * menual/message.texi (Message Translation): Fix typos.
11904 (Helper programs for gettext): Likewise.
11906 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11909 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11912 2012-12-07 David S. Miller <davem@davemloft.net>
11914 * po/libc.pot: Update.
11916 2012-12-07 Richard Henderson <rth@redhat.com>
11919 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11920 normal/normal case to before the switch.
11921 (_FP_DIV): Likewise.
11923 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11924 Mike Frysinger <vapier@gentoo.org>
11926 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11927 check for __NR_fadvise64_64.
11929 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11931 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11932 0, not just to plain "0" as a statement.
11933 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11936 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11938 * NEWS: Use sourceware.org in Bugzilla URL.
11940 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11943 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11945 * stdio-common/tst-put-error.c (do_test): Add newline to the
11946 padded test to ensure flush.
11948 2012-12-05 Jeff Law <law@redhat.com>
11950 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11952 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11954 * README: Don't refer to ports add-on as distributed separately.
11955 Mention AArch64 in list of systems supported in the ports add-on.
11957 * LICENSES: Add more non-FSF copyright and license notices.
11959 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11962 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11964 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11965 10000 as width of padded output.
11967 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11969 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11972 variable LX with __attribute__ ((unused)).
11973 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11975 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11978 with __attribute__ ((unused)).
11980 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11982 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11984 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11986 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11987 (CFLAGS-nldbl-acos.c): New variable.
11988 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11989 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11990 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11991 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11992 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11993 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11994 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11995 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11996 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11997 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11998 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11999 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12000 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12001 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12002 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12003 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12004 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12005 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12006 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12007 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12008 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12009 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12010 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12011 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12012 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12013 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12014 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12015 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12016 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12017 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12018 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12019 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12020 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12021 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12022 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12023 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12024 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12025 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12026 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12027 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12028 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12029 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12030 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12031 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12032 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12033 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12034 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12039 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12040 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12087 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12090 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12091 whole low double instead of just low 47 bits when splitting values
12094 2012-12-03 Allan McRae <allan@archlinux.org>
12096 * manual/stdio.texi (Predefined Printf Handlers): Remove
12097 @hsep and @vsep usage.
12099 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12101 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12102 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12104 2012-12-03 Jeff Law <law@redhat.com>
12106 * time/sys/time.h (settimeofday): Do not mark TV argument
12109 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12111 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12112 when currently writing and seek to current position when not.
12113 * libio/Makefile (tests): Remove bug-fclose1.
12114 * libio/bug-fclose1.c: Delete.
12116 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12118 * manual/arith.texi (feenableexcept): Fix typo.
12119 (fedisableexcept): Likewise.
12121 2012-11-30 Roland McGrath <roland@hack.frob.com>
12123 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12124 second, differently-typed declaration, rather than a cast.
12126 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12129 * include/rpc/svc.h: ... here.
12131 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12134 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12135 depending n and resplen2 to catch cases where answer
12138 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12140 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12141 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12143 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12147 2012-11-29 Roland McGrath <roland@hack.frob.com>
12149 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12151 2012-11-28 Jeff Law <law@redhat.com>
12154 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12155 dataset_temporary. Track alloca usage into alloca_used.
12156 If dataset is large allocate and release it via malloc/free.
12158 2012-06-04 Florian Weimer <fweimer@redhat.com>
12161 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12163 2012-11-28 David S. Miller <davem@davemloft.net>
12165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12167 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12170 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12171 of pi/2 rounded to nearest to 64 bits.
12172 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12173 nearest to 64 bits.
12174 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12177 2012-11-28 Jeff Law <law@redhat.com>
12178 Martin Osvald <mosvald@redhat.com>
12181 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12182 * sunrpc/svc.c: Include time.h.
12183 (__svc_accept_failed): New function.
12184 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12185 any reason other than EINTR, call __svc_accept_failed.
12186 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12187 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12189 2012-11-28 Andreas Schwab <schwab@suse.de>
12191 * scripts/abilist.awk: Also handle indirect functions in .opd
12194 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12197 * sysdeps/x86/fpu/powl_helper.c: New file.
12198 * sysdeps/x86/fpu/Makefile: Likewise.
12199 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12201 (__ieee754_powl): Use __powl_helper for finite arguments except
12202 integer exponents below 8.
12203 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12205 (__ieee754_powl): Use __powl_helper for finite arguments except
12206 integer exponents below 8.
12207 * math/libm-test.inc (pow_test): Add more tests and enable some
12208 previously disabled tests.
12209 * sysdeps/i386/fpu/libm-test-ulps: Update.
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12212 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12213 Carlos O'Donell <carlos_odonell@mentor.com>
12215 * nss/makedb.c (is_prime): Assert that input is odd and greater
12216 than 4. Note that fact in a comment too.
12217 (next_prime): Add 4 to input.
12219 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12222 * libio/Makefile (tests): Add test case tst-fwrite-error.
12223 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12224 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12225 * libio/tst-fwrite-error.c: New test case.
12227 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12229 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12230 before casting to void *.
12231 * include/libc-internal.h (__pointer_type): New macro.
12232 (__integer_if_pointer_type_sub): Likewise.
12233 (__integer_if_pointer_type): Likewise.
12234 (cast_to_integer): Likewise.
12235 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12236 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12237 before casting to atomic64_t.
12238 (atomic_exchange_acq): Likewise.
12239 (__arch_exchange_and_add_body): Likewise.
12240 (__arch_add_body): Likewise.
12241 (atomic_add_negative): Likewise.
12242 (atomic_add_zero): Likewise.
12244 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12246 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12247 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12248 (add_fdes): Likewise.
12249 (linear_search_fdes): Likewise.
12250 (binary_search_unencoded_fdes): Likewise.
12252 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12254 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12256 2012-11-24 Adam Conrad <adconrad@0c3.net>
12258 * configure.in: Autodetect C++ header directories.
12259 * configure: Regenerated.
12261 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12263 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12265 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12269 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12271 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12272 LDBL_MANT_DIG == 106]: Disable some tests.
12273 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12275 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12279 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12280 input for small inputs. Return +/- pi/2 for large inputs.
12281 * math/libm-test.inc (atan_test): Add more tests.
12283 * sysdeps/generic/unwind-dw2-fde-glibc.c
12284 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12285 __attribute__ ((unused)).
12288 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12289 x * y if x and y are nonzero and z is zero.
12292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12293 nonzero exponents with absolute value below 0x1p-117 to +/-
12297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12298 up arguments below 2**-450, not just those below 2**-500.
12299 * math/libm-test.inc (hypot_test): Add another test.
12302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12303 Return a+b for ratio over 2**120, not 2**60.
12304 * math/libm-test.inc (hypot_test): Add another test.
12306 * math/libm-test.inc (clog_test): Use
12307 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12308 (clog10_test): Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12313 2012-11-22 Andreas Schwab <schwab@suse.de>
12315 * sysdeps/i386/fpu/libm-test-ulps: Update.
12317 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12319 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12320 printf output with newline.
12322 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12325 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12326 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12327 -z nodlopen, -z initfirst and -z execstack support.
12328 * configure: Regenerated.
12330 * elf/elf.h (DF_1_NODIRECT): New macro.
12331 (DF_1_IGNMULDEF): Likewise.
12332 (DF_1_NOKSYMS): Likewise.
12333 (DF_1_NOHDR): Likewise.
12334 (DF_1_EDITED): Likewise.
12335 (DF_1_NORELOC): Likewise.
12336 (DF_1_SYMINTPOSE): Likewise.
12337 (DF_1_GLOBAUDIT): Likewise.
12338 (DF_1_SINGLETON): Likewise.
12339 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12340 DT_1_SUPPORTED_MASK bits.
12341 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12343 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12345 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12347 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12349 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12352 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12353 (sendmmsg): Move declarations...
12354 * socket/sys/socket.h: ... here.
12355 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12356 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12358 * socket/recvmmsg.c: ... this new file.
12359 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12360 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12361 definition of __sendmmsg hidden.
12362 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12363 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12364 Move ENOSYS stub into and include it from...
12365 * socket/sendmmsg.c: ... this new file.
12366 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12367 (sysdep_routines): Move recvmmsg and sendmmsg...
12368 * socket/Makefile (routines): ... here.
12369 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12370 (GLIBC_PRIVATE): Add __sendmmsg.
12371 * include/sys/socket.h (__sendmmsg): Add declarations.
12372 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12375 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12378 variable I1 with __attribute__ ((unused)).
12379 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12381 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12383 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12384 DUMMY variables with __attribute__ ((unused)).
12386 * bits/byteswap.h: Include <bits/types.h>.
12387 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12389 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12391 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12392 string_t. Do not manually set errno.
12393 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12394 length with __strnlen. Make sure to both set errno and return it on
12397 2012-11-19 David S. Miller <davem@davemloft.net>
12399 With help from Joseph Myers.
12400 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12401 very large arguments properly.
12402 * math/libm-test.inc (atan_test): New tests.
12403 (atan2_test): New tests.
12404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12407 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12410 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12413 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12414 [POSIX] (EADDRNOTAVAIL): Likewise.
12415 [POSIX] (EAFNOSUPPORT): Likewise.
12416 [POSIX] (EALREADY): Likewise.
12417 [POSIX] (ECONNABORTED): Likewise.
12418 [POSIX] (ECONNREFUSED): Likewise.
12419 [POSIX] (ECONNRESET): Likewise.
12420 [POSIX] (EDESTADDRREQ): Likewise.
12421 [POSIX] (EDQUOT): Likewise.
12422 [POSIX] (EHOSTUNREACH): Likewise.
12423 [POSIX] (EIDRM): Likewise.
12424 [POSIX] (EISCONN): Likewise.
12425 [POSIX] (ELOOP): Likewise.
12426 [POSIX] (EMULTIHOP): Likewise.
12427 [POSIX] (ENETDOWN): Likewise.
12428 [POSIX] (ENETUNREACH): Likewise.
12429 [POSIX] (ENOBUFS): Likewise.
12430 [POSIX] (ENODATA): Likewise.
12431 [POSIX] (ENOLINK): Likewise.
12432 [POSIX] (ENOMSG): Likewise.
12433 [POSIX] (ENOPROTOOPT): Likewise.
12434 [POSIX] (ENOSR): Likewise.
12435 [POSIX] (ENOSTR): Likewise.
12436 [POSIX] (ENOTCONN): Likewise.
12437 [POSIX] (ENOTSOCK): Likewise.
12438 [POSIX] (EOPNOTSUPP): Likewise.
12439 [POSIX] (EOVERFLOW): Likewise.
12440 [POSIX] (EPROTO): Likewise.
12441 [POSIX] (EPROTONOSUPPORT): Likewise.
12442 [POSIX] (EPROTOTYPE): Likewise.
12443 [POSIX] (ESTALE): Likewise.
12444 [POSIX] (ETIME): Likewise.
12445 [POSIX] (ETXTBSY): Likewise.
12446 [POSIX] (EWOULDBLOCK): Likewise.
12447 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12448 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12449 [POSIX] (SEEK_CUR): Likewise.
12450 [POSIX] (SEEK_END): Likewise.
12451 [POSIX || UNIX98] (mode_t): Do not require.
12452 [POSIX] (off_t): Likewise.
12453 [POSIX] (pid_t): Likewise.
12454 [POSIX] (sys/stat.h): Do not allow header.
12455 [POSIX] (unistd.h): Likewise.
12456 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12457 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12458 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12459 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12461 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12462 sigevent): Specify elements.
12463 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12465 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12466 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12468 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12469 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12470 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12471 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12472 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12473 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12474 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12475 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12476 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12477 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12478 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12479 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12480 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12481 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12485 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12487 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12489 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12490 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12491 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12492 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12493 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12494 Specify lower bound on value.
12495 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12496 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12497 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12498 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12499 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12500 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12501 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12502 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12504 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12506 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12507 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12508 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12509 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12510 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12511 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12512 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12513 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12514 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12515 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12516 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12517 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12518 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12523 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12525 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12532 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12535 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12537 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12538 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12540 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12541 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12542 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12544 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12545 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12546 specify as optional.
12547 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12550 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12551 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12552 [XPG3] (NL_LANGMAX): Likewise.
12553 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12554 [POSIX || XPG3] (NL_NMAX): Likewise.
12555 [POSIX || XPG3] (NL_SETMAX): Likewise.
12556 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12557 [XPG3] (NZERO): Likewise.
12558 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12559 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12560 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12561 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12562 (REG_ERANGE): Expect.
12563 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12565 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12566 Use (void) in prototype.
12567 [POSIX] (*_t): Allow.
12568 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12569 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12570 (WRDE_BADVAL): Expect.
12572 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12574 [XPG3 || XPG4] (O_RSYNC): Likewise.
12575 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12577 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12578 [XPG3 || XPG4] (sigqueue): Likewise.
12579 [XPG3 || XPG4] (sigtimedwait): Likewise.
12580 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12581 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12582 [XPG3 || XPG4] (vsnprintf): Likewise.
12583 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12585 [XPG3 || XPG4] (blksize_t): Likewise.
12586 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12588 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12589 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12590 [XPG3 || XPG4] (struct itimerspec): Likewise.
12591 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12592 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12593 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12594 [XPG3 || XPG4] (clockid_t): Likewise.
12595 [XPG3 || XPG4] (timer_t): Likewise.
12596 [XPG3 || XPG4] (clock_getres): Likewise.
12597 [XPG3 || XPG4] (clock_gettime): Likewise.
12598 [XPG3 || XPG4] (clock_settime): Likewise.
12599 [XPG3 || XPG4] (nanosleep): Likewise.
12600 [XPG3 || XPG4] (timer_create): Likewise.
12601 [XPG3 || XPG4] (timer_delete): Likewise.
12602 [XPG3 || XPG4] (timer_gettime): Likewise.
12603 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12604 [XPG3 || XPG4] (timer_settime): Likewise.
12605 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12606 [XPG3 || XPG4] (getlogin_r): Likewise.
12607 [XPG3 || XPG4] (pread): Likewise.
12608 [XPG3 || XPG4] (pthread_atfork): Likewise.
12609 [XPG3 || XPG4] (pwrite): Likewise.
12612 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12615 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12617 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12618 finalizing MALLSTREAM.
12620 * sysdeps/mach/hurd/syncfs.c: New file.
12622 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12625 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12626 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12627 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12628 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12629 (_nss_dns_gethostbyname4_r): Likewise.
12630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12631 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12633 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12636 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12638 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12640 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12641 * elf/cache.c (print_entry): Print ",AArch64" for
12644 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12645 * elf/cache.c (print_entry): Print ",hard-float" for
12648 2012-11-18 David S. Miller <davem@davemloft.net>
12650 With help from Joseph Myers.
12651 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12653 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12655 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12656 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12658 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12659 * math/libm-test.inc (y0_test): New tests.
12660 (y1_test): New tests.
12661 * sysdeps/i386/fpu/libm-test-ulps: Update.
12662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12665 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12667 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12669 * configure: Regenerated.
12671 2012-11-17 David S. Miller <davem@davemloft.net>
12674 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12675 nonzero exponents with absolute value below 0x1p-128 to +/-
12678 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12680 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12682 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12684 * posix/getconf-speclist.c: New file.
12685 * posix/posix-envs.def: Likewise.
12686 * posix/confstr.c (START_ENV_GROUP): New macro.
12687 (END_ENV_GROUP): Likewise.
12688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12689 (KNOWN_PRESENT_ENV_STRING): Likewise.
12690 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12691 (UNKNOWN_ENVIRONMENT): Likewise.
12692 (confstr): Include posix-envs.def instead of handling
12693 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12694 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12695 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12696 (END_ENV_GROUP): Likewise.
12697 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12698 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12699 (UNKNOWN_ENVIRONMENT): Likewise.
12700 (__sysconf): Include posix-envs.def instead of handling associated
12701 cases directly here.
12702 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12703 preprocessing getconf-speclist.c rather than running getconf or
12704 generating empty file.
12706 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12708 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12710 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12713 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12715 2012-11-16 David S. Miller <davem@davemloft.net>
12717 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12718 smaller than LDBL_EPSILON/2.0L, just return xm1.
12720 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12722 * elf/tst-array1.c (init): Set constructor priority to 1000.
12723 (fini): Set destructor priority to 1000.
12724 * elf/tst-array2dep.c: Likewise.
12726 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12729 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12730 (_IO_new_file_xsputn): Also return EOF if none of the input
12731 data was written when overflow failed.
12732 * libio/iopadn.c (_IO_padn): Likewise.
12733 * libio/iowpadn.c (_IO_wpadn): Likewise.
12734 * stdio-common/tst-put-error.c: Add copyright notice.
12735 (do_test): Add case for printing padded string.
12736 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12737 _IO_padn returned error.
12738 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12739 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12742 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12744 * libio/libioP.h: Add comment note that the references to C++
12745 bits are now obsolete.
12747 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12749 * math/libm-test.inc (check_complex): Use asprintf.
12751 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12753 * debug/pcprofiledump.c (print_version): Update copyright year.
12754 * malloc/memusagestat.c (print_version): Likewise.
12756 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12759 * elf/Makefile (tests): Add tst-audit8.
12760 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12761 ($(objpfx)tst-audit8.out): New target.
12762 (tst-audit8-ENV): New variable.
12763 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12764 audit if l_reloc_result is NULL.
12765 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12766 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12767 * elf/tst-audit8.c: New file.
12769 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12771 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12772 * misc/Makefile (CFLAGS-select.c): Define.
12773 * posix/Makefile (CFLAGS-pause.c): Define.
12775 2012-11-13 David S. Miller <davem@davemloft.net>
12777 * crypt/Makefile: Move test targets after toplevel Rules
12778 inclusion. Grab any necessary sysdep routines when linking.
12779 * crypt/md5.c (md5_process_block): Remove define, we will always
12780 name it __md5_process_block.
12781 (md5_finish_ctx): Update md5_process_block call.
12782 (md5_stream): Likewise.
12783 (md5_process_bytes): Likewise.
12784 (md5_process_block): Rename to __md5_process_block and move to ...
12785 * crypt/md5-block.c: ... here.
12786 * crypt/sha256.c (sha256_process_block): Move to ...
12787 * crypt/sha256-block.c: ... here.
12788 * crypt/sha512.c (sha512_process_block): Move to ...
12789 * crypt/sha512-block.c: ... here.
12790 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12792 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12793 * sysdeps/sparc/sparc64/multiarch/Makefile
12794 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12796 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12797 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12799 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12800 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12801 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12802 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12803 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12804 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12805 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12806 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12807 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12809 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12810 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12814 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12816 * timezone/tzselect.ksh: Update from tzcode git revision
12817 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12818 * timezone/zdump.c: Likewise.
12819 * timezone/zic.c: Likewise.
12820 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12821 in TZVERSION setting, not $(PKGVERSION).
12822 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12823 REPORT_BUGS_TO settings.
12826 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12829 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12831 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12832 detection to immediately after _FP_ROUND().
12833 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12836 2012-11-11 David S. Miller <davem@davemloft.net>
12838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12840 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12841 __close rather than their public counterparts.
12843 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12845 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12847 [UNIX98] (sem_timedwait): Do not expect.
12848 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12849 [XPG4 || UNIX98] (sockatmark): Do not expect.
12850 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12851 (clock_getcpuclockid): Do not expect.
12852 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12853 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12855 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12856 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12857 [UNIX98] (vwscanf): Likewise.
12858 [UNIX98] (vswscanf): Likewise.
12860 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12862 * timezone/version.h: Remove file.
12863 * timezone/README: Do not refer to version.h.
12864 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12865 $(objpfx)version.h.
12866 ($(objpfx)zdump.o): Likewise.
12867 ($(objpfx)version.h): New target.
12869 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12871 * timezone/README: Don't mention modification to tzselect.ksh.
12872 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12873 work on unmodified tzselect.ksh. Substitute version numbers in
12876 * Makefile (format-me): Remove.
12877 (INSTALL): Adjust indentation. Use commands directly instead of
12878 using $(format-me).
12880 * aclocal.m4 (ACX_PKGVERSION): New macro.
12881 (ACX_BUGURL): Likewise.
12882 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12883 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12884 (REPORT_BUGS_TO): Likewise.
12885 * configure: Regenerated.
12886 * config.h.in (PKGVERSION): New macro.
12887 (REPORT_BUGS_TO): Likewise.
12888 * config.make.in (PKGVERSION): New variable.
12889 (PKGVERSION_TEXI): Likewise.
12890 (REPORT_BUGS_TO): Likewise.
12891 (REPORT_BUGS_TEXI): Likewise.
12892 * Makefile (format-me): Use -I$(common-objpfx)manual.
12893 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12894 ($(common-objpfx)manual/%): New target.
12895 (manual/%): Remove target.
12896 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12897 (print_version): Use PKGVERSION.
12898 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12899 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12900 and REPORT_BUGS_TO.
12901 ($(objpfx)xtrace): Likewise.
12902 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12903 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12904 (print_version): Use PKGVERSION.
12905 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12906 (do_version): Use PKGVERSION.
12907 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12909 (common-ldd-rewrite): Likewise.
12910 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12911 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12912 (print_version): Use PKGVERSION.
12913 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12914 * elf/pldd.c (argp_program_bug_address): Remove variable.
12915 (more_help): New function.
12916 (argp): Use more_help.
12917 (print_version): Use PKGVERSION.
12918 * elf/sln.c (main): Use PKGVERSION.
12919 (usage): Use REPORT_BUGS_TO.
12920 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12921 (top level): Use PKGVERSION.
12922 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12923 (print_version): Use PKGVERSION.
12924 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12925 (print_version): Use PKGVERSION.
12926 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12927 (print_version): Use PKGVERSION.
12928 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12929 (print_version): Use PKGVERSION.
12930 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12931 (print_version): Use PKGVERSION.
12932 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12933 (print_version): Use PKGVERSION.
12934 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12936 ($(objpfx)memusage): Likewise.
12937 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12938 (do_version): Use PKGVERSION.
12939 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12940 (print_version): Use PKGVERSION.
12941 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12942 ($PKGVERSION): New variable.
12943 ($REPORT_BUGS_TO): Likewise.
12944 (usage): Use $REPORT_BUGS_TO.
12945 (top level): Use $PKGVERSION.
12946 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12947 ($(objpfx)pkgvers.texi): New rule.
12948 ($(objpfx)stamp-pkgvers): Likewise.
12949 * manual/install.texi: Include pkgvers.texi.
12950 (--with-pkgversion): Document new configure option.
12951 (--with-bugurl): Likewise.
12952 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12953 than necessarily for this particular distribution. Use
12954 REPORT_BUGS_TO for where to report bugs.
12955 * INSTALL: Regenerated.
12956 * manual/libc.texinfo: Include pkgvers.texi.
12957 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12958 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12959 (print_version): Use PKGVERSION.
12960 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12961 (print_version): Use PKGVERSION.
12962 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12963 (print_version): Use PKGVERSION.
12964 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12965 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12967 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12968 (print_version): Use PKGVERSION.
12969 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12970 (print_version): Use PKGVERSION.
12971 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12974 * timezone/checktab.awk: Update from tzcode 2012i.
12975 * timezone/ialloc.c: Likewise.
12976 * timezone/private.h: Likewise.
12977 * timezone/scheck.c: Likewise.
12978 * timezone/tzfile.h: Likewise.
12979 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12980 (TZVERSION): Hardcode tzcode version number.
12981 * timezone/zdump.c: Update from tzcode 2012i.
12982 * timezone/zic.c: Likewise.
12983 * timezone/version.h: New file.
12984 * timezone/README: Describe version.h. Update upstream location.
12987 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12988 (mktemp): Enable declaration.
12989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13006 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13007 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13008 for copies of such integer values.
13009 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13010 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13012 2012-11-09 Andreas Jaeger <aj@suse.de>
13014 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13015 definitions and declarations that are provided by
13016 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13018 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13020 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13021 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13022 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13025 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13027 * elf/elf.h: Update comment before AArch64 relocations.
13029 2012-11-07 David S. Miller <davem@davemloft.net>
13031 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13032 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13033 (__start_context): Declare.
13034 (__makecontext_ret): Delete.
13035 (__makecontext): Hook up __start_context instead of
13037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13038 (sysdep_routines): Add __start_context when in stdlib.
13040 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13042 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13043 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13044 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13046 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13047 (READELF): New variable. Use it instead of hardcoded "readelf".
13049 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13051 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13052 * sysdeps/x86/Makefile: Here.
13053 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13054 * sysdeps/x86/tst-xmmymm.sh: This.
13056 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13058 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13060 [UNIX98] (pthread_barrier_t): Do not expect.
13061 [UNIX98] (pthread_barrierattr_t): Likewise.
13062 [UNIX98] (pthread_spinlock_t): Likewise.
13063 [UNIX98] (pthread_barrier_destroy): Likewise.
13064 [UNIX98] (pthread_barrier_init): Likewise.
13065 [UNIX98] (pthread_barrier_wait): Likewise.
13066 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13067 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13068 [UNIX98] (pthread_barrierattr_init): Likewise.
13069 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13070 [UNIX98] (pthread_getcpuclockid): Likewise.
13071 [UNIX98] (pthread_mutex_timedlock): Likewise.
13072 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13073 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13074 [UNIX98] (pthread_sigmask): Likewise.
13075 [UNIX98] (pthread_spin_destroy): Likewise.
13076 [UNIX98] (pthread_spin_init): Likewise.
13077 [UNIX98] (pthread_spin_lock): Likewise.
13078 [UNIX98] (pthread_spin_trylock): Likewise.
13079 [UNIX98] (pthread_spin_unlock): Likewise.
13080 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13082 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13084 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13085 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13086 [XPG3 || XPG4] (pthread_key_t): Likewise.
13087 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13088 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13089 [XPG3 || XPG4] (pthread_once_t): Likewise.
13090 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13091 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13093 [XPG3 || XPG4] (pthread_t): Likewise.
13095 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13097 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13099 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13100 Change function return type to int.
13102 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13103 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13104 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13105 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13106 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13107 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13108 [!POSIX] (posix_madvise): Likewise.
13109 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13111 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13112 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13113 (mode_t): Likewise.
13114 (posix_mem_offset): Likewise.
13115 (posix_typed_mem_get_info): Likewise.
13116 (posix_typed_mem_open): Likewise.
13118 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13119 Change condition to [XOPEN2K8].
13121 * conform/conformtest.pl: Preprocess allow-header data with -x c
13122 instead of from stdin.
13123 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13124 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13125 [C99-based standards] (cerfc): Likewise.
13126 [C99-based standards] (cexp2): Likewise.
13127 [C99-based standards] (cexpm1): Likewise.
13128 [C99-based standards] (clog10): Likewise.
13129 [C99-based standards] (clog1p): Likewise.
13130 [C99-based standards] (clog2): Likewise.
13131 [C99-based standards] (clgamma): Likewise.
13132 [C99-based standards] (ctgamma): Likewise.
13133 [C99-based standards] (cerff): Likewise.
13134 [C99-based standards] (cerfcf): Likewise.
13135 [C99-based standards] (cexp2f): Likewise.
13136 [C99-based standards] (cexpm1f): Likewise.
13137 [C99-based standards] (clog10f): Likewise.
13138 [C99-based standards] (clog1pf): Likewise.
13139 [C99-based standards] (clog2f): Likewise.
13140 [C99-based standards] (clgammaf): Likewise.
13141 [C99-based standards] (ctgammaf): Likewise.
13142 [C99-based standards] (cerfl): Likewise.
13143 [C99-based standards] (cerfcl): Likewise.
13144 [C99-based standards] (cexp2l): Likewise.
13145 [C99-based standards] (cexpm1l): Likewise.
13146 [C99-based standards] (clog10l): Likewise.
13147 [C99-based standards] (clog1pl): Likewise.
13148 [C99-based standards] (clog2l): Likewise.
13149 [C99-based standards] (clgammal): Likewise.
13150 [C99-based standards] (ctgammal): Likewise.
13151 * conform/data/inttypes.h-data [C99-based standards]: Include
13152 stdint.h-data. Remove all expectations for stdint.h contents.
13153 [C99-based standards] (PRI*): Do not allow.
13154 [C99-based standards] (SCN*): Likewise.
13155 [C99-based standards] (*_t): Likewise.
13156 [C99-based-standards] (PRId8): Expect macro.
13157 [C99-based-standards] (PRIi8): Likewise.
13158 [C99-based-standards] (PRIo8): Likewise.
13159 [C99-based-standards] (PRIu8): Likewise.
13160 [C99-based-standards] (PRIx8): Likewise.
13161 [C99-based-standards] (PRIX8): Likewise.
13162 [C99-based-standards] (SCNd8): Likewise.
13163 [C99-based-standards] (SCNi8): Likewise.
13164 [C99-based-standards] (SCNo8): Likewise.
13165 [C99-based-standards] (SCNu8): Likewise.
13166 [C99-based-standards] (SCNx8): Likewise.
13167 [C99-based-standards] (PRIdLEAST8): Likewise.
13168 [C99-based-standards] (PRIiLEAST8): Likewise.
13169 [C99-based-standards] (PRIoLEAST8): Likewise.
13170 [C99-based-standards] (PRIuLEAST8): Likewise.
13171 [C99-based-standards] (PRIxLEAST8): Likewise.
13172 [C99-based-standards] (PRIXLEAST8): Likewise.
13173 [C99-based-standards] (SCNdLEAST8): Likewise.
13174 [C99-based-standards] (SCNiLEAST8): Likewise.
13175 [C99-based-standards] (SCNoLEAST8): Likewise.
13176 [C99-based-standards] (SCNuLEAST8): Likewise.
13177 [C99-based-standards] (SCNxLEAST8): Likewise.
13178 [C99-based-standards] (PRIdFAST8): Likewise.
13179 [C99-based-standards] (PRIiFAST8): Likewise.
13180 [C99-based-standards] (PRIoFAST8): Likewise.
13181 [C99-based-standards] (PRIuFAST8): Likewise.
13182 [C99-based-standards] (PRIxFAST8): Likewise.
13183 [C99-based-standards] (PRIXFAST8): Likewise.
13184 [C99-based-standards] (SCNdFAST8): Likewise.
13185 [C99-based-standards] (SCNiFAST8): Likewise.
13186 [C99-based-standards] (SCNoFAST8): Likewise.
13187 [C99-based-standards] (SCNuFAST8): Likewise.
13188 [C99-based-standards] (SCNxFAST8): Likewise.
13189 [C99-based-standards] (PRId16): Likewise.
13190 [C99-based-standards] (PRIi16): Likewise.
13191 [C99-based-standards] (PRIo16): Likewise.
13192 [C99-based-standards] (PRIu16): Likewise.
13193 [C99-based-standards] (PRIx16): Likewise.
13194 [C99-based-standards] (PRIX16): Likewise.
13195 [C99-based-standards] (SCNd16): Likewise.
13196 [C99-based-standards] (SCNi16): Likewise.
13197 [C99-based-standards] (SCNo16): Likewise.
13198 [C99-based-standards] (SCNu16): Likewise.
13199 [C99-based-standards] (SCNx16): Likewise.
13200 [C99-based-standards] (PRIdLEAST16): Likewise.
13201 [C99-based-standards] (PRIiLEAST16): Likewise.
13202 [C99-based-standards] (PRIoLEAST16): Likewise.
13203 [C99-based-standards] (PRIuLEAST16): Likewise.
13204 [C99-based-standards] (PRIxLEAST16): Likewise.
13205 [C99-based-standards] (PRIXLEAST16): Likewise.
13206 [C99-based-standards] (SCNdLEAST16): Likewise.
13207 [C99-based-standards] (SCNiLEAST16): Likewise.
13208 [C99-based-standards] (SCNoLEAST16): Likewise.
13209 [C99-based-standards] (SCNuLEAST16): Likewise.
13210 [C99-based-standards] (SCNxLEAST16): Likewise.
13211 [C99-based-standards] (PRIdFAST16): Likewise.
13212 [C99-based-standards] (PRIiFAST16): Likewise.
13213 [C99-based-standards] (PRIoFAST16): Likewise.
13214 [C99-based-standards] (PRIuFAST16): Likewise.
13215 [C99-based-standards] (PRIxFAST16): Likewise.
13216 [C99-based-standards] (PRIXFAST16): Likewise.
13217 [C99-based-standards] (SCNdFAST16): Likewise.
13218 [C99-based-standards] (SCNiFAST16): Likewise.
13219 [C99-based-standards] (SCNoFAST16): Likewise.
13220 [C99-based-standards] (SCNuFAST16): Likewise.
13221 [C99-based-standards] (SCNxFAST16): Likewise.
13222 [C99-based-standards] (PRId32): Likewise.
13223 [C99-based-standards] (PRIi32): Likewise.
13224 [C99-based-standards] (PRIo32): Likewise.
13225 [C99-based-standards] (PRIu32): Likewise.
13226 [C99-based-standards] (PRIx32): Likewise.
13227 [C99-based-standards] (PRIX32): Likewise.
13228 [C99-based-standards] (SCNd32): Likewise.
13229 [C99-based-standards] (SCNi32): Likewise.
13230 [C99-based-standards] (SCNo32): Likewise.
13231 [C99-based-standards] (SCNu32): Likewise.
13232 [C99-based-standards] (SCNx32): Likewise.
13233 [C99-based-standards] (PRIdLEAST32): Likewise.
13234 [C99-based-standards] (PRIiLEAST32): Likewise.
13235 [C99-based-standards] (PRIoLEAST32): Likewise.
13236 [C99-based-standards] (PRIuLEAST32): Likewise.
13237 [C99-based-standards] (PRIxLEAST32): Likewise.
13238 [C99-based-standards] (PRIXLEAST32): Likewise.
13239 [C99-based-standards] (SCNdLEAST32): Likewise.
13240 [C99-based-standards] (SCNiLEAST32): Likewise.
13241 [C99-based-standards] (SCNoLEAST32): Likewise.
13242 [C99-based-standards] (SCNuLEAST32): Likewise.
13243 [C99-based-standards] (SCNxLEAST32): Likewise.
13244 [C99-based-standards] (PRIdFAST32): Likewise.
13245 [C99-based-standards] (PRIiFAST32): Likewise.
13246 [C99-based-standards] (PRIoFAST32): Likewise.
13247 [C99-based-standards] (PRIuFAST32): Likewise.
13248 [C99-based-standards] (PRIxFAST32): Likewise.
13249 [C99-based-standards] (PRIXFAST32): Likewise.
13250 [C99-based-standards] (SCNdFAST32): Likewise.
13251 [C99-based-standards] (SCNiFAST32): Likewise.
13252 [C99-based-standards] (SCNoFAST32): Likewise.
13253 [C99-based-standards] (SCNuFAST32): Likewise.
13254 [C99-based-standards] (SCNxFAST32): Likewise.
13255 [C99-based-standards] (PRId64): Likewise.
13256 [C99-based-standards] (PRIi64): Likewise.
13257 [C99-based-standards] (PRIo64): Likewise.
13258 [C99-based-standards] (PRIu64): Likewise.
13259 [C99-based-standards] (PRIx64): Likewise.
13260 [C99-based-standards] (PRIX64): Likewise.
13261 [C99-based-standards] (SCNd64): Likewise.
13262 [C99-based-standards] (SCNi64): Likewise.
13263 [C99-based-standards] (SCNo64): Likewise.
13264 [C99-based-standards] (SCNu64): Likewise.
13265 [C99-based-standards] (SCNx64): Likewise.
13266 [C99-based-standards] (PRIdLEAST64): Likewise.
13267 [C99-based-standards] (PRIiLEAST64): Likewise.
13268 [C99-based-standards] (PRIoLEAST64): Likewise.
13269 [C99-based-standards] (PRIuLEAST64): Likewise.
13270 [C99-based-standards] (PRIxLEAST64): Likewise.
13271 [C99-based-standards] (PRIXLEAST64): Likewise.
13272 [C99-based-standards] (SCNdLEAST64): Likewise.
13273 [C99-based-standards] (SCNiLEAST64): Likewise.
13274 [C99-based-standards] (SCNoLEAST64): Likewise.
13275 [C99-based-standards] (SCNuLEAST64): Likewise.
13276 [C99-based-standards] (SCNxLEAST64): Likewise.
13277 [C99-based-standards] (PRIdFAST64): Likewise.
13278 [C99-based-standards] (PRIiFAST64): Likewise.
13279 [C99-based-standards] (PRIoFAST64): Likewise.
13280 [C99-based-standards] (PRIuFAST64): Likewise.
13281 [C99-based-standards] (PRIxFAST64): Likewise.
13282 [C99-based-standards] (PRIXFAST64): Likewise.
13283 [C99-based-standards] (SCNdFAST64): Likewise.
13284 [C99-based-standards] (SCNiFAST64): Likewise.
13285 [C99-based-standards] (SCNoFAST64): Likewise.
13286 [C99-based-standards] (SCNuFAST64): Likewise.
13287 [C99-based-standards] (SCNxFAST64): Likewise.
13288 [C99-based-standards] (PRIdMAX): Likewise.
13289 [C99-based-standards] (PRIiMAX): Likewise.
13290 [C99-based-standards] (PRIoMAX): Likewise.
13291 [C99-based-standards] (PRIuMAX): Likewise.
13292 [C99-based-standards] (PRIxMAX): Likewise.
13293 [C99-based-standards] (PRIXMAX): Likewise.
13294 [C99-based-standards] (SCNdMAX): Likewise.
13295 [C99-based-standards] (SCNiMAX): Likewise.
13296 [C99-based-standards] (SCNoMAX): Likewise.
13297 [C99-based-standards] (SCNuMAX): Likewise.
13298 [C99-based-standards] (SCNxMAX): Likewise.
13299 [C99-based-standards] (PRIdPTR): Likewise.
13300 [C99-based-standards] (PRIiPTR): Likewise.
13301 [C99-based-standards] (PRIoPTR): Likewise.
13302 [C99-based-standards] (PRIuPTR): Likewise.
13303 [C99-based-standards] (PRIxPTR): Likewise.
13304 [C99-based-standards] (PRIXPTR): Likewise.
13305 [C99-based-standards] (SCNdPTR): Likewise.
13306 [C99-based-standards] (SCNiPTR): Likewise.
13307 [C99-based-standards] (SCNoPTR): Likewise.
13308 [C99-based-standards] (SCNuPTR): Likewise.
13309 [C99-based-standards] (SCNxPTR): Likewise.
13310 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13312 * conform/data/stdint.h-data: Update comments to clarify
13314 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13316 [C99-based standards] (INT8_MAX): Likewise.
13317 [C99-based standards] (INT16_MIN): Likewise.
13318 [C99-based standards] (INT16_MAX): Likewise.
13319 [C99-based standards] (INT32_MIN): Likewise.
13320 [C99-based standards] (INT32_MAX): Likewise.
13321 [C99-based standards] (INT64_MIN): Likewise.
13322 [C99-based standards] (INT64_MAX): Likewise.
13323 [C99-based standards] (UINT8_MAX): Likewise.
13324 [C99-based standards] (UINT16_MAX): Likewise.
13325 [C99-based standards] (UINT32_MAX): Likewise.
13326 [C99-based standards] (UINT64_MAX): Likewise.
13327 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13328 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13329 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13330 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13331 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13332 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13333 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13334 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13335 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13336 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13337 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13338 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13339 [C99-based standards] (INT_FAST8_MIN): Likewise.
13340 [C99-based standards] (INT_FAST8_MAX): Likewise.
13341 [C99-based standards] (INT_FAST16_MIN): Likewise.
13342 [C99-based standards] (INT_FAST16_MAX): Likewise.
13343 [C99-based standards] (INT_FAST32_MIN): Likewise.
13344 [C99-based standards] (INT_FAST32_MAX): Likewise.
13345 [C99-based standards] (INT_FAST64_MIN): Likewise.
13346 [C99-based standards] (INT_FAST64_MAX): Likewise.
13347 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13348 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13349 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13350 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13351 [C99-based standards] (INTPTR_MIN): Likewise.
13352 [C99-based standards] (INTPTR_MAX): Likewise.
13353 [C99-based standards] (UINTPTR_MAX): Likewise.
13354 [C99-based standards] (INTMAX_MIN): Likewise.
13355 [C99-based standards] (INTMAX_MAX): Likewise.
13356 [C99-based standards] (UINTMAX_MAX): Likewise.
13357 [C99-based standards] (PTRDIFF_MIN): Likewise.
13358 [C99-based standards] (PTRDIFF_MAX): Likewise.
13359 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13360 [C99-based standards] (SIZE_MAX): Likewise.
13361 [C99-based standards] (WCHAR_MAX): Likewise.
13362 [C99-based standards] (WINT_MAX): Likewise.
13363 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13364 constraint on value.
13365 [C99-based standards] (WCHAR_MIN): Likewise.
13366 [C99-based standards] (WINT_MIN): Likewise.
13367 [C99-based standards] (*_t): Allow.
13368 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13369 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13370 Include math.h-data and complex.h-data. Remove all expectations
13371 of math.h and complex.h contents.
13372 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13374 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13375 (struct tm): Expect tag.
13376 [C99-based-standards] (wcstof): Expect function.
13377 [C99-based-standards] (wcstold): Likewise.
13378 [C99-based-standards] (wcstoll): Likewise.
13379 [C99-based-standards] (wcstoull): Likewise.
13380 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13381 macro-int-constant. Specify type.
13382 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13383 constraint on value.
13384 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13386 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13388 [ISO C standards]: Do not allow headers.
13389 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13390 wcs[abcdefghijklmnopqrstuvwxyz]*.
13391 [ISO C standards] (*_t): Do not allow.
13392 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13394 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13395 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13397 [ISO C standards]: Do not allow headers.
13398 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13399 is[abcdefghijklmnopqrstuvwxyz]*.
13400 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13401 to[abcdefghijklmnopqrstuvwxyz]*.
13402 [ISO C standards] (*_t): Do not allow.
13403 * conform/data/stdalign.h-data: New file.
13404 * conform/data/stdbool.h-data: Likewise.
13405 * conform/data/stdnoreturn.h-data: Likewise.
13407 2012-11-07 Roland McGrath <roland@hack.frob.com>
13410 * manual/filesys.texi (Directory Entries): Typo fix.
13411 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13413 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13415 * elf/elf.h (EM_AARCH64): New macro.
13416 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13417 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13418 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13419 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13420 (R_AARCH64_TLSDESC): Likewise.
13421 (NT_ARM_TLS): Likewise.
13422 (NT_ARM_HW_BREAK): Likewise.
13423 (NT_ARM_HW_WATCH): Likewise.
13425 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13428 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13429 (__ieee754_powl): Saturate nonzero exponents with absolute value
13430 below 0x1p-79 to +/- 0x1p-79.
13431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13432 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13433 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13434 nonzero exponents with absolute value below 0x1p-32 to +/-
13436 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13437 (__ieee754_powl): Saturate nonzero exponents with absolute value
13438 below 0x1p-79 to +/- 0x1p-79.
13439 * math/libm-test.inc (pow_test): Add more tests.
13441 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13443 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13444 _dl_s390_cap_flags with kernel. Increase string length.
13445 (_dl_s390_platforms): Add z196 and zEC12.
13447 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13449 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13450 Change XOPEN21K to XOPEN2K.
13452 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13454 * string/memmove.c: Use memcpy when possible.
13456 2012-11-06 Andreas Jaeger <aj@suse.de>
13458 * po/eo.po: Update from translation team.
13460 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13464 exponent and small x and y exponents, scale x or y up. Increase
13465 by 2 the exponent used in scaling up.
13466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13468 * math/libm-test.inc (fma_test): Add more tests.
13469 (fma_test_towardzero): Likewise.
13470 (fma_test_downward): Likewise.
13471 (fma_test_upward): Likewise.
13473 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13476 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13480 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13481 namespace for names of struct fields.
13482 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13484 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13485 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13487 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13490 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13492 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13494 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13498 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13501 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13505 definitely overflow as x * y not x * y + z.
13506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13508 * math/libm-test.inc (fma_test): Add more tests.
13509 (fma_test_towardzero): Likewise.
13510 (fma_test_downward): Likewise.
13511 (fma_test_upward): Likewise.
13513 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13517 * include/stub-tag.h: Remove file.
13518 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13520 * manual/maint.texi (Porting): Don't reference it.
13521 * Makerules ($(objpfx)stubs): Likewise.
13522 * dirent/closedir.c: Don't include <stub-tag.h>.
13523 * dirent/dirfd.c: Likewise.
13524 * dirent/fdopendir.c: Likewise.
13525 * dirent/getdents.c: Likewise.
13526 * dirent/getdents64.c: Likewise.
13527 * dirent/opendir.c: Likewise.
13528 * dirent/readdir.c: Likewise.
13529 * dirent/readdir64.c: Likewise.
13530 * dirent/readdir64_r.c: Likewise.
13531 * dirent/readdir_r.c: Likewise.
13532 * dirent/rewinddir.c: Likewise.
13533 * dirent/seekdir.c: Likewise.
13534 * dirent/telldir.c: Likewise.
13535 * gmon/profil.c: Likewise.
13536 * grp/setgroups.c: Likewise.
13537 * inet/if_index.c: Likewise.
13538 * io/access.c: Likewise.
13539 * io/chdir.c: Likewise.
13540 * io/chmod.c: Likewise.
13541 * io/chown.c: Likewise.
13542 * io/close.c: Likewise.
13543 * io/dup.c: Likewise.
13544 * io/dup2.c: Likewise.
13545 * io/dup3.c: Likewise.
13546 * io/euidaccess.c: Likewise.
13547 * io/faccessat.c: Likewise.
13548 * io/fchdir.c: Likewise.
13549 * io/fchmod.c: Likewise.
13550 * io/fchmodat.c: Likewise.
13551 * io/fchown.c: Likewise.
13552 * io/fchownat.c: Likewise.
13553 * io/fcntl.c: Likewise.
13554 * io/flock.c: Likewise.
13555 * io/fstatfs.c: Likewise.
13556 * io/fstatfs64.c: Likewise.
13557 * io/fstatvfs.c: Likewise.
13558 * io/fstatvfs64.c: Likewise.
13559 * io/futimens.c: Likewise.
13560 * io/fxstat.c: Likewise.
13561 * io/fxstat64.c: Likewise.
13562 * io/fxstatat.c: Likewise.
13563 * io/fxstatat64.c: Likewise.
13564 * io/getcwd.c: Likewise.
13565 * io/isatty.c: Likewise.
13566 * io/lchmod.c: Likewise.
13567 * io/lchown.c: Likewise.
13568 * io/link.c: Likewise.
13569 * io/linkat.c: Likewise.
13570 * io/lseek.c: Likewise.
13571 * io/lseek64.c: Likewise.
13572 * io/lxstat64.c: Likewise.
13573 * io/mkdir.c: Likewise.
13574 * io/mkdirat.c: Likewise.
13575 * io/mkfifo.c: Likewise.
13576 * io/mkfifoat.c: Likewise.
13577 * io/open.c: Likewise.
13578 * io/open64.c: Likewise.
13579 * io/openat.c: Likewise.
13580 * io/openat64.c: Likewise.
13581 * io/pipe.c: Likewise.
13582 * io/pipe2.c: Likewise.
13583 * io/poll.c: Likewise.
13584 * io/posix_fadvise.c: Likewise.
13585 * io/posix_fadvise64.c: Likewise.
13586 * io/posix_fallocate.c: Likewise.
13587 * io/posix_fallocate64.c: Likewise.
13588 * io/read.c: Likewise.
13589 * io/readlink.c: Likewise.
13590 * io/readlinkat.c: Likewise.
13591 * io/rmdir.c: Likewise.
13592 * io/sendfile.c: Likewise.
13593 * io/sendfile64.c: Likewise.
13594 * io/statfs.c: Likewise.
13595 * io/statfs64.c: Likewise.
13596 * io/statvfs.c: Likewise.
13597 * io/statvfs64.c: Likewise.
13598 * io/symlink.c: Likewise.
13599 * io/symlinkat.c: Likewise.
13600 * io/ttyname.c: Likewise.
13601 * io/ttyname_r.c: Likewise.
13602 * io/umask.c: Likewise.
13603 * io/unlink.c: Likewise.
13604 * io/unlinkat.c: Likewise.
13605 * io/utime.c: Likewise.
13606 * io/utimensat.c: Likewise.
13607 * io/write.c: Likewise.
13608 * io/xmknod.c: Likewise.
13609 * io/xmknodat.c: Likewise.
13610 * io/xstat.c: Likewise.
13611 * io/xstat64.c: Likewise.
13612 * login/getpt.c: Likewise.
13613 * login/grantpt.c: Likewise.
13614 * login/unlockpt.c: Likewise.
13615 * math/e_acoshl.c: Likewise.
13616 * math/e_acosl.c: Likewise.
13617 * math/e_asinl.c: Likewise.
13618 * math/e_atan2l.c: Likewise.
13619 * math/e_atanhl.c: Likewise.
13620 * math/e_coshl.c: Likewise.
13621 * math/e_expl.c: Likewise.
13622 * math/e_fmodl.c: Likewise.
13623 * math/e_gammal_r.c: Likewise.
13624 * math/e_hypotl.c: Likewise.
13625 * math/e_j0l.c: Likewise.
13626 * math/e_j1l.c: Likewise.
13627 * math/e_jnl.c: Likewise.
13628 * math/e_lgammal_r.c: Likewise.
13629 * math/e_log10l.c: Likewise.
13630 * math/e_log2l.c: Likewise.
13631 * math/e_logl.c: Likewise.
13632 * math/e_powl.c: Likewise.
13633 * math/e_rem_pio2l.c: Likewise.
13634 * math/e_sinhl.c: Likewise.
13635 * math/e_sqrtl.c: Likewise.
13636 * math/fclrexcpt.c: Likewise.
13637 * math/fedisblxcpt.c: Likewise.
13638 * math/feenablxcpt.c: Likewise.
13639 * math/fegetenv.c: Likewise.
13640 * math/fegetexcept.c: Likewise.
13641 * math/fegetround.c: Likewise.
13642 * math/feholdexcpt.c: Likewise.
13643 * math/fesetenv.c: Likewise.
13644 * math/fesetround.c: Likewise.
13645 * math/feupdateenv.c: Likewise.
13646 * math/fgetexcptflg.c: Likewise.
13647 * math/fraiseexcpt.c: Likewise.
13648 * math/fsetexcptflg.c: Likewise.
13649 * math/ftestexcept.c: Likewise.
13650 * math/k_cosl.c: Likewise.
13651 * math/k_rem_pio2l.c: Likewise.
13652 * math/k_sinl.c: Likewise.
13653 * math/k_tanl.c: Likewise.
13654 * math/s_asinhl.c: Likewise.
13655 * math/s_atanl.c: Likewise.
13656 * math/s_cbrtl.c: Likewise.
13657 * math/s_erfl.c: Likewise.
13658 * math/s_expm1l.c: Likewise.
13659 * math/s_log1pl.c: Likewise.
13660 * math/s_tanhl.c: Likewise.
13661 * misc/acct.c: Likewise.
13662 * misc/brk.c: Likewise.
13663 * misc/chflags.c: Likewise.
13664 * misc/chroot.c: Likewise.
13665 * misc/fchflags.c: Likewise.
13666 * misc/fgetxattr.c: Likewise.
13667 * misc/flistxattr.c: Likewise.
13668 * misc/fremovexattr.c: Likewise.
13669 * misc/fsetxattr.c: Likewise.
13670 * misc/fsync.c: Likewise.
13671 * misc/ftruncate.c: Likewise.
13672 * misc/futimes.c: Likewise.
13673 * misc/futimesat.c: Likewise.
13674 * misc/getdomain.c: Likewise.
13675 * misc/getdtsz.c: Likewise.
13676 * misc/gethostid.c: Likewise.
13677 * misc/gethostname.c: Likewise.
13678 * misc/getloadavg.c: Likewise.
13679 * misc/getpagesize.c: Likewise.
13680 * misc/getsysstats.c: Likewise.
13681 * misc/getxattr.c: Likewise.
13682 * misc/gtty.c: Likewise.
13683 * misc/ioctl.c: Likewise.
13684 * misc/lgetxattr.c: Likewise.
13685 * misc/listxattr.c: Likewise.
13686 * misc/llistxattr.c: Likewise.
13687 * misc/lremovexattr.c: Likewise.
13688 * misc/lsetxattr.c: Likewise.
13689 * misc/lutimes.c: Likewise.
13690 * misc/madvise.c: Likewise.
13691 * misc/mincore.c: Likewise.
13692 * misc/mlock.c: Likewise.
13693 * misc/mlockall.c: Likewise.
13694 * misc/mmap.c: Likewise.
13695 * misc/mprotect.c: Likewise.
13696 * misc/msync.c: Likewise.
13697 * misc/munlock.c: Likewise.
13698 * misc/munlockall.c: Likewise.
13699 * misc/munmap.c: Likewise.
13700 * misc/preadv.c: Likewise.
13701 * misc/preadv64.c: Likewise.
13702 * misc/ptrace.c: Likewise.
13703 * misc/pwritev.c: Likewise.
13704 * misc/pwritev64.c: Likewise.
13705 * misc/readv.c: Likewise.
13706 * misc/reboot.c: Likewise.
13707 * misc/remap_file_pages.c: Likewise.
13708 * misc/removexattr.c: Likewise.
13709 * misc/revoke.c: Likewise.
13710 * misc/select.c: Likewise.
13711 * misc/setdomain.c: Likewise.
13712 * misc/setegid.c: Likewise.
13713 * misc/seteuid.c: Likewise.
13714 * misc/sethostid.c: Likewise.
13715 * misc/sethostname.c: Likewise.
13716 * misc/setregid.c: Likewise.
13717 * misc/setreuid.c: Likewise.
13718 * misc/setxattr.c: Likewise.
13719 * misc/sstk.c: Likewise.
13720 * misc/stty.c: Likewise.
13721 * misc/swapoff.c: Likewise.
13722 * misc/swapon.c: Likewise.
13723 * misc/sync.c: Likewise.
13724 * misc/syncfs.c: Likewise.
13725 * misc/syscall.c: Likewise.
13726 * misc/truncate.c: Likewise.
13727 * misc/ualarm.c: Likewise.
13728 * misc/usleep.c: Likewise.
13729 * misc/ustat.c: Likewise.
13730 * misc/utimes.c: Likewise.
13731 * misc/vhangup.c: Likewise.
13732 * misc/writev.c: Likewise.
13733 * posix/_exit.c: Likewise.
13734 * posix/alarm.c: Likewise.
13735 * posix/execve.c: Likewise.
13736 * posix/fexecve.c: Likewise.
13737 * posix/fork.c: Likewise.
13738 * posix/fpathconf.c: Likewise.
13739 * posix/getaddrinfo.c: Likewise.
13740 * posix/getegid.c: Likewise.
13741 * posix/geteuid.c: Likewise.
13742 * posix/getgid.c: Likewise.
13743 * posix/getgroups.c: Likewise.
13744 * posix/getlogin.c: Likewise.
13745 * posix/getlogin_r.c: Likewise.
13746 * posix/getpgid.c: Likewise.
13747 * posix/getpid.c: Likewise.
13748 * posix/getppid.c: Likewise.
13749 * posix/getresgid.c: Likewise.
13750 * posix/getresuid.c: Likewise.
13751 * posix/getsid.c: Likewise.
13752 * posix/getuid.c: Likewise.
13753 * posix/glob64.c: Likewise.
13754 * posix/nanosleep.c: Likewise.
13755 * posix/pathconf.c: Likewise.
13756 * posix/pause.c: Likewise.
13757 * posix/posix_madvise.c: Likewise.
13758 * posix/pread.c: Likewise.
13759 * posix/pread64.c: Likewise.
13760 * posix/pwrite.c: Likewise.
13761 * posix/pwrite64.c: Likewise.
13762 * posix/sched_getaffinity.c: Likewise.
13763 * posix/sched_getp.c: Likewise.
13764 * posix/sched_gets.c: Likewise.
13765 * posix/sched_primax.c: Likewise.
13766 * posix/sched_primin.c: Likewise.
13767 * posix/sched_rr_gi.c: Likewise.
13768 * posix/sched_setaffinity.c: Likewise.
13769 * posix/sched_setp.c: Likewise.
13770 * posix/sched_sets.c: Likewise.
13771 * posix/sched_yield.c: Likewise.
13772 * posix/setgid.c: Likewise.
13773 * posix/setlogin.c: Likewise.
13774 * posix/setpgid.c: Likewise.
13775 * posix/setresgid.c: Likewise.
13776 * posix/setresuid.c: Likewise.
13777 * posix/setsid.c: Likewise.
13778 * posix/setuid.c: Likewise.
13779 * posix/sleep.c: Likewise.
13780 * posix/spawni.c: Likewise.
13781 * posix/sysconf.c: Likewise.
13782 * posix/times.c: Likewise.
13783 * posix/wait.c: Likewise.
13784 * posix/wait3.c: Likewise.
13785 * posix/wait4.c: Likewise.
13786 * posix/waitpid.c: Likewise.
13787 * resolv/gai_sigqueue.c: Likewise.
13788 * resource/getpriority.c: Likewise.
13789 * resource/getrlimit.c: Likewise.
13790 * resource/getrusage.c: Likewise.
13791 * resource/nice.c: Likewise.
13792 * resource/setpriority.c: Likewise.
13793 * resource/setrlimit.c: Likewise.
13794 * resource/ulimit.c: Likewise.
13795 * rt/aio_cancel.c: Likewise.
13796 * rt/aio_fsync.c: Likewise.
13797 * rt/aio_read.c: Likewise.
13798 * rt/aio_sigqueue.c: Likewise.
13799 * rt/aio_suspend.c: Likewise.
13800 * rt/aio_write.c: Likewise.
13801 * rt/clock_getres.c: Likewise.
13802 * rt/clock_gettime.c: Likewise.
13803 * rt/clock_nanosleep.c: Likewise.
13804 * rt/clock_settime.c: Likewise.
13805 * rt/lio_listio.c: Likewise.
13806 * rt/mq_close.c: Likewise.
13807 * rt/mq_getattr.c: Likewise.
13808 * rt/mq_notify.c: Likewise.
13809 * rt/mq_open.c: Likewise.
13810 * rt/mq_receive.c: Likewise.
13811 * rt/mq_send.c: Likewise.
13812 * rt/mq_setattr.c: Likewise.
13813 * rt/mq_timedreceive.c: Likewise.
13814 * rt/mq_timedsend.c: Likewise.
13815 * rt/mq_unlink.c: Likewise.
13816 * rt/shm_open.c: Likewise.
13817 * rt/shm_unlink.c: Likewise.
13818 * rt/timer_create.c: Likewise.
13819 * rt/timer_delete.c: Likewise.
13820 * rt/timer_getoverr.c: Likewise.
13821 * rt/timer_gettime.c: Likewise.
13822 * rt/timer_settime.c: Likewise.
13823 * setjmp/__longjmp.c: Likewise.
13824 * setjmp/setjmp.c: Likewise.
13825 * signal/kill.c: Likewise.
13826 * signal/killpg.c: Likewise.
13827 * signal/raise.c: Likewise.
13828 * signal/sigaction.c: Likewise.
13829 * signal/sigaltstack.c: Likewise.
13830 * signal/sigblock.c: Likewise.
13831 * signal/sigignore.c: Likewise.
13832 * signal/sigintr.c: Likewise.
13833 * signal/signal.c: Likewise.
13834 * signal/sigpause.c: Likewise.
13835 * signal/sigpending.c: Likewise.
13836 * signal/sigqueue.c: Likewise.
13837 * signal/sigreturn.c: Likewise.
13838 * signal/sigset.c: Likewise.
13839 * signal/sigsetmask.c: Likewise.
13840 * signal/sigstack.c: Likewise.
13841 * signal/sigsuspend.c: Likewise.
13842 * signal/sigtimedwait.c: Likewise.
13843 * signal/sigvec.c: Likewise.
13844 * signal/sigwait.c: Likewise.
13845 * signal/sigwaitinfo.c: Likewise.
13846 * signal/sysv_signal.c: Likewise.
13847 * socket/accept.c: Likewise.
13848 * socket/accept4.c: Likewise.
13849 * socket/bind.c: Likewise.
13850 * socket/connect.c: Likewise.
13851 * socket/getpeername.c: Likewise.
13852 * socket/getsockname.c: Likewise.
13853 * socket/getsockopt.c: Likewise.
13854 * socket/isfdtype.c: Likewise.
13855 * socket/listen.c: Likewise.
13856 * socket/recv.c: Likewise.
13857 * socket/recvfrom.c: Likewise.
13858 * socket/recvmsg.c: Likewise.
13859 * socket/send.c: Likewise.
13860 * socket/sendmsg.c: Likewise.
13861 * socket/sendto.c: Likewise.
13862 * socket/setsockopt.c: Likewise.
13863 * socket/shutdown.c: Likewise.
13864 * socket/sockatmark.c: Likewise.
13865 * socket/socket.c: Likewise.
13866 * socket/socketpair.c: Likewise.
13867 * stdio-common/ctermid.c: Likewise.
13868 * stdio-common/cuserid.c: Likewise.
13869 * stdio-common/remove.c: Likewise.
13870 * stdio-common/rename.c: Likewise.
13871 * stdio-common/renameat.c: Likewise.
13872 * stdio-common/tempname.c: Likewise.
13873 * stdlib/getcontext.c: Likewise.
13874 * stdlib/makecontext.c: Likewise.
13875 * stdlib/setcontext.c: Likewise.
13876 * stdlib/swapcontext.c: Likewise.
13877 * stdlib/system.c: Likewise.
13878 * streams/fattach.c: Likewise.
13879 * streams/fdetach.c: Likewise.
13880 * streams/getmsg.c: Likewise.
13881 * streams/getpmsg.c: Likewise.
13882 * streams/putmsg.c: Likewise.
13883 * streams/putpmsg.c: Likewise.
13884 * sysdeps/unix/bsd/getpt.c: Likewise.
13885 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13886 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13887 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13890 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13891 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13892 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13893 * sysvipc/msgctl.c: Likewise.
13894 * sysvipc/msgget.c: Likewise.
13895 * sysvipc/msgrcv.c: Likewise.
13896 * sysvipc/msgsnd.c: Likewise.
13897 * sysvipc/semctl.c: Likewise.
13898 * sysvipc/semget.c: Likewise.
13899 * sysvipc/semop.c: Likewise.
13900 * sysvipc/semtimedop.c: Likewise.
13901 * sysvipc/shmat.c: Likewise.
13902 * sysvipc/shmctl.c: Likewise.
13903 * sysvipc/shmdt.c: Likewise.
13904 * sysvipc/shmget.c: Likewise.
13905 * termios/tcdrain.c: Likewise.
13906 * termios/tcflow.c: Likewise.
13907 * termios/tcflush.c: Likewise.
13908 * termios/tcgetattr.c: Likewise.
13909 * termios/tcgetpgrp.c: Likewise.
13910 * termios/tcsendbrk.c: Likewise.
13911 * termios/tcsetattr.c: Likewise.
13912 * termios/tcsetpgrp.c: Likewise.
13913 * time/adjtime.c: Likewise.
13914 * time/clock.c: Likewise.
13915 * time/getitimer.c: Likewise.
13916 * time/gettimeofday.c: Likewise.
13917 * time/setitimer.c: Likewise.
13918 * time/settimeofday.c: Likewise.
13919 * time/stime.c: Likewise.
13920 * time/time.c: Likewise.
13922 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13924 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13927 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13929 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13931 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13935 FE_TONEAREST before applying Dekker multiplication and Knuth
13936 addition. Clear inexact exceptions and check for exact zero
13937 results afterwards.
13938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13941 * math/libm-test.inc (fma_test): Add more tests.
13942 (fma_test_towardzero): Likewise.
13943 (fma_test_downward): Likewise.
13944 (fma_test_upward): Likewise.
13945 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13947 (libc_fesetround): New macro.
13948 (libc_fesetroundf): Likewise.
13949 (libc_fesetroundl): Likewise.
13950 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13952 (libc_fesetround_387): Likewise.
13953 (libc_fesetroundf): New macro.
13954 (libc_fesetround): Likewise.
13955 (libc_fesetroundl): Likewise.
13956 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13958 (libc_fesetroundf): New macro.
13959 (libc_fesetround): Likewise.
13960 (libc_fesetroundl): Likewise.
13961 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13962 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13963 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13965 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13966 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13968 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13969 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13971 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13975 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13976 integer constant usable in #if and use that to give value to enum
13978 (FE_DIVBYZERO): Likewise.
13979 (FE_UNDERFLOW): Likewise.
13980 (FE_OVERFLOW): Likewise.
13981 (FE_INVALID): Likewise.
13982 (FE_INVALID_SNAN): Likewise.
13983 (FE_INVALID_ISI): Likewise.
13984 (FE_INVALID_IDI): Likewise.
13985 (FE_INVALID_ZDZ): Likewise.
13986 (FE_INVALID_IMZ): Likewise.
13987 (FE_INVALID_COMPARE): Likewise.
13988 (FE_INVALID_SOFTWARE): Likewise.
13989 (FE_INVALID_SQRT): Likewise.
13990 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13991 (FE_TONEAREST): Likewise.
13992 (FE_TOWARDZERO): Likewise.
13993 (FE_UPWARD): Likewise.
13994 (FE_DOWNWARD): Likewise.
13995 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13996 (FE_DIVBYZERO): Likewise.
13997 (FE_OVERFLOW): Likewise.
13998 (FE_UNDERFLOW): Likewise.
13999 (FE_INEXACT): Likewise.
14000 (FE_TONEAREST): Likewise.
14001 (FE_DOWNWARD): Likewise.
14002 (FE_UPWARD): Likewise.
14003 (FE_TOWARDZERO): Likewise.
14004 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14005 (FE_UNDERFLOW): Likewise.
14006 (FE_OVERFLOW): Likewise.
14007 (FE_DIVBYZERO): Likewise.
14008 (FE_INVALID): Likewise.
14009 (FE_TONEAREST): Likewise.
14010 (FE_TOWARDZERO): Likewise.
14011 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14012 (FE_OVERFLOW): Likewise.
14013 (FE_UNDERFLOW): Likewise.
14014 (FE_DIVBYZERO): Likewise.
14015 (FE_INEXACT): Likewise.
14016 (FE_TONEAREST): Likewise.
14017 (FE_TOWARDZERO): Likewise.
14018 (FE_UPWARD): Likewise.
14019 (FE_DOWNWARD): Likewise.
14020 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14021 (FE_DIVBYZERO): Likewise.
14022 (FE_OVERFLOW): Likewise.
14023 (FE_UNDERFLOW): Likewise.
14024 (FE_INEXACT): Likewise.
14025 (FE_TONEAREST): Likewise.
14026 (FE_DOWNWARD): Likewise.
14027 (FE_UPWARD): Likewise.
14028 (FE_TOWARDZERO): Likewise.
14030 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14032 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14034 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14036 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14037 commands. Quote $PWD.
14038 (blacklist_exports): Don't use remove_newlines. Replace "declare
14040 (remove_newlines): Remove.
14042 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14044 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14045 * stdlib/stdlib.h (atof): Moved to ...
14046 * include/bits/stdlib-float.h: Here. New file.
14047 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14048 * stdlib/bits/stdlib-float.h: New file.
14049 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14051 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14054 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14056 * conform/conformtest.pl (@headers): Add fenv.h.
14057 * conform/data/fenv.h-data: New file.
14058 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14059 include of <math/fenv.h>.
14061 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14062 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14063 && !UNIX98]. Enables tests for XOPEN2K8.
14064 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14065 POSIX2008]: Likewise.
14067 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14068 (struct rusage): Do not expect type or its members.
14071 * math/math.h (FP_NAN): Define macro to integer constant usable in
14072 #if and use that to give value to enum constant.
14073 (FP_INFINITE): Likewise.
14074 (FP_ZERO): Likewise.
14075 (FP_SUBNORMAL): Likewise.
14076 (FP_NORMAL): Likewise.
14078 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14080 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14081 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14084 2012-11-02 Roland McGrath <roland@hack.frob.com>
14086 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14087 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14088 autoconf-time if not.
14089 * configure.in: Remove AC_PREREQ.
14091 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14093 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14094 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14095 of the internal implementation.
14097 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14099 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14100 except include of <misc/sys/syslog.h>.
14102 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14105 function returns with a NULL context exit with zero.
14107 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14109 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14111 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14113 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14114 (run_program_cmd): This.
14115 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14116 (tst_langinfo): New variable. Use it.
14118 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14120 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14121 floating point opcodes.
14123 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14125 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14128 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14130 * sysdeps/mach/hurd/powerpc: Remove directory.
14131 * sysdeps/mach/powerpc: Likewise.
14133 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14135 * scripts/check-local-headers.sh: Ignore c++ headers.
14137 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14139 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14140 __libc_cleanup_region_start argument.
14142 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14147 x * y using scaling, not as x * y + z.
14148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14150 * math/libm-test.inc (fma_test): Add more tests.
14151 (fma_test_towardzero): Likewise.
14152 (fma_test_downward): Likewise.
14153 (fma_test_upward): Likewise.
14155 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14157 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14159 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14161 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14164 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14166 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14168 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14175 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14178 Fix the order of the list for glibc 2.17.
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14182 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14186 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14189 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14190 for low part of x being zero before using __atanl (y).
14191 * math/libm-test.inc (atan2_test): Add another test.
14193 * manual/install.texi (Configuring and compiling): Document
14194 general use of test-wrapper and test-wrapper-env.
14195 * INSTALL: Regenerated.
14197 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14198 (__fma): Do not extract and scale down low bits on after-rounding
14199 systems when result rounded to normal precision would have normal
14201 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14202 (__fmal): Do not extract and scale down low bits on after-rounding
14203 systems when result rounded to normal precision would have normal
14205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14206 (__fmal): Do not extract and scale down low bits on after-rounding
14207 systems when result rounded to normal precision would have normal
14209 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14211 (fma_test): Add more tests.
14212 (fma_test_towardzero): Likewise.
14213 (fma_test_downward): Likewise.
14214 (fma_test_upward): Likewise.
14216 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14218 * sysdeps/i386/tininess.h: Renamed to ...
14219 * sysdeps/x86/tininess.h: This.
14220 * sysdeps/x86_64/tininess.h: Removed.
14222 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14224 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14225 input. Use $(build-program-cmd).
14226 ($(objpfx)tst-array1-static.out): Likewise.
14227 ($(objpfx)tst-array2.out): Likewise.
14228 ($(objpfx)tst-array3.out): Likewise.
14229 ($(objpfx)tst-array4.out): Likewise.
14230 ($(objpfx)tst-array5.out): Likewise.
14231 ($(objpfx)tst-array5-static.out): Likewise.
14233 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14235 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14238 * nss/nsswitch.h (nss_interface_function): Provide new
14239 macro for use with NSS functions.
14240 * grp/initgroups.c: Use new macro.
14241 * nss/getXXbyYY.c: Likewise.
14242 * nss/getXXbyYY_r.c: Likewise.
14243 * nss/getXXent.c: Likewise.
14244 * nss/getXXent_r.c: Likewise.
14245 * sysdeps/posix/getaddrinfo.c: Likewise.
14247 2012-10-30 Andreas Jaeger <aj@suse.de>
14249 * po/ru.po: Update Russion translation from translation project.
14251 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14256 result and shift together with sticky bit instead of replicating
14257 round-to-nearest rounding.
14258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14260 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14261 missing underflow exceptions.
14262 (fma_test_towardzero): Add more tests.
14263 (fma_test_downward): Likewise.
14264 (fma_test_upward): Likewise.
14267 * sysdeps/generic/tininess.h: New file.
14268 * sysdeps/i386/tininess.h: Likewise.
14269 * sysdeps/sh/tininess.h: Likewise.
14270 * sysdeps/x86_64/tininess.h: Likewise.
14271 * stdlib/tst-strtod-underflow.c: Likewise.
14272 * stdlib/tst-tininess.c: Likewise.
14273 * stdlib/strtod_l.c: Include <tininess.h>.
14274 (round_and_return): Do not set errno for exact underflow cases.
14275 Force an underflow exception when setting errno for underflow.
14276 Determine underflow based on rounding to normal precision if
14277 TININESS_AFTER_ROUNDING.
14278 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14279 ERANGE for exact underflow cases.
14280 * stdlib/Makefile (tests): Add tst-tininess and
14281 tst-strtod-underflow.
14282 ($(objpfx)tst-tininess): Use $(link-libm).
14283 ($(objpfx)tst-strtod-underflow): Likewise.
14285 2012-10-30 Andreas Jaeger <aj@suse.de>
14288 * elf/Makefile (tests): Remove conditional for have-initfini-array
14289 since this is now always required and the variable does not exist
14291 (tests-static): Likewise.
14292 (modules-names): Likewise.
14294 * po/eo.po: Add Esperanto translation from translation project.
14296 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14297 merged with constructor/destructor.
14298 (init_array): Likewise.
14299 * elf/tst-array2dep.c (fini_array): Likewise.
14300 (init_array): Likewise.
14302 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14304 * manual/message.texi: Delete @cartouche tags.
14306 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14308 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14310 * sysdeps/mach/hurd/fsync.c: Likewise.
14312 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14313 [_POSIX_REALTIME_SIGNALS]: Change condition to
14314 [_POSIX_REALTIME_SIGNALS > 0].
14316 2012-10-27 Andreas Jaeger <aj@suse.de>
14318 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14319 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14321 [__WORDSIZE != 64]: Likewise.
14323 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14325 * iconvdata/tst-table.sh: Remove ${SHELL}.
14326 * iconvdata/tst-tables.sh: Likewise.
14328 2012-10-25 David S. Miller <davem@davemloft.net>
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14331 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14337 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14338 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14341 2012-10-25 Roland McGrath <roland@hack.frob.com>
14343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14344 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14347 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14348 Jim Blandy <jimb@codesourcery.com>
14350 * scripts/cross-test-ssh.sh: New file.
14351 * manual/install.texi (Configuring and compiling): Document use of
14353 * INSTALL: Regenerated.
14355 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14357 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14360 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14362 * Makeconfig (run-program-prefix): Fix comment.
14364 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14365 Jim Blandy <jimb@codesourcery.com>
14367 * Makeconfig (test-wrapper): New variable,
14368 (test-wrapper-env): Likewise.
14369 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14370 (run-built-tests): Define to yes.
14371 (run-program-prefix): Use $(test-wrapper).
14372 (built-program-cmd): Likewise.
14373 * Rules (make-test-out): Use $(test-wrapper-env) and
14374 $(host-built-program-cmd).
14375 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14376 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14378 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14379 $(test-wrapper-env) to tst-rtld-load-self.sh.
14380 ($(objpfx)order2.out): Use $(test-wrapper).
14381 ($(objpfx)tst-initorder.out): Likewise.
14382 ($(objpfx)tst-initorder2.out): Likewise.
14383 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14384 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14385 (test_wrapper_env): New variable. Use it to run ld.so.
14386 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14387 Use it to run ld.so.
14388 (test_wrapper_env): Likewise.
14389 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14390 $(test-wrapper) to run-iconv-test.sh.
14391 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14392 (ICONV): Use $test_wrapper.
14393 * posix/Makefile ($(objpfx)globtest.out): Pass
14394 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14395 globtest.sh, not $(run-program-prefix).
14396 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14397 (test_wrapper): Likewise.
14398 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14399 set together with run_via_rtld_prefix.
14400 (run_program_prefix): Define in terms of test_wrapper and
14401 run_via_rtld_prefix.
14403 2012-10-24 Roland McGrath <roland@hack.frob.com>
14405 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14406 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14410 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14411 Declare __clock_getres, __clock_gettime, __clock_settime,
14412 __clock_nanosleep, and __clock_getcpuclockid.
14413 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14414 Remove librt_hidden_def (clock_gettime).
14415 * sysdeps/unix/clock_gettime.c: Likewise.
14416 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14417 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14418 * rt/clock_getres.c: Define __clock_getres as an alias.
14419 * sysdeps/posix/clock_getres.c: Likewise.
14420 * rt/clock_settime.c: Define __clock_settime as an alias.
14421 * sysdeps/unix/clock_settime.c: Likewise.
14422 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14423 * sysdeps/unix/clock_nanosleep.c: Likewise.
14424 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14425 * rt/clock-compat.c: New file.
14426 * rt/Makefile (librt-routines): Add clock-compat and move
14427 $(clock-routines) to ...
14428 (routines): ... here, new variable.
14429 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14430 Don't add get_clockfreq here.
14431 * rt/Versions (libc: GLIBC_2.17): New version set.
14432 Add clock_* symbols here.
14433 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14435 (GLIBC_2.17): Add clock_* symbols.
14436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14447 * NEWS: Mention the move.
14449 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14450 Use __open, __read, __close rather than their public counterparts.
14451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14452 (__get_clockfreq_via_cpuinfo): Likewise.
14453 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14454 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14456 * config.h.in (HAVE_IFUNC): New #undef.
14457 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14459 * configure: Regenerated.
14461 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14463 * configure.in: Move READELF check to start of file.
14464 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14465 libc_cv_asm_gnu_indirect_function in the process.
14466 * configure: Regenerated.
14468 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14470 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14471 send the output to /dev/null.
14472 (libc_cv_cc_with_libunwind): Likewise.
14473 (libc_cv_as_noexecstack): Likewise.
14474 * configure: Regenerate.
14476 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14478 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14480 * posix/globtest.sh (TMPDIR): Do not set.
14481 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14482 (testout): Likewise.
14484 2012-10-24 Andreas Jaeger <aj@suse.de>
14486 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14487 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14488 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14489 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14490 posix_fadvise64, posix_fallocate64.
14492 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14493 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14494 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14496 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14498 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14501 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14502 <bits/fcntl-linux.h>.
14503 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14506 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14507 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14508 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14509 [__WORDSIZE != 64]: Likewise.
14511 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14513 * Makeconfig (run-built-tests): New variable.
14514 * Rules [$(cross-compiling) = yes]: Change condition to
14515 [$(run-built-tests) = no].
14516 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14517 to [$(run-built-tests) = yes].
14518 * elf/Makefile [$(cross-compiling) = no]: Likewise
14519 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14520 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14521 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14522 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14523 * io/Makefile [$(cross-compiling) = no]: Likewise.
14524 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14525 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14526 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14527 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14528 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14529 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14530 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14531 * string/Makefile [$(cross-compiling) = no]: Likewise.
14533 * posix/Makefile ($(objpfx)globtest.out): Pass
14534 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14535 $(rtld-installed-name).
14536 * posix/globtest.sh (elf_objpfx): Remove variable.
14537 (rtld_installed_name): Likewise.
14538 (library_path): Likewise.
14539 (run_program_prefix): New variable. Use for running globtest
14542 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14543 Joseph Myers <joseph@codesourcery.com>
14545 * Makeconfig (host-built-program-cmd): New variable.
14546 * elf/Makefile (tst-stackguard1-ARGS): Use
14547 $(host-built-program-cmd).
14548 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14549 (tst-spawn-ARGS): Likewise.
14550 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14552 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14553 Jim Blandy <jimb@codesourcery.com>
14555 * Makeconfig (run-via-rtld-prefix): New variable.
14556 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14557 (built-program-cmd): Likewise.
14559 2012-10-22 Andreas Jaeger <aj@suse.de>
14561 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14562 __O_RSYNC if it exists, otherwise to O_SYNC.
14564 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14565 Joseph Myers <joseph@codesourcery.com>
14567 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14569 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14571 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14574 2012-10-22 Andreas Jaeger <aj@suse.de>
14576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14581 bits/fcntl-linux.h.
14583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14584 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14591 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14592 Joseph Myers <joseph@codesourcery.com>
14594 * config.make.in (NM): New variable.
14596 2012-10-21 Andreas Jaeger <aj@suse.de>
14598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14599 definitions and declarations that are provided by
14600 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14602 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14605 * elf/Makefile (tests-static): Add tst-leaks1-static.
14606 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14607 ($(objpfx)tst-leaks1-static): New rule.
14608 ($(objpfx)tst-leaks1-static-mem): Likewise.
14609 (tst-leaks1-static-ENV): New macro.
14610 * elf/dl-open.c (dl_open_worker): Check the main application
14611 only if SHARED is defined.
14612 * elf/tst-leaks1-static.c: New file.
14614 2012-10-20 Andreas Jaeger <aj@suse.de>
14616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14617 generic values for Linux.
14618 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14619 and declarations that are provided by <bits/fcntl-linux.h> and
14620 include <bits/fcntl-linux.h>.
14621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14624 2012-10-20 Roland McGrath <roland@hack.frob.com>
14626 * io/fcntl.h: Move include of <bits/types.h> to the top and
14627 include it unconditionally.
14629 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14631 * wcsmbs/Makefile (tests-ifunc): New variable.
14632 (tests): Add $(tests-ifunc).
14633 * wcsmbs/test-wcschr-ifunc.c: New file.
14634 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14635 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14636 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14637 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14638 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14640 * string/Makefile (tests-ifunc): New variable.
14641 (tests): Add $(tests-ifunc).
14642 * string/test-memccpy.c (TEST_NAME): New macro.
14643 * string/test-memchr.c (TEST_NAME): Likewise.
14644 * string/test-memcmp.c (TEST_NAME): Likewise.
14645 * string/test-memcpy.c (TEST_NAME): Likewise.
14646 * string/test-memmem.c (TEST_NAME): Likewise.
14647 * string/test-memmove.c (TEST_NAME): Likewise.
14648 * string/test-memset.c (TEST_NAME): Likewise.
14649 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14650 * string/test-stpcpy.c (TEST_NAME): Likewise.
14651 * string/test-stpncpy.c (TEST_NAME): Likewise.
14652 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14653 * string/test-strcasestr.c (TEST_NAME): Likewise.
14654 * string/test-strcat.c (TEST_NAME): Likewise.
14655 * string/test-strchr.c (TEST_NAME): Likewise.
14656 * string/test-strcmp.c(TEST_NAME): Likewise.
14657 * string/test-strcpy.c (TEST_NAME): Likewise.
14658 * string/test-strcspn.c (TEST_NAME): Likewise.
14659 * string/test-strlen.c (TEST_NAME): Likewise.
14660 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14661 * string/test-strncmp.c (TEST_NAME): Likewise.
14662 * string/test-strncpy.c (TEST_NAME): Likewise.
14663 * string/test-strnlen.c (TEST_NAME): Likewise.
14664 * string/test-strpbrk.c (TEST_NAME): Likewise.
14665 * string/test-strrchr.c (TEST_NAME): Likewise.
14666 * string/test-strspn.c (TEST_NAME): Likewise.
14667 * string/test-strstr.c (TEST_NAME): Likewise.
14668 * string/test-bcopy-ifunc.c: New file.
14669 * string/test-bzero-ifunc.c: Likewise.
14670 * string/test-memccpy-ifunc.c: Likewise.
14671 * string/test-memchr-ifunc.c: Likewise.
14672 * string/test-memcmp-ifunc.c: Likewise.
14673 * string/test-memcpy-ifunc.c: Likewise.
14674 * string/test-memmem-ifunc.c: Likewise.
14675 * string/test-memmove-ifunc.c: Likewise.
14676 * string/test-mempcpy-ifunc.c: Likewise.
14677 * string/test-memset-ifunc.c: Likewise.
14678 * string/test-rawmemchr-ifunc.c: Likewise.
14679 * string/test-stpcpy-ifunc.c: Likewise.
14680 * string/test-stpncpy-ifunc.c: Likewise.
14681 * string/test-strcasecmp-ifunc.c: Likewise.
14682 * string/test-strcasestr-ifunc.c: Likewise.
14683 * string/test-strcat-ifunc.c: Likewise.
14684 * string/test-strchr-ifunc.c: Likewise.
14685 * string/test-strchrnul-ifunc.c: Likewise.
14686 * string/test-strcmp-ifunc.c: Likewise.
14687 * string/test-strcpy-ifunc.c: Likewise.
14688 * string/test-strcspn-ifunc.c: Likewise.
14689 * string/test-strlen-ifunc.c: Likewise.
14690 * string/test-strncasecmp-ifunc.c: Likewise.
14691 * string/test-strncat-ifunc.c: Likewise.
14692 * string/test-strncmp-ifunc.c: Likewise.
14693 * string/test-strncpy-ifunc.c: Likewise.
14694 * string/test-strnlen-ifunc.c: Likewise.
14695 * string/test-strpbrk-ifunc.c: Likewise.
14696 * string/test-strrchr-ifunc.c: Likewise.
14697 * string/test-strspn-ifunc.c: Likewise.
14698 * string/test-strstr-ifunc.c: Likewise.
14700 * debug/Makefile (tests-ifunc): New variable.
14701 (tests): Add $(tests-ifunc).
14702 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14703 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14704 * debug/test-stpcpy_chk-ifunc.c: New file.
14705 * debug/test-strcpy_chk-ifunc.c: Likewise.
14707 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14710 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14711 header is not read in.
14713 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14715 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14716 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14717 directly. Pass built executable to script as
14718 $(built-program-cmd).
14719 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14720 $testprogram without using LD_LIBRARY_PATH and $ldso.
14722 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14723 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14724 $(rtld-installed-name).
14725 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14726 (rtld_installed_name): Likewise.
14727 (library_path): Likewise.
14728 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14729 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14730 $(run-program-prefix) to tst-tables.sh.
14731 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14732 it to run tst-table-from and tst-table-to.
14733 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14734 Pass it to tst-table.sh.
14735 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14736 $(run-program-prefix) to tst-gettext.sh.
14737 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14739 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14741 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14742 to run tst-gettext.
14743 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14744 to run tst-gettext2.
14745 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14746 to run tst-translit.
14747 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14748 $(run-program-prefix) to tst-mtrace.sh.
14749 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14751 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14752 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14753 $(rtld-installed-name).
14754 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14755 (rtld_installed_name): Likewise.
14756 (run_program_prefix): New variable. Use it to run wordexp-test.
14758 * Makeconfig (ARCH): Remove all definitions.
14759 (machine): Likewise.
14760 [ARCH]: Remove conditional code.
14761 [!objdir]: Give error.
14762 [!objdir] (objpfx): Remove.
14763 [!objdir] (common-objpfx): Likewise.
14764 [!objdir] (common-objdir): Likewise.
14765 * configure.in (config_makefile): Remove. Hardcode Makefile in
14766 AC_CONFIG_FILES call.
14767 * configure: Regenerated.
14770 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14772 (testout): Likewise.
14774 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14775 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14776 $(rtld-installed-name).
14777 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14778 (rtld_installed_name): Likwise.
14779 (runit): Remove function.
14780 (run_getconf): New variable, Use it for running getconf binary.
14782 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14785 * string/test-memmem.c (check_result): New function.
14786 (do_one_test): Use it.
14787 (check1): New function.
14788 (test_main): Use it.
14790 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14792 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14794 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14796 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14797 (_G_LSEEK64): Likewise.
14798 (_G_MMAP64): Likewise.
14799 (_G_FSTAT64): Likewise.
14800 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14801 (_G_LSEEK64): Likewise.
14802 (_G_MMAP64): Likewise.
14803 (_G_FSTAT64): Likewise.
14804 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14805 unconditional. Call __mmap64 directly.
14806 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14807 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14808 __lseek64 directly.
14809 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14810 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14812 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14813 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14814 __lseek64 directly.
14815 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14816 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14817 __lseek64 directly.
14818 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14819 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14820 __lseek64 directly.
14821 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14822 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14823 __fxstat64 directly.
14824 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14825 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14827 (freopen64) [!_G_OPEN64]: Remove conditional code.
14828 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14830 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14831 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14833 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14834 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14836 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14837 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14839 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14840 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14842 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14843 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14845 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14846 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14848 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14850 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14853 * manual/memory.texi (Malloc Tunable Parameters): Add note
14854 about free list pointers overwriting some perturb bytes.
14855 Wording suggested by Roland McGrath.
14857 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14859 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14860 (lgamma_test): Likewise.
14861 (tgamma_test): Likewise.
14863 2012-10-16 Florian Weimer <fweimer@redhat.com>
14866 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14867 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14869 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14871 * NEWS: Mention BZ #14716.
14872 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14873 when removing AVAILABLE1_USES_J macro.
14875 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14877 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14878 (__bswap_64): __uint64_t for unsigned 64-bit int.
14880 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14882 * include/string.h (memmem): Declare libc hidden alias.
14883 * string/memmem.c (memmem): Define libc hidden alias.
14884 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14885 __read, __close instead of open, read, close.
14887 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14890 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14892 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14893 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14894 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14896 (__rawmemchr_sse2): Likewise.
14897 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14898 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14899 (__strchr_sse2): Likewise.
14900 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14901 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14902 (__strcasecmp_sse2): Likewise.
14903 (__strncasecmp_sse2): Likewise.
14904 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14905 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14906 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14907 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14908 (__strrchr_sse2): Likewise.
14909 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14911 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14912 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14913 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14914 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14915 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14916 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14917 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14918 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14919 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14920 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14921 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14922 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14923 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14924 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14925 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14926 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14927 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14928 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14929 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14930 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14931 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14932 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14933 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14934 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14935 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14936 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14937 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14938 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14939 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14940 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14942 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14944 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14945 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14946 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14947 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14949 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14951 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14952 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14953 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14954 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14956 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14958 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14959 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14960 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14961 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14962 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14963 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14964 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14965 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14966 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14967 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14968 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14969 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14970 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14972 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14973 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14974 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14975 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14977 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14978 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14979 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14980 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14981 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14982 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14983 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14984 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14985 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14988 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14989 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14990 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14991 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14992 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14993 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14996 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14998 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14999 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15000 * include/ifunc-impl-list.h: New file.
15001 * misc/ifunc-impl-list.c: Likewise.
15002 * misc/Makefile (routines): Add ifunc-impl-list.
15003 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15004 * string/test-string.h: Include <ifunc-impl-list.h>.
15005 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15006 impl_array): New variables.
15007 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15009 (test_init): Call __libc_ifunc_impl_list to initialize
15010 func_list if TEST_IFUNC and TEST_NAME are defined.
15012 * string/Makefile (strop-tests): Add bcopy and bzero.
15013 * string/test-bcopy.c: New file.
15014 * string/test-bzero.c: Likewise.
15015 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15017 * string/test-memset.c: Support bzero test if TEST_BZERO is
15019 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15021 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15023 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15026 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15028 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15029 * configure: Regenerated.
15031 * Makeconfig (+link-static-before-libc): Don't include
15032 $(link-static-libc).
15034 * libio/libio.h (_IO_pos_t): Remove.
15036 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15038 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15041 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15043 * crypt/crypt-entry.c: Include fips-private.h.
15044 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15045 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15046 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15047 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15049 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15051 * crypt/crypt-private.h: Include stdbool.h.
15052 (_ufc_setup_salt_r): Return bool.
15053 * crypt/crypt-entry.c: Include errno.h.
15054 (__crypt_r): Return NULL with EINVAL for bad salt.
15055 * crypt/crypt_util.c (bad_for_salt): New.
15056 (_ufc_setup_salt_r): Check that salt is long enough and within
15057 the specified alphabet.
15058 * crypt/badsalttest.c: New file.
15059 * crypt/Makefile (tests): Add it.
15060 ($(objpfx)badsalttest): New.
15062 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15064 * NEWS: Add entry for BZ #14602.
15066 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15068 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15070 * math/libm-test.inc: Update comment listing what functions and
15072 (isgreater_test): New function.
15073 (isgreaterequal_test): Likewise.
15074 (isless_test): Likewise.
15075 (islessequal_test): Likewise.
15076 (islessgreater_test): Likewise.
15077 (isunordered_test): Likewise.
15078 (main): Call the new functions.
15080 2012-10-09 Roland McGrath <roland@hack.frob.com>
15082 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15083 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15084 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15085 * sysdeps/i386/configure: Regenerated.
15086 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15087 * sysdeps/mach/configure: Regenerated.
15088 * sysdeps/mach/hurd/configure: Regenerated.
15089 * sysdeps/powerpc/configure: Regenerated.
15090 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15091 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15092 * sysdeps/s390/s390-32/configure: Regenerated.
15093 * sysdeps/s390/s390-64/configure: Regenerated.
15094 * sysdeps/sh/configure: Regenerated.
15095 * sysdeps/sparc/configure: Regenerated.
15096 * sysdeps/unix/sysv/linux/configure: Regenerated.
15097 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15098 * sysdeps/x86_64/configure: Regenerated.
15100 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15101 defined. Don't check if MAP is NULL.
15103 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15105 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15106 (_G_stat64): Likewise.
15107 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15108 (_G_stat64): Likewise.
15109 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15110 instead of struct _G_stat64.
15111 * libio/fileops.c (mmap_remap_check): Likewise.
15112 (decide_maybe_mmap): Likewise.
15113 (_IO_new_file_seekoff): Likewise.
15114 (_IO_file_stat): Likewise.
15115 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15117 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15118 instead of struct _G_stat64.
15119 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15121 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15124 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15126 (CHECK_EOL): New macro.
15127 (two_way_short_needle): Check beginning of haystack for EOL. Use
15129 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15130 Replace with CHECK_EOL.
15131 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15132 Replace with CHECK_EOL.
15134 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15136 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15138 * math/libm-test.inc: Update comment listing what functions and
15140 (finite_test): New function.
15141 (isinf_test): Likewise.
15142 (isnan_test): Likewise.
15143 (fpclassify_test): Test subnormal input.
15144 (isfinite_test): Likewise.
15145 (isnormal_test): Likewise.
15146 (main): Call the new functions.
15148 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15151 * Makerules (%.dynsym): Force C locale when running
15152 $(OBJDUMP) --dynamic-syms.
15154 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15156 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15159 2012-10-06 David S. Miller <davem@davemloft.net>
15161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15162 upper 32-bits of the length value in %o2 since we use branch-on-register
15163 tests which consider the entire 64-bit register.
15165 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15167 * string/test-strstr.c (check2): Add a test for page boundary.
15169 2012-10-05 David S. Miller <davem@davemloft.net>
15171 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15172 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15174 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15176 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15177 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15178 and bzero when HWCAP_SPARC_CRYPTO is present.
15180 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15183 * string/test-strstr.c (check2): New function.
15184 (test_main): Call check2.
15186 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15188 * string/bug-strcasestr1.c (do_test): Moved to ...
15189 * string/test-strcasestr.c (check1): Here. New function.
15190 (do_one_test): Break out result checking code into ...
15191 (check_result): This. New function.
15192 (do_one_test): Call check_result.
15193 (test_main): Call check1.
15194 * string/bug-strchr1.c (do_test): Moved to ...
15195 * string/test-strchr.c (check1): Here. New function.
15196 (do_one_test): Break out result checking code into ...
15197 (check_result): This. New function.
15198 (do_one_test): Call check_result.
15199 (test_main): Call check1.
15200 * string/bug-strstr1.c (main): Moved to ...
15201 * string/test-strstr.c (check1): Here. New function.
15202 (do_one_test): Break out result checking code into ...
15203 (check_result): This. New function.
15204 (do_one_test): Call check_result.
15205 (test_main): Call check1.
15206 * string/bug-strcasestr1.c: Removed.
15207 * string/bug-strchr1.c: Likewise.
15208 * string/bug-strstr1.c: Likewise.
15210 * elf/Makefile (dl-routines): Add hwcaps.
15211 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15212 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15213 (_dl_important_hwcaps): Moved to ...
15214 * elf/dl-hwcaps.c: Here. New file.
15215 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15218 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15219 if IS_IN_rtld isn't defined.
15221 * elf/dl-support.c (_dl_sysinfo_map): New.
15222 Include "get-dynamic-info.h" and "setup-vdso.h".
15223 (_dl_non_dynamic_init): Call setup_vdso.
15224 * elf/dynamic-link.h: Don't include <assert.h>.
15225 (elf_get_dynamic_info): Moved to ...
15226 * elf/get-dynamic-info.h: Here. New file.
15227 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15228 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15229 * elf/setup-vdso.h: Here. New file.
15230 * elf/rtld.c: Include "setup-vdso.h".
15231 (dl_main): Call setup_vdso.
15233 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15235 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15236 creal in comment listing functions tested. List finite, isinf,
15237 isnan, isless, islessequal, isgreater, isgreaterequal,
15238 islessgreater, isunordered, lgamma_r and pow10 as functions and
15239 macros not tested. Mention which functions not tested are aliases
15240 for other functions. Fix typo. Note that signs of NaNs are not
15243 * scripts/config.guess: Update from config.git.
15244 * scripts/config.sub: Likewise.
15246 2012-10-04 Roland McGrath <roland@hack.frob.com>
15248 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15249 * misc/madvise.c (madvise): Renamed to __madvise.
15250 Make madvise a weak alias.
15251 * include/sys/mman.h: Declare __madvise.
15252 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15253 * sysdeps/unix/syscalls.list
15254 (madvise): Make __madvise the strong name, and madvise a weak alias.
15255 * sysdeps/unix/sysv/linux/syscalls.list
15256 (madvise, mmap): Remove redundant entries.
15257 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15258 * malloc/malloc.c (mtrim): Likewise.
15259 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15261 2012-10-03 Roland McGrath <roland@hack.frob.com>
15263 * sysdeps/mach/hurd/dl-cache.c: File removed.
15264 * config.h.in (USE_LDCONFIG): New #undef.
15265 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15266 * configure: Regenerated.
15267 * elf/Makefile (dl-routines): Add dl-cache only under
15268 [$(use-ldconfig) = yes].
15269 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15270 cache on [USE_LDCONFIG].
15271 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15273 * elf/rtld.c (dl_main): Likewise.
15275 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15277 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15278 _SC_LEVEL4_CACHE_LINESIZE.
15280 2012-10-03 Roland McGrath <roland@hack.frob.com>
15282 * sysdeps/unix/bsd/confstr.h: File removed.
15284 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15286 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15289 2012-10-02 Roland McGrath <roland@hack.frob.com>
15291 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15292 Make 'mapoff' field ElfW(Off) rather than off_t.
15294 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15296 * nscd/Makefile: Remove nscd-cflags and all its users.
15297 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15298 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15301 * malloc.c (malloc_printerr): Clarify error message.
15303 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15307 Set bit_FMA_Usable if FMA is supported.
15308 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15310 (bit_FMA4_Usable): Updated.
15311 (index_FMA_Usable): New macro.
15312 (CPUID_FMA): Likewise
15313 (HAS_FMA): Defined with bit_FMA_Usable.
15315 2012-10-01 Roland McGrath <roland@hack.frob.com>
15317 * bits/types.h (__swblk_t): Type removed.
15318 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15319 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15321 (__SWBLK_T_TYPE): Likewise.
15322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15323 (__SWBLK_T_TYPE): Likewise.
15324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15325 (__SWBLK_T_TYPE): Likewise.
15326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15327 (__SWBLK_T_TYPE): Likewise.
15329 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15330 Honza Horak <hhorak@redhat.com>
15332 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15333 (xdr_mapname): Use YPMAXMAP as maxsize.
15334 (xdr_peername): Use YPMAXPEER as maxsize.
15335 (xdr_keydat): Use YPAXRECORD as maxsize.
15336 (xdr_valdat): Use YPMAXRECORD as maxsize.
15338 2012-10-01 Roland McGrath <roland@hack.frob.com>
15340 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15342 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15343 * csu/init-first.c: ... here.
15344 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15345 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15346 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15347 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15348 * sysdeps/i386/init-first.c: File removed.
15349 * sysdeps/sh/init-first.c: File removed.
15351 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15355 if x * y might underflow to zero and z is zero.
15356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15358 * math/libm-test.inc (min_subnorm_value): New variable.
15359 (fma_test): Add more tests.
15360 (fma_test_towardzero): Likewise.
15361 (fma_test_downward): Likewise
15362 (fma_test_upward): Likewise.
15363 (initialize): Set min_subnorm_value.
15365 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15370 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15371 mode for addition resulting in exact zero.
15372 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15377 * math/libm-test.inc (fma_test): Add more tests.
15378 (fma_test_towardzero): New function.
15379 (fma_test_downward): Likewise.
15380 (fma_test_upward): Likewise.
15381 (main): Call the new functions.
15383 2012-09-28 David S. Miller <davem@davemloft.net>
15385 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15387 2012-09-28 Roland McGrath <roland@hack.frob.com>
15389 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15390 instead of SIGALRM.
15392 * sysdeps/gnu/_G_config.h: Moved to ...
15393 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15394 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15395 * sysdeps/generic/_G_config.h: ... here.
15397 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15399 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15401 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15402 Conditionalize target on [libnss_test1.so-version].
15404 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15406 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15407 (elfobjdir): Move out of conditionals.
15409 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15410 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15411 (__nss_lookup_function): Conditionalize label remove_from_tree on
15412 [!DO_STATIC_NSS || SHARED], matching its only use.
15414 2012-09-28 David S. Miller <davem@davemloft.net>
15416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15417 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15419 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15421 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15423 when HWCAP_SPARC_CRYPTO is present.
15425 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15427 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15429 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15432 * stdio-common/vfprintf.c (process_string_arg): Revert
15435 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15437 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15439 * stdio-common/tst-sprintf.c: Include <locale.h>
15440 (main): Test sprintf's handling of incomplete multibyte
15443 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15445 * elf/dl-runtime.c (VERSYMIDX): Removed.
15446 * elf/dl-version.c (VERSYMIDX): Likewise.
15447 * elf/do-rel.h (VERSYMIDX): Likewise.
15448 (VALIDX): Likewise.
15449 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15450 * elf/rtld.c (VALIDX): Likewise.
15451 (ADDRIDX): Likewise.
15452 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15453 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15454 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15455 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15456 (VALIDX): Likewise.
15457 (ADDRIDX): Likewise.
15459 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15461 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15463 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15466 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15468 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15469 addresses are in the same scope as 192.0.2/24.
15470 * posix/gai.conf: Document new scope table defaults.
15472 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15475 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15476 for ftell. Compute offsets from write pointers instead.
15477 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15479 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15482 * libio/Makefile (tests): New test case tst-fseek.
15483 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15484 combination works in wide mode.
15485 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15486 state when the external buffer state changes.
15488 2012-09-27 David S. Miller <davem@davemloft.net>
15491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15492 pass reloc->r_addend in as the 'high' argument to
15493 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15497 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15499 * rt/tst-aio2.c: Include <pthread.h>.
15500 * rt/tst-aio3.c: Likewise.
15502 2012-09-27 Steve Ellcey <sellcey@mips.com>
15504 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15506 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15508 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15509 contents on [SHARED].
15511 2012-09-26 Marek Polacek <polacek@redhat.com>
15515 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15516 for C++ and GCC <4.3 as well as for non GCC compilers.
15518 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15522 2012-09-25 Roland McGrath <roland@hack.frob.com>
15524 * Makefile.in (all, install): Declare with .PHONY.
15525 Reported by Michael Hope <michael.hope@linaro.org>.
15527 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15529 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15530 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15532 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15534 (sydep_routines): Add the new and the internal functions.
15535 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15536 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15538 (GLIBC_2.17): Add the new function.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15540 (GLIBC_2.17): Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15542 (GLIBC_2.17): Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15544 (GLIBC_2.17): Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15547 2012-09-25 Alan Modra <amodra@gmail.com>
15549 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15550 Add release barrier before setting once_control to say
15551 initialisation is done. Add hints on lwarx. Use macro in
15553 (clear_once_control): Add release barrier.
15555 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15558 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15560 * math/s_clog10.c (__clog10): Likewise.
15561 * math/s_clog10f.c (__clog10f): Likewise.
15562 * math/s_clog10l.c (__clog10l): Likewise.
15563 * math/s_clogf.c (__clogf): Likewise.
15564 * math/s_clogl.c (__clogl): Likewise.
15565 * math/Makefile (libm-calls): Add x2y2m1.
15566 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15567 (__x2y2m1): Likewise.
15568 (__x2y2m1l): Likewise.
15569 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15570 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15575 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15576 * sysdeps/i386/fpu/libm-test-ulps: Update.
15577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15580 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15581 int as type of variable DEPTH.
15582 (glob): Use size_t instead of int as type of variables NEWCOUNT
15585 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15587 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15588 Add s_sincosf-sse2.
15589 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15590 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15591 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15592 macros for using routine as __sincosf_ia32.
15593 Use macro for function declaration and weak_alias.
15594 * sysdeps/i386/fpu/libm-test-ulps: Update.
15596 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15599 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15600 subnormal argument.
15601 * math/s_cexpf.c (__cexpf): Likewise.
15602 * math/s_csinf.c (__csinf): Likewise.
15603 * math/s_csinhf.c (__csinhf): Likewise.
15604 * math/s_ctanf.c (__ctanf): Likewise.
15605 * math/s_ctanhf.c (__ctanhf): Likewise.
15606 * math/s_ccosh.c (__ccoshf): Likewise.
15607 * math/s_cexp.c (__cexpl): Likewise.
15608 * math/s_csin.c (__csin): Likewise.
15609 * math/s_csinh.c (__csinh): Likewise.
15610 * math/s_ctan.c (__ctan): Likewise.
15611 * math/s_ctanh.c (ctanh): Likewise.
15612 * math/s_ccoshl.c (__ccoshl): Likewise.
15613 * math/s_cexpl.c (__cexpl): Likewise.
15614 * math/s_csinl.c (__csinl): Likewise.
15615 * math/s_csinhl.c (__csinhl): Likewise.
15616 * math/s_ctanl.c (__ctanl): Likewise.
15617 * math/s_ctanhl.c (__ctanhl): Likewise.
15619 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15621 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15622 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15623 (_IO_off_t): Define to __off_t, not _G_off_t.
15624 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15625 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15626 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15627 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15628 type of __dummy and __dummy2 fields.
15629 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15630 (_G_ssize_t): Likewise.
15631 (_G_off_t): Likewise.
15632 (_G_pid_t): Likewise.
15633 (_G_uid_t): Likewise.
15634 (_G_wchar_t): Likewise.
15635 (_G_wint_t): Likewise.
15636 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15637 (_G_ssize_t): Likewise.
15638 (_G_off_t): Likewise.
15639 (_G_pid_t): Likewise.
15640 (_G_uid_t): Likewise.
15641 (_G_wchar_t): Likewise.
15642 (_G_wint_t): Likewise.
15643 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15644 (_G_ssize_t): Likewise.
15645 (_G_off_t): Likewise.
15646 (_G_pid_t): Likewise.
15647 (_G_uid_t): Likewise.
15648 (_G_wchar_t): Likewise.
15649 (_G_wint_t): Likewise.
15651 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15653 * malloc/arena.c: Include malloc-sysdep.h.
15654 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15655 is sufficient to shrink the heap or an unmap is needed.
15656 * sysdeps/generic/malloc-sysdep.h: New file. Define
15657 new function check_may_shrink_heap.
15658 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15659 new function check_may_shrink_heap.
15661 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15663 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15666 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15668 * catgets/test-gencat.sh: Add "set -e".
15669 * elf/tst-pathopt.sh: Likewise.
15670 * grp/tst_fgetgrent.sh: Likewise.
15671 * iconvdata/run-iconv-test.sh: Likewise.
15672 * intl/tst-gettext.sh: Likewise.
15673 * intl/tst-gettext2.sh: Likewise.
15674 * intl/tst-gettext4.sh: Likewise.
15675 * intl/tst-gettext6.sh: Likewise.
15676 * intl/tst-translit.sh: Likewise.
15677 * io/ftwtest-sh: Likewise.
15678 * libio/test-freopen.sh: Likewise.
15679 * malloc/tst-mtrace.sh: Likewise.
15680 * posix/globtest.sh: Likewise.
15681 * posix/tst-getconf.sh: Likewise.
15682 * posix/wordexp-tst.sh: Likewise.
15683 * stdio-common/tst-printf.sh: Likewise.
15684 * stdio-common/tst-unbputc.sh: Likewise.
15685 * stdlib/tst-fmtmsg.sh: Likewise.
15686 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15687 * catgets/Makefile: Do not specify -e option when running
15688 testsuite shell scripts.
15689 * elf/Makefile: Likewise.
15690 * grp/Makefile: Likewise.
15691 * iconvdata/Makefile: Likewise.
15692 * intl/Makefile: Likewise.
15693 * io/Makefile: Likewise.
15694 * libio/Makefile: Likewise.
15695 * malloc/Makefile: Likewise.
15696 * posix/Makefile: Likewise.
15697 * stdio-common/Makefile: Likewise.
15698 * stdlib/Makefile: Likewise.
15699 * sysdeps/x86_64/Makefile: Likewise.
15701 * io/ftwtest-sh: Add copyright header.
15702 * posix/globtest.sh: Likewise.
15703 * posix/tst-getconf.sh: Likewise.
15704 * posix/wordexp-tst.sh: Likewise.
15705 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15707 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15710 * Makeconfig (+link): Defined as $(+link-static) if
15711 $(build-shared) isn't yes.
15712 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15714 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15716 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15719 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15720 new chunk size with MALLOC_ALIGN_MASK.
15722 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15725 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15727 (__printf_fphex): Determine rounding using get_rounding_mode and
15729 * stdio-common/tst-printf-round.c (struct hex_test): New
15731 (hex_tests): New variable.
15732 (test_hex_in_one_mode): New function.
15733 (do_test): Also run tests for hex float output.
15735 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15737 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15738 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15739 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15740 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15741 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15742 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15743 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15744 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15746 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15748 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15749 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15750 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15751 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15753 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15756 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15758 * elf/tst-rtld-load-self.sh: New test.
15759 * elf/Makefile: Run it.
15761 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15763 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15764 (tst-writev-ENV): Remove.
15765 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15767 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15769 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15771 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15773 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15775 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15777 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15778 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15779 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15782 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15785 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15786 * config.make.in (have-cpp-asm-debuginfo): Removed.
15787 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15788 * configure: Regenerated.
15790 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15793 * stdio-common/printf_fp.c: Include <stdbool.h> and
15795 (___printf_fp): Determine rounding using get_rounding_mode and
15797 * stdio-common/tst-printf-round.c: New file.
15798 * stdio-common/Makefile (tests): Add tst-printf-round.
15799 (link-libm): New variable.
15800 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15802 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15805 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15806 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15808 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15811 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15813 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15814 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15815 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15816 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15818 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15821 * include/rounding-mode.h: New file.
15822 * sysdeps/generic/get-rounding-mode.h: Likewise.
15823 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15824 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15825 (MAX_VALUE): New macro.
15826 (MIN_VALUE): Likewise.
15827 (overflow_value): New function.
15828 (underflow_value): Likewise.
15829 (round_and_return): Use overflow_value and underflow_value to
15830 determine return values in overflow and underflow cases. Use
15831 round_away to determine rounding depending on rounding mode.
15832 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15833 determine return values in overflow and underflow cases.
15834 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15835 (struct test_results): New structure.
15836 (struct test): Use struct test_results to store expected results
15837 for all rounding modes.
15838 (TEST): Include expected results for all rounding modes.
15839 (test_in_one_mode): New function.
15840 (do_test): Use test_in_one_mode to compute and check results.
15841 Check results for all rounding modes.
15842 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15845 2012-12-09 Allan McRae <allan@archlinux.org>
15847 * sysdeps/i386/fpu/libm-test-ulps: Update
15849 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15851 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15852 (_G_int32_t): Likewise.
15853 (_G_uint16_t): Likewise.
15854 (_G_uint32_t): Likewise.
15855 (_G_HAVE_BOOL): Likewise.
15856 (_G_HAVE_ATEXIT): Likewise.
15857 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15858 (_G_HAVE_IO_FILE_OPEN): Likewise.
15859 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15860 (_G_int32_t): Likewise.
15861 (_G_uint16_t): Likewise.
15862 (_G_uint32_t): Likewise.
15863 (_G_HAVE_BOOL): Likewise.
15864 (_G_HAVE_ATEXIT): Likewise.
15865 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15866 (_G_HAVE_IO_FILE_OPEN): Likewise.
15867 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15868 (_G_int32_t): Likewise.
15869 (_G_uint16_t): Likewise.
15870 (_G_uint32_t): Likewise.
15871 (_G_HAVE_BOOL): Likewise.
15872 (_G_HAVE_ATEXIT): Likewise.
15873 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15874 (_G_HAVE_IO_FILE_OPEN): Likewise.
15876 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15878 * csu/libc-tls.c: Update copyright years.
15880 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15882 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15883 [!_G_USING_THUNKS]: Remove conditional code.
15884 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15885 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15887 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15888 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15889 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15890 (_G_VTABLE_LABEL_PREFIX): Likewise.
15891 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15892 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15893 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15894 (_G_VTABLE_LABEL_PREFIX): Likewise.
15895 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15896 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15897 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15898 (_G_VTABLE_LABEL_PREFIX): Likewise.
15899 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15901 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15903 * libio/Makefile: Include ../Makeconfig before tests.
15904 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15905 only if $(build-shared) is yes.
15907 * iconv/gconv_db.c: Update copyright years.
15909 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15911 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15912 unwind info if defined PIC. Fix special cases description.
15913 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15915 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15917 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15919 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15921 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15923 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15926 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15927 (LDLIBS-tst-chk4): This.
15928 (LDFLAGS-tst-chk5): Renamed to ...
15929 (LDLIBS-tst-chk5): This.
15930 (LDFLAGS-tst-chk6): Renamed to ...
15931 (LDLIBS-tst-chk6): This.
15932 (LDFLAGS-tst-lfschk4): Renamed to ...
15933 (LDLIBS-tst-lfschk4): This.
15934 (LDFLAGS-tst-lfschk5): Renamed to ...
15935 (LDLIBS-tst-lfschk5): This.
15936 (LDFLAGS-tst-lfschk6): Renamed to ...
15937 (LDLIBS-tst-lfschk6): This.
15939 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15940 on $(common-objpfx)soversions.mk.
15942 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15945 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15948 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15950 * malloc/arena.c (arena_get_retry): New function that gets
15951 another arena for the caller to try its request on.
15952 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15953 current arena cannot fulfill the request.
15954 (__libc_memalign): Likewise.
15955 (__libc_memalign): Likewise.
15956 (__libc_pvalloc): Likewise.
15957 (__libc_calloc): Likewise.
15959 2012-09-05 John Tobey <john.tobey@gmail.com>
15962 * manual/arith.texi (Operations on Complex): Fix description
15963 of carg branch cut.
15965 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15968 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15972 * manual/memory.texi (Memory): Make order of menu items match
15975 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15977 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15978 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15979 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15981 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15983 * csu/libc-tls.c (static_dtv): Renamed to ...
15984 (_dl_static_dtv): This. Make it global.
15985 (_dl_initial_dtv): Removed.
15986 (__libc_setup_tls): Updated.
15987 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15988 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15991 2012-09-06 Petr Machata <pmachata@redhat.com>
15993 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15994 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15995 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15996 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15998 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16001 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16002 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16005 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16008 * Makeconfig (link-static-before-libc): Replace $(+prector)
16010 (link-static-after-libc): Replace $(+postctor) with
16012 (link-bounded): Replace $(+prector)/$(+postctor) with
16013 $(+prectorT)/$(+postctorT).
16014 (+prectorT): New macro.
16015 (+postctorT): Likewise.
16017 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16019 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16020 (round_str): Handle values above the maximum for IBM long double
16022 * stdlib/tst-strtod-round.c (tests): Regenerated.
16024 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16026 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16028 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16029 zarch_nohighgprs around the zarch optimized routines.
16030 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16031 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16035 2012-09-05 David S. Miller <davem@davemloft.net>
16037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16039 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16040 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16041 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16042 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16045 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16047 * malloc/arena.c: Fold copyright years.
16048 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16050 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16052 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16054 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16056 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16058 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16060 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16061 change internal state upon failure.
16063 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16065 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16066 * malloc/memusage.c (mmap): Likewise.
16067 (mmap64, mremap): Likewise. Adjust name in comment.
16069 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16071 * libio/fileops.c: Fix typos in comments.
16072 * libio/oldfileops.c: Likewise.
16073 * libio/wfileops.c: Likewise.
16075 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16078 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16079 (tst-malloc-usable-ENV): Set environment for test case.
16080 * malloc/hooks.c (malloc_check_get_size): New function to get
16082 * malloc/malloc.c (musable): Use malloc_check_get_size.
16083 * malloc/tst-malloc-usable.c: New test case.
16085 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16087 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16089 2012-09-05 Allan McRae <allan@archlinux.org>
16092 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16093 determine header location.
16094 * configure: Regenerated.
16096 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16098 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16100 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16101 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16103 (test): Regenerate.
16105 2012-09-04 David S. Miller <davem@davemloft.net>
16107 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16108 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16109 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16111 2012-09-04 Florian Weimer <fweimer@redhat.com>
16113 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16116 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16118 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16121 * libio/iogetdelim.c: Include <limits.h>.
16122 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16123 + len + 1 would overflow.
16125 2012-09-03 Andreas Jaeger <aj@suse.de>
16127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16128 * sysdeps/i386/fpu/libm-test-ulps: Update.
16130 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16132 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16133 Add s_sinf-sse2, s_conf-sse2.
16135 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16136 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16137 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16138 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16140 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16141 for using routine as __sinf_ia32.
16142 Use macro for function declaration and weak_alias.
16143 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16144 for using routine as __cosf_ia32.
16145 Use macro for function declaration and weak_alias.
16147 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16148 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16150 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16151 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16154 * math/libm-test.inc (cos_test): Add more test cases.
16155 (sin_test): Likewise.
16156 (sincos_test): Likewise.
16158 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16161 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16165 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16168 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16169 first element of the GOT.
16170 (elf_machine_load_address): Return the difference between
16171 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16173 2012-09-01 Allan McRae <allan@archlinux.org>
16176 * configure.in (AWK): Require gawk version 3.0 or later.
16177 * configure: Regenerated.
16179 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16181 * sysdeps/unix/sysv/linux/kernel-features.h
16182 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16183 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16184 [__NR_clock_getres]: Make code unconditional.
16185 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16186 (clock_getcpuclockid): Remove code left unreachable by removal of
16188 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16189 code unconditional.
16190 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16192 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16193 Make code unconditional.
16194 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16195 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16196 * sysdeps/unix/sysv/linux/clock_settime.c
16197 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16199 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16200 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16202 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16205 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16206 scripts/test-installation.pl.
16208 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16209 and $ld_so_version if it is set.
16211 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16215 failure if reading from procfs failed.
16216 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16218 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16220 * sysdeps/unix/sysv/linux/kernel-features.h
16221 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16222 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16223 Remove conditional code.
16224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16225 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16226 Remove conditional code.
16227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16228 * sysdeps/unix/sysv/linux/i386/fxstat.c
16229 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16231 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16232 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16234 * sysdeps/unix/sysv/linux/i386/lxstat.c
16235 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16237 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16238 Remove conditional code.
16239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16240 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16241 Remove conditional code.
16242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16243 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16244 <kernel-features.h>.
16245 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16247 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16248 Remove conditional code.
16249 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16250 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16251 Remove conditional.
16253 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16256 * NEWS: Add fixed bug number.
16258 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16261 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16262 underflowing exponent in case of negative sign.
16263 * stdlib/tst-strtod-round-data: Add more tests.
16264 * stdlib/tst-strtod-round.c (tests): Regenerated.
16267 * stdlib/strtod_l.c (NDIG): Remove.
16268 (HEXNDIG): Likewise.
16269 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16270 smallest representable value.
16271 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16272 lie within an exact representation of 1/2 ulp of the result.
16273 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16275 (TENS_P9_IDX): Define unconditionally.
16276 (TENS_P9_SIZE): Likewise.
16277 (TENS_P10_IDX): Likewise.
16278 (TENS_P10_SIZE): Likewise.
16279 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16280 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16281 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16282 entries for 10^2^13 and 10^2^14.
16283 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16284 (TENS_P13_IDX): Define.
16285 (TENS_P13_SIZE): Likewise.
16286 (TENS_P14_IDX): Likewise.
16287 (TENS_P14_SIZE): Likewise.
16288 (_fpioconst_pow10): Change array size to
16289 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16291 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16292 1024]: Add entries for 10^2^13 and 10^2^14.
16293 [LAST_POW10 > _LAST_POW10]: Remove #error.
16294 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16295 (_fpioconst_pow10): Change array size to
16296 FPIOCONST_POW10_ARRAY_SIZE.
16297 * stdlib/gen-fpioconst.c: New file.
16298 * stdlib/gen-tst-strtod-round.c: Likewise.
16299 * stdlib/tst-strtod-round-data: Likewise.
16300 * stdlib/tst-strtod-round.c: Likewise.
16301 * stdlib/Makefile (tests): Add tst-strtod-round.
16304 * stdlib/strtod_l.c: Include <stdint.h>.
16305 (NDEBUG): Do not define.
16306 (round_and_return): Change EXPONENT parameter to type intmax_t.
16307 Rearrange calculations to avoid internal overflow possibilities.
16308 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16309 Rearrange calculations to avoid internal overflow possibilities.
16310 Assert that number fits inside MPNSIZE limbs.
16311 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16312 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16313 calculations and add assertions to avoid internal overflow
16314 possibilities. Add casts to avoid signed/unsigned operations.
16315 * stdlib/tst-strtod-overflow.c: New file.
16316 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16318 2012-08-25 Marek Polacek <polacek@redhat.com>
16320 * time/time.h: Fix some typos in comments.
16322 2012-08-23 Roland McGrath <roland@hack.frob.com>
16324 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16325 * posix/tst-rfc3484-2.c: Likewise.
16326 * posix/tst-rfc3484-3.c: Likewise.
16328 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16330 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16331 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16333 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16335 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16336 #include of fxstatat64.c.
16338 2012-08-22 Roland McGrath <roland@hack.frob.com>
16340 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16341 * shadow/getspent_r.c: Likewise.
16342 * shadow/getspnam.c: Likewise.
16343 * shadow/getspnam_r.c: Likewise.
16344 * gshadow/getsgent.c: Likewise.
16345 * gshadow/getsgent_r.c: Likewise.
16346 * gshadow/getsgnam.c: Likewise.
16347 * gshadow/getsgnam_r.c: Likewise.
16348 * inet/getnetbyad.c: Likewise.
16349 * inet/getnetbyad_r.c: Likewise.
16350 * inet/getnetbynm.c: Likewise.
16351 * inet/getnetbynm_r.c: Likewise.
16352 * inet/getnetent.c: Likewise.
16353 * inet/getnetent_r.c: Likewise.
16354 * inet/getproto.c: Likewise.
16355 * inet/getproto_r.c: Likewise.
16356 * inet/getprtent.c: Likewise.
16357 * inet/getprtent_r.c: Likewise.
16358 * inet/getprtname.c: Likewise.
16359 * inet/getprtname_r.c: Likewise.
16360 * inet/getrpcbyname.c: Likewise.
16361 * inet/getrpcbyname_r.c: Likewise.
16362 * inet/getrpcbynumber.c: Likewise.
16363 * inet/getrpcbynumber_r.c: Likewise.
16364 * inet/getrpcent.c: Likewise.
16365 * inet/getrpcent_r.c: Likewise.
16366 * inet/getaliasent.c: Likewise.
16367 * inet/getaliasent_r.c: Likewise.
16368 * inet/getaliasname.c: Likewise.
16369 * inet/getaliasname_r.c: Likewise.
16370 * nscd/getgrgid_r.c: Likewise.
16371 * nscd/getgrnam_r.c: Likewise.
16372 * nscd/gethstbyad_r.c: Likewise.
16373 * nscd/gethstbynm3_r.c: Likewise.
16374 * nscd/getpwnam_r.c: Likewise.
16375 * nscd/getpwuid_r.c: Likewise.
16376 * nscd/getsrvbynm_r.c: Likewise.
16377 * nscd/getsrvbypt_r.c: Likewise.
16378 * nscd/gai.c: Likewise.
16380 * configure.in (build_nscd): New substituted variable, set
16381 by --disable-build-nscd and defaults to $use_nscd.
16382 * configure: Regenerated.
16383 * config.make.in (build-nscd): New substituted variable.
16384 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16385 Change conditional to require [$(build-nscd) = yes] as well.
16386 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16389 * configure.in (use_nscd): New substituted variable, set by
16390 --disable-nscd. If enabled, define USE_NSCD.
16391 * configure: Regenerated.
16392 * config.h.in: Add USE_NSCD.
16393 * config.make.in (use-nscd): New substituted variable.
16394 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16395 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16396 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16397 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16398 (CFLAGS-getgrnam_r.c): Likewise.
16399 (CFLAGS-initgroups.c): Likewise.
16400 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16401 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16403 * inet/getnetgrent_r.c
16404 (nscd_setnetgrent): New function, broken out of ...
16405 (setnetgrent): ... here. Call it.
16406 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16407 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16408 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16409 * nscd/Makefile (routines, aux): Move definitions after include of
16410 Makeconfig. Conditionalize on [$(use-nscd) != no].
16411 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16412 Conditionalize on [USE_NSCD].
16413 (is_nscd, nscd_init_cb): Likewise.
16414 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16415 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16416 * nss/nss_db/db-init.c: Likewise.
16417 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16419 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16420 (make_request): Use it.
16421 (cache_valid_p): New function.
16422 (__check_pf): Use it.
16423 * NEWS: Add item for --disable-nscd.
16425 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16427 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16428 to support sed >= 4.2.1-20-ga9bf076.
16429 * configure: Regenerated.
16431 2012-08-22 Roland McGrath <roland@hack.frob.com>
16433 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16434 Conditionalize whole body on [IREL].
16436 2012-08-22 Jeff Law <law@redhat.com>
16439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16440 if the family is PF_UNSPEC.
16442 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16444 * Makerules (lib-version): Rename from V.
16445 (install-lib-nosubdir): Change V to lib-version.
16447 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16450 * powerpc32/power6/wcschr.c: New file.
16451 * powerpc32/power6/wcscpy.c: New file.
16452 * powerpc32/power6/wcsrchr.c: New file.
16453 * powerpc64/power6/wcschr.c: New file.
16454 * powerpc64/power6/wcscpy.c: New file.
16455 * powerpc64/power6/wcsrchr.c: New file.
16457 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16459 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16460 (two_way_short_needle): Use it.
16461 * string/strstr.c (AVAILABLE1_USES_J): Define.
16462 * string/strcasestr.c: Likewise.
16464 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16466 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16469 * NEWS: Add an entry.
16470 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16471 define their defaults.
16472 (two_way_short_needle): Detect end-of-string on-the-fly.
16473 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16474 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16475 * string/bug-strcasestr1.c: New test.
16476 * string/Makefile: Run it.
16478 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16481 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16482 the first character.
16484 2012-08-21 Roland McGrath <roland@hack.frob.com>
16486 * csu/elf-init.c (__libc_csu_irel): Function removed.
16487 * csu/libc-start.c (apply_irel): New function.
16488 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16490 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16492 * sysdeps/unix/sysv/linux/kernel-features.h
16493 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16494 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16495 <kernel-features.h>.
16496 [__NR_fadvise64_64]: Make code unconditional.
16497 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16498 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16499 !__NR_fadvise64_64)]: Likewise.
16500 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16501 !__NR_fadvise64_64))]: Likewise.
16502 [__NR_fadvise64]: Make code unconditional.
16503 [!__NR_fadvise64]: Remove conditional code.
16504 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16505 <kernel-features.h>.
16506 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16508 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16511 not include <kernel-features.h>.
16512 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16514 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16516 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16517 include <kernel-features.h>.
16518 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16520 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16523 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16526 slight instruction rearrangements per scrollpipe analysis.
16527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16529 2012-08-20 Roland McGrath <roland@hack.frob.com>
16531 * manual/syslog.texi (syslog; vsyslog, closelog):
16532 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16533 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16535 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16536 DSOCAPS to match condition on defining it.
16538 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16540 * sysdeps/unix/sysv/linux/kernel-features.h
16541 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16543 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16544 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16546 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16547 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16549 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16550 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16552 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16553 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16555 * sysdeps/unix/sysv/linux/kernel-features.h
16556 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16557 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16559 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16560 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16561 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16562 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16563 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16564 Make code unconditional.
16565 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16566 (__mmap64) [!__NR_mmap2]: Likewise.
16567 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16568 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16569 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16570 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16571 [__NR_mmap2]: Make code unconditional.
16572 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16573 (__mmap64) [!__NR_mmap2]: Likewise.
16575 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16577 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16579 2012-08-18 Andreas Jaeger <aj@suse.de>
16581 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16583 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16585 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16586 * include/unistd.h (__have_sock_cloexec): Likewise.
16587 (__have_pipe2): Likewise.
16588 (__have_dup3): Likewise.
16590 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16593 * include/unistd.h (__have_pipe2): Change define into an extern int.
16594 (__have_dup3): Likewise.
16595 * socket/have_sock_cloexec.c: Include fcntl.h.
16596 (__have_pipe2): New variable.
16597 (__have_dup3): Likewise.
16599 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16601 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16603 2012-08-17 Marek Polacek <polacek@redhat.com>
16605 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16606 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16608 2012-08-17 Roland McGrath <roland@hack.frob.com>
16610 * configure.in: Add AC_SUBST for sysheaders.
16611 * configure: Regenerated.
16612 * config.make.in (sysheaders): New substituted variable.
16614 * sysdeps/unix/mkfifo.c: Moved ...
16615 * sysdeps/posix/mkfifo.c: ... here.
16616 * sysdeps/unix/mkfifoat.c: Moved ...
16617 * sysdeps/posix/mkfifoat.c: ... here.
16619 * sysdeps/unix/utime.c: Moved ...
16620 * sysdeps/posix/utime.c: ... here.
16622 * sysdeps/unix/time.c: Moved ...
16623 * sysdeps/posix/time.c: ... here.
16624 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16627 * sysdeps/unix/nice.c: Moved ...
16628 * sysdeps/posix/nice.c: ... here.
16630 * sysdeps/unix/alarm.c: Moved ...
16631 * sysdeps/posix/alarm.c: ... here.
16633 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16635 2012-08-17 Jeff Law <law@redhat.com>
16637 * intl/Makefile (codeset_mo): New variable.
16638 ($(codeset_mo)): New target.
16639 (tst-codeset.out): Depend on that. Remove explicit rule.
16640 (tst-gettext3.out, tst-gettext5.out): Likewise.
16641 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16642 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16643 * intl/tst-codeset.sh: Remove.
16644 * intl/tst-gettext3.sh: Likewise.
16645 * intl/tst-gettext5.sh: Likewise.
16647 2012-08-17 Roland McGrath <roland@hack.frob.com>
16649 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16650 * sysdeps/unix/syscalls.list: ... here.
16652 * sysdeps/posix/getaddrinfo.c
16653 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16654 (gaiconf_init, gaiconf_reload): Use them.
16655 [!_STATBUF_ST_NSEC]
16656 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16657 Define using time_t rather than struct timespec.
16659 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16660 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16662 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16664 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16665 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16668 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16669 __libc_cleanup_push argument.
16671 * bits/param.h: New file.
16672 * misc/sys/param.h: New file.
16673 * include/sys/param.h: New file.
16674 * misc/Makefile (headers): Add bits/param.h.
16675 * sysdeps/generic/sys/param.h: File removed.
16676 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16677 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16678 * sysdeps/mach/hurd/bits/param.h: New file.
16679 * sysdeps/mach/hurd/sys/param.h: File removed.
16681 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16684 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16686 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16687 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16690 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16691 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16692 rather than -D_IO_MTSAFE_IO conditionally.
16693 * stdio-common/Makefile (CPPFLAGS): Likewise.
16694 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16695 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16696 Use $(libio-mtsafe).
16697 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16698 of -D_IO_MTSAFE_IO.
16699 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16700 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16701 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16702 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16703 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16704 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16705 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16706 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16707 (CFLAGS-fread_u_chk.c): Likewise.
16708 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16709 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16710 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16711 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16712 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16713 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16714 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16715 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16716 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16718 * libio/Makefile: Test [$(libc-reentrant) = yes]
16719 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16722 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16723 * sysdeps/pthread/configure: File removed.
16724 * sysdeps/pthread/Makeconfig: New file.
16725 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16726 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16728 2012-08-16 Gary Benson <gbenson@redhat.com>
16730 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16731 unmapping the first object in a namespace.
16733 2012-08-16 Roland McGrath <roland@hack.frob.com>
16735 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16736 (__internal_setnetgrent): ... this. Add internal_function to
16737 definition. Add libc_hidden_def.
16738 (setnetgrent): Update caller.
16739 (internal_endnetgrent): Renamed to ...
16740 (__internal_endnetgrent): ... this. Add internal_function to
16741 definition. Add libc_hidden_def.
16742 (endnetgrent): Update caller.
16743 (internal_getnetgrent_r): Renamed to ...
16744 (__internal_getnetgrent_r): ... this. Add internal_function to
16745 definition. Add libc_hidden_def.
16746 (__getnetgrent_r): Update caller.
16747 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16749 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16751 * stdlib/longlong.h: Update from GCC.
16753 2012-08-16 Roland McGrath <roland@hack.frob.com>
16755 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16756 on _QL, which is set by umul_ppmm but never used.
16757 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16758 variables, which are set by GMP macros but never used.
16759 * stdio-common/_itowa.c (_itowa): Likewise.
16760 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16761 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16763 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16765 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16766 struct La_sh_regs is not constant.
16767 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16768 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16769 and struct La_sparc64_regs are not constant.
16771 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16773 * sysdeps/unix/sysv/linux/kernel-features.h
16774 (__ASSUME_POSIX_TIMERS): Remove.
16775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16777 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16778 Make code unconditional.
16779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16780 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16781 Make code unconditional.
16782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16783 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16784 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16786 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16787 Make code unconditional.
16788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16789 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16790 (__libc_missing_posix_timers): Remove.
16792 2012-08-15 Roland McGrath <roland@hack.frob.com>
16794 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16795 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16797 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16799 * elf/dl-sym.c: Include <stdlib.h>.
16801 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16802 constants, which avoids warnings in 32-bit builds.
16804 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16805 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16807 * misc/lseek.c: File moved to ...
16808 * io/lseek.c: ... here.
16810 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16812 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16813 shifting LEN more than 31 bits at once.
16815 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16818 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16819 segmentation fault for a case of two empty input strings.
16820 * string/test-strncasecmp.c (check1): Renamed to...
16821 (bz12205): ...this.
16822 (bz14195): Add new testcase for two empty input strings and N > 0.
16823 (test_main): Call new testcase, adapt for renamed function.
16825 2012-08-15 Andreas Jaeger <aj@suse.de>
16828 * crypt/md5test2.c: New test, based on test supplied by Serge
16829 Belyshev <belyshev@depni.sinp.msu.ru>.
16830 * crypt/Makefile (xtests): Add md5test-giant..
16831 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16833 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16836 * crypt/md5.c (md5_process_block): Don't assume the buffer
16837 length is less than 2**32.
16838 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16839 length is less than 2**64.
16841 2012-08-15 Roland McGrath <roland@hack.frob.com>
16843 * string/str-two-way.h: Include <sys/param.h>.
16844 (MAX): Macro removed.
16846 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16847 Move #define and #undef of memmove to just before and after
16848 including <string.h>.
16850 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16851 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16852 and after including <string.h>. Move declarations of
16853 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16854 to before #include "string/memmove.c".
16856 * include/dirent.h: Declare __getdirentries.
16858 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16859 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16861 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16863 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16864 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16865 * sysdeps/i386/configure: Regenerated.
16866 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16867 STABS_CURRENT_FILE, and STABS_FUN.
16868 (END): Remove call to STABS_FUN_END.
16869 (STABS_CURRENT_FILE1): Delete.
16870 (STABS_CURRENT_FILE): Likewise.
16871 (STABS_FUN): Likewise.
16872 (STABS_FUN_END): Likewise.
16873 (STABS_FUN2): Likewise.
16874 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16875 * sysdeps/x86_64/configure: Regenerated.
16877 2012-08-14 Roland McGrath <roland@hack.frob.com>
16879 * elf/dl-open.c: Include <atomic.h>.
16880 * elf/dl-lookup.c: Likewise.
16882 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16884 * sysdeps/unix/sysv/linux/kernel-features.h
16885 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16886 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16888 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16890 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16891 condition on __ASSUME_CLONE_THREAD_FLAGS.
16893 2012-08-14 Andreas Jaeger <aj@suse.de>
16895 * sysdeps/i386/fpu/libm-test-ulps: Update.
16897 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16899 * include/atomic.h (atomic_exchange_and_add): Split into ...
16900 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16903 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16907 2012-08-13 Jeff Law <law@redhat.com>
16909 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16910 null byte in the output string.
16912 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16914 * sysdeps/unix/sysv/linux/kernel-features.h
16915 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16916 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16917 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16919 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16920 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16921 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16923 2012-08-09 Jeff Law <law@redhat.com>
16926 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16927 When avoid_arena is set, don't retry in the that arena. Pick the
16928 next one, whatever it might be.
16929 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16930 (arena_lock): Pass in new parameter to arena_get2.
16931 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16933 (__libc_malloc): Unify retrying after main arena failure with
16934 __libc_memalign version.
16935 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16937 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16940 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16941 to __redirect_strstr.
16942 (__strstr_sse42): Use typeof __redirect_strstr.
16943 (__strstr_ia32): Likewise.
16944 (__libc_strstr): New prototype.
16945 (strstr): Renamed to ...
16946 (__libc_strstr): This.
16947 (strstr): New strong alias of __libc_strstr.
16948 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16949 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16952 (__libc_time): New prototype.
16953 (time_ifunc): Replace time with __libc_time.
16954 (time): New strong alias and hidden definition of __libc_time.
16955 (__GI_time): Remove strong alias.
16956 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16957 Include <stddef.h>.
16958 (memmove): Redefined to __redirect_memmove.
16959 (__memmove_sse2): Use typeof __redirect_memmove.
16960 (__memmove_ssse3): Likewise.
16961 (__memmove_ssse3_back): Likewise.
16962 (__libc_memmove): New prototype.
16963 (memmove): Renamed to ...
16964 (__libc_memmove): This.
16965 (memmove): New strong alias of __libc_memmove.
16967 2012-08-08 Mark Salter <msalter@redhat.com>
16970 (R_MN10300_TLS_GD): Define.
16971 (R_MN10300_TLS_LD): Likewise.
16972 (R_MN10300_TLS_LDO): Likewise.
16973 (R_MN10300_TLS_GOTIE): Likewise.
16974 (R_MN10300_TLS_IE): Likewise.
16975 (R_MN10300_TLS_LE): Likewise.
16976 (R_MN10300_TLS_DTPMOD): Likewise.
16977 (R_MN10300_TLS_DTPOFF): Likewise.
16978 (R_MN10300_TLS_TPOFF): Likewise.
16979 (R_MN10300_SYM_DIFF): Likewise.
16980 (R_MN10300_ALIGN): Likewise.
16981 (R_MN10300_NUM): Update.
16983 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16988 2012-08-08 Roland McGrath <roland@hack.frob.com>
16990 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16992 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16993 sysdeps/unix -> sysdeps/posix move.
16994 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16996 2012-08-07 Allan McRae <allan@archlinux.org>
16999 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17000 (SUNOS_CPP): Likewise.
17001 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17003 (open_input): Call CPP using execvp.
17005 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17007 * sysdeps/unix/sysv/linux/kernel-features.h
17008 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17009 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17010 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17011 (__ASSUME_WAITID_SYSCALL): Likewise.
17012 * sysdeps/unix/sysv/linux/dl-execstack.c
17013 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17014 code unconditional.
17015 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17017 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17018 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17019 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17021 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17023 [__ASSUME_WAITID_SYSCALL]: Likewise.
17024 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17026 2012-08-07 Roland McGrath <roland@hack.frob.com>
17028 * sysdeps/unix/closedir.c: Renamed to ...
17029 * sysdeps/posix/closedir.c: ... here.
17030 * sysdeps/unix/dirfd.c: Renamed to ...
17031 * sysdeps/posix/dirfd.c: ... here.
17032 * sysdeps/unix/dirstream.h: Renamed to ...
17033 * sysdeps/posix/dirstream.h: ... here.
17034 * sysdeps/unix/fdopendir.c: Renamed to ...
17035 * sysdeps/posix/fdopendir.c: ... here.
17036 * sysdeps/unix/opendir.c: Renamed to ...
17037 * sysdeps/posix/opendir.c: ... here.
17038 * sysdeps/unix/readdir.c: Renamed to ...
17039 * sysdeps/posix/readdir.c: ... here.
17040 * sysdeps/unix/readdir_r.c: Renamed to ...
17041 * sysdeps/posix/readdir_r.c: ... here.
17042 * sysdeps/unix/rewinddir.c: Renamed to ...
17043 * sysdeps/posix/rewinddir.c: ... here.
17044 * sysdeps/unix/seekdir.c: Renamed to ...
17045 * sysdeps/posix/seekdir.c: ... here.
17046 * sysdeps/unix/telldir.c: Renamed to ...
17047 * sysdeps/posix/telldir.c: ... here.
17048 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17049 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17050 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17051 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17053 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17054 * bits/fcntl.h: ... here.
17056 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17058 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17059 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17060 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17061 (struct flock): Move l_start, l_len to the beginning.
17062 Use __pid_t for l_pid.
17063 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17064 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17065 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17066 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17067 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17068 [__USE_LARGEFILE64] (struct flock64): New type.
17069 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17071 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17072 * bits/dirent.h: ... here.
17074 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17075 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17077 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17079 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17080 Change from 2.6.0 to 2.6.16.
17081 * sysdeps/unix/sysv/linux/configure: Regenerated.
17082 * sysdeps/unix/sysv/linux/kernel-features.h
17083 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17084 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17086 (__ASSUME_UTIMES): Likewise.
17087 (__ASSUME_CLONE_STOPPED): Remove.
17088 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17089 architectures, not kernel version.
17090 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17091 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17092 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17093 (__ASSUME_WAITID_SYSCALL): Likewise.
17094 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17095 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17096 * README: State 2.6.16 as minimum Linux kernel version. Do not
17097 refer to older versions.
17099 2012-08-06 Roland McGrath <roland@hack.frob.com>
17101 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17102 Define alphasort64 as an alias.
17103 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17104 Define versionsort64 as an alias.
17105 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17106 Define scandir64 as an alias.
17107 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17108 Define scandirat64 as an alias.
17109 * dirent/alphasort64.c (alphasort64):
17110 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17111 * dirent/versionsort64.c: Likewise.
17112 * dirent/scandir64.c: Likewise.
17113 * dirent/scandirat64.c: Likewise.
17114 * sysdeps/wordsize-64/alphasort.c: File removed.
17115 * sysdeps/wordsize-64/alphasort64.c: File removed.
17116 * sysdeps/wordsize-64/scandir.c: File removed.
17117 * sysdeps/wordsize-64/scandir64.c: File removed.
17118 * sysdeps/wordsize-64/scandirat.c: File removed.
17119 * sysdeps/wordsize-64/scandirat64.c: File removed.
17120 * sysdeps/wordsize-64/versionsort.c: File removed.
17121 * sysdeps/wordsize-64/versionsort64.c: File removed.
17122 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17123 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17124 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17125 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17126 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17127 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17128 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17129 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17131 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17133 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17135 [defined __arch64__ || defined __sparcv9]
17136 (__INO_T_MATCHES_INO64_T): New macro.
17137 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17138 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17139 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17140 * sysdeps/unix/sysv/linux/bits/dirent.h
17141 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17142 (_DIRENT_MATCHES_DIRENT64): New macro.
17144 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17145 Define lockf64 as an alias.
17146 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17147 Define fseeko64 as an alias.
17148 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17149 Define ftello64 as an alias.
17150 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17151 Define _IO_fgetpos64 and fgetpos64 as aliases.
17152 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17153 Define _IO_fsetpos64 and fsetpos64 as aliases.
17154 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17155 Conditionalize body on this.
17156 * libio/fseeko64.c: Likewise.
17157 * libio/ftello64.c: Likewise.
17158 * libio/iofgetpos64.c: Likewise.
17159 * libio/iofsetpos64.c: Likewise.
17160 * sysdeps/wordsize-64/lockf.c: File removed.
17161 * sysdeps/wordsize-64/lockf64.c: File removed.
17162 * sysdeps/wordsize-64/fseeko.c: File removed.
17163 * sysdeps/wordsize-64/fseeko64.c: File removed.
17164 * sysdeps/wordsize-64/ftello.c: File removed.
17165 * sysdeps/wordsize-64/ftello64.c: File removed.
17166 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17167 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17168 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17169 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17170 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17172 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17173 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17174 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17175 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17181 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17183 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17185 [defined __arch64__ || defined __sparcv9]
17186 (__OFF_T_MATCHES_OFF64_T): New macro.
17187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17188 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17190 (__OFF_T_MATCHES_OFF64_T): New macro.
17192 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17194 * stdlib/secure-getenv.c (__secure_getenv): Replace
17195 GLIBC_2_16 with GLIBC_2_17.
17197 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17199 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17202 2012-08-03 David S. Miller <davem@davemloft.net>
17204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17206 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17210 (__ASSUME_CORRECT_SI_PID): Likewise.
17211 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17212 (__ASSUME_TMPFS_NAME): Likewise.
17213 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17214 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17215 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17216 (HAVE_AUX_SECURE): Make definition unconditional.
17217 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17218 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17220 2012-08-03 Roland McGrath <roland@hack.frob.com>
17222 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17223 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17224 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17225 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17226 __eloop_threshold instead of SYMLOOP_MAX.
17228 * sysdeps/generic/eloop-threshold.h: New file.
17229 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17231 * elf/chroot_canon.c (chroot_canon): Likewise.
17233 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17237 Change to 2.6.0 everywhere.
17238 * sysdeps/unix/sysv/linux/configure: Regenerated.
17239 * sysdeps/unix/sysv/linux/kernel-features.h
17240 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17241 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17243 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17244 (__ASSUME_FUTEX_REQUEUE): Remove.
17245 (__ASSUME_STATFS64): Define unconditionally.
17246 (__ASSUME_AT_SECURE): Likewise.
17247 (__ASSUME_CORRECT_SI_PID): Likewise.
17248 (__ASSUME_TGKILL): Define without depending on kernel version for
17250 (__ASSUME_UTIMES): Likewise.
17251 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17253 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17254 (__ASSUME_TMPFS_NAME): Likewise.
17255 * README: Update reference to Linux kernel versions.
17257 2012-08-02 Marek Polacek <polacek@redhat.com>
17260 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17261 libc_cv_asm_type_prefix with %.
17262 * configure: Regenerated.
17263 * include/libc-symbols.h: Remove comment about
17264 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17265 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17266 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17267 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17268 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17269 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17270 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17271 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17272 * elf/tst-unique2mod1.c: Likewise.
17273 * elf/tst-unique1mod2.c: Likewise.
17274 * elf/tst-unique1mod1.c: Likewise.
17275 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17276 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17277 Replace ASM_TYPE_DIRECTIVE with .type.
17278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17279 * sysdeps/i386/sysdep.h: Likewise.
17280 * sysdeps/x86_64/sysdep.h: Likewise.
17281 * sysdeps/sh/sysdep.h: Likewise.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17283 Do not define ASM_TYPE_DIRECTIVE.
17284 * sysdeps/powerpc/sysdep.h: Likewise.
17285 * sysdeps/powerpc/powerpc32/sysdep.h:
17286 Replace ASM_TYPE_DIRECTIVE with .type.
17287 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17288 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17289 * sysdeps/i386/fpu/e_powf.S: Likewise.
17290 * sysdeps/i386/fpu/e_expl.S: Likewise.
17291 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17292 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17293 * sysdeps/i386/fpu/e_pow.S: Likewise.
17294 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17295 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17296 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17297 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17298 * sysdeps/i386/fpu/e_log2.S: Likewise.
17299 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17300 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17301 * sysdeps/i386/fpu/e_powl.S: Likewise.
17302 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17303 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17304 * sysdeps/i386/fpu/e_logl.S: Likewise.
17305 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17306 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17307 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17308 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17309 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17310 * sysdeps/i386/fpu/e_log.S: Likewise.
17311 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17312 * sysdeps/i386/fpu/e_logf.S: Likewise.
17313 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17314 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17315 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17316 * sysdeps/i386/fpu/e_log10.S: Likewise.
17317 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17318 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17319 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17320 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17321 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17322 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17323 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17324 * sysdeps/i386/i686/strtok.S: Likewise.
17325 * sysdeps/i386/i386-mcount.S: Likewise.
17326 * sysdeps/i386/strtok.S: Likewise.
17327 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17328 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17330 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17331 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17332 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17333 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17334 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17335 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17336 * sysdeps/x86_64/_mcount.S: Likewise.
17337 * sysdeps/x86_64/strtok.S: Likewise.
17338 * sysdeps/sh/_mcount.S: Likewise.
17340 2012-08-01 Roland McGrath <roland@hack.frob.com>
17342 * libio/iofopen.c: Include <fcntl.h>.
17343 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17344 (_IO_fopen64, fopen64): Define as aliases.
17345 * libio/iofopen64.c: Include <fcntl.h>.
17346 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17347 Conditionalize body on this.
17348 * sysdeps/wordsize-64/iofopen.c: File removed.
17349 * sysdeps/wordsize-64/iofopen64.c: File removed.
17351 2012-08-01 Marek Polacek <polacek@redhat.com>
17353 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17354 Use dlfcn directly instead of a variable.
17355 (binfmt-subdir): Do not define.
17358 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17361 Remove all definitions.
17362 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17363 <kernel-features.h>.
17364 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17365 (miss_F_GETOWN_EX): Remove all definitions.
17366 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17368 [!__ASSUME_FCNTL64]: Remove conditional code.
17369 [__ASSUME_FCNTL64]: Make code unconditional.
17370 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17371 <kernel-features.h>.
17372 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17373 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17374 (lockf64) [__NR_fcntl64]: Make code unconditional.
17375 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17377 * sysdeps/unix/sysv/linux/kernel-features.h
17378 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17379 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17380 Make code unconditional.
17381 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17382 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17384 [__NR_vfork]: Make code unconditional.
17385 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17386 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17388 [__NR_vfork]: Make code unconditional.
17389 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17390 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17392 2012-08-01 Roland McGrath <roland@hack.frob.com>
17394 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17395 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17397 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17398 Define mkstemp64 as an alias.
17399 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17400 Define mkstemps64 as an alias.
17401 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17402 Define mkostemp64 as an alias.
17403 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17404 Define mkostemps64 as an alias.
17405 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17406 Conditionalize body on this.
17407 * misc/mkostemp64.c: Likewise.
17408 * misc/mkostemps64.c: Likewise.
17409 * misc/mkstemps64.c: Likewise.
17410 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17411 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17412 * sysdeps/wordsize-64/mkostemp.c: File removed.
17413 * sysdeps/wordsize-64/mkstemp.c: File removed.
17414 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17415 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17416 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17420 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17421 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17422 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17423 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17425 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17426 compat_symbol macros from <shlib-compat.h> rather than the underlying
17427 default_symbol_version and symbol_version macros, so that DEFAULT
17428 lines in shlib-versions are respected.
17429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17431 2012-08-01 Florian Weimer <fweimer@redhat.com>
17433 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17434 Declare with warn_unused_result.
17435 (setgid, setregid, setegid, setresgid): Likewise.
17436 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17438 * WUR-REPORT: Remove set*id functions.
17440 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17442 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17444 2012-07-31 Roland McGrath <roland@hack.frob.com>
17447 * include/sys/socket.h (__libc_accept, __libc_accept4):
17448 Add attribute_hidden.
17449 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17451 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17453 * inet/getnetgrent_r.c (setup): Likewise.
17455 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17457 2012-07-31 David S. Miller <davem@davemloft.net>
17459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17461 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17464 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17465 value between 1.0 and 2.0 and smaller part has absolute value less
17467 * math/s_clog10.c (__clog10): Likewise.
17468 * math/s_clog10f.c (__clog10f): Likewise.
17469 * math/s_clog10l.c (__clog10l): Likewise.
17470 * math/s_clogf.c (__clogf): Likewise.
17471 * math/s_clogl.c (__clogl): Likewise.
17472 * math/libm-test.inc (clog_test): Add more tests.
17473 (clog10_test): Likewise.
17474 * sysdeps/i386/fpu/libm-test-ulps: Update.
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17477 2012-07-31 Florian Weimer <fweimer@redhat.com>
17479 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17480 Exit with zero in case no suitable GID is found, and write a
17481 message to standard error.
17483 2012-07-30 Roland McGrath <roland@hack.frob.com>
17485 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17487 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17488 (MAXPATHLEN): Removed.
17489 (NOGROUP, NODEV): New macros.
17490 (setbit, clrbit, isset, isclr): New macros.
17491 (howmany, roundup, powerof2): New macros.
17492 (DEV_BSIZE): New macro.
17494 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17495 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17497 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17498 definition on [!__NO_LONG_DOUBLE_MATH].
17500 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17501 PTR_MANGLE and PTR_DEMANGLE.
17503 * socket/accept4.c (accept4): Rename to __libc_accept4.
17504 Define accept4 as a weak alias.
17506 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17507 on [_DIRENT_HAVE_D_TYPE].
17508 * io/ftw.c (ftw_dir): Likewise.
17510 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17512 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17514 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17515 Use the BSD numbers rather than the arbitrary ones we had.
17516 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17517 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17518 (SIGXCPU, SIGXFSZ): New macros.
17521 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17522 initializer on [_LIBC_REENTRANT].
17524 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17525 definitions inside [_POSIX_MAPPED_FILES].
17527 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17529 * dirent/opendir.c: Include <fcntl.h>.
17531 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17532 (__libc_getspecific): Likewise.
17533 (__libc_key_create): Likewise.
17535 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17536 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17537 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17538 (tmpfile64): Define as alias.
17539 * sysdeps/wordsize-64/tmpfile.c: File removed.
17540 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17541 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17542 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17544 * stdio-common/vfscanf.c: Include <stdbool.h>.
17545 * nss/makedb.c: Likewise.
17546 * stdio-common/_i18n_number.h: Likewise.
17547 * argp/argp-help.c: Likewise.
17548 * posix/wordexp.c: Likewise.
17549 * sysdeps/posix/spawni.c: Likewise.
17550 * nss/nss_files/files-initgroups.c: Likewise.
17551 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17552 * nss/nss_files/files-initgroups.c: Likewise.
17553 * nss/nss_db/db-netgrp.c: Likewise.
17554 * nss/nss_db/db-initgroups.c: Likewise.
17555 * io/fchmodat.c: Include <sys/stat.h>.
17557 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17558 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17560 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17563 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17564 Add multiple inclusion protection.
17566 2012-07-27 David S. Miller <davem@davemloft.net>
17568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17570 2012-07-27 Gary Benson <gbenson@redhat.com>
17573 * elf/rtld.c: Include <stap-probe.h>.
17574 (dl_main): Added static probes "init_start" and "init_complete".
17575 * elf/dl-load.c: Include <stap-probe.h>.
17576 (lose): Take new parameter "nsid".
17577 Added static probe "map_failed".
17578 (_dl_map_object_from_fd): Pass namespace id to lose.
17579 Added static probe "map_start".
17580 (open_verify): Pass namespace id to lose.
17581 * elf/dl-open.c: Include <stap-probe.h>.
17582 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17583 and "reloc_complete".
17584 * elf/dl-close.c: Include <stap-probe.h>.
17585 (_dl_close_worker): Added static probes "unmap_start" and
17587 * elf/rtld-debugger-interface.txt: New file documenting the above.
17589 2012-07-26 Roland McGrath <roland@hack.frob.com>
17591 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17592 rather than a string variable.
17593 * sunrpc/rpc_main.c (h_output): Likewise.
17594 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17596 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17598 * inet/check_native.c: New file.
17600 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17603 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17604 if larger part has absolute value 1.0.
17605 * math/s_clog10.c (__clog10): Likewise.
17606 * math/s_clog10f.c (__clog10f): Likewise.
17607 * math/s_clog10l.c (__clog10l): Likewise.
17608 * math/s_clogf.c (__clogf): Likewise.
17609 * math/s_clogl.c (__clogl): Likewise.
17610 * math/libm-test.inc (clog_test): Add more tests.
17611 (clog10_test): Likewise.
17612 * sysdeps/i386/fpu/libm-test-ulps: Update.
17613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17615 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17616 (pltexit): Likewise.
17617 (La_regs): Likewise.
17618 (La_retval): Likewise.
17619 (int_retval): Likewise.
17620 Update #error for removed macros to refer only to definitions in
17622 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17624 (pltexit): Likewise.
17625 (La_regs): Likewise.
17626 (La_retval): Likewise.
17627 (int_retval): Likewise.
17628 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17630 (pltexit): Likewise.
17631 (La_regs): Likewise.
17632 (La_retval): Likewise.
17633 (int_retval): Likewise.
17634 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17636 (pltexit): Likewise.
17637 (La_regs): Likewise.
17638 (La_retval): Likewise.
17639 (int_retval): Likewise.
17640 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17642 (pltexit): Likewise.
17643 (La_regs): Likewise.
17644 (La_retval): Likewise.
17645 (int_retval): Likewise.
17646 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17648 (pltexit): Likewise.
17649 (La_regs): Likewise.
17650 (La_retval): Likewise.
17651 (int_retval): Likewise.
17652 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17654 (pltexit): Likewise.
17655 (La_regs): Likewise.
17656 (La_retval): Likewise.
17657 (int_retval): Likewise.
17658 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17659 macro definitions in tst-audit.h.
17660 * sysdeps/i386/tst-audit.h: New file.
17661 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17662 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17663 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17664 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17665 * sysdeps/sh/tst-audit.h: Likewise.
17666 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17667 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17668 * sysdeps/x86_64/tst-audit.h: Likewise.
17670 2012-07-26 Andreas Jaeger <aj@suse.de>
17672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17675 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17676 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17677 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17679 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17680 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17683 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17686 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17688 (si_call_addr, si_syscall, si_arch): Define new macro.
17689 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17691 (si_call_addr, si_syscall, si_arch): Define new marcro.
17692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17694 (si_call_addr, si_syscall, si_arch): Define new macro.
17695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17697 (si_call_addr, si_syscall, si_arch): Define new macro.
17699 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17703 Change to 2.4.21 where previously 2.4.1.
17704 * sysdeps/unix/sysv/linux/configure: Regenerated.
17705 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17706 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17707 Linux kernel version.
17708 (__ASSUME_STD_AUXV): Remove.
17709 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17711 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17712 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17713 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17714 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17715 (__ASSUME_NETLINK_SUPPORT): Likewise.
17716 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17717 (__no_netlink_support): Remove conditional definition.
17718 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17720 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17721 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17722 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17723 (if_nameindex_ioctl): Remove.
17724 (if_nameindex_netlink): Do not handle __no_netlink_support.
17725 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17727 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17728 Remove conditional code.
17729 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17731 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17733 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17734 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17735 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17737 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17738 [!__ASSUME_STD_AUXV]: Remove conditional code.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17740 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17741 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17743 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17746 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17748 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17749 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17751 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17753 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17756 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17759 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17760 code unconditional.
17761 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17763 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17765 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17768 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17770 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17773 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17774 code unconditional.
17775 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17777 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17779 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17782 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17783 code unconditional.
17784 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17786 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17788 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17791 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17793 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17795 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17796 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17797 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17798 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17799 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17800 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17801 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17803 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17804 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17805 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17806 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17807 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17810 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17813 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17817 2012-07-25 Florian Weimer <fweimer@redhat.com>
17819 * Versions.def: Add GLIBC_2.17.
17820 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17821 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17822 Introduce __libc_secure_getenv.
17823 * stdlib/Versions (2.17): Add secure_getenv
17824 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17825 * stdlib/secure-getenv.c: Rename __secure_getenv to
17826 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17827 symbol __secure_getenv for GLIBC_2.0.
17828 * stdlib/tst-secure-getenv.c: New.
17829 * stdlib/Makefile (tests): Add testcase.
17830 * manual/startup.texi (Environment Access): Document
17832 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17833 __libc_secure_getenv.
17834 * inet/ruserpass.c (ruserpass): Likewise.
17835 * malloc/mtrace.c (mtrace): Likewise.
17836 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17837 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17838 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17839 * sysdeps/posix/tempname.c: Likewise. Evaluate
17840 HAVE_SECURE_GETENV.
17841 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17842 __secure_getenv to __libc_secure_getenv.
17843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17856 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17858 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17859 (struct La_i86_retval): Likewise.
17860 (struct La_x86_64_regs): Likewise.
17861 (struct La_x86_64_retval): Likewise.
17862 (struct La_x32_regs): Likewise.
17863 (struct La_x32_retval): Likewise.
17864 (struct La_ppc32_regs): Likewise.
17865 (struct La_ppc32_retval): Likewise.
17866 (struct La_ppc64_regs): Likewise.
17867 (struct La_ppc64_retval): Likewise.
17868 (struct La_sh_regs): Likewise.
17869 (struct La_sh_retval): Likewise.
17870 (struct La_s390_32_regs): Likewise.
17871 (struct La_s390_32_retval): Likewise.
17872 (struct La_s390_64_regs): Likewise.
17873 (struct La_s390_64_retval): Likewise.
17874 (struct La_sparc32_regs): Likewise.
17875 (struct La_sparc32_retval): Likewise.
17876 (struct La_sparc64_regs): Likewise.
17877 (struct La_sparc64_retval): Likewise.
17878 (struct audit_ifaces): Remove architecture-specific pltenter and
17880 * sysdeps/i386/ldsodefs.h: New file.
17881 * sysdeps/powerpc/ldsodefs.h: Likewise.
17882 * sysdeps/s390/ldsodefs.h: Likewise.
17883 * sysdeps/sh/ldsodefs.h: Likewise.
17884 * sysdeps/sparc/ldsodefs.h: Likewise.
17885 * sysdeps/x86_64/ldsodefs.h: Likewise.
17887 2012-07-25 Marek Polacek <polacek@redhat.com>
17890 * math/libm-test.inc (yn_test): Add another test.
17891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17892 to ERANGE when the result is +-Inf.
17893 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17894 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17895 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17896 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17898 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17900 * conform/data/time.h-data (NULL): Use macro-constant. Require
17902 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17904 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17906 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17908 * configure.in <sysdeps resolving>: Correct printing
17910 * configure: Regenerate.
17912 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17914 * math/w_ilogb.c: Include <limits.h>.
17915 * math/w_ilogbl.c: Likewise.
17917 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17919 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17920 va_copy. Document allowing for unavailable va_copy only as
17921 pre-C99 compatibility.
17922 * manual/string.texi (Copying and Concatenation): Use va_copy
17923 instead of __va_copy in concat example.
17925 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17927 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17928 (__sendto): Use create_address_port. Initialize APORT and deallocate
17931 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17932 with O_NOLINK passed to __file_name_lookup.
17934 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17935 with O_NOLINK passed to __file_name_lookup.
17937 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17938 negative N or less than NGIDS.
17940 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17941 type to string_t. Set ERANGE as errno and return it if NAME is not big
17942 enough. Use memcpy instead of strncpy.
17944 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17946 * elf/Makefile (check-data): Remove.
17947 (localplt.data): New vpath directive.
17948 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17949 instead of $(check-data).
17950 * scripts/data/localplt-generic.data: Move to ...
17951 * sysdeps/generic/localplt.data: ... here.
17952 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17953 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17954 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17957 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17960 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17963 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17966 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17969 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17973 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17975 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17976 PPC32 and PPC64 files.
17977 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17978 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17980 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17982 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17983 __makecontext_ret to ...
17984 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17985 ... here and call exit if uc_link is NULL. New file.
17986 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17987 __makecontext_ret.S.
17988 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17989 __makecontext_ret to ...
17990 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17991 ... here and call exit if uc_link is NULL. New file.
17992 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17993 __makecontext_ret.S.
17995 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17997 * elf/elf.h (R_390_IRELATIVE): New definition.
17998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17999 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18000 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18002 (elf_machine_lazy_rel): Likewise.
18003 * sysdeps/s390/dl-irel.h: New file.
18004 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18005 * sysdeps/s390/s390-64/memset.S: New asm code.
18006 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18007 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18008 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18009 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18010 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18011 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18013 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18014 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18015 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18016 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18017 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18018 * sysdeps/s390/s390-32/memset.S: New asm code.
18019 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18021 2012-07-17 Marek Polacek <polacek@redhat.com>
18024 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18025 * sysdeps/s390/s390-64/configure.in: Likewise.
18026 * sysdeps/sparc/configure.in: Likewise.
18027 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18028 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18029 * sysdeps/i386/configure.in: Likewise.
18030 * sysdeps/x86_64/configure.in: Likewise.
18031 * sysdeps/sh/configure.in: Likewise.
18032 * sysdeps/s390/s390-32/configure: Regenerated.
18033 * sysdeps/s390/s390-64/configure: Likewise.
18034 * sysdeps/x86_64/configure: Likewise.
18035 * sysdeps/sh/configure: Likewise.
18036 * sysdeps/powerpc/powerpc64/configure: Likewise.
18037 * sysdeps/powerpc/powerpc32/configure: Likewise.
18038 * sysdeps/sparc/configure: Likwise.
18039 * sysdeps/i386/configure: Likewise.
18041 * elf/dl-open.c: Comment fixes.
18043 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18045 * Makefile [CXX] (check-data): Remove.
18046 [CXX] (c++-types.data): New vpath directive.
18047 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18048 vpath. Do not allow for C++ type data being missing.
18049 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18050 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18051 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18052 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18053 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18054 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18055 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18058 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18061 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18064 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18067 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18070 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18073 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18076 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18079 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18080 definitions to architecture-specific files.
18081 (TLS_IE): Likewise.
18082 (TLS_LD): Likewise.
18083 (TLS_GD): Likewise.
18084 * sysdeps/i386/tls-macros.h: New file.
18085 * sysdeps/powerpc/tls-macros.h: Likewise.
18086 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18087 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18088 * sysdeps/sh/tls-macros.h: Likewise.
18089 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18090 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18091 * sysdeps/x86_64/tls-macros.h: Likewise.
18093 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18095 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18096 zero value for regular exit case.
18098 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18099 (__start_context): Preserve zero value for regular exit case.
18101 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18102 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18104 * manual/setjmp.texi (setcontext): Clarify normal process
18105 termination when uc_link is the null pointer.
18106 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18109 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18111 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18112 preprocessor. Test for each exception mask separately.
18114 2012-07-16 Andreas Jaeger <aj@suse.de>
18116 * po/ru.po: Update from translation team.
18118 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18120 * conform/data/string.h-data (NULL): Use macro-constant. Require
18122 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18123 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18124 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18125 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18128 2012-07-13 Andreas Jaeger <aj@suse.de>
18130 * po/fr.po: Update from translation team.
18132 2012-07-12 Marek Polacek <polacek@redhat.com>
18135 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18136 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18139 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18143 Change to 2.4.1 where previously 2.4.0.
18144 * sysdeps/unix/sysv/linux/configure: Regenerated.
18145 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18146 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18148 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18149 (__ASSUME_AT_CLKTCK): Remove.
18150 (__ASSUME_AT_PAGESIZE): Likewise.
18151 (__ASSUME_AT_XID): Likewise.
18152 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18153 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18154 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18156 (HAVE_AUX_PAGESIZE): Likewise.
18157 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18158 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18159 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18161 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18165 the temporary buffer used to invoke __gethostbyname2_r,
18166 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18167 host_data / struct gaih_addrtuple.
18168 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18169 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18170 header file nss/nsswitch.h.
18171 * nss/nsswitch.h (global scope): Add definition of implementation
18172 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18173 resolv/nss_dns/dns-host.c).
18175 2012-07-11 Andreas Jaeger <aj@suse.de>
18177 * po/fr.po: Update from translation team.
18179 * po/sv.po: Update from translation team
18180 * po/fr.po: Another update from translation team.
18182 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18185 for subnormals or multiply small sinh result by itself.
18186 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18189 2012-07-11 David S. Miller <davem@davemloft.net>
18191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18193 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18196 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18197 (INTERNAL_MARK): Shift it here.
18199 2012-07-10 Marek Polacek <polacek@redhat.com>
18202 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18203 libc_cv_asm_global_directive with .globl.
18204 * configure: Regenerated.
18205 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18207 * sysdeps/i386/configure: Regenerated.
18208 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18210 * sysdeps/x86_64/configure: Regenerated.
18211 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18212 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18213 * elf/tst-unique2mod2.c: Likewise.
18214 * elf/tst-unique2mod1.c: Likewise.
18215 * elf/tst-unique1mod2.c: Likewise.
18216 * elf/tst-unique1mod1.c: Likewise.
18217 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18218 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18219 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18220 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18221 * sysdeps/mach/sysdep.h: Likewise.
18222 * sysdeps/i386/sysdep.h: Likewise.
18223 * sysdeps/i386/i386-mcount.S: Likewise.
18224 * sysdeps/x86_64/_mcount.S: Likewise.
18225 * sysdeps/x86_64/sysdep.h: Likewise.
18226 * sysdeps/sh/_mcount.S: Likewise.
18227 * sysdeps/sh/sysdep.h: Likewise.
18228 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18229 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18230 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18231 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18232 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18233 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18234 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18235 * locale/localeinfo.h: Likewise.
18236 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18237 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18239 2012-07-09 Roland McGrath <roland@hack.frob.com>
18242 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18244 * manual/message.texi (The Uniforum approach): Likewise.
18245 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18246 (glibc iconv Implementation): Likewise.
18248 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18251 * math/s_clog.c (__clog): Avoid scaling a value down where that
18252 could result in underflow.
18253 * math/s_clog10.c (__clog10): Likewise.
18254 * math/s_clog10f.c (__clog10f): Likewise.
18255 * math/s_clog10l.c (__clog10l): Likewise.
18256 * math/s_clogf.c (__clogf): Likewise.
18257 * math/s_clogl.c (__clogl): Likewise.
18258 * math/libm-test.inc (clog_test): Add more tests.
18259 (clog10_test): Likewise.
18260 * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18263 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18266 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18267 by 7 not 8 to examine high bit of fractional part.
18270 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18271 for call to __mcount_internal.
18272 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18273 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18274 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18276 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18279 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18280 approximation for values within 0x1p-13f of an odd multiple of
18282 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18283 exception. Add more tests.
18284 * sysdeps/i386/fpu/libm-test-ulps: Update.
18287 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18288 inputs and return -1 for them. Do not check for +Inf in case not
18289 reachable for +Inf.
18290 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18291 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18293 and return -1 for them. Do not check for +Inf in case not
18294 reachable for +Inf.
18295 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18297 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18298 and return -1 for them. Do not check for +Inf in case not
18299 reachable for +Inf.
18300 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18301 spurious underflow.
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18305 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18307 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18309 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18313 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18314 could result in spurious underflow. Scale down values above
18315 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18316 * math/s_csqrtf.c (__csqrtf): Likewise.
18317 * math/s_csqrtl.c (__csqrtl): Likewise.
18318 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18319 spurious underflow.
18320 * sysdeps/i386/fpu/libm-test-ulps: Update.
18321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18323 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18325 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18327 * catgets/xopen-msg.awk: New file.
18328 * catgets/xopen-msg.sed: Removed.
18330 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18332 * intl/po2test.awk: New file.
18333 * intl/po2test.sed: Removed.
18335 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18338 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18339 or multiply small sinh result by itself.
18340 * math/s_ctanf.c (__ctanf): Likewise.
18341 * math/s_ctanh.c (__ctanh): Likewise.
18342 * math/s_ctanhf.c (__ctanhf): Likewise.
18343 * math/s_ctanhl.c (__ctanhl): Likewise.
18344 * math/s_ctanl.c (__ctanl): Likewise.
18345 * math/libm-test.inc (ctan_test_tonearest): New function.
18346 (ctan_test_towardzero): Likewise.
18347 (ctan_test_downward): Likewise.
18348 (ctan_test_upward): Likewise.
18349 (ctanh_test_tonearest): Likewise.
18350 (ctanh_test_towardzero): Likewise.
18351 (ctanh_test_downward): Likewise.
18352 (ctanh_test_upward): Likewise.
18353 (main): Call these new functions.
18354 * sysdeps/i386/fpu/libm-test-ulps: Update.
18355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18357 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18359 * .gitignore: Delete /ports entry.
18361 2012-07-03 Andreas Jaeger <aj@suse.de>
18363 * po/bg.po: Update from translation team.
18364 * po/cs.po: Likewise.
18365 * po/de.po: Likewise.
18366 * po/hr.po: Likewise.
18367 * po/nl.pl: Likewise.
18368 * po/pl.po: Likewise.
18369 * po/vi.po: Likewise.
18371 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18373 * Makeconfig [!+link] (+link-before-libc): New variable.
18374 [!+link] (+link-after-libc): Likewise.
18375 [!+link] (+link-tests): Likewise.
18376 [!+link] (+link): Define in terms of $(+link-before-libc) and
18377 $(+link-after-libc).
18378 [!+link-static] (+link-static-before-libc): New variable.
18379 [!+link-static] (+link-static-after-libc): Likewise.
18380 [!+link-static] (+link-static-tests): Likewise.
18381 [!+link-static] (+link-static): Define in terms of
18382 $(+link-static-before-libc) and $(+link-static-after-libc).
18383 [build-shared] (link-libc-before-gnulib): New variable.
18384 [build-shared] (link-libc-tests): Likewise.
18385 [build-shared] (link-libc): Define in terms of
18386 $(link-libc-before-gnulib).
18387 [!build-shared] (link-libc-tests): New variable.
18388 (link-libc-static-tests): New variable.
18389 [!gnulib] (gnulib-arch): New variable.
18390 [!gnulib] (gnulib-tests): Likewise.
18391 [!gnulib] (static-gnulib-arch): Likewise.
18392 [!gnulib] (static-gnulib-tests): Likewise.
18393 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18394 Define with "=" instead of ":=".
18395 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18396 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18397 * Rules (binaries-all-notests): New variable.
18398 (binaries-all-tests): Likewise.
18399 (binaries-static-notests): Likewise.
18400 (binaries-static-tests): Likewise.
18401 (binaries-all): Define using $(binaries-all-notests) and
18402 $(binaries-all-tests).
18403 (binaries-static): Define using $(binaries-static-notests) and
18404 $(binaries-static-tests).
18405 (binaries-shared-tests): New variable.
18406 (binaries-shared-notests): Likewise.
18407 (binaries-shared): Remove variable.
18408 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18409 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18410 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18411 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18412 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18413 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18414 * elf/Makefile (sln-modules): New variable.
18415 (extra-objs): Add $(sln-modules:=.o).
18416 (ldconfig-modules): Add static-stubs.
18417 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18418 * elf/static-stubs.c: New file.
18421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18422 by 7 not 8 to examine high bit of fractional part. Use volatile
18423 variables when splitting into final array of floats if
18424 __FLT_EVAL_METHOD__ != 0.
18425 * math/libm-test.inc (cos_test): Add another test.
18426 (sin_test): Likewise.
18427 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430 * math/libm-test.inc (cosh_test): Add more tests.
18432 * version.h (RELEASE): Set to "development".
18433 (VERSION): Set to "2.16.90".
18435 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18437 * NEWS: Update copyright. Remove last-updated date.
18438 Mention math library bug fixes and timezone data changes.
18439 * README: Mention GNU/Hurd, x32, and HPPA support status.
18441 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18443 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18445 2012-06-27 Andreas Jaeger <aj@suse.de>
18447 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18449 2012-06-25 Andreas Jaeger <aj@suse.de>
18451 * sysdeps/s390/fpu/libm-test-ulps: Update.
18453 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18454 Thomas Schwinge <thomas@codesourcery.com>
18456 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18457 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18461 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18463 * sysdeps/mach/start.c: Remove file.
18464 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18465 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18466 * sysdeps/sh/init-first.c: Likewise.
18468 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18469 registers for frame unwinding purposes, add CFI directives.
18470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18471 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18472 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18475 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18476 __fortify_fail returning.
18477 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18479 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18480 sysdeps/sh/____longjmp_chk.S.
18481 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18482 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18483 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18484 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18486 * sysdeps/sh/abort-instr.h: New file.
18487 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18488 process in case exit returns.
18490 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18491 initialize the GOT register before use.
18493 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18494 calculation of ARGC > 4.
18496 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18497 meaningful names to some local labels.
18499 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18500 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18502 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18503 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18504 (__arch_compare_and_exchange_val_16_acq): Likewise.
18505 (__arch_compare_and_exchange_val_32_acq): Likewise.
18506 (atomic_exchange_and_add): Fix gUSA sequence.
18507 (atomic_add): Likewise.
18508 (atomic_add_negative): Likewise.
18509 (atomic_add_zero): Likewise.
18510 (atomic_bit_test_set): Likewise.
18512 2012-06-22 Andreas Schwab <schwab@redhat.com>
18515 * include/link.h (struct link_map): Add l_free_initfini.
18516 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18518 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18519 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18520 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18523 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18525 * configure.in: Use AC_LANG_SOURCE.
18526 * configure: Regenerate.
18528 2012-06-22 Roland McGrath <roland@hack.frob.com>
18530 * configure.in (libc_cv_localstatedir): New substituted variable.
18531 * configure: Regenerated.
18532 * config.make.in (localstatedir): New variable, substituted from
18533 libc_cv_localstatedir.
18534 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18535 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18536 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18537 * sysdeps/gnu/configure: Regenerated.
18539 2012-06-21 Jeff Law <law@redhat.com>
18542 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18543 free. Simplify list management for _LIBC case.
18545 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18548 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18549 Clear sign bit of 64-bit integer value before comparing against
18552 * sysdeps/mach/configure: Regenerated.
18554 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18557 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18559 2012-06-21 Jeff Law <law@redhat.com>
18562 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18563 uint16_t for elements in the "seen" array to avoid char overflows.
18564 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18565 * elf/dl-open.c (dl_open_worker): Likewise.
18567 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18569 * scripts/list-sources.sh: Scan PORTS for translations.
18570 * po/libc.pot: Regenerated.
18572 2012-06-21 Andreas Jaeger <aj@suse.de>
18575 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18577 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18578 * bits/byteswap-16.h (__bswap_16): Likewise.
18579 * bits/byteswap.h (__bswap_constant_16): Likewise.
18581 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18584 * sysdeps/i386/fpu_control.h: Removed.
18585 * sysdeps/x86_64/fpu_control.h: Moved to ...
18586 * sysdeps/x86/fpu_control.h: Here.
18588 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18589 (_FPU_SETCW): Likewise.
18591 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18594 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18595 * sysdeps/x86/fpu/bits/mathinline.h: This.
18596 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18600 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18601 functions if __x86_64__ is defined.
18603 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18605 * string/endian.h: Add !__ASSEMBLER__ condition for including
18606 conversion interfaces.
18608 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18612 of ABS(x) in calculating zero to negative powers other than odd
18614 * math/libm-test.inc (pow_test): Add more tests.
18616 2012-06-15 Andreas Jaeger <aj@suse.de>
18618 * manual/contrib.texi (Contributors): Update entry of Liubov
18619 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18622 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18624 * string/string.h: Add __wur to GNU version of strerror_r.
18626 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18629 * string/Makefile (tests): Add tst-strtok_r.
18630 * string/tst-strtok_r.c: New file.
18631 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18632 RAX_LP/RDX_LP on SAVE_PTR.
18634 2012-06-14 Roland McGrath <roland@hack.frob.com>
18636 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18638 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18640 * libm_test.inc (csqrt_test): Allow more spurious underflow
18642 (j0_test): Likewise.
18643 (j1_test): Likewise.
18644 (y0_test): Likewise.
18645 (y1_test): Likewise.
18647 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18649 * po/Makefile (libc.pot): Use UTF-8 charset.
18651 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18654 Suppress sign-conversion warning from FD_SET.
18655 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18656 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18657 not unsigned long int.
18658 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18660 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18664 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18665 __extern_always_inline instead of __extern_inline.
18666 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18667 (__signbit): Likewise.
18668 (__signbitl): Support C++ namespace.
18669 (lrintf): New inline function.
18671 (llrintf): Likewise.
18672 (llrint): Likewise.
18682 (floorf): Likewise.
18683 (nearbyint): Likewise.
18684 (nearbyintf): Likewise.
18686 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18688 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18689 non-default versions.
18691 2012-06-11 Roland McGrath <roland@hack.frob.com>
18694 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18696 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18698 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18699 (FE_UPWARD, FE_DOWNWARD): Don't define.
18700 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18703 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18705 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18706 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18708 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18710 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18712 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18713 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18715 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18718 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18719 * sysdeps/i386/fpu/Implies: New file.
18720 * sysdeps/x86_64/fpu/Implies: Likewise.
18721 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18722 * sysdeps/x86/fpu/bits/fenv.h: This.
18724 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18727 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18730 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18731 character 0xffff that matches the last element of the
18734 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18739 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18742 values higher than 25.6283.
18744 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18747 subnormal exponent extraction and add some __builtin_expect.
18748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18749 Fix for subnormal mantissa calculation.
18751 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18753 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18754 cpu2 is -1 and errno is not ENOSYS.
18756 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18759 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18760 * sysdeps/x86/bits/string.h: This.
18761 * sysdeps/x86_64/bits/string.h: Removed.
18763 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18764 if not compiling for x86-64, but compiling for >= i486.
18766 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18767 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18769 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18770 New macro from Linux kernel 3.4.0.
18771 (FP_XSTATE_MAGIC2): Likewise.
18772 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18773 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18774 (struct _fpx_sw_bytes): New struct.
18775 (struct _xsave_hdr): Likewise.
18776 (struct _ymmh_state): Likewise.
18777 (struct _xstate): Likewise.
18779 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18780 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18781 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18782 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18783 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18784 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18786 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18788 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18789 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18790 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18791 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18793 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18796 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18797 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18798 (sysdep_headers): Include sys/platform/ppc.h.
18799 * sysdeps/powerpc/test-gettimebase.c: Test for
18800 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18801 * manual/Makefile (appendices): Include platform.texi.
18802 * manual/contrib.texi (Contributors): Update @node pointers.
18803 * manual/maint.texi (Maintenance): Likewise.
18804 (Platform): New node.
18805 * manual/platform.texi: New file. Document the new features.
18807 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18808 Jakub Jelinek <jakub@redhat.com>
18811 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18812 where __builtin_expect is unavailable.
18814 2012-06-03 David S. Miller <davem@davemloft.net>
18816 * stdlib/longlong.h: Updated from GCC.
18818 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18821 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18822 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18825 (GLIBC_2.16): Likewise.
18827 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18829 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18831 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18834 (default-abi): New variable.
18835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18836 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18838 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18840 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18842 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18845 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18846 definition. Document in comment.
18848 2012-06-01 David S. Miller <davem@davemloft.net>
18850 * stdlib/longlong.h: Updated from GCC.
18852 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18855 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18856 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18857 sys/debugreg.h sys/io.h here.
18858 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18859 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18861 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18862 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18863 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18864 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18865 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18866 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18868 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18869 Define only if __x86_64__ is defined.
18871 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18874 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18875 Use int64_t for variable i.
18876 * math/libm-test.inc (fmod_test): Add more tests.
18878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18879 z computation is not scheduled after fetestexcept.
18880 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18881 Use math_force_eval instead of asm to ensure calculation scheduled
18882 before exception test.
18883 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18884 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18886 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18889 computation is not scheduled after fetestexcept.
18891 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18894 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18895 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18897 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18899 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18900 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18902 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18905 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18907 (__WCHAR_MIN): Support __WORDSIZE == 64.
18908 (__WCHAR_MAX): Likewise.
18910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18911 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18915 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18918 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18919 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18921 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18922 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18924 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18925 Defined to 1 if __x86_64__ isn't defined.
18926 (_STAT_VER_LINUX_OLD): New.
18927 (st_atime): Remove duplicate.
18928 (st_mtime): Likewise.
18929 (st_ctime): Likewise.
18931 2012-05-31 David S. Miller <davem@davemloft.net>
18933 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18936 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18938 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18942 * elf/dl-reloc.c: Include <_itoa.h>.
18943 (_dl_reloc_bad_type): Remove use of INTUSE.
18944 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18945 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18946 * stdio-common/psiginfo.c (psiginfo): Likewise.
18947 * stdio-common/psignal.c (psignal): Likewise.
18948 * string/strsignal.c (strsignal): Likewise.
18949 * include/signal.h (_sys_siglist): Declare hidden proto.
18950 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18951 INTVARDEF with libc_hidden_data_def.
18952 * stdio-common/itoa-udigits.c: Likewise.
18953 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18954 (_itoa_lower_digits_internal): Remove declaration.
18955 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18956 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18957 (_sys_sigabbrev_internal): Remove aliases.
18958 (_sys_siglist): Define hidden alias.
18960 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18965 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18968 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18969 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18971 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18972 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18973 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18974 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18975 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18976 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18978 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18979 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18980 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18982 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18990 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18992 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18994 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18995 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18997 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18998 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18999 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19001 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19002 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19005 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19011 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19012 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19014 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19016 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19017 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19018 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19020 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19022 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19024 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19026 * math/math.h (M_El): Use two more decimal places.
19027 (M_LOG2El): Likewise.
19028 (M_LOG10El): Likewise.
19029 (M_LN2l): Likewise.
19030 (M_LN10l): Likewise.
19032 (M_PI_2l): Likewise.
19033 (M_PI_4l): Likewise.
19034 (M_1_PIl): Likewise.
19035 (M_2_PIl): Likewise.
19036 (M_2_SQRTPIl): Likewise.
19037 (M_SQRT2l): Likewise.
19038 (M_SQRT1_2l): Likewise.
19040 2012-05-31 David S. Miller <davem@davemloft.net>
19042 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19043 values between float registers.
19044 * sysdeps/sparc/sparc64/memset.S: Likewise.
19045 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19047 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19049 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19050 -D_FORTIFY_SOURCE=1.
19051 (CPPFLAGS-tst-longjmp_chk.c): Define.
19052 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19053 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19054 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19055 CFLAGS-tst-wchar-h.c.
19057 2012-05-31 Marek Polacek <polacek@redhat.com>
19060 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19061 __endmntent_internal): Remove declaration.
19062 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19063 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19064 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19066 2012-05-30 David S. Miller <davem@davemloft.net>
19068 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19069 (___Q_simulate_exceptions): Use real FP ops rather than writing
19071 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19074 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19077 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19078 * sysdeps/x86/bits/xtitypes.h: This.
19080 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19081 * sysdeps/x86/bits/wordsize.h: This.
19083 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19084 * sysdeps/x86/bits/huge_vall.h: This.
19086 * sysdeps/i386/bits/select.h: Removed.
19087 * sysdeps/x86_64/bits/select.h: Renamed to ...
19088 * sysdeps/x86/bits/select.h: This.
19090 * sysdeps/i386/bits/setjmp.h: Removed.
19091 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19092 * sysdeps/x86/bits/setjmp.h: This.
19094 * sysdeps/i386/bits/mathdef.h: Removed.
19095 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19096 * sysdeps/x86/bits/mathdef.h: This.
19098 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19101 * include/sys/socket.h (__connect_internal)
19102 (__libc_sa_len_internal): Remove declaration.
19103 (__connect, __libc_sa_len): Declare hidden_proto.
19104 (SA_LEN): Remove use of INTUSE.
19105 * socket/connect.c: Add libc_hidden_def.
19106 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19107 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19108 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19110 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19111 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19112 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19113 of adding _internal alias.
19115 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19118 * sysdeps/i386/bits/link.h: Removed.
19119 * sysdeps/i386/bits/linkmap.h: Likewise.
19120 * sysdeps/x86_64/bits/link.h: Renamed to ...
19121 * sysdeps/x86/bits/link.h: This.
19122 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19123 * sysdeps/x86/bits/linkmap.h: This.
19125 * sysdeps/i386/bits/endian.h: Removed.
19126 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19127 * sysdeps/x86/bits/endian.h: This.
19129 * sysdeps/i386/bits/byteswap.h: Removed.
19130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19131 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19132 * sysdeps/x86/bits/byteswap.h: This.
19133 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19134 * sysdeps/x86/bits/byteswap-16.h: This.
19135 * sysdeps/i386/Implies: Add x86.
19136 * sysdeps/x86_64/Implies: Likewise.
19138 2012-05-30 David S. Miller <davem@davemloft.net>
19140 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19141 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19143 (FP_TRAPPING_EXCEPTIONS): Define.
19144 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19145 (FP_TRAPPING_EXCEPTIONS): Define.
19146 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19147 subnormals only when inexact has been signalled or underflow
19148 exceptions are enabled.
19149 (_FP_PACK_CANONICAL): Likewise.
19151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19155 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19157 2012-05-30 Richard Henderson <rth@twiddle.net>
19159 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19160 with #ifndef NOT_IN_libc.
19162 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19163 marked to avoid plt entry.
19165 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19168 * Makeconfig (default-abi): New macro.
19169 (abi-includes): Likewise.
19170 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19171 $(abi-$(default-abi)-lib-soname) for soname if defined.
19172 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19174 * Makefile (installed-stubs): Likewise.
19175 * include/stubs-biarch.h: Removed.
19176 * scripts/lib-names.awk: Only handle one library at a time.
19177 * scripts/soversions.awk: Remove WORDSIZE support.
19178 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19180 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19182 (syscall-list-default-condition): Likewise.
19183 (syscall-list-default-condition): Likewise.
19184 (syscall-list-includes): Likewise.
19185 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19186 syscall-list-* with abi-*. Handle undefined abi-variants.
19187 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19188 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19189 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19190 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19191 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19192 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19194 (syscall-list-32-options): Likewise.
19195 (syscall-list-32-condition): Likewise.
19196 (syscall-list-64-options): Likewise.
19197 (syscall-list-64-condition): Likewise.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19200 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19203 (abi-64-ld-soname): New macro.
19204 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19205 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19208 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19209 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19211 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19213 * sysdeps/unix/sysv/linux/kernel-features.h
19214 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19215 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19216 include <kernel-features.h>.
19217 [!__NR_ftruncate64]: Remove conditional code.
19218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19219 [__NR_ftruncate64]: Make code unconditional.
19220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19221 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19222 include <kernel-features.h>.
19223 [!__NR_ftruncate64]: Remove conditional code.
19224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19225 [__NR_ftruncate64]: Make code unconditional.
19226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19228 include <kernel-features.h>.
19229 [!__NR_ftruncate64]: Remove conditional code.
19230 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19231 [__NR_ftruncate64]: Make code unconditional.
19232 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19234 include <kernel-features.h>.
19235 [!__NR_ftruncate64]: Remove conditional code.
19236 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19237 [__NR_ftruncate64]: Make code unconditional.
19238 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19240 * configure.in (libc_cv_fpie): Weaken to a compile test using
19241 LIBC_TRY_CC_OPTION.
19242 * configure: Regenerated.
19244 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19259 2012-05-27 David S. Miller <davem@davemloft.net>
19261 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19263 (__Q_simulate_exceptions): Return void. Change to simulate
19264 exceptions by writing into the %fsr.
19265 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19266 (__Qp_handle_exceptions): Likewise.
19268 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19269 __Qp_handle_exceptions.
19270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19271 __Qp_handle_exceptions.
19272 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19273 as unused and give dummy FP_RND_NEAREST initializer.
19274 (FP_INHIBIT_RESULTS): Define.
19275 (___Q_simulate_exceptions): Update declaration.
19276 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19278 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19279 as unused and give dummy FP_RND_NEAREST initializer.
19280 (__Qp_handle_exceptions): Update declaration.
19281 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19284 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19286 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19287 the temporary FPU control word.
19288 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19289 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19290 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19291 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19292 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19293 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19294 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19295 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19296 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19297 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19298 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19300 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19302 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19305 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19307 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19308 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19309 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19310 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19312 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19313 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19316 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19318 * po/h.po: Update from translation team.
19320 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19322 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19324 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19325 handling of denormals.
19326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19327 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19328 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19335 2012-05-26 Marek Polacek <polacek@redhat.com>
19338 * math/libm-test.inc (fma_test): Don't always expect underflow
19341 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19344 * elf/tst-execstack.c: Include stackinfo.h.
19345 (do_test): Adjust test case to ensure that pthread_getattr_np
19346 behaviour remains the same after marking stack executable.
19348 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19350 * sysdeps/unix/sysv/linux/kernel-features.h
19351 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19352 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19354 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19355 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19358 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19359 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19361 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19363 * configure.in: Define the default includes to being none.
19364 * configure: Regenerated.
19366 2012-05-25 Roland McGrath <roland@hack.frob.com>
19368 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19369 * sysdeps/x86_64/setjmp.S: Likewise.
19370 * sysdeps/i386/bsd-setjmp.S: Likewise.
19371 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19372 * sysdeps/i386/setjmp.S: Likewise.
19373 * sysdeps/i386/__longjmp.S: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19375 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19377 * include/stap-probe.h: New file.
19378 * configure.in: Handle --enable-systemtap.
19379 * configure: Regenerated.
19380 * config.h.in (USE_STAP_PROBE): New #undef.
19381 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19382 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19383 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19385 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19389 to 2.4.0 where earlier.
19390 * sysdeps/unix/sysv/linux/configure: Regenerated.
19391 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19392 <kernel-features.h>.
19393 [__ASSUME_32BITUIDS]: Make code unconditional.
19394 [!__ASSUME_32BITUIDS]: Remove conditional code.
19395 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19396 <kernel-features.h>.
19397 [__ASSUME_32BITUIDS]: Make code unconditional.
19398 [!__ASSUME_32BITUIDS]: Remove conditional code.
19399 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19400 [__ASSUME_32BITUIDS]: Make code unconditional.
19401 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19402 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19403 <kernel-features.h>.
19404 [__ASSUME_32BITUIDS]: Make code unconditional.
19405 [!__ASSUME_32BITUIDS]: Remove conditional code.
19406 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19407 <kernel-features.h>.
19408 [__ASSUME_32BITUIDS]: Make code unconditional.
19409 [!__ASSUME_32BITUIDS]: Remove conditional code.
19410 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19411 <kernel-features.h>.
19412 [__ASSUME_32BITUIDS]: Make code unconditional.
19413 [!__ASSUME_32BITUIDS]: Remove conditional code.
19414 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19415 <kernel-features.h>.
19416 [__ASSUME_32BITUIDS]: Make code unconditional.
19417 [!__ASSUME_32BITUIDS]: Remove conditional code.
19418 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19419 <kernel-features.h>.
19420 [__ASSUME_32BITUIDS]: Make code unconditional.
19421 [!__ASSUME_32BITUIDS]: Remove conditional code.
19422 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19423 <kernel-features.h>.
19424 [__ASSUME_32BITUIDS]: Make code unconditional.
19425 [!__ASSUME_32BITUIDS]: Remove conditional code.
19426 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19427 <kernel-features.h>.
19428 [__ASSUME_32BITUIDS]: Make code unconditional.
19429 [!__ASSUME_32BITUIDS]: Remove conditional code.
19430 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19431 <kernel-features.h>.
19432 [__ASSUME_32BITUIDS]: Make code unconditional.
19433 [!__ASSUME_32BITUIDS]: Remove conditional code.
19434 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19435 <kernel-features.h>.
19436 [__ASSUME_32BITUIDS]: Make code unconditional.
19437 [!__ASSUME_32BITUIDS]: Remove conditional code.
19438 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19439 <kernel-features.h>.
19440 [__ASSUME_32BITUIDS]: Make code unconditional.
19441 [!__ASSUME_32BITUIDS]: Remove conditional code.
19442 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19443 <kernel-features.h>.
19444 [__NR_setresgid] (__setresgid): Do not declare.
19445 [__ASSUME_32BITUIDS]: Make code unconditional.
19446 [!__ASSUME_32BITUIDS]: Remove conditional code.
19447 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19448 <kernel-features.h>.
19449 [__NR_setresuid] (__setresuid): Do not declare.
19450 [__ASSUME_32BITUIDS]: Make code unconditional.
19451 [!__ASSUME_32BITUIDS]: Remove conditional code.
19452 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19453 <kernel-features.h>.
19454 [__ASSUME_32BITUIDS]: Make code unconditional.
19455 [!__ASSUME_32BITUIDS]: Remove conditional code.
19456 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19457 <kernel-features.h>.
19458 [__ASSUME_32BITUIDS]: Make code unconditional.
19459 [!__ASSUME_32BITUIDS]: Remove conditional code.
19460 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19461 <kernel-features.h>.
19462 [__ASSUME_32BITUIDS]: Make code unconditional.
19463 [!__ASSUME_32BITUIDS]: Remove conditional code.
19464 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19465 <kernel-features.h>.
19466 [__ASSUME_32BITUIDS]: Make code unconditional.
19467 [!__ASSUME_32BITUIDS]: Remove conditional code.
19468 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19469 <kernel-features.h>.
19470 [__ASSUME_32BITUIDS]: Make code unconditional.
19471 [!__ASSUME_32BITUIDS]: Remove conditional code.
19472 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19473 <kernel-features.h>.
19474 [__ASSUME_32BITUIDS]: Make code unconditional.
19475 [!__ASSUME_32BITUIDS]: Remove conditional code.
19476 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19477 <kernel-features.h>.
19478 [__ASSUME_32BITUIDS]: Make code unconditional.
19479 [!__ASSUME_32BITUIDS]: Remove conditional code.
19480 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19481 <kernel-features.h>.
19482 [__ASSUME_32BITUIDS]: Make code unconditional.
19483 [!__ASSUME_32BITUIDS]: Remove conditional code.
19484 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19485 <kernel-features.h>.
19486 [__ASSUME_32BITUIDS]: Make code unconditional.
19487 [!__ASSUME_32BITUIDS]: Remove conditional code.
19488 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19489 <kernel-features.h>.
19490 [__ASSUME_32BITUIDS]: Make code unconditional.
19491 [!__ASSUME_32BITUIDS]: Remove conditional code.
19492 * sysdeps/unix/sysv/linux/kernel-features.h
19493 (__ASSUME_SETRESUID_SYSCALL): Remove.
19494 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19495 (__ASSUME_32BITUIDS): Likewise.
19496 (__ASSUME_LDT_WORKS): Likewise.
19497 (__ASSUME_O_DIRECTORY): Likewise.
19498 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19499 architecture but not kernel version.
19500 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19501 (__ASSUME_MMAP2_SYSCALL): Likewise.
19502 (__ASSUME_STAT64_SYSCALL): Likewise.
19503 (__ASSUME_IPC64): Likewise.
19504 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19505 <kernel-features.h>.
19506 [__ASSUME_32BITUIDS]: Make code unconditional.
19507 [!__ASSUME_32BITUIDS]: Remove conditional code.
19508 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19509 <kernel-features.h>.
19510 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19511 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19512 132096]: Remove conditional code.
19513 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19515 <kernel-features.h>.
19516 [__ASSUME_32BITUIDS]: Make code unconditional.
19517 [!__ASSUME_32BITUIDS]: Remove conditional code.
19518 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19519 <kernel-features.h>.
19520 [__ASSUME_32BITUIDS]: Make code unconditional.
19521 [!__ASSUME_32BITUIDS]: Remove conditional code.
19522 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19523 <kernel-features.h>.
19524 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19526 (__setresgid): Do not declare.
19527 [__ASSUME_32BITUIDS]: Make code unconditional.
19528 [!__ASSUME_32BITUIDS]: Remove conditional code.
19529 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19530 <kernel-features.h>.
19531 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19533 (__setresuid): Do not declare.
19534 [__ASSUME_32BITUIDS]: Make code unconditional.
19535 [!__ASSUME_32BITUIDS]: Remove conditional code.
19536 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19537 <kernel-features.h>.
19538 [__ASSUME_32BITUIDS]: Make code unconditional.
19539 [!__ASSUME_32BITUIDS]: Remove conditional code.
19540 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19541 <kernel-features.h>.
19542 [__ASSUME_32BITUIDS]: Make code unconditional.
19543 [!__ASSUME_32BITUIDS]: Remove conditional code.
19545 2012-05-25 Richard Henderson <rth@twiddle.net>
19547 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19548 dl_hwcap to ifunc resolver.
19549 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19551 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19552 dl_hwcap to ifunc resolver.
19553 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19555 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19558 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19559 for |x| <= 2**-26, not 2**-57.
19560 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19563 2012-05-24 Jeff Law <law@redhat.com>
19565 * stdio-common/Makefile (tests): Add bug25.
19566 * stdio-common/bug25.c: New test.
19568 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19571 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19572 multiple of MALLOC_ALIGNMENT in size.
19573 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19575 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19577 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19579 (FILENAME_MAX): Use macro-int-constant.
19580 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19581 (_IOFBF): Use macro-int-constant.
19582 (_IOLBF): Likewise.
19583 (_IONBF): Likewise.
19584 (SEEK_CUR): Likewise.
19585 (SEEK_END): Likewise.
19586 (SEEK_SET): Likewise.
19587 (TMP_MAX): Likewise.
19588 (EOF): Use macro-int-constant. Require < 0.
19589 (NULL): Use macro-constant. Require == 0.
19590 (stdin): Require type to be FILE *.
19591 (stdout): Likewise.
19592 (stderr): Likewise.
19593 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19594 macro-int-constant.
19595 (EXIT_SUCCESS): Likewise.
19596 (NULL): Use macro-constant. Require == 0.
19597 (RAND_MAX): Use macro-int-constant.
19598 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19599 [C99-based standards] (strtof): Require function.
19600 [C99-based standards] (strtold): Likewise.
19601 [C99-based standards] (strtoll): Likewise.
19602 [C99-based standards] (strtoull): Likewise.
19603 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19604 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19605 [ISO || ISO99 || ISO11] (math.h): Likewise.
19606 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19607 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19610 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19613 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19614 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19615 * intl/dgettext.c (DCGETTEXT): Likewise.
19616 * intl/gettext.c (DCGETTEXT): Likewise.
19617 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19618 * posix/regex_internal.h (gettext): Likewise.
19619 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19620 Remove declaration.
19621 * include/argz.h (__argz_count_internal)
19622 (__argz_stringify_internal): Remove declaration.
19623 (__argz_count, __argz_stringify): Declare hidden proto.
19624 * intl/dcgettext.c: Remove use of INTDEF.
19625 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19626 * string/argz-stringify.c: Likewise.
19627 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19628 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19629 Declare hidden proto.
19630 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19631 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19632 Declare hidden proto.
19633 * include/stdio.h (__asprintf_internal): Don't declare.
19634 (__asprintf): Don't define as macro. Declare hidden proto.
19635 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19636 (__fsetlocking): Declare hidden proto.
19637 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19638 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19640 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19641 (_IO_setlinebuf): Remove use of INTUSE.
19642 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19643 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19644 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19645 Remove declaration.
19646 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19647 (_IO_do_flush): Remove use of INTUSE.
19648 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19649 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19650 (_IO_adjust_column, _IO_least_wmarker)
19651 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19652 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19653 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19654 (_IO_default_doallocate, _IO_wdefault_doallocate)
19655 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19656 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19657 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19658 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19659 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19660 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19661 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19662 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19663 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19664 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19665 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19666 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19667 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19669 (_IO_flush_all_internal, _IO_adjust_column_internal)
19670 (_IO_default_uflow_internal, _IO_default_finish_internal)
19671 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19672 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19673 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19674 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19675 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19676 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19677 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19678 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19679 (_IO_file_close_internal, _IO_file_close_it_internal)
19680 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19681 (_IO_file_init_internal, _IO_file_attach_internal)
19682 (_IO_file_fopen_internal, _IO_file_read_internal)
19683 (_IO_file_sync_internal, _IO_file_seek_internal)
19684 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19685 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19686 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19687 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19688 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19689 (_IO_list_all_internal, _IO_link_in_internal)
19690 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19691 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19692 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19693 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19694 (_IO_do_write_internal, _IO_padn_internal)
19695 (_IO_getline_info_internal, _IO_getline_internal)
19696 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19697 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19698 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19699 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19700 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19701 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19702 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19703 with libc_hidden_ver, remove use of INTUSE.
19704 * libio/genops.c: Likewise.
19705 * libio/freopen.c: Likewise.
19706 * libio/freopen64.c: Likewise.
19707 * libio/iofclose.c: Likewise.
19708 * libio/iofdopen.c: Likewise.
19709 * libio/iofflush.c: Likewise.
19710 * libio/iofflush_u.c: Likewise.
19711 * libio/iofgets.c: Likewise.
19712 * libio/iofgets_u.c: Likewise.
19713 * libio/iofopen.c: Likewise.
19714 * libio/iofopncook.c: Likewise.
19715 * libio/iofread.c: Likewise.
19716 * libio/iofread_u.c: Likewise.
19717 * libio/ioftell.c: Likewise.
19718 * libio/iofwrite.c: Likewise.
19719 * libio/iogetline.c: Likewise.
19720 * libio/iogets.c: Likewise.
19721 * libio/iogetwline.c: Likewise.
19722 * libio/iopadn.c: Likewise.
19723 * libio/iopopen.c: Likewise.
19724 * libio/ioseekoff.c: Likewise.
19725 * libio/ioseekpos.c: Likewise.
19726 * libio/iosetbuffer.c: Likewise.
19727 * libio/iosetvbuf.c: Likewise.
19728 * libio/ioungetc.c: Likewise.
19729 * libio/ioungetwc.c: Likewise.
19730 * libio/iovdprintf.c: Likewise.
19731 * libio/iovsprintf.c: Likewise.
19732 * libio/iovsscanf.c: Likewise.
19733 * libio/memstream.c: Likewise.
19734 * libio/obprintf.c: Likewise.
19735 * libio/oldfileops.c: Likewise.
19736 * libio/oldiofclose.c: Likewise.
19737 * libio/oldiofdopen.c: Likewise.
19738 * libio/oldiofopen.c: Likewise.
19739 * libio/oldiopopen.c: Likewise.
19740 * libio/oldstdfiles.c: Likewise.
19741 * libio/putc.c: Likewise.
19742 * libio/setbuf.c: Likewise.
19743 * libio/setlinebuf.c: Likewise.
19744 * libio/stdfiles.c: Likewise.
19745 * libio/strops.c: Likewise.
19746 * libio/vasprintf.c: Likewise.
19747 * libio/vscanf.c: Likewise.
19748 * libio/vsnprintf.c: Likewise.
19749 * libio/vswprintf.c: Likewise.
19750 * libio/wfiledoalloc.c: Likewise.
19751 * libio/wfileops.c: Likewise.
19752 * libio/wgenops.c: Likewise.
19753 * libio/wmemstream.c: Likewise.
19754 * libio/wstrops.c: Likewise.
19755 * libio/__fpurge.c: Likewise.
19756 * libio/__fsetlocking.c: Likewise.
19757 * assert/assert.c: Likewise.
19758 * debug/fgets_chk.c: Likewise.
19759 * debug/fgets_u_chk.c: Likewise.
19760 * debug/fread_chk.c: Likewise.
19761 * debug/fread_u_chk.c: Likewise.
19762 * debug/gets_chk.c: Likewise.
19763 * debug/obprintf_chk.c: Likewise.
19764 * debug/vasprintf_chk.c: Likewise.
19765 * debug/vdprintf_chk.c: Likewise.
19766 * debug/vsnprintf_chk.c: Likewise.
19767 * debug/vsprintf_chk.c: Likewise.
19768 * malloc/mtrace.c: Likewise.
19769 * misc/error.c: Likewise.
19770 * misc/syslog.c: Likewise.
19771 * stdio-common/asprintf.c: Likewise.
19772 * stdio-common/fxprintf.c: Likewise.
19773 * stdio-common/getw.c: Likewise.
19774 * stdio-common/isoc99_fscanf.c: Likewise.
19775 * stdio-common/isoc99_scanf.c: Likewise.
19776 * stdio-common/isoc99_vfscanf.c: Likewise.
19777 * stdio-common/isoc99_vscanf.c: Likewise.
19778 * stdio-common/isoc99_vsscanf.c: Likewise.
19779 * stdio-common/printf-prs.c: Likewise.
19780 * stdio-common/printf_fp.c: Likewise.
19781 * stdio-common/printf_fphex.c: Likewise.
19782 * stdio-common/printf_size.c: Likewise.
19783 * stdio-common/putw.c: Likewise.
19784 * stdio-common/scanf.c: Likewise.
19785 * stdio-common/sprintf.c: Likewise.
19786 * stdio-common/tmpfile.c: Likewise.
19787 * stdio-common/vfprintf.c: Likewise.
19788 * stdio-common/vfscanf.c: Likewise.
19789 * stdlib/strfmon_l.c: Likewise.
19790 * sunrpc/openchild.c: Likewise.
19791 * sunrpc/xdr_stdio.c: Likewise.
19792 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19793 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19795 2012-05-24 Roland McGrath <roland@hack.frob.com>
19797 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19799 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19800 in the third column, to generate for the shared library an IFUNC
19801 that uses _dl_vdso_vsym.
19802 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19803 * Makeconfig (object-suffixes-noshared): New variable.
19805 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19806 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19807 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19808 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19811 * include/sys/time.h (__gettimeofday): Remove macro.
19812 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19813 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19815 (__gettimeofday): Add libc_hidden_def.
19816 (gettimeofday): Add libc_hidden_weak.
19817 * sysdeps/mach/gettimeofday.c: Likewise.
19818 * sysdeps/posix/gettimeofday.c: Likewise.
19819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19820 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19822 (__gettimeofday_internal): Remove strong_alias.
19823 (__gettimeofday): Add libc_hidden_def.
19824 (gettimeofday): Add libc_hidden_weak.
19825 * sysdeps/unix/syscalls.list (gettimeofday):
19826 Remove __gettimeofday_internal alias.
19828 2012-05-24 Daniel Jacobowitz <drow@false.org>
19829 H.J. Lu <hongjiu.lu@intel.com>
19832 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19833 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19834 (largebin_index_32_big): New.
19835 (largebin_index): Use it for 16-byte alignment.
19836 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19837 correction with front_misalign.
19839 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19867 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19868 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19870 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19874 * math/libm-test.inc (exp_test): Add test from bug 14036.
19875 (pow_test): Add test from bug 10846.
19877 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19879 (special_function): Do not include flags in test name.
19880 (parse_args): Likewise.
19881 * sysdeps/i386/fpu/libm-test-ulps: Update.
19882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19883 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19884 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19887 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19889 * math/libm-test.inc ("Philosophy"): Update comment about
19891 (UNDERFLOW_EXCEPTION): New macro.
19892 (UNDERFLOW_EXCEPTION_OK): Likewise.
19893 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19894 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19895 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19896 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19897 (INVALID_EXCEPTION_OK): Update value.
19898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19899 (OVERFLOW_EXCEPTION_OK): Likewise.
19900 (IGNORE_ZERO_INF_SIGN): Likewise.
19901 (test_exceptions): Handle underflow exceptions.
19902 (acos_test): Update for underflow exception expectations.
19903 (cexp_test): Likewise.
19904 (clog_test): Likewise.
19905 (clog10_test): Likewise.
19906 (csqrt_test): Likewise.
19907 (ctan_test): Likewise.
19908 (ctanh_test): Likewise.
19909 (exp_test): Likewise.
19910 (exp10_test): Likewise.
19911 (exp2_test): Likewise.
19912 (expm1_test): Likewise.
19913 (fma_test): Likewise.
19914 (j0_test): Likewise.
19915 (jn_test): Likewise.
19916 (nexttoward_test): Likewise.
19917 (pow_test): Likewise.
19918 (scalbn_test): Likewise.
19919 (scalbln_test): Likewise.
19920 (tan_test): Likewise.
19921 (y1_test): Likewise.
19922 * sysdeps/i386/fpu/libm-test-ulps: Update.
19923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19925 2012-05-23 David S. Miller <davem@davemloft.net>
19927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19928 (__libc_sigaction): Remove unused local variables.
19930 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19932 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19934 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19936 mktime: avoid signed integer overflow
19937 * time/mktime.c (__mktime_internal): Do not mishandle the case
19938 where diff == INT_MIN.
19940 mktime: simplify computation of average
19941 * time/mktime.c (ranged_convert): Use new time_t_avg function
19942 instead of rolling our own (probably-slower) code.
19944 mktime: do not assume signed right shift propagates sign bit
19945 * time/mktime.c (isdst_differ): New static function.
19946 (__mktime_internal): No need to normalize tm_isdst now.
19947 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19950 mktime: merge another wrapv change from gnulib
19951 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19952 from some compilers.
19954 mktime: remove incorrect attempt at unusual arithmetics
19955 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19956 The code didn't really work on such machines anyway.
19957 (TYPE_MINIMUM): Assume two's complement.
19958 (twos_complement_arithmetic): Verify that long_int and time_t
19959 are two's complement (or unsigned, in the latter case).
19961 mktime: check signed shifts on long_int and time_t, too
19962 * time/mktime.c (SHR): Check that shifts work as desired
19963 on the types long_int and time_t too, as SHR is used on
19966 mktime: do not assume 'long' is wide enough
19967 * time/mktime.c (verify): Move decl up.
19968 (long_int): New type.
19969 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19970 to remove assumption in the code that 'long' is wide enough to
19971 store year values. This assumption is not true on x32 and on
19972 some non-glibc platforms.
19974 mktime: merge wrapv change from gnulib
19975 * time/mktime.c (WRAPV): New macro.
19976 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19977 (guess_time_tm, __mktime_internal): Do not assume that signed
19978 integer overflow wraps around; modern compilers generate code
19979 where this assumption is no longer valid.
19981 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19983 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19984 Replace "jmp L(pseudo_end)" with "ret".
19985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19988 2012-05-23 Andreas Jaeger <aj@suse.de>
19990 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19991 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19993 2012-05-23 Andreas Jaeger <aj@suse.de>
19994 Maximilian Attems <max@stro.at>
19996 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19999 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20001 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20002 code so that pseudo_end is just ret and the stack pointer is
20003 correct also for static library in error case.
20005 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20007 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20008 move to syscalls.list.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20014 * manual/install.texi (Running make install): Do not mention Linux
20015 kernel version for which pt_chown is not needed.
20016 (Linux): Do not mention problems with nscd with 2.0 kernels.
20017 * INSTALL: Regenerated.
20019 2012-05-23 Andreas Jaeger <aj@suse.de>
20021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20022 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20024 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20026 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20028 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20034 * sysdeps/unix/sysv/linux/bits/in.h
20035 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20037 2012-05-22 Roland McGrath <roland@hack.frob.com>
20039 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20040 (PREPARE_VERSION): Just use assert instead, it will be elided
20041 under [NDEBUG] anyway.
20043 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/unix/sysv/linux/Makefile: Include
20046 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20047 (sysdep_routines): Remove sysctl.
20048 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20049 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20050 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20051 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20052 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20054 2012-05-22 Andreas Jaeger <aj@suse.de>
20056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20057 that pseudo_end is just ret and the stack pointer is correct also
20058 for static library in error case.
20060 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20063 * nss/nsswitch.c (defconfig_entries): New variable.
20064 (__nss_database_lookup): Don't leak defconfig entries.
20065 (nss_parse_service_list): Don't leak on error paths.
20066 (free_database_entries): New function.
20067 (free_defconfig): New function.
20068 (free_mem): Move common code to free_database_entries.
20070 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20072 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20074 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20076 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20077 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20080 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20081 (INTERNAL_SYSCALL_TYPES): Likewise.
20082 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20083 (LOAD_REGS_TYPES_[1-6]): Likewise.
20084 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20085 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20087 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20090 copysignl for GLIBC_2_0.
20091 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20092 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20094 logbl for GLIBC_2_0.
20095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20096 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20098 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20101 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20103 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20106 * time/mktime.c: Update copyright years.
20108 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20110 mktime: merge comment-quoting-style change from gnulib
20111 * time/mktime.c: Quote 'like this' in comments.
20112 The GNU coding standards suggest that we no longer quote `like this',
20113 as "`" and "'" are typically rendered asymmetrically nowadays.
20114 The typical gnulib style is to quote 'like this' when quoting
20115 code, and "like this" when quoting English.
20117 * time/mktime.c (compile-command): Add "-I.".
20119 mktime: merge mktime-internal.h change from gnulib
20120 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20122 mktime: merge time_r change from gnulib
20123 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20125 mktime: merge DEBUG change from gnulib
20126 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20127 case system <time.h> has a #define.
20129 mktime: merge <sys/types.h> change from gnulib
20130 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20131 since <time.t> is now guaranteed to define time_t.
20133 mktime: merge HAVE_CONFIG_H change from gnulib
20134 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20136 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20141 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20143 (struct rusage): Use anonymous union to pad each field to
20146 2012-05-21 David S. Miller <davem@davemloft.net>
20148 * Makefules (o-iterator): Remove .s cases.
20149 (compile-command.s): Delete.
20150 (COMPILE.s): Delete.
20151 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20153 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20155 * configure.in (libc_cv_predef_stack_protector): Only consider
20156 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20157 * configure: Regenerated.
20159 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20162 New macro. Use R*LP on int and pointer.
20163 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20164 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20165 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20166 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20168 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20169 [__WORDSIZE_TIME64_COMPAT32] instead of
20170 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20171 (struct utmp): Likewise.
20172 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20173 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20175 (__WORDSIZE_TIME64_COMPAT32): This.
20176 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20177 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20178 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20179 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20180 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20181 (__WORDSIZE_TIME64_COMPAT32): New macro.
20183 2012-05-21 Andreas Jaeger <aj@suse.de>
20185 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20186 only if [SHARED]. Add prototype for __wcschr_ia32.
20188 2012-05-21 Roland McGrath <roland@hack.frob.com>
20190 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20191 of %rbp unmolested in the jmp_buf while mangling the low bits.
20192 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20193 unmolested high bits of %rbp while demangling the low bits.
20194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20196 2012-05-21 Andreas Jaeger <aj@suse.de>
20198 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20199 * sunrpc/svc_simple.c: Use it for registerrpc.
20200 * sunrpc/xcrypt.c: Use it for passwd2des.
20202 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20204 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20206 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20207 Don't define if [__SYSCALL_WORDSIZE != 32].
20208 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20211 2012-05-21 Bruno Haible <bruno@clisp.org>
20212 Andreas Jaeger <aj@suse.de>
20214 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20215 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20216 inptr and inend for must_buffer_ch.
20217 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20218 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20219 * stdio-common/Makefile (tests): Remove bug15.
20220 (bug15-ENV): Remove macro.
20221 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20224 2012-05-19 Andreas Jaeger <aj@suse.de>
20225 Roland McGrath <roland@hack.frob.com>
20227 * manual/contrib.texi: Completely rewritten. It contains now an
20228 alphabetical list of contributors and their contributions.
20230 2012-05-21 Richard Henderson <rth@twiddle.net>
20232 * misc/getauxval.c (__getauxval): Use unsigned long int.
20233 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20234 (getauxval): Use unsigned long int.
20236 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20238 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20240 2012-05-21 Roland McGrath <roland@hack.frob.com>
20242 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20243 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20244 __alignof__ (long double).
20246 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20250 2012-05-20 Richard Henderson <rth@twiddle.net>
20252 * misc/getauxval.c: New file.
20253 * misc/sys/auxv.h: New file.
20254 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20255 (routines): Add getauxval.
20256 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20257 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20258 * elf/dl-sysdep.c (_dl_auxv): Remove.
20259 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20260 * elf/dl-support.c (_dl_auxv): New variable.
20261 (_dl_aux_init): Initialize it.
20262 * manual/startup.texi (Auxiliary Vector): New node.
20263 * sysdeps/generic/bits/hwcap.h: New file.
20264 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20265 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20266 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20267 * sysdeps/sparc/sysdep.h: ... here. Include it.
20268 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20269 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20281 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20285 2012-05-19 David S. Miller <davem@davemloft.net>
20287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20289 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20292 * math/s_ccosh.c: Include <float.h>
20293 (__ccosh): Avoid internal overflow calculating sinh and cosh
20294 values before multiplying by sin and cos values.
20295 * math/s_ccoshf.c: Likewise.
20296 * math/s_ccoshl.c: Likewise.
20297 * math/s_csin.c: Likewise.
20298 * math/s_csinf.c: Likewise.
20299 * math/s_csinl.c: Likewise.
20300 * math/s_csinh.c: Likewise.
20301 * math/s_csinhf.c: Likewise.
20302 * math/s_csinhl.c: Likewise.
20303 * math/libm-test.inc (ccos_test): Add more tests.
20304 (ccosh_test): Likewise.
20305 (csin_test): Likewise.
20306 (csinh_test): Likewise.
20307 * sysdeps/i386/fpu/libm-test-ulps: Update.
20308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20310 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20312 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20313 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20315 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20317 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20319 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20320 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20321 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20322 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20323 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20324 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20325 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20326 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20327 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20328 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20329 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20330 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20331 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20332 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20333 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20334 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20335 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20336 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20337 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20338 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20339 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20340 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20341 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20342 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20343 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20344 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20345 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20346 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20347 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20348 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20349 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20351 2012-05-18 Andreas Jaeger <aj@suse.de>
20353 * csu/.gitignore: Delete.
20355 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20357 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20358 (timex): Use __syscall_slong_t.
20360 2012-05-18 Andreas Jaeger <aj@suse.de>
20361 Carlos O'Donell <carlos_odonell@mentor.com>
20363 * manual/install.texi (Configuring and compiling): Update
20364 description about files modified in the source directory.
20365 * INSTALL: Regenerated.
20367 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20369 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20370 value. Use "or" to set return value to -1.
20371 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20372 negate return value.
20374 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20376 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20377 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20378 failure if the compiler has Graphite support disabled.
20379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20381 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20382 CFLAGS-memmove.c): Likewise.
20383 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20386 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20388 * sysdeps/x86_64/x32/_itoa.h: New file.
20390 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20391 getdents system call only if kernel and user dirents have the
20392 same d_ino and d_off.
20394 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20395 LLONG_MAX != LONG_MAX.
20396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20397 (_fitoa_word): Likewise.
20399 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20403 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20405 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20406 include <bits/wordsize.h>. Check __x86_64__ instead of
20408 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20409 if __x86_64__ is defined. Use anonymous union on fpstate.
20411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20414 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20416 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20417 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20418 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20419 Refer to _rtld_local_ro instead of _rtld_global_ro.
20420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20422 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20424 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20426 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20427 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20428 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20430 * sysdeps/powerpc/powerpc32/dl-machine.c
20431 (__elf_machine_runtime_setup) [PROF]: Don't reference
20434 2012-05-18 Andreas Jaeger <aj@suse.de>
20436 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20437 function only available for GCCs before 3.4 since GCC 3.4
20438 introduced a builtin.
20440 (llrintf): Likewise.
20441 (llrint): Likewise.
20448 (nearbyint): Likewise.
20449 (nearbyintf): Likewise.
20453 (floorf): Likewise.
20455 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20457 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20458 on both fields and cast pointer to __syscall_ulong_t.
20460 * bits/types.h (__fsword_t): New type.
20461 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20462 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20464 (__FSWORD_T_TYPE): Likewise.
20465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20466 (__FSWORD_T_TYPE): Likewise.
20467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20468 (__FSWORD_T_TYPE): Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20470 (__FSWORD_T_TYPE): Likewise.
20471 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20472 __SWORD_TYPE with __fsword_t.
20473 (statfs64): Likewise.
20475 2012-05-17 David S. Miller <davem@davemloft.net>
20477 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20479 2012-05-17 Andreas Jaeger <aj@suse.de>
20481 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20484 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20486 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20488 2012-05-17 Andreas Jaeger <aj@suse.de>
20490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20493 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20495 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20497 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20499 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20500 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20502 2012-05-17 Andreas Jaeger <aj@suse.de>
20503 Carlos O'Donell <carlos_odonell@mentor.com>
20506 * sysdeps/x86_64/multiarch/init-arch.h
20507 (bit_YMM_Usable): Rename to...
20508 (bit_AVX_Usable): ... this.
20509 (bit_FMA4_Usable): New macro.
20510 (bit_XMM_state): New macro.
20511 (bit_YMM_state): New macro.
20512 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20513 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20514 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20515 (CPUID_OSXSAVE): New macro.
20516 (CPUID_AVX): New macro.
20517 (CPUID_FMA4): New macro.
20518 (index_YMM_Usable): Rename to...
20519 (index_AVX_Usable): ... this.
20520 (HAS_AVX): Use HAS_ARCH_FEATURE.
20521 (HAS_FMA4): Likewise.
20522 (HAS_YMM_USABLE): Remove.
20523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20524 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20526 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20527 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20528 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20529 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20530 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20532 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20534 * math/libm-test.c: Support platforms without multiple rounding modes.
20535 * math/bug-nextafter.c: Support platforms without FP exceptions.
20536 * math/bug-nexttoward.c: Likewise.
20537 * math/test-fenv.c: Likewise.
20538 * math/test-misc.c: Likewise.
20539 * stdlib/bug-getcontext.c: Likewise.
20541 2012-05-17 Andreas Jaeger <aj@suse.de>
20543 * manual/examples/search.c (critter_cmp): Change signature to
20545 * manual/string.texi (Collation Functions): Likewise.
20547 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20549 * bits/types.h: Fold copyright years.
20550 * bits/typesizes.h: Likewise.
20551 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20555 * time/time.h: Likewise.
20557 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20560 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20561 in instead of returning them. Return void.
20562 (__libc_mallinfo): Accumulate over all arenas.
20563 (__malloc_stats): Adjust for change in int_mallinfo interface.
20565 2012-05-16 Roland McGrath <roland@hack.frob.com>
20568 * configure.in (NM): Add AC_CHECK_TOOL for it.
20569 (libc_extra_cflags): New substituted variable.
20570 Check for -fstack-protector being used implicitly.
20571 * configure: Regenerated.
20572 * config.make.in (config-extra-cflags): New variable,
20573 gets @libc_extra_cflags@.
20574 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20577 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20578 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20579 * configure: Regenerated.
20580 * config.make.in (CPPUNDEFS): New substituted variable.
20581 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20582 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20583 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20585 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20587 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20588 (mq_attr): Use __syscall_slong_t.
20590 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20592 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20593 Check __x86_64__ instead of __WORDSIZE.
20594 (_STAT_VER_LINUX): Likewise.
20595 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20596 __syscall_ulong_t and __syscall_slong_t.
20597 (stat64): Likewise.
20599 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20603 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20605 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20609 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20612 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20613 include <bits/wordsize.h>. Check __x86_64__ instead of
20615 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20617 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20620 include <bits/wordsize.h>. Check __x86_64__ instead of
20622 (user_regs_struct): Use "__extension__ unsigned long long"
20623 instead of "unsigned long" if __x86_64__ is defined.
20624 (user): Likewise. Pad after pointer field if __ILP32__ is
20627 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20629 * configure.in (makeinfo): Require version 4.5 or later. Allow
20631 * configure: Regenerated.
20632 * manual/install.texi (texinfo): Increase version requirement to
20634 * INSTALL: Regenerated.
20636 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20638 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20640 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20642 * sysdeps/x86_64/x32/ffs.c: New file.
20644 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20646 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20647 defined. Use __syscall_ulong_t.
20648 (shminfo): Use __syscall_ulong_t.
20649 (shm_info): Likewise.
20651 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20656 (msgqnum_t): Use __syscall_ulong_t.
20657 (msglen_t): Likewise.
20658 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20661 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20662 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20664 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20666 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20667 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20669 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20673 include <bits/wordsize.h>. Check __x86_64__ instead of
20676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20677 "unsigned long long int" if __x86_64__ is defined.
20678 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20680 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20681 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20682 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20684 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20686 (GET_PC): Cast to uintptr_t first.
20687 (GET_FRAME): Likewise.
20688 (GET_STACK): Likewise.
20690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20696 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20697 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20698 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20701 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20703 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20705 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20707 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20711 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20712 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20713 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20720 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20722 * Makerules (+depfiles): Also collect depfiles from .oS in
20724 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20725 .oS, $(libnldbl-routines)).
20727 * Makerules (native-compile-mkdep-flags): Define.
20728 * sunrpc/Makefile (extra-objs): Add $(addprefix
20729 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20730 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20731 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20732 calling $(make-target-directory).
20734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20736 * bits/types.h (__snseconds_t): Removed.
20737 * time/time.h (struct timespec): Replace __snseconds_t with
20739 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20740 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20743 (__SNSECONDS_T_TYPE): Likewise.
20744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20745 (__SNSECONDS_T_TYPE): Likewise.
20746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20747 (__SNSECONDS_T_TYPE): Likewise.
20749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20751 * sysdeps/mach/hurd/bits/typesizes.h
20752 (__SYSCALL_SLONG_TYPE): New macro.
20753 (__SYSCALL_ULONG_TYPE): Likewise.
20755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20757 * bits/types.h (__syscall_slong_t): New type.
20758 (__syscall_ulong_t): Likewise.
20760 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20761 (__SYSCALL_ULONG_TYPE): Likewise.
20762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20763 (__SYSCALL_SLONG_TYPE): Likewise.
20764 (__SYSCALL_ULONG_TYPE): Likewise.
20765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20766 (__SYSCALL_SLONG_TYPE): Likewise.
20767 (__SYSCALL_ULONG_TYPE): Likewise.
20768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20769 (__SYSCALL_SLONG_TYPE): Likewise.
20770 (__SYSCALL_ULONG_TYPE): Likewise.
20772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20774 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20775 Add sigaltstack-offsets.sym.
20776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20777 <sigaltstack-offsets.h>.
20778 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20779 longjmp_msg pointer.
20780 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20781 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20783 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20785 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20787 * elf/stackguard-macros.h: Remove file.
20788 * sysdeps/generic/stackguard-macros.h: New file.
20789 * sysdeps/i386/stackguard-macros.h: Likewise.
20790 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20791 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20792 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20793 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20794 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20795 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20796 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20797 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20798 <elf/stackguard-macros.h>.
20801 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20802 __aligned__ in attribute.
20803 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20804 (gregset_t): Likewise.
20806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20808 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20809 * sysdeps/x86_64/64/Implies-after: Here. New file.
20810 * sysdeps/x86_64/x32/Implies-after: New file.
20812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20814 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20815 and access return value for _dl_profile_fixup. Use R10_LP to
20818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20820 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20824 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20825 * sysdeps/x86_64/x32/sysdep.h: New file.
20827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20829 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20830 * sysdeps/x86_64/setjmp.S: Likewise.
20832 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20835 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20836 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20837 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20838 remove unused global constant.
20840 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20842 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20843 include of <not-cancel.h>.
20845 2012-05-15 Roland McGrath <roland@hack.frob.com>
20847 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20849 2012-05-15 Jeff Law <law@redhat.com>
20850 Andreas Jaeger <aj@suse.de>
20853 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20855 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20856 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20857 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20858 code changing __hst_map_handle.map.
20860 2012-05-15 Roland McGrath <roland@hack.frob.com>
20862 * configure.in (sysnames): Look for Implies-before and Implies-after
20864 * configure: Regenerated.
20866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20868 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20869 8-byte data alignment with LP_SIZE alignment.
20871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20878 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20882 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20890 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20891 (stackinfo_sub_sp): Likewise.
20893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20905 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20910 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20914 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20915 into R11_LP and load __x86_64_shared_cache_size_half into
20918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20923 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20932 powerpc32/power7/fpu/s_logb.c via #include.
20933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20934 powerpc32/power7/fpu/s_logbf.c via #include.
20935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20936 powerpc32/power7/fpu/s_logbl.c via #include.
20938 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20940 * README.libm: Remove file.
20942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20944 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20945 count for x32. Use R*_LP and omit operand-size suffix.
20947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20949 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20950 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20951 * sysdeps/x86_64/x32/shlib-versions: New file.
20953 2012-05-14 Roland McGrath <roland@hack.frob.com>
20955 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20956 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20957 Use _dl_fatal_printf instead.
20959 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20961 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20962 set if not set by the user. Do not allow for being unset.
20963 * sysdeps/unix/sysv/linux/configure: Regenerated.
20965 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20967 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20968 the `q' suffix from lea and replace .quad with ASM_ADDR.
20970 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20973 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20975 (PTR_DEMANGLE): Likewise.
20977 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20979 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20981 (ASM_ADDR): Likewise.
20982 (RAX_LP): Likewise.
20983 (RBP_LP): Likewise.
20984 (RBX_LP): Likewise.
20985 (RCX_LP): Likewise.
20986 (RDI_LP): Likewise.
20987 (RSI_LP): Likewise.
20988 (RSP_LP): Likewise.
20991 (R10_LP): Likewise.
20992 (R10_LP): Likewise.
20993 (R11_LP): Likewise.
20994 (R12_LP): Likewise.
20995 (R13_LP): Likewise.
20996 (R14_LP): Likewise.
20997 (R15_LP): Likewise.
20999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21001 * sysdeps/x86_64/x32/dl-machine.h: New file.
21003 2012-05-14 Andreas Jaeger <aj@suse.de>
21005 * manual/Makefile (subdir): Remove export of subdir.
21006 (all): Remove target.
21007 (.PHONY): Remove all from list.
21008 (mkinstalldirs): Remove.
21009 (.PHONY): Remove installdirs from list.
21010 ($(inst_infodir)/libc.info): Use make-target-directory.
21011 (installdirs): Remove.
21012 (subdir_%): Remove.
21013 (glibc-targets): Remove.
21016 ($(objpfx)stubs ../po/manual.pot): Remove.
21017 ($(objpfx)stamp%): Remove.
21018 (make-target-directory): Remove.
21019 (subdir_install): Remove.
21020 (routines): Remove.
21027 * manual/.gitignore: Remove, it's not needed anymore.
21028 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21030 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21032 (texis): Renamed to $(objpfx)texis.
21033 (texis-path): New, contains path to generated files.
21034 (chapters.%): Use texis-path for complete path, add extra argument
21036 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21037 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21038 (summary,texi, stamp-summary): Use complete path of
21039 files. Generate files in build dir.
21040 (dir-add.texi): Build in build dir.
21041 (libm-err.texi,stamp-libm-err): Likewise.
21042 (version.texi, stamp-version): Likewise.
21043 (.%c.texi): Likewise.
21044 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21045 (mostlyclean): Remove target.
21046 (realclean): Remove target.
21047 (generated): Add new variable with contents from mostlyclean and
21048 realclean, remove entries duplicated in common-mostlyclean, add
21049 stamp-libm-err and stamp-version.
21050 (generated-dirs): Add libc directory.
21051 ($(inst_infodir)/libc.info): Install files from build dir.
21053 * manual/install.texi (Configuring and compiling): Adjust since
21054 the info files are not part of the tar ball anymore.
21056 2012-05-14 Andreas Jaeger <aj@suse.de>
21058 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21061 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21065 to 2.2.0 where earlier.
21066 * sysdeps/unix/sysv/linux/configure: Regenerated.
21067 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21068 Remove conditional code.
21069 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21070 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21071 Remove conditional code.
21072 [!__NR_lchown]: Likewise.
21073 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21074 [__NR_lchown]: Likewise.
21075 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21076 comment referencing __ASSUME_LCHOWN_SYSCALL.
21077 * sysdeps/unix/sysv/linux/i386/sigaction.c
21078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21080 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21081 Remove conditional code.
21082 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21083 (__protocol_available): Remove #if 0 code.
21084 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21086 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21087 * sysdeps/unix/sysv/linux/kernel-features.h
21088 (__ASSUME_GETCWD_SYSCALL): Don't define.
21089 (__ASSUME_REALTIME_SIGNALS): Likewise.
21090 (__ASSUME_PREAD_SYSCALL): Likewise.
21091 (__ASSUME_PWRITE_SYSCALL): Likewise.
21092 (__ASSUME_POLL_SYSCALL): Likewise.
21093 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21094 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21096 (__ASSUME_SIOCGIFNAME): Don't define.
21097 (__ASSUME_MSG_NOSIGNAL): Likewise.
21098 (__ASSUME_SENDFILE): Define unconditionally.
21099 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21100 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21102 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21103 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21104 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21105 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21106 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21107 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21108 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21122 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21128 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21133 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21134 Remove conditional code.
21135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21136 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21137 Remove conditional code.
21138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21139 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21140 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21141 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21142 Remove conditional code.
21143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21144 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21145 Remove conditional code.
21146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21147 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21148 Remove conditional code.
21149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21150 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21151 Remove conditional code.
21152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21153 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21154 Remove conditional code.
21155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21156 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21159 * sysdeps/unix/sysv/linux/sigaction.c
21160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21162 * sysdeps/unix/sysv/linux/sigpending.c
21163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21165 * sysdeps/unix/sysv/linux/sigprocmask.c
21166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21168 * sysdeps/unix/sysv/linux/sigsuspend.c
21169 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21170 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21172 (__libc_missing_rt_sigs): Remove.
21173 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21174 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21175 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21176 Remove conditional code.
21177 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21178 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21181 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21182 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21185 2012-05-14 Andreas Jaeger <aj@suse.de>
21187 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21188 it's not used in glibc.
21189 (__coshm1): Likewise.
21190 (__acosh1p): Likewise.
21193 * manual/string.texi (Copying and Concatenation): Add missing
21194 variable in concat example.
21195 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21201 __builtin_clzl with __builtin_clzll.
21203 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21206 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21209 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21211 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21212 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21213 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21214 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21216 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21218 * NEWS: Update ia64 info.
21220 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21222 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21225 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21227 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21228 * sysdeps/unix/syscalls.list (dup3): Likewise.
21229 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21230 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21232 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21234 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21235 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21237 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21239 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21241 (TLS_IE): Use mov/add instead of movq/addq to load thread
21243 (TLS_GD_PREFIX): New.
21246 2012-05-11 David S. Miller <davem@davemloft.net>
21248 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21249 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21250 (_FPU_SETCW): Likewise.
21252 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21254 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21255 is 32-byte aligned.
21257 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21260 * iconvdata/gb18030.c: Update tables.
21261 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21262 characters specially.
21263 (BODY for TO_LOOP): Add encoding of missing ranges.
21265 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21268 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21269 * sysdeps/mach/hurd/dup3.c: Likewise.
21270 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21271 * sysdeps/powerpc/memmove.c:: Likewise.
21273 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21276 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21278 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21280 * elf/elf.h (R_X86_64_RELATIVE64): New.
21281 (R_X86_64_NUM): Updated.
21282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21283 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21284 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21285 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21286 tst-quad1pie tst-quad2pie
21287 (modules-names): Add tst-quadmod1 tst-quadmod2.
21288 ($(objpfx)tst-quad1): New dependency.
21289 ($(objpfx)tst-quad2): Likewise.
21290 ($(objpfx)tst-quad1pie): Likewise.
21291 ($(objpfx)tst-quad2pie): Likewise.
21292 * sysdeps/x86_64/tst-quad1.c: New file.
21293 * sysdeps/x86_64/tst-quad1pie.c: New file.
21294 * sysdeps/x86_64/tst-quad2.c: Likewise.
21295 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21296 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21297 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21298 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21299 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21303 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21304 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21305 * streams/stropts.h (t_scalar_t): Define type.
21307 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21308 (_PATH_PRESERVE): Set to "/var/lib".
21309 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21311 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21314 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21315 if __dir_mkfile succeeded.
21317 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21318 checking for _hurd_dtablesize. Unlock it right after having
21319 finished _hurd_dtable allocation.
21321 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21323 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21324 * sysdeps/mach/hurd/configure: Regenerated.
21325 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21326 special-casing to...
21327 * sysdeps/gnu/configure.in: ... this new file.
21328 * sysdeps/unix/sysv/linux/configure: Regenerated.
21329 * sysdeps/gnu/configure: New generated file.
21331 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21332 for Linux: use nsec instead of usec, as well as:
21333 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21334 members of type struct timespec.
21335 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21337 (struct stat64): Likewise.
21338 (_STATBUF_ST_NSEC): New macro.
21339 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21341 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21342 __strtoul_internal rather than strtoul.
21344 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21346 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21351 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21352 which preserves existing values.
21353 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21355 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21357 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21358 TIMEOUT values. Return EINVAL for NFDS values either negative or
21359 greater than FD_SETSIZE.
21361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21363 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21364 allocated, call __vm_protect to finish enabling the existing space, and
21365 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21366 allocate the remainder.
21368 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21370 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21371 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21373 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21375 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21376 sysdeps/mach/hurd/readlink.c.
21378 * posix/tst-sysconf.c (posix_options): Only use
21379 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21380 _POSIX_SYNCHRONIZED_IO when they are defined
21381 * sysdeps/mach/hurd/bits/posix_opt.h:
21382 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21383 (_XOPEN_REALTIME): Undefine macro.
21384 (_XOPEN_REALTIME_THREADS): Undefine macro.
21385 (_XOPEN_SHM): Undefine macro.
21386 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21390 (_POSIX_ASYNC_IO): Undefine macro.
21391 (_POSIX_PRIORITIZED_IO): Undefine macro.
21392 (_POSIX_SPIN_LOCKS): Define macro to -1.
21394 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21395 SA_NODEFER, SA_RESETHAND.
21396 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21397 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21402 * elf/Makefile (pldd-modules): Define unconditionally.
21404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21406 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21410 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21411 Return ENOENT when name is empty.
21412 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21416 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21418 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21422 Fix mlock in all cases except non-readable pages.
21423 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21424 instead of VM_PROT_ALL as parameter to __vm_wire function.
21426 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21427 (__mkdir): When path is `/', just fail with EEXIST.
21428 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21430 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21432 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21433 <sys/uio.h> (for writev).
21434 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21435 and <sys/param.h> (for MIN).
21437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21439 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21440 REQUESTED_TIME. Properly set the remaining time and return EINTR
21443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21445 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21446 Depend on against $(link-rpcuserlibs).
21448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21450 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21451 (__libc_stack_end): Do not use attribute_relro.
21452 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21453 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21454 to libthread-provided value.
21455 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21461 * bits/libc-lock.h (__libc_once_get): New macro.
21462 * sysdeps/mach/bits/libc-lock.h: Likewise.
21463 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21464 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21465 instead of using implementation details.
21467 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21468 * libio/freopen.c: Likewise.
21469 * libio/freopen64.c: Likewise.
21470 * misc/syslog.c: Likewise.
21471 * nscd/connections.c: Likewise.
21472 * nscd/netgroupcache.c: Likewise.
21473 * sysdeps/posix/getcwd.c: Likewise.
21475 2012-05-10 Roland McGrath <roland@hack.frob.com>
21477 * math/w_ilogbf.c: Add #include <limits.h>.
21479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21481 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21482 path instead of returning without unlocking.
21484 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21485 immediate-write ioctls.
21486 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21490 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21491 __builtin_frame_address instead of making assumptions about the
21492 location of the return address relative to DATA. Force early load of
21493 the return address.
21494 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21495 __builtin_frame_address.
21498 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21499 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21500 implement dup3 and do some further code clean-ups.
21501 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21502 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21506 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21508 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21509 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21510 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21511 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21512 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21515 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21516 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21517 when handler == SIG_ERR, not when handler != SIG_ERR.
21519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21521 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21522 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21525 accept4 for GNU Hurd.
21526 * include/sys/socket.h (__libc_accept4): New prototype.
21527 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21528 to implement __libc_accept4.
21529 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21531 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21533 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21534 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21535 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21536 signal-defines.sym.
21538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21540 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21544 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21545 assertion on O_CLOEXEC flag.
21546 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21547 * hurd/intern-fd.c: Likewise.
21548 * hurd/port2fd.c: Likewise.
21550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21553 * bits/in.h (IPV6_PKTINFO): Define new macro.
21554 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21556 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21561 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21563 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21566 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21567 * math/libm-test.inc (logb_test) : Additional logb tests.
21569 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21570 Andreas Jaeger <aj@suse.de>
21572 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21573 * configure: Regenerated.
21574 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21575 * config.make.in (link-obsolete-rpc): New substituted variable.
21576 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21577 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21578 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21579 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21580 so that libc.a contains the symbols.
21581 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21582 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21583 * sunrpc/auth_none.c: Likewise.
21584 * sunrpc/auth_unix.c: Likewise.
21585 * sunrpc/authdes_prot.c: Likewise.
21586 * sunrpc/authuxprot.c: Likewise.
21587 * sunrpc/clnt_gen.c: Likewise.
21588 * sunrpc/clnt_perr.c: Likewise.
21589 * sunrpc/clnt_raw.c: Likewise.
21590 * sunrpc/clnt_simp.c: Likewise.
21591 * sunrpc/clnt_tcp.c: Likewise.
21592 * sunrpc/clnt_udp.c: Likewise.
21593 * sunrpc/clnt_unix.c: Likewise.
21594 * sunrpc/des_crypt.c: Likewise.
21595 * sunrpc/des_soft.c: Likewise.
21596 * sunrpc/get_myaddr.c: Likewise.
21597 * sunrpc/key_call.c: Likewise.
21598 * sunrpc/key_prot.c: Likewise.
21599 * sunrpc/netname.c: Likewise.
21600 * sunrpc/pm_getmaps.c: Likewise.
21601 * sunrpc/pm_getport.c: Likewise.
21602 * sunrpc/pmap_clnt.c: Likewise.
21603 * sunrpc/pmap_prot.c: Likewise.
21604 * sunrpc/pmap_prot2.c: Likewise.
21605 * sunrpc/pmap_rmt.c: Likewise.
21606 * sunrpc/publickey.c: Likewise.
21607 * sunrpc/rpc_cmsg.c: Likewise.
21608 * sunrpc/rpc_common.c: Likewise.
21609 * sunrpc/rpc_dtable.c: Likewise.
21610 * sunrpc/rpc_prot.c: Likewise.
21611 * sunrpc/rpc_thread.c: Likewise.
21612 * sunrpc/rtime.c: Likewise.
21613 * sunrpc/svc.c: Likewise.
21614 * sunrpc/svc_auth.c: Likewise.
21615 * sunrpc/svc_raw.c: Likewise.
21616 * sunrpc/svc_run.c: Likewise.
21617 * sunrpc/svc_tcp.c: Likewise.
21618 * sunrpc/svc_udp.c: Likewise.
21619 * sunrpc/svc_unix.c: Likewise.
21620 * sunrpc/svcauth_des.c: Likewise.
21621 * sunrpc/xcrypt.c: Likewise.
21622 * sunrpc/xdr.c: Likewise.
21623 * sunrpc/xdr_array.c: Likewise.
21624 * sunrpc/xdr_float.c: Likewise.
21625 * sunrpc/xdr_intXX_t.c: Likewise.
21626 * sunrpc/xdr_mem.c: Likewise.
21627 * sunrpc/xdr_rec.c: Likewise.
21628 * sunrpc/xdr_ref.c: Likewise.
21629 * sunrpc/xdr_sizeof.c: Likewise.
21630 * sunrpc/xdr_stdio.c: Likewise.
21632 2012-05-10 Roland McGrath <roland@hack.frob.com>
21634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21635 change. Update copyright years.
21637 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21639 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21641 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21642 Joseph Myers <joseph@codesourcery.com>
21643 Paul Pluzhnikov <ppluzhnikov@google.com>
21646 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21648 [cross-compiling] (extra-libs): Likewise.
21649 [cross-compiling] (extra-libs-others): Likewise.
21650 [cross-compiling] (librpcsvc-routines): Likewise.
21651 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21652 [cross-compiling] (omit-deps): Likewise.
21653 (sunrpc-CPPFLAGS): New variable.
21654 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21655 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21656 (cross-rpcgen-objs): New variable.
21657 (extra-objs): Append $(cross-rpcgen-objs).
21658 ($(cross-rpcgen-objs)): New rule.
21659 ($(objpfx)cross-rpcgen): Likewise.
21660 (rpcgen-cmd): Define to use $(built-program-file). Expand
21662 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21663 ($(objpfx)x%.stmp): Likewise.
21664 * sunrpc/proto.h [IS_IN_build] (_): Define.
21665 [IS_IN_build] (_libc_intl_domainname): Likewise.
21667 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21670 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21671 and R_X86_64_TPOFF64.
21673 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21675 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21676 sysdeps/unix/sysv/syscalls.list.
21679 * sysdeps/unix/sysv/syscalls.list: Remove file.
21681 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21684 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21685 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21686 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21687 (__LC_IDENTIFICATION): Make these macros useful in #if
21688 expressions, as required by C99.
21690 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21692 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21693 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21696 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21698 * stdlib/longlong.h: Updated from GCC.
21700 2012-05-09 Andreas Jaeger <aj@suse.de>
21702 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21703 default is first entry.
21704 (run_mode): Set type.
21705 (main): Remove informal message about syslog.
21706 (options): Fix typo.
21709 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21712 (llrintf): Likewise.
21713 (llrint): Likewise.
21716 (nearbyint): Likewise.
21717 (nearbyintf): Likewise.
21719 2012-05-09 Andreas Jaeger <aj@suse.de>
21720 Pedro Alves <palves@redhat.com>
21722 * nscd/nscd.c (run_mode): Use enum.
21723 (main): Cleanup coding style issue.
21725 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21726 Andreas Jaeger <aj@suse.de>
21728 * nscd/nscd.c (go_background): Replaced with...
21729 (run_mode): ... this.
21730 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21731 (options): Add -F --foreground.
21732 (main): Implement it.
21733 (parse_opt): Parse it.
21735 2012-05-09 Andreas Jaeger <aj@suse.de>
21738 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21739 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21740 -Wconversion warning.
21741 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21744 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21746 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21748 (LC_ALL): Use macro-int-constant.
21749 (LC_COLLATE): Likewise.
21750 (LC_CTYPE): Likewise.
21751 (LC_MESSAGES): Likewise.
21752 (LC_MONETARY): Likewise.
21753 (LC_NUMERIC): Likewise.
21754 (LC_TIME): Likewise.
21755 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21756 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21758 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21760 [C99-based standards] (float_t): Expect type.
21761 [C99-based standards] (double_t): Expect type.
21762 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21764 [C99-based standards] (HUGE_VALL): Likewise.
21765 [C99-based standards] (INFINITY): Likewise.
21766 [C99-based standards] (NAN): Likewise.
21767 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21768 [C99-based standards] (FP_NAN): Likewise.
21769 [C99-based standards] (FP_NORMAL): Likewise.
21770 [C99-based standards] (FP_SUBNORMAL): Likewise.
21771 [C99-based standards] (FP_ZERO): Likewise.
21772 [C99-based standards] (FP_FAST_FMA): Use
21773 optional-macro-int-constant. Specify type. Require == 1.
21774 [C99-based standards] (FP_FAST_FMAF): Likewise.
21775 [C99-based standards] (FP_FAST_FMAL): Likewise.
21776 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21777 [C99-based standards] (FP_ILOGBNAN): Likewise.
21778 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21780 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21781 [C99-based standards] (math_errhandling): Specify type.
21782 [ISO99 || ISO11] (signgam): Do not allow.
21783 [non-C99-based standards] (copysignf): Do not allow.
21784 [non-C99-based standards] (exp2f): Likewise.
21785 [non-C99-based standards] (log2f): Likewise.
21786 [non-C99-based standards] (modff): Allow.
21787 [non-C99-based standards] (erff): Do not allow.
21788 [non-C99-based standards] (erfcf): Likewise.
21789 [non-C99-based standards] (gammaf): Likewise.
21790 [non-C99-based standards] (hypotf): Likewise.
21791 [non-C99-based standards] (j0f): Likewise.
21792 [non-C99-based standards] (j1f): Likewise.
21793 [non-C99-based standards] (jnf): Likewise.
21794 [non-C99-based standards] (lgammaf): Likewise.
21795 [non-C99-based standards] (tgammaf): Likewise.
21796 [non-C99-based standards] (y0f): Likewise.
21797 [non-C99-based standards] (y1f): Likewise.
21798 [non-C99-based standards] (ynf): Likewise.
21799 [non-C99-based standards] (isnanf): Likewise.
21800 [non-C99-based standards] (acoshf): Likewise.
21801 [non-C99-based standards] (asinhf): Likewise.
21802 [non-C99-based standards] (atanhf): Likewise.
21803 [non-C99-based standards] (cbrtf): Likewise.
21804 [non-C99-based standards] (expm1f): Likewise.
21805 [non-C99-based standards] (ilogbf): Likewise.
21806 [non-C99-based standards] (log1pf): Likewise.
21807 [non-C99-based standards] (logbf): Likewise.
21808 [non-C99-based standards] (nextafterf): Likewise.
21809 [non-C99-based standards] (remainderf): Likewise.
21810 [non-C99-based standards] (rintf): Likewise.
21811 [non-C99-based standards] (scalbf): Likewise.
21812 [non-C99-based standards] (copysignl): Likewise.
21813 [non-C99-based standards] (exp2l): Likewise.
21814 [non-C99-based standards] (log2l): Likewise.
21815 [non-C99-based standards] (modfl): Allow.
21816 [non-C99-based standards] (erfl): Do not allow.
21817 [non-C99-based standards] (erfcl): Likewise.
21818 [non-C99-based standards] (gammal): Likewise.
21819 [non-C99-based standards] (hypotl): Likewise.
21820 [non-C99-based standards] (j0l): Likewise.
21821 [non-C99-based standards] (j1l): Likewise.
21822 [non-C99-based standards] (jnl): Likewise.
21823 [non-C99-based standards] (lgammal): Likewise.
21824 [non-C99-based standards] (tgammal): Likewise.
21825 [non-C99-based standards] (y0l): Likewise.
21826 [non-C99-based standards] (y1l): Likewise.
21827 [non-C99-based standards] (ynl): Likewise.
21828 [non-C99-based standards] (isnanl): Likewise.
21829 [non-C99-based standards] (acoshl): Likewise.
21830 [non-C99-based standards] (asinhl): Likewise.
21831 [non-C99-based standards] (atanhl): Likewise.
21832 [non-C99-based standards] (cbrtl): Likewise.
21833 [non-C99-based standards] (expm1l): Likewise.
21834 [non-C99-based standards] (ilogbl): Likewise.
21835 [non-C99-based standards] (log1pl): Likewise.
21836 [non-C99-based standards] (logbl): Likewise.
21837 [non-C99-based standards] (nextafterl): Likewise.
21838 [non-C99-based standards] (remainderl): Likewise.
21839 [non-C99-based standards] (rintl): Likewise.
21840 [non-C99-based standards] (scalbl): Likewise.
21841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21842 [non-C99-based standards] (FP_*): Do not allow.
21843 [C99-based standards] (FP_*): Change to
21844 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21845 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21847 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21848 (SIG_ERR): Likewise.
21849 [X/Open-based standards] (SIG_HOLD): Likewise.
21850 (SIG_IGN): Likewise.
21851 (SIGABRT): Use macro-int-constant. Specify type. Require
21853 (SIGFPE): Likewise.
21854 (SIGILL): Likewise.
21855 (SIGINT): Likewise.
21856 (SIGSEGV): Likewise.
21857 (SIGTER): Likewise.
21858 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21859 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21860 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21861 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21862 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21863 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21876 [X/Open-based standards] (SIGTRAP): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21881 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21884 2012-05-08 Ian Wienand <ianw@vmware.com>
21887 * time/tzset.c (__tzset_parse_tz): Update default rules for
21888 daylight time changes in the Energy Policy Act of 2005.
21890 2012-05-09 Andreas Jaeger <aj@suse.de>
21893 * elf/ldconfig.c (parse_conf): Change string to make clear that
21894 ldconfig only issued a warning if ld.so.conf does not exist.
21896 2012-05-08 David S. Miller <davem@davemloft.net>
21898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21899 movxtod instead of popping the value on the stack.
21901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21903 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21905 * config.h.in: Add HAVE_ARM_PCS_VFP.
21907 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21910 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21911 checking but the checks are disabled for any reason.
21913 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21915 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21916 and ELF64_R_TYPE with ELFW(R_TYPE).
21918 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21920 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21921 (ulimit): Likewise.
21923 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21924 (settimeofday): Likewise.
21926 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21928 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21929 a struct th_u2 inside the union, and move tu_block/tu_code into
21930 a new th_u3 union of tu_block/tu_code inside of that. Move
21931 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21932 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21933 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21934 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21935 (th_stuff): Change to th_u1.tu_stuff.
21937 (th_msg): Change to th_u1.th_u2.tu_data.
21939 2012-05-07 David S. Miller <davem@davemloft.net>
21941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21944 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21945 (SETUP_PIC_REG): Use it.
21946 (SETUP_PIC_REG_LEAF): Use it.
21948 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21952 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21954 (EXPL_FINITE): Likewise.
21955 (FLDLOG): Likewise.
21956 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21957 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21959 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21961 (EXPL_FINITE): Likewise.
21962 (FLDLOG): Likewise.
21963 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21964 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21966 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21967 test of -max_value argument for long double.
21968 * sysdeps/i386/fpu/libm-test-ulps: Update.
21969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971 2012-05-06 David S. Miller <davem@davemloft.net>
21973 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21974 quad soft-float symbols whose references which are compiler
21976 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21978 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21984 (EXPL_FINITE): Likewise.
21985 (FLDLOG): Likewise.
21988 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21989 Adjust comments for base varying.
21990 (__expl_finite): Change alias to EXPL_FINITE.
21991 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21993 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21994 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21996 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21999 (EXPL_FINITE): Likewise.
22000 (FLDLOG): Likewise.
22003 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22004 Adjust comments for base varying.
22005 (__expl_finite): Change alias to EXPL_FINITE.
22006 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22011 * math/libm-test.inc (check_float_internal): Correct ulp
22012 calculation for subnormal expected results.
22014 2012-05-06 Andreas Jaeger <aj@suse.de>
22016 * Makeconfig (+math-flags): New, set to -frounding-math.
22017 (+cflags): Add +math-flags so that all of glibc gets compiled with
22020 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22022 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22024 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22030 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22031 (__ieee754_expl): Allow for and saturate large arguments.
22032 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22033 (u_threshold): Likewise.
22034 (__exp): Call __ieee754_exp before checking for overflow and
22036 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22037 (u_threshold): Likewise.
22038 (__expf): Call __ieee754_expf before checking for overflow and
22040 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22041 (u_threshold): Likewise.
22042 (__expl): Call __ieee754_expl before checking for overflow and
22044 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22045 (__ieee754_expl): Allow for and saturate large arguments.
22046 * math/libm-test.inc (exp_test): Add another test. Do not allow
22047 missing overflow exception on overflow.
22048 (expm1_test): Do not allow missing overflow exception on overflow.
22050 * sysdeps/i386/fpu/e_expl.c: Move to ...
22051 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22052 rather than using inline asm.
22053 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22054 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22055 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22057 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22060 (signal): Likewise.
22064 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22066 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22067 sysdeps/unix/common/syscalls.list.
22068 (fchmod): Likewise.
22069 (fchown): Likewise.
22070 (ftruncate): Likewise.
22071 (getrusage): Likewise.
22072 (gettimeofday): Likewise.
22073 (setpgid): Likewise.
22074 (setregid): Likewise.
22075 (setreuid): Likewise.
22076 (sigaction): Likewise.
22077 (truncate): Likewise.
22078 (vhangup): Likewise.
22079 * sysdeps/unix/common/syscalls.list: Remove file.
22080 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22081 * sysdeps/unix/sysv/linux/Implies: Likewise.
22083 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22085 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22087 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22091 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22094 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22097 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22100 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22103 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22106 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22109 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22113 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22117 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22120 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22124 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22128 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22130 * sysdeps/unix/common/bits/dirent.h: Remove file.
22131 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22133 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22134 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22135 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22136 * sysdeps/unix/bsd/isatty.c: Likewise.
22137 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22138 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22139 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22141 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22145 long double comparison inaccuracies.
22146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22149 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22151 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22154 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22158 nonzero digits before rounding a hex value.
22159 * stdlib/tst-strtod.c (tests): Add another test.
22161 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22163 * sysdeps/s390/fpu/libm-test-ulps: Update.
22165 2012-05-03 Andreas Jaeger <aj@suse.de>
22167 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22168 does not get optimized out.
22169 (malloc_opt_barrier): New.
22171 2012-05-03 Andreas Jaeger <aj@suse.de>
22172 Roland McGrath <roland@hack.frob.com>
22174 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22175 intermediate file deletion.
22176 (generated): Add .symlist files.
22178 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22181 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22182 Redirect under this condition.
22183 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22184 [__USE_GNU] (__dprintf_chk): Not under this condition.
22185 [__USE_GNU] (__vdprintf_chk): Likewise.
22186 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22187 under this condition.
22188 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22189 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22190 [__USE_XOPEN2K8] (vdprintf): Likewise.
22191 [__USE_GNU] (__dprintf_chk): Not under this condition.
22192 [__USE_GNU] (__vdprintf_chk): Likewise.
22193 [__USE_GNU] (dprintf): Likewise.
22194 [__USE_GNU] (vdprintf): Likewise.
22196 2012-05-03 Roland McGrath <roland@hack.frob.com>
22198 * elf/Makefile (common-generated): Set this instead of generated for
22199 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22200 $(all-built-dso)-derived lists.
22202 2012-05-03 Andreas Jaeger <aj@suse.de>
22204 * sysdeps/i386/fpu/libm-test-ulps: Update.
22207 * FAQ.in: Likewise.
22208 * scripts/gen-FAQ.pl: Likewise.
22209 * manual/install.texi (Installation): Point to online location of
22211 * Makefile (files-for-dist): Remove FAQ.
22214 2012-05-02 Allan McRae <allan@archlinux.org>
22216 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22217 (LDFLAGS-reldepmod5.so): Likewise.
22218 (LDFLAGS-reldep6mod1.so): Likewise.
22219 (LDFLAGS-reldep6mod4.so): Likewise.
22220 (LDFLAGS-reldep8mod3.so): Likewise.
22221 (LDFLAGS-unload4mod1.so): Likewise.
22222 (LDFLAGS-unload4mod2.so): Likewise.
22223 (LDFLAGS-tst-initorder): Likewise.
22224 (LDFLAGS-tst-initordera2.so): Likewise.
22225 (LDFLAGS-tst-initordera3.so): Likewise.
22226 (LDFLAGS-tst-initordera4.so): Likewise.
22227 (LDFLAGS-tst-initorderb2.so): Likewise.
22228 (LDFLAGS-noload): Likewise.
22229 (LDFLAGS-next): Likewise.
22230 (LDFLAGS-order2mod1.so): Likewise.
22231 (LDFLAGS-order2mod2.so): Likewise.
22232 (LDFLAGS-tst-initorder2): Likewise.
22233 (LDFLAGS-tst-initorder2a.so): Likewise.
22234 (LDFLAGS-tst-initorder2b.so): Likewise.
22235 (LDFLAGS-tst-initorder2c.so): Likewise.
22236 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22238 2012-05-02 David S. Miller <davem@davemloft.net>
22240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22242 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22245 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22247 2012-05-02 Andreas Jaeger <aj@suse.de>
22249 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22250 since we manipulate rounding mode.
22251 (CPPFLAGS-test-idouble.c): Likewise.
22252 (CPPFLAGS-test-ifloat.c): Likewise.
22253 (CFLAGS-test-ldouble.c): Likewise.
22254 (CFLAGS-test-double.c): Likewise.
22255 (CFLAGS-test-float.c): Likewise.
22256 (CFLAGS-test-misc.c): Likewise.
22257 (CFLAGS-test-test-fenv.c): Likewise.
22259 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22264 comparisons to determine direction to adjust input.
22266 2012-05-01 Roland McGrath <roland@hack.frob.com>
22268 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22269 output to the target.
22271 * scripts/localplt.awk: New file.
22272 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22273 (check-localplt-CFLAGS): Variable removed.
22274 ($(all-built-dso:=.jmprel)): New static pattern rule.
22275 (generated): Add those targets.
22276 (localplt-built-dso): New variable.
22277 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22279 * elf/check-localplt.c: File removed.
22281 * scripts/check-execstack.awk: New file.
22282 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22283 (check-execstack-CFLAGS): Variable removed.
22284 ($(objpfx)check-execstack.h): Target removed.
22285 ($(objpfx)execstack-default): New target.
22286 (generated): Add that instead of check-execstack.h.
22287 ($(all-built-dso:=.phdr)): New static pattern rule.
22288 (generated): Add those targets.
22289 * elf/check-execstack.c: File removed.
22291 * scripts/check-textrel.awk: New file.
22292 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22293 (check-textrel-CFLAGS): Variable removed.
22294 (all-built-dso): Use := to define.o
22295 ($(all-built-dso:=.dyn)): New static pattern rule.
22296 (generated): Add those targets.
22297 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22298 * config.make.in (READELF): New substituted variable.
22299 * elf/check-textrel.c: File removed.
22301 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22303 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22305 * conform/data/ctype.h-data [C99-based standards] (isblank):
22307 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22308 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22310 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22311 Specify type. Require positive value.
22312 (EILSEQ): Likewise.
22313 (ERANGE): Likewise.
22314 [ISO || POSIX] (EILSEQ): Do not expect.
22315 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22316 Specify type. Require positive value.
22317 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22318 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22319 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22320 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22321 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22322 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22323 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22324 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22325 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22326 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22327 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22328 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22329 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22330 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22331 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22332 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22333 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22334 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22335 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22336 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22337 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22338 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22339 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22340 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22342 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22343 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22345 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22346 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22347 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22352 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22353 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22354 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22391 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22392 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22393 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22395 (FLT_ROUNDS): Expect as macro, not constant.
22396 (FLT_MANT_DIG): Use macro-int-constant.
22397 (DBL_MANT_DIG): Likewise.
22398 (LDBL_MANT_DIG): Likewise.
22399 (FLT_DIG): Likewise.
22400 (DBL_DIG): Likewise.
22401 (LDBL_DIG): Likewise.
22402 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22403 (DBL_MIN_EXP): Likewise.
22404 (LDBL_MIN_EXP): Likewise.
22405 (FLT_MAX_EXP): Use macro-int-constant.
22406 (DBL_MAX_EXP): Likewise.
22407 (LDBL_MAX_EXP): Likewise.
22408 (FLT_MAX_10_EXP): Likewise.
22409 (DBL_MAX_10_EXP): Likewise.
22410 (LDBL_MAX_10_EXP): Likewise.
22411 (FLT_MAX): Use macro-constant.
22412 (DBL_MAX): Likewise.
22413 (LDBL_MAX): Likewise.
22414 (FLT_EPSILON): Use macro-constant. Give upper bound.
22415 (DBL_EPSILON): Likewise.
22416 (LDBL_EPSILON): Likewise.
22417 (FLT_MIN): Likewise.
22418 (DBL_MIN): Likewise.
22419 (LDBL_MIN): Likewise.
22420 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22421 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22422 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22423 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22424 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22425 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22426 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22427 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22428 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22429 [ISO11] (FLT_TRUE_MIN): Likewise.
22430 [ISO11] (LDBL_TRUE_MIN): Likewise.
22431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22432 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22433 (SCHAR_MIN): Use macro-int-constant. Specify type.
22434 (SCHAR_MAX): Likewise.
22435 (UCHAR_MAX): Likewise.
22436 (CHAR_MIN): Likewise.
22437 (CHAR_MAX): Likewise.
22438 (MB_LEN_MAX): Use macro-int-constant.
22439 (SHRT_MIN): Use macro-int-constant. Specify type.
22440 (SHRT_MAX): Likewise.
22441 (USHRT_MAX): Likewise.
22442 (INT_MAX): Likewise.
22443 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22445 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22447 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22449 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22450 bound negative. Suffix upper bound with "L".
22451 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22453 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22455 [C99-based standards] (LLONG_MAX): Likewise.
22456 [C99-based standards] (ULLONG_MAX): Likewise.
22457 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22459 [ISO11] (max_align_t): Require type.
22460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22462 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22463 from $CFLAGS, without defining away __attribute__ calls.
22464 (checknamespace): Use $CFLAGS_namespace.
22466 * conform/conformtest.pl (@keywords): Only include C99 keywords
22467 for standards based on C99 or C11.
22469 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22471 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22474 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22475 usability of symbols in #if.
22477 * conform/conformtest.pl: If macro or constant types start
22478 "promoted:", expect the symbol to be of the following type
22479 promoted by the integer promotions.
22481 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22482 in one place. Also handle "macro-constant".
22484 * conform/conformtest.pl: Only accept expected macro values with
22485 "==". Parse all "macro" lines in one place.
22486 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22488 * conform/conformtest.pl: Handle braced types on "constant" lines
22489 instead of handling "typed-constant".
22490 * conform/data/signal.h-data: Use "constant" instead of
22493 * conform/conformtest.pl: Handle "optional-" at start of lines in
22494 one place rather than duplicating several cases. Handle each
22495 format of "macro" line with initial "optional-".
22497 * conform/conformtest.pl: Only accept expected constant or
22498 optional-constant values with "==". Parse all "constant" lines in
22499 one place. Parse all "optional-constant" lines in one place.
22500 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22501 * conform/data/fmtmsg.h-data: Likewise.
22502 * conform/data/netinet/in.h-data: Likewise.
22503 * conform/data/tar.h-data: Likewise.
22504 * conform/data/limits.h-data: Use "==" form on "constant" and
22505 "optional-constant" lines.
22507 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22508 Use -std=c99 for XOPEN2K.
22509 (@knownproblems): Remove.
22510 (newtoken): Don't check %isknown.
22512 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22513 Do not expect macro.
22514 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22526 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22527 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22544 [XPG3] (acosh): Likewise.
22545 [XPG3] (asinh): Likewise.
22546 [XPG3] (atanh): Likewise.
22547 [XPG3] (cbrt): Likewise.
22548 [XPG3] (expm1): Likewise.
22549 [XPG3] (ilogb): Likewise.
22550 [XPG3] (log1p): Likewise.
22551 [XPG3] (logb): Likewise.
22552 [XPG3] (nextafter): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22555 [XPG3] (remainder): Likewise.
22556 [XPG3] (rint): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22564 [UNIX98 || XOPEN2K] (scalb): Expect.
22565 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22566 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22578 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22579 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22584 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22585 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22586 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22587 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22588 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22598 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22600 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22601 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22602 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22616 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22617 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22618 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22703 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22704 _XOPEN_SOURCE_EXTENDED for XPG4.
22706 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22708 * Makeconfig (localtime): Remove variable.
22709 (inst_localtime-file): Likewise.
22711 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22732 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22736 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22737 comparisons to determine direction to adjust input.
22738 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22739 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22746 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22747 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22749 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22751 * math/libm-test.inc (nexttoward_test): Add more tests.
22753 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22757 in version GLIBC_2.1, not GLIBC_2.0.
22758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22761 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22764 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22766 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22767 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22768 * math/libm-test.inc (acos_test): Add more tests.
22769 (asin_test): Likewise.
22770 * sysdeps/i386/fpu/libm-test-ulps: Update.
22771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22774 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22776 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22777 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22778 * math/libm-test.inc (acos_test_tonearest): New function.
22779 (acos_test_towardzero): Likewise.
22780 (acos_test_downward): Likewise.
22781 (acos_test_upward): Likewise.
22782 (asin_test_tonearest): Likewise.
22783 (asin_test_towardzero): Likewise.
22784 (asin_test_downward): Likewise.
22785 (asin_test_upward): Likewise.
22786 (main): Call the new functions.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22792 * math/e_exp10.c: Include <float.h>.
22793 (__ieee754_exp10): Handle underflow here rather than multiplying
22794 large negative argument by M_LN10.
22795 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22797 * math/e_exp10l.c: Include <float.h>.
22798 (__ieee754_exp10l): Handle underflow here rather than multiplying
22799 large negative argument by M_LN10l.
22800 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22801 spurious overflow exception on underflow.
22803 2012-04-29 Marek Polacek <polacek@redhat.com>
22805 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22806 (__fortify_function): New macro.
22807 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22808 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22809 __extern_always_inline.
22810 * libio/bits/stdio2.h: Likewise.
22811 * libio/bits/stdio.h: Likewise.
22812 * string/string.h: Likewise.
22813 * string/bits/string3.h: Likewise.
22814 * include/stdio.h: Likewise.
22815 * stdlib/bits/stdlib.h: Likewise.
22816 * stdlib/stdlib.h: Likewise.
22817 * rt/bits/mqueue2.h: Likewise.
22818 * rt/mqueue.h: Likewise.
22819 * posix/bits/unistd.h: Likewise.
22820 * posix/unistd.h: Likewise.
22821 * io/bits/poll2.h: Likewise.
22822 * io/bits/fcntl2.h: Likewise.
22823 * io/fcntl.h: Likewise.
22824 * io/sys/poll.h: Likewise.
22825 * misc/bits/syslog.h: Likewise.
22826 * misc/bits/syslog-ldbl.h: Likewise.
22827 * misc/sys/syslog.h: Likewise.
22828 * socket/bits/socket2.h: Likewise.
22829 * socket/sys/socket.h: Likewise.
22830 * debug/tst-chk1.c: Likewise.
22831 * wcsmbs/bits/wchar2.h: Likewise.
22832 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22833 * wcsmbs/wchar.h: Likewise.
22835 2012-04-29 Andreas Jaeger <aj@suse.de>
22837 * Makerules (tests): Remove enable-check-abi protection.
22838 (check-abi-warn): Remove.
22839 (check-abi-%): Remove check-abi-warn usage.
22841 * configure.in: Remove check-abi configure option.
22842 * configure: Regenerated.
22843 * config.make.in (enable-check-abi): Remove.
22845 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22848 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22849 double functions to double *_finite functions.
22852 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22853 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22855 * stdio-common/Makefile (tests): Add tst-sprintf3.
22856 * stdio-common/tst-sprintf3.c: New file.
22858 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22859 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22861 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22863 * conform/conformtest.pl: Remove duplicate typed-constant
22866 2012-04-28 David S. Miller <davem@davemloft.net>
22868 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22869 (check-abi-%): Remove AWK script prerequisite and explicit
22871 (check-abi): Rewrite to just diff the symlist with the abilist.
22872 (config-tls, config-abi-config): Delete, no longer used.
22873 (update-abi-%): Remove AWK script and explicit abilist directory.
22874 (update-abi): Rewrite to simply compare and conditionally copy the
22875 symlist and the sysdep abilist file. Remove update-abi-config
22877 * abilist/ld.abilist: Remove.
22878 * abilist/libBrokenLocale.abilist: Remove.
22879 * abilist/libanl.abilist: Remove.
22880 * abilist/libcrypt.abilist: Remove.
22881 * abilist/libdl.abilist: Remove.
22882 * abilist/librt.abilist: Remove.
22883 * abilist/libthread_db.abilist: Remove.
22884 * abilist/libutil.abilist: Remove.
22885 * scripts/extract-abilist.awk: Remove.
22886 * scripts/merge-abilist.awk: Remove.
22887 * sysdeps/generic/libcidn.abilist: New file.
22888 * sysdeps/generic/libnss_compat.abilist: New file.
22889 * sysdeps/generic/libnss_db.abilist: New file.
22890 * sysdeps/generic/libnss_dns.abilist: New file.
22891 * sysdeps/generic/libnss_files.abilist: New file.
22892 * sysdeps/generic/libnss_hesiod.abilist: New file.
22893 * sysdeps/generic/libnss_nis.abilist: New file.
22894 * sysdeps/generic/libnss_nisplus.abilist: New file.
22895 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22896 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22897 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22900 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22901 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22902 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22903 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22904 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22905 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22906 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22907 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22909 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22910 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22911 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22912 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22914 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22915 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22916 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22917 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22918 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22919 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22921 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22922 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22925 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23029 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23030 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23033 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23034 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23035 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23036 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23037 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23038 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23039 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23040 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23041 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23093 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23095 * conform/conformtest.pl: Fix typo in handling typed-constant from
23098 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23100 * README: Cut down references to pre-2.6 Linux kernels and
23101 Linuxthreads. Update lists of configurations in libc and ports
23102 and sort alphabetically. Say "or newer" with Linux kernel version
23105 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23107 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23110 * math/libm-test.inc (logb_test_downward): New test to expose
23111 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23114 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23117 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23119 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23120 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23122 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23124 * sysdeps/unix/i386/brk.S: Remove file.
23125 * sysdeps/unix/i386/dl-brk.S: Likewise.
23126 * sysdeps/unix/i386/pipe.S: Likewise.
23127 * sysdeps/unix/i386/sigreturn.S: Likewise.
23128 * sysdeps/unix/i386/syscall.S: Likewise.
23129 * sysdeps/unix/i386/vfork.S: Likewise.
23130 * sysdeps/unix/i386/wait.S: Likewise.
23132 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23133 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23135 * configure.in (arm*-none*): Do not allow without
23136 --enable-hacker-mode.
23137 (netbsd*): Remove case setting base_os.
23138 (386bsd*): Likewise.
23139 (freebsd*): Likewise.
23142 (sunos*): Likewise.
23143 (ultrix*): Likewise.
23144 (newsos*): Likewise.
23145 (dynix*): Likewise.
23151 (minix*): Likewise.
23152 (irix4*): Likewise.
23153 (irix6*): Likewise.
23154 (solaris[2-9]*): Likewise.
23156 * configure: Regenerated.
23158 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23161 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23162 overflow or cancellation in calculating denominator.
23163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23165 down expression to avoid unexpected rounding in newer GCCs.
23166 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23168 2012-04-26 David S. Miller <davem@davemloft.net>
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23171 long-double compat symbols.
23172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23186 2012-04-25 David S. Miller <davem@davemloft.net>
23188 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23189 HWCAP_* values only after the memory barriers have been defined.
23190 (atomic_full_barrier): Define.
23191 (atomic_read_barrier): Define.
23192 (atomic_write_barrier): Define.
23194 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23196 * shlib-versions: Add libgcc_s version information.
23197 * sysdeps/generic/libgcc_s.h: Remove.
23198 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23200 * sysdeps/gnu/unwind-resume.c: Likewise.
23201 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23203 2012-04-25 David S. Miller <davem@davemloft.net>
23205 * sysdeps/unix/sparc/brk.S: Delete.
23206 * sysdeps/unix/sparc/dl-brk.S: Delete.
23207 * sysdeps/unix/sparc/pipe.S: Delete.
23208 * sysdeps/unix/sparc/sysdep.S: Delete.
23209 * sysdeps/unix/sparc/sysdep.h: Delete.
23210 * sysdeps/unix/sparc/vfork.S: Delete.
23211 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23212 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23214 ret_ERRVAL, r0, r1, MOVE): Define.
23215 (JUMPTARGET): Remove.
23216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23217 sysdeps/unix/sparc/sysdep.h
23218 (ENTRY, END): Remove.
23219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23221 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23223 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23224 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23227 * timezone/README: Update upstream location and email address for
23229 * timezone/zdump.c: Update from tzcode 2012b.
23230 * timezone/zic.c: Likewise.
23232 * configure.in (libc_cv_as_needed): Remove test.
23233 * configure: Regenerated.
23234 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23235 conditional definition.
23236 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23237 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23238 * config.make.in (have-as-needed): Remove variable.
23240 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23241 Paul Pluzhnikov <ppluzhnikov@google.com>
23243 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23246 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23248 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23249 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23250 * sysdeps/sh/strlen.S: Likewise.
23252 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23254 * sysdeps/unix/fork.S: Remove file.
23255 * sysdeps/unix/i386/fork.S: Likewise.
23256 * sysdeps/unix/sparc/fork.S: Likewise.
23258 * sysdeps/unix/system.c: Remove file.
23259 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23261 * sysdeps/unix/getegid.S: Remove file.
23262 * sysdeps/unix/geteuid.S: Likewise.
23264 2012-04-24 Roland McGrath <roland@hack.frob.com>
23266 * scripts/check-localplt.awk: New file.
23267 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23269 * scripts/data/localplt-generic.data: Add a comment.
23271 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23272 NODE when __dir_mkfile failed.
23273 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23274 Reported by Ludovic Courtès <ludo@gnu.org>.
23276 2012-04-24 Andreas Jaeger <aj@suse.de>
23278 * Makerules (common-clean): Also remove gen-as-const-headers
23281 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23283 * Makerules (native-compile): Do not change working directory for
23284 build. Use $(OUTPUT_OPTION) in command.
23285 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23287 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23290 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23291 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23292 * math/libm-test.inc (floor_test): Add more tests.
23293 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23295 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23297 * sysdeps/unix/getdents.c: Remove file.
23298 * sysdeps/unix/sysv/getdents.c: Likewise.
23299 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23301 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23302 sysdeps/unix/mman/syscalls.list.
23304 (mprotect): Likewise.
23306 (munmap): Likewise.
23307 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23308 * sysdeps/unix/mman/syscalls.list: Remove.
23309 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23311 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23312 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23313 * configure: Regenerated.
23314 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23315 $(libgcc_s_suffix).
23316 * config.make.in (libgcc_s_suffix): Remove variable.
23318 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23320 * sysdeps/unix/sysv/gethostname.c: Move to ...
23321 * sysdeps/posix/gethostname.c: ... here.
23323 * sysdeps/unix/execve.S: Remove file.
23325 * sysdeps/unix/_exit.S: Remove file.
23327 2012-04-23 Andreas Jaeger <aj@suse.de>
23330 * manual/Makefile: Remove make dist support, there's no
23331 need for a stand-alone documentation tar ball.
23332 (TEXI2DVI): Define always, it's not in Makeconfig.
23335 (edition): Removed.
23336 (glibc-doc-$(edition).tar): Removed
23340 (ETAGS): Remove, it's in Makeconfig.
23341 (move-if-change): Remove, it's in Makeconfig.
23343 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23346 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23347 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23348 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23349 (strtod_l, strtof_l, strtold_l): Remove __wur.
23350 It is not necessarily an error to ignore strtol's return value.
23351 One can reliably look at the stored endptr to decide whether
23352 the number had valid syntax.
23354 2012-04-21 Andreas Jaeger <aj@suse.de>
23357 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23359 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23361 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23362 * sysdeps/unix/sysv/Versions: Remove file.
23364 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23369 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23373 version from __vm86.
23375 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23377 * sysdeps/unix/common/lxstat.c: Remove file.
23378 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23380 * sysdeps/unix/sysv/Makefile: Remove file.
23382 * sysdeps/unix/sysv/direct.h: Remove file.
23384 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23385 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23386 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23387 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23388 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23389 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23390 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23392 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23394 * sysdeps/unix/xmknod.c: Remove file.
23395 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23397 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23399 * sysdeps/unix/sysv/i386/time.S: Remove file.
23401 * sysdeps/unix/fxstat.c: Remove file.
23402 * sysdeps/unix/xstat.c: Likewise.
23403 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23405 * sysdeps/unix/sysv/sigaction.c: Remove file.
23407 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23408 (sysdep_headers): Remove variable.
23409 [termio.h not in sysdep_headers] (generated): Likewise.
23410 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23411 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23412 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23413 * sysdeps/unix/sysv/tcflow.c: Likewise.
23414 * sysdeps/unix/sysv/tcflush.c: Likewise.
23415 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23416 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23417 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23418 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23419 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23421 * sysdeps/unix/siglist.c: Remove file.
23423 * sysdeps/unix/getppid.S: Remove file.
23425 * sysdeps/unix/mkdir.c: Remove file.
23426 * sysdeps/unix/rmdir.c: Likewise.
23428 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23430 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23432 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23433 errlist-compat value.
23435 2012-04-18 David S. Miller <davem@davemloft.net>
23437 * sysdeps/generic/memcopy.h (reg_char): Delete.
23438 * debug/strcat_chk.c: Use char, not reg_char.
23439 * debug/strcpy_chk.c: Likewise.
23440 * debug/strncat_chk.c: Likewise.
23441 * debug/strncpy_chk.c: Likewise.
23442 * string/memchr.c: Likewise.
23443 * string/memrchr.c: Likewise.
23444 * string/rawmemchr.c: Likewise.
23445 * string/strcat.c: Likewise.
23446 * string/strchr.c: Likewise.
23447 * string/strchrnul.c: Likewise.
23448 * string/strcmp.c: Likewise.
23449 * string/strcpy.c: Likewise.
23450 * string/strncat.c: Likewise.
23451 * string/strncmp.c: Likewise.
23452 * string/strncpy.c: Likewise.
23454 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23456 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23457 __builtin_memcopy is called when src and dest ranges are known to not
23460 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23463 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23464 fwd_align_merge macro call.
23465 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23466 bwd_align_merge macro call.
23467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23469 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23471 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23472 bwd_align_merge macros.
23473 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23474 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23475 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23477 2012-04-18 David S. Miller <davem@davemloft.net>
23479 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23481 2012-04-18 Andreas Jaeger <aj@suse.de>
23484 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23485 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23486 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23489 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23492 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23493 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23494 Adjust for changed ldbl-128 files.
23496 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23497 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23498 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23500 2012-04-17 David S. Miller <davem@davemloft.net>
23502 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23504 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23506 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23507 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23508 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23509 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23510 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23511 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23513 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23516 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23517 * math/libm-test.inc: Add ilogb errno and exception tests.
23518 * math/w_ilogb.c: New file: ilogb wrapper.
23519 * math/w_ilogbf.c: New file: ilogbf wrapper.
23520 * math/w_ilogbl.c: New file: ilogbl wrapper.
23521 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23522 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23523 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23524 exception being thrown with 0.0 as argument.
23525 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23526 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23527 exception being thrown with 0.0 as argument.
23528 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23529 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23530 exception being thrown with 0.0 as argument.
23531 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23532 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23533 exception being thrown with 0.0 as argument.
23534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23535 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23537 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23538 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23539 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23540 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23541 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23542 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23544 2012-04-17 Petr Baudis <pasky@ucw.cz>
23546 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23549 2012-04-16 Marek Polacek <polacek@redhat.com>
23551 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23553 2012-04-16 Marek Polacek <polacek@redhat.com>
23555 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23556 operands of fdivp instruction.
23558 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23560 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23561 * elf/tst-auditmod3b.c: Likewise.
23562 * elf/tst-auditmod4b.c: Likewise.
23563 * elf/tst-auditmod5b.c: Likewise.
23564 * elf/tst-auditmod6b.c: Likewise.
23565 * elf/tst-auditmod6c.c: Likewise.
23566 * elf/tst-auditmod7b.c: Likewise.
23567 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23568 * sysdeps/x86_64/preconfigure.in: Likewise.
23569 * sysdeps/x86_64/preconfigure: Regenerated.
23571 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23573 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23576 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23579 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23581 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23584 * locale/iso-639.def: Fix gl language name. Spotted by
23587 2012-04-12 Roland McGrath <roland@hack.frob.com>
23590 * libio/libio.h (__io_write_fn): Update comment.
23592 2012-04-12 Petr Baudis <pasky@ucw.cz>
23595 * stdio.texi (Hook Functions): The user provided writer function
23596 is not allowed to return -1.
23598 2012-04-11 David S. Miller <davem@davemloft.net>
23600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23602 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23604 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23605 Add a leading slash to rtkaio.
23607 2012-04-11 Jim Meyering <meyering@redhat.com>
23610 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23611 It is not necessarily an error to ignore fwrite's return
23612 value. One can reliably use ferror to test for errors after
23615 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23617 * bits/types.h (__snseconds_t): New type.
23618 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23620 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23622 (__SNSECONDS_T_TYPE): Likewise.
23623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23624 (__SNSECONDS_T_TYPE): Likewise.
23625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23626 (__SNSECONDS_T_TYPE): Likewise.
23628 2012-04-10 Andreas Jaeger <aj@suse.de>
23631 * manual/time.texi (Processor Time): Return type of times is
23632 elapsed real time since an arbitrary point in the past.
23633 (CPU Time): Move CLK_TCK from here...
23634 (Processor Time): ...to here. Correct description.
23635 * manual/conf.texi (Constants for Sysconf): Correct description of
23638 2012-04-10 David S. Miller <davem@davemloft.net>
23641 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23642 where the is a gap between DT_REL(A) and DT_JMPREL.
23644 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23646 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23647 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23648 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23650 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23652 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23653 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23654 (dl_main): Handle --inhibit-cache.
23655 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23657 * elf/dl-load.c (_dl_map_object): Use it.
23658 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23660 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23663 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23664 (__ieee754_powl): Saturate large exponents rather than testing for
23665 overflow of y*log2(x).
23666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23667 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23671 * math/s_ctan.c: Include <float.h>.
23672 (__ctan): Avoid internal overflow or cancellation in calculating
23674 * math/s_ctanf.c: Likewise.
23675 * math/s_ctanl.c: Likewise.
23676 * math/s_ctanh.c: Likewise.
23677 * math/s_ctanhf.c: Likewise.
23678 * math/s_ctanhl.c: Likewise.
23679 * math/libm-test.inc (ctan_test): Add more tests.
23680 (ctanh_test): Likewise.
23681 * sysdeps/i386/fpu/libm-test-ulps: Update.
23682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23684 2012-04-09 Andreas Jaeger <aj@suse.de>
23687 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23688 is an optional BSD extension.
23691 * manual/stdio.texi (Opening Streams): Document additional fopen
23694 2012-04-09 Roland McGrath <roland@hack.frob.com>
23696 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23697 %eax without telling the compiler.
23699 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23702 * manual/install.texi: Use sourceware.org.
23704 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23707 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23708 (__ieee754_pow): Generate overflow and underflow using huge*huge
23709 and tiny*tiny rather than just returning constant infinity or zero
23710 for large exponents.
23711 * math/libm-test.inc (pow_test): Require overflow exceptions for
23712 applicable cases of large exponents.
23715 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23716 (__ieee754_pow): Use iterative multiplication algorithm only for
23717 integer exponents with absolute value below 1024. Check for odd
23718 integer exponents when using algorithm for real exponents.
23719 * math/libm-test.inc (pow_test): Add more tests.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23722 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23725 * math/libm-test.inc (exp_test): Do not allow overflow exception
23728 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23731 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23732 instead of __kernel_standard_f.
23734 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23736 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23737 * sysdeps/x86_64/memset_chk.S: Likewise.
23739 2012-04-08 Andreas Jaeger <aj@suse.de>
23742 * manual/startup.texi (Environment Access): Describe return value
23743 for putenv and setenv.
23746 * manual/filesys.texi (Directory Entries): Add description for
23750 * manual/filesys.texi (Directory Entries): Clarify that it's file
23751 system not operating system in the description of DT_UNKNOWN.
23754 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23756 2012-04-08 Stephen Compall <s11@member.fsf.org>
23759 * manual/llio.texi (Opening and Closing Files): Add cross
23760 reference to explain mode argument.
23762 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23764 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23765 * sysdeps/x86_64/memset_chk.S: Likewise.
23767 2012-04-07 David S. Miller <davem@davemloft.net>
23769 * elf/elf.h (R_SPARC_WDISP10): Define.
23770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23773 R_SPARC_SIZE64 and R_SPARC_H34.
23775 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23778 conditions and remove no longer applicable assertion.
23780 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23782 * bits/byteswap.h: Include <features.h>.
23783 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23784 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23786 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23788 * bits/byteswap.h (__bswap_16): Removed.
23789 Include <bits/byteswap-16.h> to get __bswap_16.
23790 * sysdeps/i386/bits/byteswap.h: Likewise.
23791 * sysdeps/s390/bits/byteswap.h: Likewise.
23792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23793 * bits/byteswap-16.h: New file.
23794 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23795 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23796 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23797 * string/Makefile (headers): Add bits/byteswap-16.h.
23799 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23802 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23804 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23805 * nss/tst-nss-static.c: New.
23807 2012-04-06 Robert Millan <rmh@gnu.org>
23810 * manual/llio.texi (File Position Primitive): lseek
23811 refers to WHENCE when it really means OFFSET.
23813 2012-04-06 Andreas Jaeger <aj@suse.de>
23815 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23816 strncmp declarations.
23818 * abilist/libc.abilist: Add __poll and __ppoll.
23820 2012-04-05 David S. Miller <davem@davemloft.net>
23822 * scripts/check-local-headers.sh: Accept a host triplet in the
23823 path matched by the exclude regexp.
23825 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23827 * sysdeps/powerpc/powerpc32/dl-machine.h
23828 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23829 * sysdeps/s390/s390-32/dl-machine.h
23830 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23831 * sysdeps/sparc/sparc32/dl-machine.h
23832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23833 * sysdeps/sparc/sparc64/dl-machine.h
23834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23836 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23838 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23839 undefined symbol errors.
23841 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23844 2012-04-05 Michael Matz <matz@suse.de>
23847 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23849 2012-04-05 Andreas Jaeger <aj@suse.de>
23852 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23855 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23857 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23858 which ROUND is no valid rounding mode.
23860 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23862 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23864 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23866 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23868 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23869 an exception using FPU order intentionally.
23871 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23873 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23874 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23875 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23876 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23878 2012-04-05 Simon Josefsson <simon@josefsson.org>
23881 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23882 EINVAL when BUFLEN is too smal.
23884 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23887 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23888 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23890 2012-04-03 Andreas Jaeger <aj@suse.de>
23893 * manual/setjmp.texi (System V contexts): Fix sentence.
23896 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23897 New macro for this case.
23898 [!__GNUC__] (__bswap_64): New inline function for this case.
23899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23900 * bits/byteswap.h: Likewise.
23901 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23902 ull, guard with __GLIBC_HAVE_LONG_LONG.
23904 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23905 __GLIBC_HAVE_LONG_LONG.
23907 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23908 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23910 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23913 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23914 inptr and inend, rather than using last_ch.
23916 2012-04-02 David S. Miller <davem@davemloft.net>
23918 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23919 * stdio-common/printf-parse.h (read_int): Change return type to
23920 'int', return -1 on INT_MAX overflow.
23921 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23922 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23923 overflows INT_MAX. Check for overflow of in-format-string precision
23924 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23925 SIZE_MAX not INT_MAX for integer overflow test.
23926 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23927 skip the construct in the format string but do not record anything.
23928 * stdio-common/bug22.c: Adjust to test both width/prevision
23929 INT_MAX overflow as well as total length INT_MAX overflow. Check
23930 explicitly for proper errno values.
23932 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23934 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23936 * string/test-strcmp.c [! WIDE]: Likewise.
23937 * time/tst-mktime2.c: Likewise for INT_MAX.
23938 * string/test-string.h: #include <sys/param.h> for MIN.
23940 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23941 * sysdeps/i386/init-first.c (init): Likewise.
23942 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23943 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23944 * sysdeps/sh/init-first.c (init): Likewise.
23946 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23948 * po/ru.po: Update from translation team.
23949 * po/vi.po: Likewise.
23951 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23953 * resolv/nss_dns/dns-host.c: Merge copyright years.
23955 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23958 Optimize memcpy with prefetch if
23959 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23960 src, dst pointers have unequal 16 byte alignments.
23962 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23965 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23966 from a CNAME entry and return the minimum ttl for the query.
23967 (gaih_getanswer_slice): Likewise.
23969 2012-03-30 Jeff Law <law@redhat.com>
23971 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23973 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23974 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23976 * resolv/nss_dns/dns-host.c: Update copyright year.
23978 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23980 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23981 requests to save a system call. Fix check that all bytes are sent.
23983 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23984 comments for sendmmsg.
23986 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23989 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23990 with only 1 character between 0x0041 and 0x01b0.
23991 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23992 * wcsmbs/tst-mbsnrtowcs.c: New file.
23994 2012-03-29 David S. Miller <davem@davemloft.net>
23996 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23997 small copies by hand.
23999 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24002 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24003 _nss_compat_initgroups_dyn): Fall back to malloc/free
24004 for large group memberships.
24006 2012-03-28 David S. Miller <davem@davemloft.net>
24008 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24009 that branches into memcpy.
24010 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24013 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24016 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24017 implementation too.
24018 * sysdeps/sparc/mempcpy.S: New file.
24020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24021 the IFUNC routine in the libc case.
24022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24024 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24025 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24026 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24027 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24028 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24029 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24030 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24031 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24033 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24034 loop to 256 bytes instead of 64 bytes and fix test signedness.
24036 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24037 * sysdeps/sparc/sparc32/Makefile: rather than here...
24038 * sysdeps/sparc/sparc64/Makefile: and here.
24040 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24042 * malloc/mallocbug.c: Avoid warnings about unused variables.
24044 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24047 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24048 in the right place. Discard and retry query if response is
24049 larger than input buffer size.
24051 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24057 x for large integer exponent.
24058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24059 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24060 sign of result as needed afterwards.
24061 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24062 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24063 result for underflowing pow the same as for overflow.
24064 (__kernel_standard_l): Handle powl overflow and underflow here
24065 rather than calling __kernel_standard.
24066 * math/libm-test.inc (pow_test): Add more tests.
24081 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24082 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24083 (__kernel_standard_l): New function.
24084 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24086 * math/w_acosl.c (__acosl): Likewise.
24087 * math/w_asinl.c (__asinl): Likewise.
24088 * math/w_atan2l.c (__atan2l): Likewise.
24089 * math/w_atanhl.c (__atanhl): Likewise.
24090 * math/w_coshl.c (__coshl): Likewise.
24091 * math/w_exp10l.c (__exp10l): Likewise.
24092 * math/w_exp2l.c (__exp2l): Likewise.
24093 * math/w_fmodl.c (__fmodl): Likewise.
24094 * math/w_hypotl.c (__hypotl): Likewise.
24095 * math/w_j0l.c (__j0l, __y0l): Likewise.
24096 * math/w_j1l.c (__j1l, __y1l): Likewise.
24097 * math/w_jnl.c (__jnl, __ynl): Likewise.
24098 * math/w_lgammal.c (__lgammal): Likewise.
24099 * math/w_log10l.c (__log10l): Likewise.
24100 * math/w_log2l.c (__log2l): Likewise.
24101 * math/w_logl.c (__logl): Likewise.
24102 * math/w_powl.c (__powl): Likewise.
24103 * math/w_remainderl.c (__remainderl): Likewise.
24104 * math/w_scalbl.c (sysv_scalbl): Likewise.
24105 * math/w_sinhl.c (__sinhl): Likewise.
24106 * math/w_sqrtl.c (__sqrtl): Likewise.
24107 * math/w_tgammal.c (__tgammal): Likewise.
24108 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24109 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24110 * math/libm-test.inc (acos_test): Add more tests.
24111 (acosh_test): Likewise.
24112 (asin_test): Likewise.
24113 (atanh_test): Likewise.
24114 (exp_test): Likewise.
24115 (exp10_test): Likewise.
24116 (exp2_test): Likewise.
24117 (expm1_test): Likewise.
24118 (lgamma_test): Likewise.
24119 (log_test): Likewise.
24120 (log10_test): Likewise.
24121 (log1p_test): Likewise.
24122 (log2_test): Likewise.
24123 (pow_test): Do not allow some spurious overflow exceptions.
24124 (sqrt_test): Add more tests.
24125 (tgamma_test): Likewise.
24126 (y0_test): Likewise.
24127 (y1_test): Likewise.
24128 (yn_test): Likewise.
24130 2012-03-27 Anton Blanchard <anton@samba.org>
24132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24135 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24138 2012-03-27 David S. Miller <davem@davemloft.net>
24140 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24142 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24143 have-as-vis3 check.
24145 2012-03-27 Andreas Jaeger <aj@suse.de>
24147 * sysdeps/x86_64/elf/configure.in: Moved to ...
24148 * sysdeps/x86_64/configure.in: ... here.
24149 * sysdeps/x86_64/elf/start.S: Moved to ...
24150 * sysdeps/x86_64/start.S: ... here.
24151 * sysdeps/x86_64/elf/configure: Delete.
24153 * sysdeps/x86_64/configure.in: Merge contents from
24154 sysdeps/i386/configure.in (without i686 check).
24156 * sysdeps/i386/elf/Versions: Merge into ...
24157 * sysdeps/i386/Versions: ... this.
24158 * sysdeps/i386/elf/Versions: Delete file.
24159 * sysdeps/i386/elf/start.S: Moved to ...
24160 * sysdeps/i386/start.S: ...here.
24161 * sysdeps/i386/elf/configure.in: Merge into...
24162 * sysdeps/i386/configure.in: ...here.
24163 * sysdeps/i386/elf/configure.in: Delete file.
24164 * sysdeps/i386/elf/configure: Delete file.
24166 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24167 * debug/backtracesyms.c: ... here.
24168 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24169 * debug/backtracesymsfd.c: ... here.
24170 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24171 * sysdeps/generic/ifunc-sel.h: ... here.
24173 * sysdeps/unix/i386/start.c: Delete file.
24174 * sysdeps/unix/sparc/start.c: Delete file.
24175 * sysdeps/unix/start.c: Delete file.
24177 * sysdeps/sh/elf/configure.in: Moved to ...
24178 * sysdeps/sh/configure.in: ... here.
24179 * sysdeps/sh/elf/start.S: Moved to ...
24180 * sysdeps/sh/start.S: ... here.
24181 * sysdeps/sh/elf/configure: Delete file.
24183 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24184 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24185 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24186 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24187 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24188 * sysdeps/powerpc/powerpc64/start.S: here.
24189 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24190 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24191 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24192 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24193 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24195 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24196 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24197 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24198 * sysdeps/powerpc/powerpc32/start.S: ... here.
24199 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24200 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24201 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24203 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24204 * sysdeps/powerpc/ifunc-sel.h: ... here.
24205 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24206 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24208 * sysdeps/sparc/elf/configure.in: Moved to ...
24209 * sysdeps/sparc/configure.in: ... here.
24210 * sysdeps/sparc/elf/configure: Delete file.
24211 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24212 * sysdeps/sparc/sparc32/start.S: ... here.
24213 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24214 * sysdeps/sparc/sparc64/start.S: ... here.
24215 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24216 * sysdeps/sparc/sparc32/Makefile: ... this.
24217 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24218 * sysdeps/sparc/sparc64/Makefile: ... this.
24220 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24221 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24222 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24223 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24224 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24225 * sysdeps/s390/s390-32/setjmp.S: ... here.
24226 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24227 * sysdeps/s390/s390-32/configure.in: ... here.
24228 * sysdeps/s390/s390-32/elf/configure: Delete file.
24229 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24230 * sysdeps/s390/s390-32/start.S: ... here.
24232 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24233 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24234 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24235 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24236 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24237 * sysdeps/s390/s390-64/setjmp.S: ... here.
24238 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24239 * sysdeps/s390/s390-64/configure.in: ... here
24240 * sysdeps/s390/s390-64/elf/configure: Delete file.
24241 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24242 * sysdeps/s390/s390-64/start.S: ... here.
24243 * sysdeps/s390/s390-64/elf/configure: Delete.
24245 * configure.in: Remove support for elf directories in sysdeps.
24247 * configure: Regenerated.
24248 * sysdeps/i386/configure: Regenerated.
24249 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24250 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24251 * sysdeps/s390/s390-32/configure: Regenerated.
24252 * sysdeps/s390/s390-64/configure: Regenerated.
24253 * sysdeps/sh/configure: Regenerated.
24254 * sysdeps/sparc/configure: Regenerated.
24255 * sysdeps/x86_64/configure: Regenerated.
24257 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24262 denormal result into account.
24264 2012-03-25 Roland McGrath <roland@hack.frob.com>
24266 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24267 Reported by Allan McRae <allan@archlinux.org>.
24269 2012-03-23 Jeff Law <law@redhat.com>
24271 * nss/getnssent.c (__nss_getent): Fix typo.
24273 2012-03-23 David S. Miller <davem@davemloft.net>
24275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24277 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24279 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24280 to pad to uint64_t for each field.
24281 (dl_tls_index): Replace unsigned long with uint64_t.
24283 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24284 Paul Pluzhnikov <ppluzhnikov@google.com>
24287 * grp/Makefile (otherlibs): Don't set it.
24288 * inet/Makefile (otherlibs): Likewise.
24289 * login/Makefile (otherlibs): Likewise.
24290 * nscd/Makefile (otherlibs): Likewise.
24291 * posix/Makefile (otherlibs): Likewise.
24292 * pwd/Makefile (otherlibs): Likewise.
24293 * rt/Makefile (otherlibs): Likewise.
24294 * sunrpc/Makefile (otherlibs): Likewise.
24295 * nss/Makefile (otherlibs): Likewise.
24296 Add libnss_files to routines and static-only-routines.
24297 ($(objpfx)getent): Remove rule.
24298 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24299 static-only-routines.
24301 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24304 * math/s_cexp.c: Include <float.h>.
24305 (__cexp): Handle exp result overflowing not necessarily
24306 overflowing both real and imaginary parts of result.
24307 * math/s_cexpf.c: Likewise.
24308 * math/s_cexpl.c: Likewise.
24309 * math/libm-test.inc (cexp_test): Add more tests.
24310 * sysdeps/i386/fpu/libm-test-ulps: Update.
24311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24313 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24315 * include/link.h (ELFW): New macro.
24316 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24317 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24319 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24321 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24324 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24326 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24328 (struct La_x32_retval): Likewise.
24330 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24332 * sysdeps/x86_64/preconfigure.in: New file.
24333 * sysdeps/x86_64/preconfigure: New generated file.
24335 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24338 * math/e_exp2l.c: Include <float.h>.
24339 (__ieee754_exp2l): Handle overflow and underflow cases
24340 separately. Only pass fractional part of argument to
24342 * math/libm-test.inc (exp2_test): Add more tests.
24344 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24345 negating x to take absolute value.
24346 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24348 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24351 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24352 computing low part if x was negated.
24353 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24355 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24357 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24358 la_x32_gnu_pltexit.
24359 (pltexit): Cast int_retval to ptrdiff_t.
24360 * elf/tst-auditmod3b.c: Likewise.
24361 * elf/tst-auditmod4b.c: Likewise.
24362 * elf/tst-auditmod5b.c: Likewise.
24363 * elf/tst-auditmod6b.c: Likewise.
24364 * elf/tst-auditmod6c.c: Likewise.
24365 * elf/tst-auditmod7b.c: Likewise.
24367 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24368 and x32_gnu_pltexit.
24370 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24371 __ELF_NATIVE_CLASS.
24372 (La_x32_regs): New macro.
24373 (La_x32_retval): Likewise.
24374 (la_x32_gnu_pltenter): New function prototype.
24375 (la_x32_gnu_pltexit): Likewise.
24377 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24384 * configure.in (libc_cv_cc_nofma): Check for option to disable
24385 generation of FMA instructions.
24386 * configure: Regenerate.
24387 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24388 * sysdeps/ieee754/dbl-64/Makefile: New file.
24389 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24390 Remove brandred-fma4.
24391 (CFLAGS-brandred-fma4.c): Remove.
24392 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24398 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24400 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24401 LLONG_MAX != LONG_MAX.
24402 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24403 (_fitoa_word): Likewise.
24404 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24405 LLONG_MAX != LONG_MAX.
24406 * stdio-common/_itowa.h: Include <_itoa.h>.
24407 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24408 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24409 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24410 only if not defined.
24411 (_ITOA_WORD_TYPE): Likewise.
24412 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24413 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24415 2012-03-21 David S. Miller <davem@davemloft.net>
24417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24419 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24421 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24422 of x86_64 when setting libc_cv_slibdir, libdir and
24424 * sysdeps/unix/sysv/linux/configure: Regenerated.
24426 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24428 * manual/lang.texi (Old Varargs): Remove section.
24429 (How Variadic): Update menu.
24430 (va_start): Do not mention varargs.h.
24432 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24433 Joseph Myers <joseph@codesourcery.com>
24435 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24437 * configure: Regenerated.
24439 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24441 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24442 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24445 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24448 * Makefile (files-for-dist): Remove NOTES.
24449 (NOTES): Remove rule.
24450 * README: Don't refer to NOTES.
24451 * manual/creature.texi: Don't include macros.texi.
24452 * manual/intro.texi (creature.texi): Remove comment referring to
24455 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24456 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24457 * configure: Regenerated.
24458 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24459 LIBC_TRY_CC_OPTION.
24460 (libc_cv_as_i686): Likewise.
24461 (libc_cv_cc_avx): Likewise.
24462 (libc_cv_cc_sse2avx): Likewise.
24463 (libc_cv_cc_fma4): Likewise.
24464 (libc_cv_cc_novzeroupper): Likewise.
24465 * sysdeps/i386/configure: Regenerated.
24468 * sysdeps/i386/fpu/s_cexp.S: Remove.
24469 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24471 * math/libm-test.inc (cexp_test): Add more tests.
24472 * sysdeps/i386/fpu/libm-test-ulps: Update.
24473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475 2012-03-21 Allan McRae <allan@archlinux.org>
24477 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24479 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24482 * math/w_exp2.c: Do not include <float.h>.
24483 (o_threshold, u_threshold): Remove.
24484 (__exp2): Calculate result before checking finiteness and calling
24486 * math/w_exp2f.c: Likewise.
24487 * math/w_exp2l.c: Likewise.
24488 * math/libm-test.inc (exp2_test): Require overflow exception for
24492 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24493 range of signed 64-bit integers before using fistpll. Remove
24494 checks for whether integers fit in mantissa bits.
24495 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24496 the range of signed 32-bit integers before using fistpl. Remove
24497 checks for whether integers fit in mantissa bits.
24498 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24499 (__ieee754_powl): Test for y outside the range of signed 64-bit
24500 integers before using fistpll. Reduce 64-bit values to 63-bit
24502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24503 divide-by-zero is raised for zero to large negative powers.
24504 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24505 (__ieee754_powl): Test for y outside the range of signed 64-bit
24506 integers before using fistpll. Reduce 64-bit values to 63-bit
24508 * math/libm-test.inc (pow_test): Add more tests.
24510 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24512 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24513 <stdio-common/_itoa.h>.
24514 * debug/segfault.c: Likewise.
24515 * elf/dl-cache.c: Likewise.
24516 * elf/dl-minimal.c: Likewise.
24517 * elf/dl-misc.c: Likewise.
24518 * elf/dl-sysdep.c: Likewise.
24519 * elf/dl-version.c: Likewise.
24520 * elf/rtld.c: Likewise.
24521 * hurd/hurdsock.c: Likewise.
24522 * hurd/lookup-retry.c: Likewise.
24523 * malloc/malloc.c: Likewise.
24524 * malloc/mtrace.c: Likewise.
24525 * nscd/nscd_getgr_r.c: Likewise.
24526 * nscd/nscd_getpw_r.c: Likewise.
24527 * nscd/nscd_getserv_r.c: Likewise.
24528 * posix/getopt_init.c: Likewise.
24529 * posix/wordexp.c: Likewise.
24530 * stdio-common/_itoa.c: Likewise.
24531 * stdio-common/printf_fphex.c: Likewise.
24532 * stdio-common/vfprintf.c: Likewise.
24533 * string/_strerror.c: Likewise.
24534 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24535 * sysdeps/i386/i686/hp-timing.h: Likewise.
24536 * sysdeps/mach/_strerror.c: Likewise.
24537 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24538 * sysdeps/mach/hurd/sethostid.c: Likewise.
24539 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24540 * sysdeps/mach/xpg-strerror.c: Likewise.
24541 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24543 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24544 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24545 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24546 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24547 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24548 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24549 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24550 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24551 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24552 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24553 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24554 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24555 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24559 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24560 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24561 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24563 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24565 * stdio-common/_itoa.h: Moved to ...
24566 * sysdeps/generic/_itoa.h: Here.
24568 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24570 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24571 instead of "_itoa.h" and "_itowa.h".
24572 * stdio-common/vfprintf.: Likewise.
24574 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24576 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24578 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24579 (__signbit): Likwise.
24580 (llrintf): Likwise.
24583 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24585 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24588 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24590 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24591 OVERFLOW_EXCEPTION_OK.
24592 * math/libm-test.inc ("Philosophy"): Update comment about
24594 (OVERFLOW_EXCEPTION): Define.
24595 (OVERFLOW_EXCEPTION_OK): Likewise.
24596 (INVALID_EXCEPTION_OK): Renumber.
24597 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24598 (IGNORE_ZERO_INF_SIGN): Likewise.
24599 (test_exceptions): Handle FE_OVERFLOW.
24600 (exp10_test): Expect overflow exceptions.
24601 (exp2_test): Likewise.
24602 (expm1_test): Likewise.
24603 (nextafter_test): Likewise.
24604 (pow_test): Likewise.
24605 (scalbn_test): Likewise.
24606 (scalbln_test): Likewise.
24608 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24610 * sysdeps/x86_64/bits/atomic.h
24611 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24613 (atomic_exchange_acq): Likewise.
24614 (__arch_exchange_and_add_body): Likewise.
24615 (__arch_add_body): Likewise.
24616 (atomic_add_negative): Likewise.
24617 (atomic_add_zero): Likewise.
24619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24621 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24622 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24624 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24626 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24627 Check __x86_64__ instead of __WORDSIZE.
24629 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24631 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24633 2012-03-19 David S. Miller <davem@davemloft.net>
24635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24637 * sysdeps/sparc/fpu/fenv_private.h: New file.
24638 * sysdeps/sparc/fpu/math_private.h: Use it.
24639 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24641 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24642 (libc_feholdexcept_setroundl): Remove.
24643 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24645 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24646 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24648 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24650 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24651 int64_t instead of long int.
24652 (INSERT_WORDS64): Likwise.
24654 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24656 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24657 _Unwind_GetCFA return to _Unwind_Ptr first.
24659 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24662 * math/s_clog.c: Include <float.h>.
24663 (__clog): Scale large or subnormal inputs.
24664 * math/s_clogf.c: Likewise.
24665 * math/s_clogl.c: Likewise.
24666 * math/s_clog10.c: Include <float.h>.
24667 (M_LOG10_2): Define.
24668 (__clog10): Scale large or subnormal inputs.
24669 * math/s_clog10f.c: Likewise.
24670 * math/s_clog10l.c: Likewise.
24671 * math/libm-test.inc (clog_test): Add more tests.
24672 (clog10_test): Likewise.
24673 * sysdeps/i386/fpu/libm-test-ulps: Update.
24674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24677 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24679 * math/libm-test.inc (atan2_test): Add another test.
24681 * Makerules (common-objdir-compile): Remove.
24682 * sysdeps/unix/Makefile (config-generated): Do not add
24683 $(unix-generated) to variable.
24684 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24685 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24687 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24689 [generic bits/local_lim.h] (before-compile): Do not append to
24691 [generic bits/local_lim.h] (common-generated): Likewise.
24692 [generic sys/param.h] (before-compile): Do not append to variable.
24693 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24694 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24695 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24696 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24698 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24699 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24700 [generic sys/param.h] ($(addprefix
24701 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24702 [generic sys/param.h] (common-generated): Do not append to
24704 [generic sys/param.h] (sysdep_headers): Likewise.
24705 [generic bits/errno.h] (before-compile): Do not append to
24707 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24709 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24710 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24711 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24712 [generic bits/errno.h] (common-generated): Do not append to
24714 [generic bits/ioctls.h] (before-compile): Do not append to
24716 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24718 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24719 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24720 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24723 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24724 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24725 [generic bits/ioctls.h] (common-generated): Do not append to
24727 [generic sys/syscall.h] (syscall.h): Remove variable.
24728 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24730 [generic sys/syscall.h] (before-compile): Do not append to
24732 [generic sys/syscall.h] (common-generated): Likewise.
24733 * sysdeps/unix/errnos-tmpl.c: Remove file.
24734 * sysdeps/unix/errnos.awk: Likewise.
24735 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24736 * sysdeps/unix/ioctls.awk: Likewise.
24737 * sysdeps/unix/mk-local_lim.c: Likewise.
24738 * sysdeps/unix/snarf-ioctls: Likewise.
24740 2012-03-19 Richard Henderson <rth@twiddle.net>
24742 * sysdeps/i386/fpu/fenv_private.h: New file.
24743 * sysdeps/i386/fpu/math_private.h: Use it.
24744 (math_opt_barrier, math_force_eval): Remove.
24745 (libc_feholdexcept_setround_53bit): Remove.
24746 (libc_feupdateenv_53bit): Remove.
24747 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24748 (math_opt_barrier, math_force_eval): Remove.
24749 (libc_feholdexcept): Remove.
24750 (libc_feholdexcept_setround): Remove.
24751 (libc_fetestexcept, libc_fesetenv): Remove.
24752 (libc_feupdateenv_test): Remove.
24753 (libc_feupdateenv, libc_feholdsetround): Remove.
24754 (libc_feresetround): Remove.
24756 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24757 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24759 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24760 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24761 (libc_feupdateenv_testl): New.
24762 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24763 (libc_feupdateenv_testf): New.
24764 (libc_feupdateenv): Use libc_feupdateenv_test.
24765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24768 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24769 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24770 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24771 (libc_feresetround_noex): New.
24772 (libc_feresetround_noexf): New.
24773 (libc_feresetround_noexl): New.
24774 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24775 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24776 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24777 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24782 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24784 SET_RESTORE_ROUND_NOEX.
24785 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24786 SET_RESTORE_ROUND_NOEXF.
24787 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24788 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24789 (libc_feholdsetroundf): New.
24790 (libc_feresetround, libc_feresetroundf): New.
24792 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24793 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24794 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24796 * sysdeps/generic/math_private.h: Include <fenv.h>.
24797 (default_libc_feholdexcept): New.
24798 (default_libc_feholdexcept_setround): New.
24799 (default_libc_fesetenv, default_libc_feupdateenv): New.
24800 (libc_feholdexcept): Only define if undefined.
24801 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24802 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24803 (libc_feholdexcept_setroundl): Likewise.
24804 (libc_feholdexcept_setround_53bit): Likewise.
24805 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24806 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24807 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24808 (libc_feupdateenv_53bit): Likewise.
24809 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24810 (libc_feholdexcept): Convert from macro to inline function.
24811 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24812 (libc_fesetenv, libc_feupdateenv): Likewise.
24814 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24815 not previously defined.
24816 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24817 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24818 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24819 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24820 * sysdeps/ieee754/flt-32/math_private.h: New file.
24821 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24822 math_private.h below SET_FLOAT_WORD.
24823 (__isnan, __isinf_ns, __finite): Remove.
24824 (__isnanf, __isinf_nsf, __finitef): Remove.
24826 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24830 2012-03-17 David S. Miller <davem@davemloft.net>
24833 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24836 2012-03-16 David S. Miller <davem@davemloft.net>
24838 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24844 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24845 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24846 sysdep_routines when subdir is sysvipc.
24847 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24848 __getshmlba helper.
24850 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24852 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24854 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24857 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24859 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24860 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24861 (__lround): Renamed to ...
24862 (__llround): This. Replace long int with long long int.
24863 Define lround functions as aliases of llround functions.
24864 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24866 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24868 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24869 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24870 adresses to uintptr_t. Replace "long int" and "unsigned long
24871 int" with "greg_t" on va_arg.
24873 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24875 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24876 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24878 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24879 Move e_machine check before EI_CLASS check. Handle x32
24880 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24881 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24882 SKIP_EM_IA_64 and include
24883 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24885 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24886 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24887 (add_system_dir): New macro.
24889 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24890 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24892 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24903 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24905 * math/w_j0f.c (j0f): Likewise.
24907 * math/w_j0l.c (__j0l): Likewise.
24909 * math/w_j1.c (j1): Likewise.
24911 * math/w_j1f.c (j1f): Likewise.
24913 * math/w_j1l.c (__j1l): Likewise.
24915 * math/w_jn.c (jn): Likewise.
24917 * math/w_jnf.c (jnf): Likewise.
24919 * math/w_jnl.c (__jnl): Likewise.
24921 * math/libm-test.inc (j0_test): Add more tests.
24922 (j1_test): Likewise.
24923 (jn_test): Likewise. Add trailing semicolon to existing test.
24924 (y0_test): Likewise.
24925 (y1_test): Likewise.
24926 * sysdeps/i386/fpu/libm-test-ulps: Update.
24927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24932 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24933 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24934 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24935 (__tanl): Set errno for infinite argument.
24936 * sysdeps/i386/fpu/mptan.c: Remove.
24937 * sysdeps/i386/fpu/s_tan.S: Likewise.
24938 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24939 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24940 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24941 * math/libm-test.inc (tan_test): Add more tests and enable more
24942 tests for double and long double.
24943 * sysdeps/i386/fpu/libm-test-ulps: Update.
24944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24946 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24948 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24949 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24951 2012-03-16 Roland McGrath <roland@hack.frob.com>
24953 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24954 * configure.in: Use it for both main tree and add-ons.
24955 * configure: Regenerated.
24957 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24959 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24961 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24963 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24967 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24968 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24969 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24973 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24975 != 0 for prec == 2.
24976 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24977 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24978 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24979 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24980 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24981 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24982 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24983 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24984 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24985 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24986 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24987 * math/libm-test.inc (cos_test): Add more tests and enable more
24988 tests for long double.
24989 (sin_test): Likewise.
24990 (sincos_test): Likewise.
24991 * sysdeps/i386/fpu/libm-test-ulps: Update.
24992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24994 2012-03-16 David S. Miller <davem@davemloft.net>
24996 * sysdeps/sparc/fpu/math_private.h: New file.
24998 2012-03-15 David S. Miller <davem@davemloft.net>
25000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25014 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25015 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25017 * sysdeps/sparc/sparc-ifunc.h: New file.
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25044 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25063 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25065 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25069 2012-03-15 Andreas Jaeger <aj@suse.de>
25072 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25073 ieee754/flt-32 implementation for sin, cos and sincos.
25074 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25075 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25076 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25077 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25078 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25079 ieee754/flt-32 implementation for tan.
25081 * math/libm-test.inc (cos_test): Enable some large input tests for
25083 (sin_test): Likewise.
25084 (sincos_test): Likewise.
25085 (tan_test): Add tests for large input.
25087 * sysdeps/i386/fpu/libm-test-ulps: Update.
25089 2012-03-15 Andreas Jaeger <aj@suse.de>
25092 * math/libm-test.inc (cos_test): Add more test cases.
25093 (sin_test): Likewise.
25094 (sincos_test): Likewise.
25096 2012-03-15 Andreas Jaeger <aj@suse.de>
25099 * math/libm-test.inc (cos_test): Add a test case for large input
25101 (sin_test): Likewise.
25102 (sincos_test): Likewise.
25104 2012-03-15 Andreas Jaeger <aj@suse.de>,
25105 Joseph Myers <joseph@codesourcery.com>
25108 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25109 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25110 * sysdeps/i386/fpu/branred.c: Likewise.
25111 * sysdeps/i386/fpu/dosincos.c: Likewise.
25112 * sysdeps/i386/fpu/mpa.c: Likewise.
25113 * sysdeps/i386/fpu/s_cos.S: Likewise.
25114 * sysdeps/i386/fpu/s_sin.S: Likewise.
25115 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25116 * sysdeps/i386/fpu/sincos32.c: Likewise.
25118 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25120 (libc_feupdateenv_53bit): Define.
25121 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25123 (libc_feupdateenv_53bit): Define.
25125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25126 53 bit (without extend i386 double precision).
25128 * math/libm-test.inc (sincos_test): Add tests for large input.
25132 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25134 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25138 2012-03-15 David S. Miller <davem@davemloft.net>
25140 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25141 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25142 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25143 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25168 fmin/fmax sysdep routines.
25169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25171 2012-03-14 David S. Miller <davem@davemloft.net>
25173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25250 * sysdeps/sparc/configure.in: New file.
25251 * sysdeps/sparc/configure: Generate.
25252 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25253 * configure: Regenerate.
25254 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25255 * config.make.in (have-as-vis3): New.
25256 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25257 available use -Av9d instead of -Av9a.
25258 * sysdeps/sparc/sparc64/Makefile: Likewise.
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25274 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25275 fzeros/fnegs to load 0x80000000 into a float register instead of
25277 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25279 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25283 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25284 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25285 ($(inst_includedir)/bits/syscall.h): Remove rule.
25286 ($(objpfx)bits/syscall.d): Include instead of
25287 $(objpfx)syscall-list.d.
25288 (generated): Change syscall-list.h and syscall-list.d to
25289 bits/syscall.h and bits/syscall.d.
25291 2012-03-14 Roland McGrath <roland@hack.frob.com>
25294 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25296 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25299 * math/s_csqrt.c: Include <float.h>.
25300 (__csqrt): Scale large or subnormal inputs.
25301 * math/s_csqrtf.c: Likewise.
25302 * math/s_csqrtl.c: Likewise.
25303 * math/libm-test.inc (csqrt_test): Add more tests.
25304 * sysdeps/i386/fpu/libm-test-ulps: Update.
25305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25308 * math/libm-test.inc (hypot_test): Add more tests.
25310 2012-03-13 David S. Miller <davem@davemloft.net>
25313 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25314 double-precision for the calculation instead of scaling.
25316 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25319 manipulate bits before adding and subtracting TWO52[sx].
25320 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25323 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25325 2012-03-13 David S. Miller <davem@davemloft.net>
25327 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25328 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25330 rtld-global-offsets.h
25331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25333 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25336 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25338 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25339 'err' in the ifdef scope in which it is actually used.
25341 * nss/nss_db/db-init.c: Include string.h
25343 2012-03-12 David S. Miller <davem@davemloft.net>
25345 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25346 masking out of the most significant byte of random value used.
25347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25348 Fix coding style in previous change.
25350 * sysdeps/unix/sysv/linux/kernel-features.h
25351 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25352 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25354 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25357 2012-03-11 David S. Miller <davem@davemloft.net>
25359 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25360 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25362 for 'resultvar' otherwise things get truncated on 64-bit.
25364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25365 Fix masking out of the most significant byte of random value used.
25367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25369 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25373 2012-03-09 David S. Miller <davem@davemloft.net>
25375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25376 variables with appropriate CPP guards.
25377 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25378 frame pointer, not the stack pointer. Correct layout comments. Fix test
25379 on resulting framesize and the management of the outregs buffer for pltexit.
25380 Preserve floating point return values across _dl_call_pltexit call.
25381 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25382 framesize and the management of the outregs buffer for pltexit.
25383 Preserve floating point return values across _dl_call_pltexit
25385 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25386 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25387 (print_exit): Fix format string for return register value.
25389 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25391 * sunrpc/Makefile (others): Add rpcgen.
25392 ($(objpfx)rpcgen): Remove special build rule and dependency on
25394 * sunrpc/rpcgen.c: New file.
25396 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25399 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25400 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25401 * sysdeps/i386/crti.S: Likewise.
25402 * sysdeps/i386/crtn.S: Likewise.
25403 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25404 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25405 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25406 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25407 * sysdeps/sh/crti.S: Likewise.
25408 * sysdeps/sh/crtn.S: Likewise.
25409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25412 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25414 * locale/programs/locfile-kw.gperf: Likewise.
25415 * locale/programs/charmap-kw.h: Regenerated.
25416 * locale/programs/locfile-kw.h: Likewise.
25419 * intl/plural.y: Replace FSF snail mail address with URL.
25420 * intl/plural.c: Regenerated.
25422 2012-03-09 Richard Henderson <rth@twiddle.net>
25424 * include/math_private.h: Remove file.
25425 * math/math_private.h: Move file ...
25426 * sysdeps/generic/math_private.h: ... here.
25428 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25429 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25430 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25432 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25433 and <math_private.h>.
25434 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25435 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25436 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25437 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25438 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25439 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25442 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25443 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25445 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25459 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25460 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25522 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25523 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25524 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25525 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25526 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25527 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25528 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25529 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25530 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25531 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25533 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25534 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25535 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25536 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25537 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25539 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25540 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25541 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25542 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25544 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25545 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25549 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25551 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25552 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25553 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25554 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25555 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25556 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25561 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25562 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25564 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25567 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25568 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25570 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25571 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25572 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25573 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25574 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25577 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25580 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25582 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25583 * sysdeps/ieee754/k_standard.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25601 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25611 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25704 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25744 * sysdeps/ieee754/s_lib_version.c: Likewise.
25745 * sysdeps/ieee754/s_matherr.c: Likewise.
25746 * sysdeps/ieee754/s_signgam.c: Likewise.
25747 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25748 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25749 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25750 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25751 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25752 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25753 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25754 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25755 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25756 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25757 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25758 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25759 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25760 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25761 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25764 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25769 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25771 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25772 * sunrpc/rpc_main.c: Likewise.
25773 * sunrpc/rpc_svcout.c: Likewise.
25775 2012-03-09 David S. Miller <davem@davemloft.net>
25777 * include/math_private.h: New file.
25779 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25781 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25782 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25783 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25784 from <bits/socket_type.h>.
25785 (enum __socket_type): Don't define here.
25786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25788 bits/socket_type.h.
25791 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25792 checking __USE_GNU.
25794 * Makerules ($(inst_includedir)/%.h): New rule.
25795 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25796 (install-others): Remove variable setting.
25797 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25799 2012-03-08 Richard Henderson <rth@twiddle.net>
25801 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25802 from macro to inline function; merge with the
25803 !__LIBC_INTERNAL_MATH_INLINES version.
25804 (__ieee754_sqrtf): Likewise.
25806 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25807 to inline function.
25808 (__rintf, __floor, __floorf): Likewise.
25810 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25811 macro to inline function.
25812 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25814 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25815 not <math/math_private.h>.
25817 2012-03-08 David S. Miller <davem@davemloft.net>
25819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25821 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25823 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25825 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25827 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25828 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25830 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25832 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25833 be defined individually, they must be defined as a block. Define
25834 S for printing a string instead of hidint the different by using a
25835 macro for adding the 'l'.
25836 * stdio-common/tst-fphex-wide.c: Adjust.
25838 2012-03-07 Marek Polacek <polacek@redhat.com>
25840 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25842 2012-03-08 Marek Polacek <polacek@redhat.com>
25845 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25846 * stdio-common/tst-fphex.c: Define a few macros to make the
25847 test reusable. Use them.
25848 * stdio-common/tst-fphex-wide.c: New file.
25850 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25853 * manual/macros.texi (gnusystems): New macro.
25854 (nongnusystems): Likewise.
25855 (gnulinuxhurdsystems): Likewise.
25856 (gnuhurdsystems): Likewise..
25857 (gnulinuxsystems): Likewise.
25858 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25859 variants of the GNU system, not "GNU system".
25860 * manual/conf.texi: Likewise.
25861 * manual/errno.texi: Likewise. Update example of errno macro
25863 * manual/filesys.texi: Likewise.
25864 (getumask): Document as specific to GNU/Hurd.
25865 * manual/install.texi: Likewise. Reword some references to
25867 * manual/intro.texi: Likewise.
25868 * manual/io.texi: Likewise.
25869 (File Name Portability): Detail which constraints are inapplicable
25870 to all GNU systems and which are only inapplicable to GNU/Hurd.
25871 * manual/job.texi: Likewise.
25872 * manual/llio.texi: Likewise.
25873 (O_NOCTTY): Document as present on GNU/Linux.
25874 * manual/maint.texi: Likewise.
25875 * manual/memory.texi: Likewise.
25876 * manual/pattern.texi: Likewise.
25877 * manual/pipe.texi: Likewise.
25878 * manual/process.texi: Likewise.
25879 * manual/resource.texi: Likewise.
25880 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25882 * manual/setjmp.texi: Likewise.
25883 * manual/signal.texi: Likewise.
25884 * manual/startup.texi: Likewise.
25885 * manual/stdio.texi: Likewise.
25886 * manual/terminal.texi: Likewise.
25887 (ONLCR): Document as POSIX.
25888 (OXTABS): Document availability on GNU/Linux as XTABS.
25889 (ONOEOT): Document availability separately from other bits.
25890 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25891 * manual/time.texi: Likewise.
25892 * manual/users.texi: Likewise.
25893 * INSTALL: Regenerated.
25894 * sysdeps/gnu/errlist.c: Regenerated.
25896 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25897 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25898 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25900 * configure: Regenerated.
25902 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25904 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25905 default includes instead of AC_HEADER_CHECK.
25906 * sysdeps/i386/configure: Regenerated.
25909 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25910 * math/s_cacoshf.c (__cacoshf): Likewise.
25911 * math/s_cacoshl.c (__cacoshl): Likewise.
25912 * math/s_casinh.c (__casinh): Set signs of result from argument.
25913 * math/s_casinhf.c (__casinhf): Likewise.
25914 * math/s_casinhl.c (__casinhl): Likewise.
25915 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25916 (casinh_test): Add more tests.
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25920 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25922 * po/zh_TW.po: Update from translation team.
25924 * login/Makefile (distribute): Remove variable.
25925 * catgets/Makefile: Likewise.
25926 * mach/Makefile: Likewise.
25927 * malloc/Makefile: Likewise.
25928 * misc/Makefile: Likewise.
25929 * iconv/Makefile: Likewise.
25930 * nscd/Makefile: Likewise.
25931 * hurd/Makefile: Likewise.
25932 * manual/Makefile: Likewise.
25933 * locale/Makefile: Likewise.
25934 * intl/Makefile: Likewise.
25935 * conform/Makefile: Likewise.
25936 * nss/Makefile: Likewise.
25937 * time/Makefile: Likewise.
25938 * soft-fp/Makefile: Likewise.
25939 * dirent/Makefile: Likewise.
25940 * gmon/Makefile: Likewise.
25941 * po/Makefile: Likewise.
25942 * rt/Makefile: Likewise.
25943 * socket/Makefile: Likewise.
25944 * math/Makefile: Likewise.
25945 * signal/Makefile: Likewise.
25946 * debug/Makefile: Likewise.
25947 * elf/Makefile: Likewise.
25948 * timezone/Makefile: Likewise.
25949 * stdlib/Makefile: Likewise.
25950 * iconvdata/Makefile: Likewise.
25951 * sunrpc/Makefile: Likewise.
25952 * io/Makefile: Likewise.
25953 * argp/Makefile: Likewise.
25954 * inet/Makefile: Likewise.
25955 * hesiod/Makefile: Likewise.
25956 * grp/Makefile: Likewise.
25957 * csu/Makefile: Likewise.
25958 * wctype/Makefile: Likewise.
25959 * crypt/Makefile: Likewise.
25960 * libio/Makefile: Likewise.
25961 * string/Makefile: Likewise.
25962 * nis/Makefile: Likewise.
25963 * resolv/Makefile: Likewise.
25964 * stdio-common/Makefile: Likewise.
25965 * wcsmbs/Makefile: Likewise.
25966 * dlfcn/Makefile: Likewise.
25967 * posix/Makefile: Likewise.
25970 * timezone/Makefile: Don't install timezone files, just the programs
25973 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25975 * nss/databases.def: Add missing gshadow entry.
25977 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25979 2012-03-06 Marek Polacek <polacek@redhat.com>
25982 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25983 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25984 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25985 * stdio-common/tst-long-dbl-fphex.c: New file.
25987 2012-03-06 David S. Miller <davem@davemloft.net>
25989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25990 (set_obp_int): New function.
25991 (get_obp_int): New function.
25992 (__get_clockfreq_via_dev_openprom): Likewise.
25993 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25994 Avoid unused variable warnings on 'val' and use builtin_expect.
25995 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25997 (INLINE_CLONE_SYSCALL): Likewise.
25999 2012-03-05 David S. Miller <davem@davemloft.net>
26001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26003 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26008 only for |x| >= 40.
26009 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26011 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26014 Replace gettimeofday with __vdso_gettimeofday.
26016 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26017 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26018 __vdso_clock_gettime and __vdso_getcpu.
26020 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26021 time with __vdso_time.
26023 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26025 * manual/lang.texi (size_t): Note types to which size_t may be
26026 equivalent with the GNU C Library, but do not describe when
26027 differences between them are significant.
26029 2012-03-05 Andreas Jaeger <aj@suse.de>
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26033 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26036 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26037 (__ieee754_pow): Save and restore rounding mode and use
26038 round-to-nearest for main computations.
26039 * math/libm-test.inc (pow_test_tonearest): New function.
26040 (pow_test_towardzero): Likewise.
26041 (pow_test_downward): Likewise.
26042 (pow_test_upward): Likewise.
26043 (main): Call the new functions.
26044 * sysdeps/i386/fpu/libm-test-ulps: Update.
26045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26048 * math/libm-test.inc (cosh_test_tonearest): New function.
26049 (cosh_test_towardzero): Likewise.
26050 (cosh_test_downward): Likewise.
26051 (cosh_test_upward): Likewise.
26052 (sinh_test_tonearest): Likewise.
26053 (sinh_test_towardzero): Likewise.
26054 (sinh_test_downward): Likewise.
26055 (sinh_test_upward): Likewise.
26056 (main): Call the new functions.
26057 * sysdeps/i386/fpu/libm-test-ulps: Update.
26058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26060 2012-03-05 Tom de Vries <tom@codesourcery.com>
26062 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26063 default stack guard is set in last bytes.
26064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26066 2012-03-05 Kees Cook <keescook@chromium.org>
26068 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26071 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26072 possibly allocate from heap instead of stack.
26073 * stdio-common/bug-vfprintf-nargs.c: New file.
26074 * stdio-common/Makefile (tests): Add nargs overflow test.
26076 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26080 2012-03-03 Marek Polacek <polacek@redhat.com>
26082 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26083 * math/math_private.h: Likewise.
26084 * stdlib/tst-strtod.c: Likewise.
26085 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26086 * sysdeps/x86_64/bits/atomic.h: Likewise.
26088 2012-03-02 David S. Miller <davem@davemloft.net>
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26094 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26095 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26096 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26097 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26099 2012-03-02 Roland McGrath <roland@hack.frob.com>
26102 * manual/examples/README: New file, says the example source files
26103 can be used under GPL>=2.
26104 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26105 line containing just "*/".
26106 * manual/examples/add.c: Add copyright header (GPL>=2).
26107 * manual/examples/argp-ex1.c: Likewise.
26108 * manual/examples/argp-ex2.c: Likewise.
26109 * manual/examples/argp-ex3.c: Likewise.
26110 * manual/examples/argp-ex4.c: Likewise.
26111 * manual/examples/atexit.c: Likewise.
26112 * manual/examples/db.c: Likewise.
26113 * manual/examples/dir.c: Likewise.
26114 * manual/examples/dir2.c: Likewise.
26115 * manual/examples/execinfo.c: Likewise.
26116 * manual/examples/filecli.c: Likewise.
26117 * manual/examples/filesrv.c: Likewise.
26118 * manual/examples/fmtmsgexpl.c: Likewise.
26119 * manual/examples/genpass.c: Likewise.
26120 * manual/examples/inetcli.c: Likewise.
26121 * manual/examples/inetsrv.c: Likewise.
26122 * manual/examples/isockad.c: Likewise.
26123 * manual/examples/longopt.c: Likewise.
26124 * manual/examples/memopen.c: Likewise.
26125 * manual/examples/memstrm.c: Likewise.
26126 * manual/examples/mkfsock.c: Likewise.
26127 * manual/examples/mkisock.c: Likewise.
26128 * manual/examples/mygetpass.c: Likewise.
26129 * manual/examples/pipe.c: Likewise.
26130 * manual/examples/popen.c: Likewise.
26131 * manual/examples/rprintf.c: Likewise.
26132 * manual/examples/search.c: Likewise.
26133 * manual/examples/select.c: Likewise.
26134 * manual/examples/setjmp.c: Likewise.
26135 * manual/examples/sigh1.c: Likewise.
26136 * manual/examples/sigusr.c: Likewise.
26137 * manual/examples/stpcpy.c: Likewise.
26138 * manual/examples/strdupa.c: Likewise.
26139 * manual/examples/strftim.c: Likewise.
26140 * manual/examples/strncat.c: Likewise.
26141 * manual/examples/subopt.c: Likewise.
26142 * manual/examples/swapcontext.c: Likewise.
26143 * manual/examples/termios.c: Likewise.
26144 * manual/examples/testopt.c: Likewise.
26145 * manual/examples/testpass.c: Likewise.
26146 * manual/examples/timeval_subtract.c: Likewise.
26149 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26151 * manual/timeval_subtract.c.texi: ... here, new file.
26153 2012-03-02 David S. Miller <davem@davemloft.net>
26155 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26157 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26160 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26161 (__sin): Save and restore rounding mode and use round-to-nearest
26162 for all computations.
26163 (__cos): Save and restore rounding mode and use round-to-nearest
26164 for all computations.
26165 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26167 (tan): Save and restore rounding mode and use round-to-nearest for
26169 * math/libm-test.inc (cos_test_tonearest): New function.
26170 (cos_test_towardzero): Likewise.
26171 (cos_test_downward): Likewise.
26172 (cos_test_upward): Likewise.
26173 (sin_test_tonearest): Likewise.
26174 (sin_test_towardzero): Likewise.
26175 (sin_test_downward): Likewise.
26176 (sin_test_upward): Likewise.
26177 (tan_test_tonearest): Likewise.
26178 (tan_test_towardzero): Likewise.
26179 (tan_test_downward): Likewise.
26180 (tan_test_upward): Likewise.
26181 (main): Call the new functions.
26182 * sysdeps/i386/fpu/libm-test-ulps: Update.
26183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26186 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26187 small n, then large n, before computing and testing k+n.
26188 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26193 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26194 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26197 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26199 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26200 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26201 * math/libm-test.inc (scalbn_test): Add more tests.
26202 (scalbln_test): Likewise.
26204 * manual/filesys.texi (mode_t): Describe constraints on size and
26205 signedness, not exact equivalence to a particular type.
26207 (ino64_t): Likewise.
26209 (nlink_t): Likewise.
26210 (blkcnt_t): Likewise.
26211 (blkcnt64_t): Likewise.
26212 * manual/llio.texi (off_t): Likewise.
26215 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26216 (__ieee754_exp): Save and restore rounding mode and use
26217 round-to-nearest for all computations.
26218 * math/libm-test.inc (exp_test_tonearest): New function.
26219 (exp_test_towardzero): Likewise.
26220 (exp_test_downward): Likewise.
26221 (exp_test_upward): Likewise.
26222 (main): Call the new functions.
26223 * sysdeps/i386/fpu/libm-test-ulps: Update.
26224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26226 2012-03-01 Chris Demetriou <cgd@google.com>
26228 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26229 have predictable order.
26231 2012-03-01 David S. Miller <davem@davemloft.net>
26233 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26235 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26236 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26237 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26240 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26241 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26242 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26244 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26245 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26246 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26247 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26248 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26253 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26256 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26257 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26258 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26259 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26260 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26264 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26265 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26266 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26269 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26270 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26272 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26273 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26274 * sysdeps/sparc/elf/configure: Regenerated.
26276 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26278 * configure.in (AS, LD): Require binutils 2.20 or later.
26279 * configure: Regenerated.
26280 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26281 as required minimum version.
26282 * INSTALL: Regenerated.
26286 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26287 before squaring exponent.
26288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26289 bottom long double and 27 bits of top long double before squaring
26291 * math/libm-test.inc (erfc_test): Add more tests.
26292 * sysdeps/i386/fpu/libm-test-ulps: Update.
26293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26296 2012-03-01 Kai Tietz <ktietz@redhat.com>
26298 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26299 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26300 containing bit-fields.
26301 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26302 * soft-fp/single.h (_FP_UNION_S): Likewise.
26303 * soft-fp/double.h (_FP_UNION_D): Likewise.
26305 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26308 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26309 not include ../strcmp.S.
26310 [USE_AS_STRNCASECMP_L]: Likewise.
26311 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26312 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26313 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26314 (__strncasecmp_l_ia32): Define as alias to
26315 __strncasecmp_l_nonascii.
26318 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26319 * sysdeps/i386/fpu/libm-test-ulps: Update.
26320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26322 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26325 2012-02-29 Jeff Law <law@redhat.com>
26327 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26328 out of bounds read.
26330 2012-02-29 Marek Polacek <polacek@redhat.com>
26333 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26334 * elf/Makefile: Add rules to run tst-unused-dep.out.
26336 2012-02-28 David S. Miller <davem@davemloft.net>
26338 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26339 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26342 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26343 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26345 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26347 * math/libm-test.inc (llround_test): Move one test from
26348 lround_test. Use TEST_f_L in moved test.
26349 (lround_test): Move misplaced test to llround_test. Add testcase
26352 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26354 * sysdeps/x86_64/fpu/e_expf.S: New file.
26355 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26357 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26360 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26361 of remain_len that may cause incomplete multi-byte character and
26363 * posix/bug-regex33.c: New file.
26364 * posix/Makefile (tests): Add bug-regex33.
26366 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26368 * manual/macros.texi: New file.
26369 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26370 * manual/libc.texinfo: Include macros.texi.
26371 * manual/creatute.texi: Likewise.
26372 * manual/install.texi: Likewise.
26373 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26374 @glibcadj{} in references to the GNU C Library.
26375 * manual/charset.texi: Likewise.
26376 * manual/conf.texi: Likewise.
26377 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26378 when not using those macros.
26379 * manual/creature.texi: Likewise.
26380 * manual/crypt.texi: Likewise.
26381 * manual/errno.texi: Likewise.
26382 * manual/filesys.texi: Likewise.
26383 * manual/header.texi: Likewise.
26384 * manual/install.texi: Likewise.
26385 * manual/intro.texi: Likewise.
26386 * manual/io.texi: Likewise.
26387 * manual/job.texi: Likewise.
26388 * manual/lang.texi: Likewise.
26389 * manual/libc.texiinfo: Likewise.
26390 * manual/llio.texi: Likewise.
26391 * manual/locale.texi: Likewise.
26392 * manual/maint.texi: Likewise.
26393 * manual/math.texi: Likewise.
26394 * manual/memory.texi: Likewise.
26395 * manual/message.texi: Likewise.
26396 * manual/nss.texi: Likewise.
26397 * manual/pattern.texi: Likewise.
26398 * manual/process.texi: Likewise.
26399 * manual/resource.texi: Likewise.
26400 * manual/search.texi: Likewise.
26401 * manual/setjmp.texi: Likewise.
26402 * manual/signal.texi: Likewise.
26403 * manual/socket.texi: Likewise.
26404 * manual/startup.texi: Likewise.
26405 * manual/stdio.texi: Likewise.
26406 * manual/string.texi: Likewise.
26407 * manual/sysinfo.texi: Likewise.
26408 * manual/syslog.texi: Likewise.
26409 * manual/terminal.texi: Likewise.
26410 * manual/time.texi: Likewise.
26411 * manual/users.texi: Likewise.
26412 * INSTALL: Regenerated.
26413 * NOTES: Regenerated.
26414 * sysdeps/gnu/errlist.c: Regenerated.
26416 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26418 * include/dirent.h: Include <dirstream.h> before
26421 2012-02-28 David S. Miller <davem@davemloft.net>
26423 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26424 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26425 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26426 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26428 2012-02-27 David S. Miller <davem@davemloft.net>
26430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26432 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26433 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26436 frame pointer instead of stack pointer relative arg slot.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26438 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26439 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26441 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26444 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26446 2012-02-27 David S. Miller <davem@davemloft.net>
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26452 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26453 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26454 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26455 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26457 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26459 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26460 later. Allow versions 5-9.
26461 * configure: Regenerated.
26462 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26463 required minimum version and 4.6 as recommended version. Do not
26464 mention bugs in GCC 2.7 and 2.8.
26465 * INSTALL: Regenerated.
26467 2012-02-27 David S. Miller <davem@davemloft.net>
26469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26473 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26474 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26475 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26476 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26479 manipulate bits before adding and subtracting TWO112[sx].
26480 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26482 2012-02-27 Roland McGrath <roland@hack.frob.com>
26485 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26486 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26487 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26488 being in POSIX, because they are in 1003.1-2008.
26490 * rt/tst-aio.c: Include <fcntl.h>.
26491 * rt/tst-aio7.c: Likewise.
26492 * rt/tst-aio64.c: Likewise.
26494 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26496 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26498 * manual/install.texi (--with-headers): Describe headers as
26499 interface headers, not private headers.
26500 (Specific advice for GNU/Linux systems): Describe use of headers
26501 from "make headers_install", not private headers from older
26503 * INSTALL: Regenerated.
26504 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26506 * sysdeps/unix/sysv/linux/configure: Regenerated.
26508 * manual/llio.texi (fclean): Remove documentation.
26510 * manual/Makefile (libc-texi-generated): New variable. Include
26512 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26513 $(libc-texi-generated), not duplicated list of files.
26514 (version.texi, stamp-version): New rules.
26515 (realclean): Remove $(libc-texi-generated), not individual files
26516 from that list. Do not remove dir-add.texinfo.
26517 * manual/libc.texinfo: Comment out uses of edition numbers and
26518 references to printed manual. Remove last-updated dates.
26519 (EDITION): Comment out.
26521 (VERSION, UPDATED): Remove.
26522 (version.texi): Include.
26524 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26526 * sysdeps/posix/spawni.c: Include <signal.h>.
26527 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26528 * sysdeps/pthread/aio_fsync.c: Likewise.
26530 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26532 * conform/Makefile (tests): Run only when not cross-compiling and
26533 when fast-check is not defined.
26535 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26536 * conform/data/limits.h-data: Fixes for POSIX2008.
26537 * conform/run-conformtest.sh: Run all tests.
26538 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26540 * include/bits/dlfcn.h: Likewise.
26541 * include/langinfo.h: Likewise.
26542 * include/monetary.h: Likewise.
26543 * include/sys/poll.h: Likewise.
26545 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26547 * posix/spawn.h: Define __need_sigset_t.
26548 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26549 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26550 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26551 to get sigevent_t only.
26552 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26553 only for __USE_GNU.
26554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26555 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26556 process_vm_writev only for __USE_GNU.
26557 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26559 * conform/Makefile: For now ignore errors from run-conformtest.
26560 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26561 POSIX to avoid namespace pollution. Don't prepend headers.
26562 * conform/data/aio.h-data: Fixes for POSIX testing.
26563 * conform/data/fcntl.h-data: Likewise.
26564 * conform/data/glob.h-data: Likewise.
26565 * conform/data/grp.h-data: Likewise.
26566 * conform/data/pthread.h-data: Likewise.
26567 * conform/data/pwd.h-data: Likewise.
26568 * conform/data/signal.h-data: Likewise.
26569 * conform/data/spawn.h-data: Likewise.
26570 * conform/data/stdio.h-data: Likewise.
26571 * conform/data/stdlib.h-data: Likewise.
26572 * conform/data/stropts.h-data: Likewise.
26573 * conform/data/sys/mman.h-data: Likewise.
26574 * conform/data/sys/stat.h-data: Likewise.
26575 * conform/data/sys/types.h-data: Likewise.
26576 * conform/data/sys/wait.h-data: Likewise.
26577 * conform/data/time.h-data: Likewise.
26578 * conform/data/unistd.h-data: Likewise.
26579 * conform/data/utime.h-data: Likewise.
26581 * io/sys/stat.h: fchmod was always in POSIX.
26582 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26583 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26584 * rt/aio.h: Define __need_timespec before including <time.h>.
26585 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26586 struct. Add forward declaration of pthread_attr_t and use it in
26588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26590 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26591 always remove CLK_TCK definition.
26593 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26595 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26597 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26599 * conform/run-conformtest.sh: New file.
26600 * conform/Makefile: Run run-conformtest for tests.
26601 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26604 * conform/data/uchar.h-data: New file.
26605 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26606 * conform/data/arpa/inet.h-data: Likewise.
26607 * conform/data/assert.h-data: Likewise.
26608 * conform/data/complex.h-data: Likewise.
26609 * conform/data/cpio.h-data: Likewise.
26610 * conform/data/ctype.h-data: Likewise.
26611 * conform/data/dirent.h-data: Likewise.
26612 * conform/data/dlfcn.h-data: Likewise.
26613 * conform/data/errno.h-data: Likewise.
26614 * conform/data/fcntl.h-data: Likewise.
26615 * conform/data/float.h-data: Likewise.
26616 * conform/data/fmtmsg.h-data: Likewise.
26617 * conform/data/fnmatch.h-data: Likewise.
26618 * conform/data/ftw.h-data: Likewise.
26619 * conform/data/glob.h-data: Likewise.
26620 * conform/data/grp.h-data: Likewise.
26621 * conform/data/iconv.h-data: Likewise.
26622 * conform/data/inttypes.h-data: Likewise.
26623 * conform/data/langinfo.h-data: Likewise.
26624 * conform/data/libgen.h-data: Likewise.
26625 * conform/data/limits.h-data: Likewise.
26626 * conform/data/locale.h-data: Likewise.
26627 * conform/data/math.h-data: Likewise.
26628 * conform/data/monetary.h-data: Likewise.
26629 * conform/data/mqueue.h-data: Likewise.
26630 * conform/data/ndbm.h-data: Likewise.
26631 * conform/data/net/if.h-data: Likewise.
26632 * conform/data/netdb.h-data: Likewise.
26633 * conform/data/netinet/in.h-data: Likewise.
26634 * conform/data/nl_types.h-data: Likewise.
26635 * conform/data/poll.h-data: Likewise.
26636 * conform/data/pthread.h-data: Likewise.
26637 * conform/data/pwd.h-data: Likewise.
26638 * conform/data/regex.h-data: Likewise.
26639 * conform/data/sched.h-data: Likewise.
26640 * conform/data/search.h-data: Likewise.
26641 * conform/data/semaphore.h-data: Likewise.
26642 * conform/data/setjmp.h-data: Likewise.
26643 * conform/data/signal.h-data: Likewise.
26644 * conform/data/spawn.h-data: Likewise.
26645 * conform/data/stdarg.h-data: Likewise.
26646 * conform/data/stdio.h-data: Likewise.
26647 * conform/data/stdlib.h-data: Likewise.
26648 * conform/data/string.h-data: Likewise.
26649 * conform/data/strings.h-data: Likewise.
26650 * conform/data/stropts.h-data: Likewise.
26651 * conform/data/sys/ipc.h-data: Likewise.
26652 * conform/data/sys/mman.h-data: Likewise.
26653 * conform/data/sys/msg.h-data: Likewise.
26654 * conform/data/sys/resource.h-data: Likewise.
26655 * conform/data/sys/select.h-data: Likewise.
26656 * conform/data/sys/sem.h-data: Likewise.
26657 * conform/data/sys/shm.h-data: Likewise.
26658 * conform/data/sys/socket.h-data: Likewise.
26659 * conform/data/sys/stat.h-data: Likewise.
26660 * conform/data/sys/statvfs.h-data: Likewise.
26661 * conform/data/sys/time.h-data: Likewise.
26662 * conform/data/sys/timeb.h-data: Likewise.
26663 * conform/data/sys/times.h-data: Likewise.
26664 * conform/data/sys/types.h-data: Likewise.
26665 * conform/data/sys/uio.h-data: Likewise.
26666 * conform/data/sys/un.h-data: Likewise.
26667 * conform/data/sys/utsname.h-data: Likewise.
26668 * conform/data/sys/wait.h-data: Likewise.
26669 * conform/data/syslog.h-data: Likewise.
26670 * conform/data/tar.h-data: Likewise.
26671 * conform/data/termios.h-data: Likewise.
26672 * conform/data/utime.h-data: Likewise.
26673 * conform/data/utmpx.h-data: Likewise.
26674 * conform/data/varargs.h-data: Likewise.
26675 * conform/data/wchar.h-data: Likewise.
26676 * conform/data/wctype.h-data: Likewise.
26677 * conform/data/wordexp.h-data: Likewise.
26679 * include/stropts.h: New file.
26680 * include/uchar.h: New file.
26681 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26682 * include/assert.h: Likewise.
26683 * include/ctype.h: Likewise.
26684 * include/dirent.h: Likewise.
26685 * include/dlfcn.h: Likewise.
26686 * include/fcntl.h: Likewise.
26687 * include/fnmatch.h: Likewise.
26688 * include/glob.h: Likewise.
26689 * include/grp.h: Likewise.
26690 * include/libio.h: Likewise.
26691 * include/locale.h: Likewise.
26692 * include/math.h: Likewise.
26693 * include/net/if.h: Likewise.
26694 * include/netdb.h: Likewise.
26695 * include/netinet/in.h: Likewise.
26696 * include/pthread.h: Likewise.
26697 * include/pwd.h: Likewise.
26698 * include/regex.h: Likewise.
26699 * include/sched.h: Likewise.
26700 * include/search.h: Likewise.
26701 * include/setjmp.h: Likewise.
26702 * include/signal.h: Likewise.
26703 * include/stdio.h: Likewise.
26704 * include/stdlib.h: Likewise.
26705 * include/string.h: Likewise.
26706 * include/sys/cdefs.h: Likewise.
26707 * include/sys/mman.h: Likewise.
26708 * include/sys/msg.h: Likewise.
26709 * include/sys/resource.h: Likewise.
26710 * include/sys/select.h: Likewise.
26711 * include/sys/socket.h: Likewise.
26712 * include/sys/stat.h: Likewise.
26713 * include/sys/statvfs.h: Likewise.
26714 * include/sys/time.h: Likewise.
26715 * include/sys/times.h: Likewise.
26716 * include/sys/uio.h: Likewise.
26717 * include/sys/utsname.h: Likewise.
26718 * include/sys/wait.h: Likewise.
26719 * include/termios.h: Likewise.
26720 * include/time.h: Likewise.
26721 * include/ulimit.h: Likewise.
26722 * include/unistd.h: Likewise.
26723 * include/utime.h: Likewise.
26724 * include/wchar.h: Likewise.
26725 * include/wctype.h: Likewise.
26726 * include/wordexp.h: Likewise.
26728 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26730 * time/time.h: TIME_UTC must be a macro.
26731 Make timespec_get available for ISO C11 only as well.
26733 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26735 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26736 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26738 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26740 * configure.in: Use -o not -a in test for unsupported multi-arch.
26742 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26744 * manual/texinfo.tex: Update to version 2012-01-19.16.
26746 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26748 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26750 2012-02-24 Roland McGrath <roland@hack.frob.com>
26753 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26754 * manual/fdl-1.3.texi: New file.
26755 * manual/fdl-1.1.texi: File removed.
26758 * manual/libc.texinfo (FDL_VERSION): New @set.
26759 Use it for mention of FDL in cover text.
26760 (Documentation License): Use it in @include file name.
26762 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26763 Roland McGrath <roland@hack.frob.com>
26766 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26767 not LONG_LONG_MAX and LONG_LONG_MIN.
26768 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26769 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26771 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26773 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26777 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26778 manipulate bits before adding and subtracting TWO23[sx].
26779 * math/libm-test.inc (nearbyint_test): Add more tests.
26781 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26784 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26785 bits before adding and subtracting TWO23[sx].
26786 * math/libm-test.inc (rint_test): Add more tests.
26787 (rint_test_tonearest): Likewise.
26788 (rint_test_towardzero): Likewise.
26789 (rint_test_downward): Likewise.
26790 (rint_test_upward: Likewise.
26792 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26795 * include/stdc-predef.h: New file. Extracted from features.h.
26796 * include/features.h: Include stdc-predef.h.
26797 * Makefile (headers): Add stdc-predef.h.
26798 * CONFORMANCE (Compiler limitations): Update.
26800 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26802 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26804 2012-02-21 David S. Miller <davem@davemloft.net>
26806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26807 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26809 2012-02-20 David S. Miller <davem@davemloft.net>
26811 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26812 using a normal save/restore sequence, rather than allocating a
26813 dummy stack frame just to store a frame pointer and restore.
26814 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26816 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26818 * manual/install.texi: Fix stray word in line-wrapped comment.
26820 2012-02-20 David S. Miller <davem@davemloft.net>
26822 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26823 both binutils and gcc support GOTDATA.
26825 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26826 "rd %pc" in the PIC register setup sequences.
26828 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26829 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26830 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26831 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26832 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26834 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26837 (SYSCALL_ERROR_HANDLER): Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26841 (SYSCALL_ERROR_HANDLER): Likewise.
26843 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26844 (HAVE_GCC_GOTDATA): New.
26845 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26846 relocation support in both binutils and gcc.
26847 * sysdeps/sparc/elf/configure: Regenerate.
26849 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26850 * sysdeps/sparc/sparc32/elf/configure: Delete.
26851 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26852 * sysdeps/sparc/sparc64/elf/configure: Delete.
26853 * sysdeps/sparc/elf/configure.in: New file.
26854 * sysdeps/sparc/elf/configure: Generate.
26856 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26857 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26858 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26859 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26860 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26862 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26864 * manual/install.texi: Do not mention specific glibc version
26866 * manual/libc.texinfo (VERSION, UPDATED): Update.
26867 (@copying): Use @copyright{} and range of years.
26869 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26872 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26873 [crti.S not in sysdirs] (generated): Do not append.
26874 [crti.S not in sysdirs] (omit-deps): Likewise.
26875 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26876 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26877 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26878 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26879 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26881 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26882 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26883 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26884 * csu/defs.awk: Remove file.
26885 * sysdeps/generic/initfini.c: Likewise.
26886 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26888 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26891 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26893 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26894 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26895 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26898 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26900 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26901 (__EPOLL_PACKED): Define to empty if not defined by
26903 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26907 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26909 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26910 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26912 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26914 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26918 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26920 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26923 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26927 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26930 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26932 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26934 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26935 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26937 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26939 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26942 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26944 * math/w_acos.c: Use non-signaling floating-point comparisons.
26945 * math/w_acosf.c: Likewise.
26946 * math/w_acosh.c: Likewise.
26947 * math/w_acoshf.c: Likewise.
26948 * math/w_acoshl.c: Likewise.
26949 * math/w_acosl.c: Likewise.
26950 * math/w_asin.c: Likewise.
26951 * math/w_asinf.c: Likewise.
26952 * math/w_asinl.c: Likewise.
26953 * math/w_atanh.c: Likewise.
26954 * math/w_atanhf.c: Likewise.
26955 * math/w_atanhl.c: Likewise.
26956 * math/w_exp2.c: Likewise.
26957 * math/w_exp2f.c: Likewise.
26958 * math/w_exp2l.c: Likewise.
26959 * math/w_j0.c: Likewise.
26960 * math/w_j0f.c: Likewise.
26961 * math/w_j0l.c: Likewise.
26962 * math/w_j1.c: Likewise.
26963 * math/w_j1f.c: Likewise.
26964 * math/w_j1l.c: Likewise.
26965 * math/w_jn.c: Likewise.
26966 * math/w_jnf.c: Likewise.
26967 * math/w_log.c: Likewise.
26968 * math/w_log10.c: Likewise.
26969 * math/w_log10f.c: Likewise.
26970 * math/w_log10l.c: Likewise.
26971 * math/w_log2.c: Likewise.
26972 * math/w_log2f.c: Likewise.
26973 * math/w_log2l.c: Likewise.
26974 * math/w_logf.c: Likewise.
26975 * math/w_logl.c: Likewise.
26976 * math/w_sqrt.c: Likewise.
26977 * math/w_sqrtf.c: Likewise.
26978 * math/w_sqrtl.c: Likewise.
26979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26980 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26982 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26983 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26985 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26988 * manual/string.texi (strnlen): Use correct parameter name in
26989 equivalent expression.
26991 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26994 * manual/users.texi (seteuid): Consistently use neweuid for
26997 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27000 * manual/nss.texi (Services in the NSS configuration): Correct
27001 list of services in example configuration file.
27003 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27006 * manual/arith.texi: Remove statements about negative zero
27007 behaving identically to zero.
27009 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27012 * manual/install.texi: Do not document upgrading from libc5.
27014 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27017 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27019 2012-02-18 David S. Miller <davem@davemloft.net>
27021 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27022 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27023 %o7 across the call.
27024 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27027 SETUP_PIC_REG_LEAF.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27029 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27030 * sysdeps/sparc/crtn.S: Likewise.
27032 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27034 * aout/Makefile: Remove.
27036 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27039 * manual/examples/argp-ex1.c (main): Format definition in GNU
27041 * manual/examples/argp-ex2.c (main): Likewise.
27042 * manual/examples/argp-ex3.c (main): Likewise.
27043 * manual/examples/argp-ex4.c (main): Likewise.
27044 * manual/examples/longopt.c (main): Use new-style prototype
27046 * manual/examples/strncat.c (main): Specify return type and use
27047 (void) for arguments.
27048 * manual/examples/subopt.c (main): Use char **argv argument.
27050 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27053 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27056 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27059 * manual/string.texi (strchr): Change when strchrnul is
27062 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27065 * manual/locale.texi (setlocale): Document LOCPATH.
27067 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27070 * manual/process.texi (execle): Move @dots{} before last argument.
27072 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27075 * manual/charset.texi (Generic Charset Conversion): Fix typo
27076 (LC_TYPE -> LC_CTYPE).
27078 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27081 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27082 (scalbnf): Likewise.
27083 (scalbnl): Likewise.
27084 (scalbln): Likewise.
27085 (scalblnf): Likewise.
27086 (scalblnl): Likewise.
27087 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27088 (vwarnx): Likewise.
27091 * manual/filesys.texi (telldir): Use braces around return type.
27092 * manual/llio.texi (mmap): Add space after comma.
27093 (mmap64): Likewise.
27094 * manual/math.texi (jn): Use @var{} on parameter names.
27100 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27102 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27104 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27105 (sched_get_priority_max): Likewise.
27106 * manual/signal.texi (sigvec): Add space after comma.
27107 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27109 (if_indextoname): Likewise.
27110 (if_freenameindex): Likewise.
27111 (sendto): Use ',' instead of '.' in prototype.
27112 * manual/startup.texi (syscall): Use @dots{} instead of literal
27114 * manual/stdio.texi (__fpending): Separate initial words of
27115 paragraph from @deftypefun line.
27116 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27118 (vsyslog): Use @var{} on parameter names.
27119 * manual/terminal.texi (stty): Use @var{} on parameter names.
27120 * manual/users.texi (getutmp): Use @var{} on parameter names.
27121 (getutmpx): Likewise.
27123 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27126 * manual/stdio.texi (fopen): Fix typos in description of
27129 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27132 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27133 get clock_id definition.
27135 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27138 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27139 (madvise): Cast every argument to void on its own.
27141 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27144 * manual/startup.texi (Exit Status): Fix typo.
27146 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27149 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27150 * manual/examples/argp-ex2.c: Likewise.
27151 * manual/examples/argp-ex3.c: Likewise.
27153 2012-02-16 Richard Henderson <rth@redhat.com>
27155 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27156 * sysdeps/s390/s390-32/initfini.c: Remove.
27157 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27158 * sysdeps/s390/s390-64/initfini.c: Remove.
27160 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27162 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27163 compiler output for sysdeps/generic/initfini.c.
27164 * sysdeps/sh/elf/initfini.c: Remove file.
27166 2012-02-16 David S. Miller <davem@davemloft.net>
27169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27171 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27172 * sysdeps/sparc/crti.S: New file.
27173 * sysdeps/sparc/crtn.S: New file.
27174 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27175 * sysdeps/sparc/sparc64/Makefile: Likewise.
27177 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27180 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27182 2012-02-15 Roland McGrath <roland@hack.frob.com>
27185 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27187 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27188 (write, read, close): Likewise.
27189 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27191 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27193 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27194 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27195 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27196 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27198 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27202 2012-02-14 Marek Polacek <polacek@redhat.com>
27204 * sysdeps/x86_64/crti.S: New file.
27205 * sysdeps/x86_64/crtn.S: New file.
27206 * sysdeps/x86_64/elf/initfini.c: Remove file.
27208 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27210 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27211 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27212 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27213 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27215 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27219 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27221 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27222 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27223 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27224 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27226 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27230 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27232 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27233 __feraiseexcept instead of feraiseexcept.
27235 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27236 nanosleep invocations.
27237 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27238 strings, and add error checking for a nanosleep invocations.
27240 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27242 Replace FSF snail mail address with URLs, as per GNU coding standards.
27243 Most of the snail mail addresses were wrong anyway, and omitting
27244 them makes the source code easier to maintain. Almost all of the
27245 changes are to license notices and to locale LC_IDENTIFICATION
27246 addresses, except for this one:
27247 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27248 not its snail mail address.
27250 2012-02-09 Richard Henderson <rth@twiddle.net>
27252 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27253 of kernel-features.h.
27255 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27257 2012-02-08 Marek Polacek <polacek@redhat.com>
27259 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27260 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27261 * sysdeps/gnu/_G_config.h: Likewise.
27262 * sysdeps/generic/_G_config.h: Likewise.
27264 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27266 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27270 * sysdeps/powerpc/powerpc32/crti.S: New file.
27271 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27272 * sysdeps/powerpc/powerpc64/crti.S: New file.
27273 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27275 * Makeconfig (have-initfini): Don't set.
27276 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27277 * configure.in (nopic_initfini): Don't substitute.
27278 * config.h.in (HAVE_INITFINI): Don't #undef.
27279 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27280 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27282 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27284 Support crti.S and crtn.S provided directly by architectures.
27285 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27286 [crti.S in sysdirs] (omit-deps): Likewise.
27287 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27288 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27289 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27290 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27291 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27292 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27293 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27294 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27295 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27296 compiler output for sysdeps/generic/initfini.c.
27297 * sysdeps/i386/elf/Makefile: Remove file.
27298 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27300 2012-02-07 Marek Polacek <polacek@redhat.com>
27302 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27303 * sysdeps/gnu/_G_config.h: Likewise.
27304 * sysdeps/mach/hurd/_G_config.h: Likewise.
27306 2012-02-07 Marek Polacek <polacek@redhat.com>
27308 * math/Makefile (tests): Add tst-CMPLX2.
27309 * math/tst-CMPLX2.c: New file.
27311 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27313 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27315 * math/libm-test.inc (jn_test): Add missing L suffix.
27317 2012-02-06 Marek Polacek <polacek@redhat.com>
27319 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27320 * sysdeps/i386/fpu/e_powf.S: Likewise.
27321 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27322 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27323 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27324 * sysdeps/i386/fpu/e_pow.S: Likewise.
27325 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27327 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27328 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27329 * sysdeps/i386/fpu/e_log2.S: Likewise.
27330 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27331 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27332 * sysdeps/i386/fpu/e_powl.S: Likewise.
27333 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27334 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27335 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27336 * sysdeps/i386/fpu/e_logl.S: Likewise.
27337 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27338 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27339 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27340 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27341 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27342 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27343 * sysdeps/i386/fpu/e_log.S: Likewise.
27344 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27346 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27347 * sysdeps/i386/fpu/e_logf.S: Likewise.
27348 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27349 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27350 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27351 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27352 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27353 * sysdeps/i386/fpu/e_log10.S: Likewise.
27354 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27356 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27357 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27359 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27360 * sysdeps/i386/asm-syntax.h: Likewise.
27361 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27363 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27364 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27365 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27367 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27368 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27370 * sysdeps/powerpc/sysdep.h: Likewise.
27371 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27372 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27374 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27377 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27379 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27381 * sysdeps/i386/sysdep.h: Include <features.h>.
27382 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27385 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27387 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27389 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27392 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27394 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27395 (SETUP_PIC_REG): Use GET_PC_THUNK.
27396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27399 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27401 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27402 for non-PIC compilation.
27403 (SETUP_PIC_REG): Add .p2align directive.
27404 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27405 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27410 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27421 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27422 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27423 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27425 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27426 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27427 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27430 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27433 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27434 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27436 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27437 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27438 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27439 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27441 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27446 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27448 * math/tst-CMPLX.c: Include <stdio.h>.
27450 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27452 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27454 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27455 * sysdeps/sparc/bits/mathdef.h: Likewise.
27457 2012-01-31 Marek Polacek <polacek@redhat.com>
27459 * libio/libio.h: Don't define _PARAMS.
27460 * locale/programs/config.h: Don't define PARAMS.
27461 * stdlib/strtol_l.c: Likewise.
27462 (__strtol_l): Remove PARAMS from the prototype.
27464 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27466 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27467 names. Just use the correct names. Remove unnecessary wrapper
27469 * malloc/arena.c: Likewise.
27470 * malloc/hooks.c: Likewise.
27472 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27473 ARENA_TEST says not to. Simplify test for creation of a new arena.
27474 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27476 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27478 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27480 (update_get_addr): New function.
27481 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27482 GET_ADDR_MODULE parameter.
27484 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27486 * crypt/cert.c: Remove __STDC__ conditionals.
27487 * crypt/crypt-entry.c: Likewise.
27488 * crypt/crypt_util.c: Likewise.
27489 * libio/filedoalloc.c: Likewise.
27490 * libio/fileops.c: Likewise.
27491 * libio/genops.c: Likewise.
27492 * libio/iofclose.c: Likewise.
27493 * libio/iofdopen.c: Likewise.
27494 * libio/iofopen.c: Likewise.
27495 * libio/iofopen64.c: Likewise.
27496 * libio/iogetdelim.c: Likewise.
27497 * libio/iopopen.c: Likewise.
27498 * libio/obprintf.c: Likewise.
27499 * libio/oldfileops.c: Likewise.
27500 * libio/oldiofclose.c: Likewise.
27501 * libio/oldiofdopen.c: Likewise.
27502 * libio/oldiofopen.c: Likewise.
27503 * libio/oldiopopen.c: Likewise.
27504 * libio/wfiledoalloc.c: Likewise.
27505 * libio/wgenops.c: Likewise.
27506 * locale/programs/xmalloc.c: Likewise.
27507 * misc/syslog.c: Likewise.
27508 * stdio-common/xbug.c: Likewise.
27509 * string/memchr.c: Likewise.
27510 * string/memcmp.c: Likewise.
27511 * string/memrchr.c: Likewise.
27512 * string/rawmemchr.c: Likewise.
27513 * sysdeps/posix/getcwd.c: Likewise.
27514 * time/strftime_l.c: Likewise.
27516 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27518 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27519 * config.make.in (config-cflags-sse2avx): Define.
27520 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27523 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27525 * scripts/config.guess: Update from upstream config git repository.
27526 * scripts/config.sub: Likewise.
27528 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27530 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27532 (R_TILEPRO_*, R_TILEGX_*): New macros.
27534 * scripts/firstversions.awk: Fix bug in version range handling.
27536 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27538 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27540 * include/sys/epoll.h: New file.
27541 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27544 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27546 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27547 Avoid unnecessary __WORDSIZE == 64 test.
27548 (fmaxf): Use VEX format if possible.
27553 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27554 * math/math_private.h: Remove libc_fegetround* and
27556 * sysdeps/i386/configure.in: Check for -msse2avx.
27557 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27558 also if SSE2AVX is defined.
27559 Remove libc_fegetround* and libc_fesetround*.
27560 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27561 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27570 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27572 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27576 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27578 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27581 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27583 * Makeconfig (libm): Define.
27584 * elf/Makefile: Add rules to build and run tst-relsort1.
27585 * elf/tst-relsort1.c: New file.
27586 * elf/tst-relsort1mod1.c: New file.
27587 * elf/tst-relsort1mod2.c: New file.
27589 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27591 * math/s_ldexp.c: Remove __STDC__ conditionals.
27592 * math/s_ldexpf.c: Likewise.
27593 * math/s_ldexpl.c: Likewise.
27594 * math/s_nextafter.c: Likewise.
27595 * math/s_nexttowardf.c: Likewise.
27596 * math/s_significand.c: Likewise.
27597 * math/s_significandf.c: Likewise.
27598 * math/s_significandl.c: Likewise.
27599 * math/w_jnl.c: Likewise.
27600 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27601 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27602 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27603 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27604 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27619 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27620 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27621 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27622 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27624 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27625 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27626 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27627 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27628 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27629 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27631 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27632 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27633 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27634 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27635 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27637 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27638 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27639 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27640 * sysdeps/ieee754/k_standard.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27643 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27644 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27646 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27648 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27654 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27655 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27659 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27660 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27702 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27707 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27715 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27720 * sysdeps/ieee754/s_matherr.c: Likewise.
27721 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27722 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27726 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27728 * crypt/md5.h: Remove __STDC__ conditionals.
27729 * libio/libioP.h: Likewise.
27730 * locale/programs/config.h: Likewise.
27731 * sysdeps/generic/sysdep.h: Likewise.
27732 * sysdeps/i386/asm-syntax.h: Likewise.
27733 * sysdeps/s390/asm-syntax.h: Likewise.
27734 * sysdeps/unix/sysdep.h: Likewise.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27738 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27740 * libio/libio.h: Remove __STDC__ conditionals.
27741 * malloc/obstack.h: Likewise.
27742 * math/complex.h: Likewise.
27743 * math/math.h: Likewise.
27744 * sysdeps/generic/_G_config.h: Likewise.
27745 * sysdeps/gnu/_G_config.h: Likewise.
27746 * sysdeps/mach/hurd/_G_config.h: Likewise.
27747 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27748 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27749 * sysdeps/sparc/bits/mathdef.h: Likewise.
27751 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27754 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27755 Clean up HAS_* macros.
27756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27757 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27759 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27767 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27769 * elf/tst-unique3.cc (gets): Remove declaration.
27770 * elf/tst-unique3lib.cc (gets): Likewise.
27771 * elf/tst-unique3lib2.cc (gets): Likewise.
27772 * elf/tst-unique4.cc (gets): Likewise.
27774 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27776 * include/stdio.h: Add C++ protection. Add gets declarations and
27778 * debug/tst-chk1.c: Don't declare gets here.
27779 * stdio-common/tst-gets.c: Likewise.
27781 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27783 * posix/glob: Remove directory.
27785 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27787 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27789 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27791 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27792 of the non-standard EPFNOSUPPORT.
27794 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27796 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27797 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27798 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27800 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27802 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27804 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27806 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27808 * nscd/grpcache.c (cache_addgr): Likewise.
27809 * nscd/hstcache.c (cache_addhst): Likewise.
27810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27811 * nscd/pwdcache.c (cache_addpw): Likewise.
27812 * nscd/servicescache.c (cache_addserv): Likewise.
27814 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27816 * malloc/malloc.c: Various cleanups.
27817 * malloc/hooks.c: Likewise.
27819 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27820 * stdlib/bug-fmtmsg1.c: New file.
27822 * stdlib/fmtmsg.c (init): Add missing unlock.
27823 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27825 2012-01-12 Marek Polacek <polacek@redhat.com>
27827 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27830 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27832 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27833 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27834 macro to ensure uniqueness of label name.
27835 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27836 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27838 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27840 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27842 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27843 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27847 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27849 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27851 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27852 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27853 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27855 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27858 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27862 * math/bits/math-finite.h: Add ldexp support.
27864 2012-01-10 Marek Polacek <polacek@redhat.com>
27866 * locale/programs/localedef.h (show_archive_content): Add noreturn
27869 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27871 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27873 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27875 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27877 * io/Makefile (headers): Add bits/poll2.h.
27879 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27882 typo #include statement.
27884 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27886 * include/sys/cdefs.h: Define __attribute_alloc_size.
27887 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27888 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27889 * elf/pldd.c: Likewise.
27890 * iconv/iconv_charmap.c: Likewise.
27891 * iconv/iconvconfig.c: Likewise.
27892 * iconv/strtab.c: Likewise.
27893 * locale/programs/locale.c: Likewise.
27894 * locale/programs/localedef.h: Likewise.
27895 * locale/programs/simple-hash.c: Likewise.
27896 * nscd/nscd.h: Likewise.
27897 * nss/makedb.c: Likewise.
27898 * sysdeps/generic/ldconfig.h: Likewise.
27899 * locale/programs/localedef.c: Remove xmalloc prototype.
27900 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27902 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27904 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27907 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27909 * math/Makefile (tests): Add tst-CMPLX.
27910 * math/tst-CMPLX.c: New file.
27912 * math/complex.h (CMPLXL): Fix typo.
27914 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27915 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27917 * debug/tst-chk1.c: Add poll and ppoll tests.
27918 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27919 * include/sys/poll.h: Add hidden proto for ppoll.
27920 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27921 * sysdeps/mach/hurd/ppoll.c: Likewise.
27922 * io/ppoll.c: Likewise.
27923 * debug/poll_chk.c: New file.
27924 * debug/ppoll_chk.c: New file.
27925 * include/bits/poll2.h: New file.
27926 * io/bits/poll2.h: New file.
27929 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27931 * configure.in: static is always set to yes. Remove.
27932 * config.make.in: Don't set build-static.
27933 * Makeconfig: Remove use of build-static.
27934 * dlfcn/Makefile: Likewise.
27935 * elf/Makefile: Likewise.
27936 * math/Makefile: Likewise.
27937 * misc/Makefile: Likewise.
27938 * nptl/Makefile: Likewise.
27939 * sysdeps/mach/hurd/Makefile: Likewise.
27941 * configure.in: PWD_P is not used anymore.
27942 * config.make.in: Remove PWD_P entry.
27944 * configure.in: Remove last remnants of RANLIB.
27945 No need to check for signed size_t anymore.
27946 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27948 Remove __builtin_expect test because we require at least gcc 3.4.
27949 * aclocal.m4: Likewise.
27951 * wcsmbs/mbrtoc16.c: Implement using towc function.
27952 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27953 * wcsmbs/wcsmbsload.c: Likewise.
27954 * iconv/gconv_simple.c: Likewise.
27955 * iconv/gconv_int.h: Likewise.
27956 * iconv/gconv_builtin.h: Likewise.
27957 * iconv/iconv_prog.c: Remove CHAR16 handling.
27959 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27961 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27963 * configure.in: Remove --with-elf and --enable-bounded options.
27964 Dont set base_machine for ia64. More non-ELF conditions removed.
27965 Remove testing and setting of leading underscore information.
27966 * config.make.in (build-bounded): Set to no.
27967 * config.h.in: Remove NO_UNDERSCORES entry.
27968 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27970 * csu/start.c: Remove !NO_UNDERSCORE code.
27971 * locale/localeinfo.h: Likewise.
27972 * sysdeps/generic/machine-gmon.h: Likewise.
27973 * sysdeps/generic/sysdep.h: Likewise.
27974 * sysdeps/i386/sysdep.h: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27976 * sysdeps/mach/sysdep.h: Likewise.
27977 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27978 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27979 * sysdeps/sh/sysdep.h: Likewise.
27980 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27981 * sysdeps/unix/i386/sysdep.S: Likewise.
27982 * sysdeps/unix/sparc/start.c: Likewise.
27983 * sysdeps/unix/sparc/sysdep.S: Likewise.
27984 * sysdeps/unix/sparc/sysdep.h: Likewise.
27985 * sysdeps/unix/start.c: Likewise.
27986 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27987 * sysdeps/x86_64/sysdep.h: Likewise.
27989 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27992 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27994 * argp/argp-fmtstream.h: Use const instead __const.
27995 * argp/argp.h: Likewise.
27996 * assert/assert.h: Likewise.
27997 * bits/fenv.h: Likewise.
27998 * bits/sched.h: Likewise.
27999 * bits/sigset.h: Likewise.
28000 * bits/sigthread.h: Likewise.
28001 * catgets/nl_types.h: Likewise.
28002 * conform/data/pthread.h-data: Likewise.
28003 * crypt/crypt-private.h: Likewise.
28004 * crypt/crypt.h: Likewise.
28005 * crypt/crypt_util.c: Likewise.
28006 * ctype/ctype.h: Likewise.
28007 * debug/execinfo.h: Likewise.
28008 * debug/mbsnrtowcs_chk.c: Likewise.
28009 * debug/mbsrtowcs_chk.c: Likewise.
28010 * debug/wcsnrtombs_chk.c: Likewise.
28011 * debug/wcsrtombs_chk.c: Likewise.
28012 * debug/wcstombs_chk.c: Likewise.
28013 * dirent/dirent.h: Likewise.
28014 * dlfcn/dlfcn.h: Likewise.
28015 * elf/neededtest4.c: Likewise.
28016 * grp/grp.h: Likewise.
28017 * gshadow/gshadow.h: Likewise.
28018 * iconv/gconv.h: Likewise.
28019 * iconv/gconv_int.h: Likewise.
28020 * iconv/gconv_simple.c: Likewise.
28021 * iconv/iconv.h: Likewise.
28022 * iconv/loop.c: Likewise.
28023 * iconv/skeleton.c: Likewise.
28024 * include/aio.h: Likewise.
28025 * include/aliases.h: Likewise.
28026 * include/argz.h: Likewise.
28027 * include/arpa/inet.h: Likewise.
28028 * include/assert.h: Likewise.
28029 * include/dirent.h: Likewise.
28030 * include/dlfcn.h: Likewise.
28031 * include/execinfo.h: Likewise.
28032 * include/fcntl.h: Likewise.
28033 * include/fenv.h: Likewise.
28034 * include/glob.h: Likewise.
28035 * include/grp.h: Likewise.
28036 * include/libintl.h: Likewise.
28037 * include/mntent.h: Likewise.
28038 * include/netdb.h: Likewise.
28039 * include/pwd.h: Likewise.
28040 * include/rpc/netdb.h: Likewise.
28041 * include/sched.h: Likewise.
28042 * include/search.h: Likewise.
28043 * include/shadow.h: Likewise.
28044 * include/signal.h: Likewise.
28045 * include/stdio.h: Likewise.
28046 * include/stdlib.h: Likewise.
28047 * include/string.h: Likewise.
28048 * include/sys/socket.h: Likewise.
28049 * include/sys/stat.h: Likewise.
28050 * include/sys/statfs.h: Likewise.
28051 * include/sys/statvfs.h: Likewise.
28052 * include/sys/syslog.h: Likewise.
28053 * include/sys/time.h: Likewise.
28054 * include/sys/uio.h: Likewise.
28055 * include/time.h: Likewise.
28056 * include/unistd.h: Likewise.
28057 * include/utmp.h: Likewise.
28058 * include/wchar.h: Likewise.
28059 * include/wctype.h: Likewise.
28060 * inet/aliases.h: Likewise.
28061 * inet/arpa/inet.h: Likewise.
28062 * inet/netinet/ether.h: Likewise.
28063 * inet/netinet/in.h: Likewise.
28064 * intl/libintl.h: Likewise.
28065 * io/bits/fcntl2.h: Likewise.
28066 * io/fcntl.h: Likewise.
28067 * io/ftw.h: Likewise.
28068 * io/sys/poll.h: Likewise.
28069 * io/sys/stat.h: Likewise.
28070 * io/sys/statfs.h: Likewise.
28071 * io/sys/statvfs.h: Likewise.
28072 * io/utime.h: Likewise.
28073 * libio/bits/stdio.h: Likewise.
28074 * libio/bits/stdio2.h: Likewise.
28075 * libio/libio.h: Likewise.
28076 * libio/libioP.h: Likewise.
28077 * libio/stdio.h: Likewise.
28078 * locale/lc-ctype.c: Likewise.
28079 * locale/locale.h: Likewise.
28080 * login/utmp.h: Likewise.
28081 * malloc/arena.c: Likewise.
28082 * malloc/malloc.c: Likewise.
28083 * malloc/malloc.h: Likewise.
28084 * malloc/mcheck.c: Likewise.
28085 * malloc/mtrace.c: Likewise.
28086 * math/bits/mathcalls.h: Likewise.
28087 * math/fenv.h: Likewise.
28088 * math/math_private.h: Likewise.
28089 * misc/bits/error.h: Likewise.
28090 * misc/bits/syslog.h: Likewise.
28091 * misc/err.h: Likewise.
28092 * misc/error.h: Likewise.
28093 * misc/fstab.h: Likewise.
28094 * misc/mntent.h: Likewise.
28095 * misc/regexp.h: Likewise.
28096 * misc/search.h: Likewise.
28097 * misc/sgtty.h: Likewise.
28098 * misc/sys/mman.h: Likewise.
28099 * misc/sys/syslog.h: Likewise.
28100 * misc/sys/uio.h: Likewise.
28101 * misc/sys/xattr.h: Likewise.
28102 * misc/ttyent.h: Likewise.
28103 * nis/rpcsvc/ypclnt.h: Likewise.
28104 * nss/nss.h: Likewise.
28105 * posix/bits/unistd.h: Likewise.
28106 * posix/fnmatch.h: Likewise.
28107 * posix/glob.h: Likewise.
28108 * posix/sched.h: Likewise.
28109 * posix/spawn.h: Likewise.
28110 * posix/sys/wait.h: Likewise.
28111 * posix/unistd.h: Likewise.
28112 * posix/wordexp.h: Likewise.
28113 * pwd/pwd.h: Likewise.
28114 * resolv/netdb.h: Likewise.
28115 * resource/sys/resource.h: Likewise.
28116 * rt/aio.h: Likewise.
28117 * rt/bits/mqueue2.h: Likewise.
28118 * rt/mqueue.h: Likewise.
28119 * shadow/shadow.h: Likewise.
28120 * signal/signal.h: Likewise.
28121 * socket/send.c: Likewise.
28122 * socket/sendto.c: Likewise.
28123 * socket/sys/socket.h: Likewise.
28124 * stdio-common/printf.h: Likewise.
28125 * stdlib/bits/stdlib.h: Likewise.
28126 * stdlib/fmtmsg.h: Likewise.
28127 * stdlib/monetary.h: Likewise.
28128 * stdlib/stdlib.h: Likewise.
28129 * stdlib/ucontext.h: Likewise.
28130 * streams/stropts.h: Likewise.
28131 * string/argz.h: Likewise.
28132 * string/bits/string2.h: Likewise.
28133 * string/string.h: Likewise.
28134 * string/strings.h: Likewise.
28135 * sunrpc/rpc/auth.h: Likewise.
28136 * sunrpc/rpc/auth_des.h: Likewise.
28137 * sunrpc/rpc/clnt.h: Likewise.
28138 * sunrpc/rpc/netdb.h: Likewise.
28139 * sunrpc/rpc/pmap_clnt.h: Likewise.
28140 * sunrpc/rpc/xdr.h: Likewise.
28141 * sysdeps/generic/inttypes.h: Likewise.
28142 * sysdeps/generic/net/if.h: Likewise.
28143 * sysdeps/generic/sys/swap.h: Likewise.
28144 * sysdeps/gnu/net/if.h: Likewise.
28145 * sysdeps/gnu/utmpx.h: Likewise.
28146 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28147 * sysdeps/i386/i486/bits/string.h: Likewise.
28148 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28149 * sysdeps/s390/bits/string.h: Likewise.
28150 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28151 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28152 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28153 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28154 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28155 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28156 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28157 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28158 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28159 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28160 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28161 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28162 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28163 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28164 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28165 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28166 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28168 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28169 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28171 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28172 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28173 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28174 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28175 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28176 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28178 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28179 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28180 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28181 * sysvipc/sys/ipc.h: Likewise.
28182 * sysvipc/sys/msg.h: Likewise.
28183 * sysvipc/sys/sem.h: Likewise.
28184 * sysvipc/sys/shm.h: Likewise.
28185 * termios/termios.h: Likewise.
28186 * time/sys/time.h: Likewise.
28187 * time/time.h: Likewise.
28188 * wcsmbs/bits/wchar2.h: Likewise.
28189 * wcsmbs/uchar.h: Likewise.
28190 * wcsmbs/wchar.h: Likewise.
28191 * wctype/wctype.h: Likewise.
28194 * Makeconfig: Remove all but ELF support including AIX support.
28195 * Makerules: Likewise.
28196 * config.h.in: Likewise.
28197 * config.make.in: Likewise.
28198 * configure: Likewise.
28199 * configure.in: Likewise.
28200 * csu/Makefile: Likewise.
28201 * csu/version.c: Likewise.
28202 * debug/Makefile: Likewise.
28203 * dlfcn/Makefile: Likewise.
28204 * elf/Makefile: Likewise.
28205 * extra-lib.mk: Likewise.
28206 * iconv/Makefile: Likewise.
28207 * include/libc-symbols.h: Likewise.
28208 * include/shlib-compat.h: Likewise.
28209 * resolv/Makefile: Likewise.
28210 * resolv/res_libc.c: Likewise.
28211 * rt/Makefile: Likewise.
28212 * sysdeps/i386/asm-syntax.h: Likewise.
28213 * sysdeps/i386/sysdep.h: Likewise.
28214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28215 * sysdeps/mach/sysdep.h: Likewise.
28216 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28217 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28218 * sysdeps/s390/asm-syntax.h: Likewise.
28219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28220 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28221 * sysdeps/sh/sysdep.h: Likewise.
28222 * sysdeps/unix/sparc/sysdep.h: Likewise.
28223 * sysdeps/wordsize-32/divdi3.c: Likewise.
28224 * sysdeps/x86_64/sysdep.h: Likewise.
28226 * argp/Versions: Remove _argp_unlock_xxx.
28229 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28230 * abilist/libBrokenLocale.abilist: Likewise.
28231 * abilist/libanl.abilist: Likewise.
28232 * abilist/libc.abilist: Likewise.
28233 * abilist/libcrypt.abilist: Likewise.
28234 * abilist/libdl.abilist: Likewise.
28235 * abilist/libm.abilist: Likewise.
28236 * abilist/libnsl.abilist: Likewise.
28237 * abilist/libpthread.abilist: Likewise.
28238 * abilist/libresolv.abilist: Likewise.
28239 * abilist/librt.abilist: Likewise.
28240 * abilist/libthread_db.abilist: Likewise.
28241 * abilist/libutil.abilist: Likewise.
28242 * abilist/libnss_db.abilist: New file.
28244 * scripts/abilist.awk: Add support for indirect functions.
28246 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28248 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28250 * shlib-versions: Remove entries for ports architectures.
28252 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28254 * elf/stackguard-macros.h: Remove support for IA-64.
28255 * elf/tst-auditmod1.c: Likewise.
28256 * sysdeps/generic/ldsodefs.h: Likewise.
28258 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28259 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28263 * configure.in: Remove --enable-omitfp support.
28265 * config.make.in: Likewise.
28266 * Makeconfig: Likewise.
28267 * manual/install.texi: Likewise.
28269 In case anyone cares, the IA-64 architecture could move to ports.
28270 * sysdeps/ia64/*: Removed.
28271 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28272 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28275 * configure.in: Remove entries for unsupported architectures.
28278 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28279 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28281 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28282 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28283 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28284 fall back to using wcrtomb.
28285 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28286 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28288 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28289 * wcsmbs/tst-c16c32-1.c: New file.
28291 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28294 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28296 * elf/tst-unique3.cc: Add explicit declaration of gets.
28297 * elf/tst-unique3lib.cc: Likewise.
28298 * elf/tst-unique3lib2.cc: Likewise.
28299 * elf/tst-unique4.cc: Likewise.
28301 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28303 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28306 * assert/assert.h (static_assert): Don't define for C++.
28307 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28308 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28310 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28312 * iconv/loop.c (single loop): Fix assertion in storing of
28315 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28317 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28319 * posix/getconf.c: Update copyright year.
28320 * nss/getent.c: Likewise.
28321 * nss/makedb.c: Likewise.
28322 * iconv/iconvconfig.c: Likewise.
28323 * iconv/iconv_prog.c: Likewise.
28324 * elf/ldconfig.c: Likewise.
28325 * elf/pldd.c: Likewise.
28326 * elf/sotruss.ksh: Likewise.
28327 * catgets/gencat.c: Likewise.
28328 * csu/version.c: Likewise.
28329 * elf/ldd.bash.in: Likewise.
28330 * elf/sprof.c (print_version): Likewise.
28331 * locale/programs/locale.c: Likewise.
28332 * locale/programs/localedef.c: Likewise.
28333 * login/programs/pt_chown.c: Likewise.
28334 * nscd/nscd.c (print_version): Likewise.
28335 * debug/xtrace.sh: Likewise.
28336 * malloc/memusage.sh: Likewise.
28337 * malloc/mtrace.pl: Likewise.
28338 * debug/catchsegv.sh: Likewise.
28340 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28342 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28345 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28348 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28349 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28351 * iconv/gconv_int.h: Likewise.
28352 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28353 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28354 from libc for GLIBC_2.16.
28355 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28356 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28357 * wcsmbs/uchar.h: Really define mbstate_t.
28358 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28359 * wcsmbs/c16rtomb.c: New file.
28360 * wcsmbs/mbrtoc16.c: New file.
28361 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28362 for C/POSIX locale.
28363 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28364 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28366 * wcsmbs/wchar.h: Add missing __restrict.
28368 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28371 * time/Makefile (routines): Add timespec_get.
28372 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28373 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28374 timespec for ISO C11.
28375 * time/timespec_get.c: New file.
28376 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28377 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28380 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28381 * stdlib/stdlib.h: Declare aligned_alloc.
28382 * Versions.def: Add GLIBC_2.16 for libc.
28383 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28386 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28389 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28393 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28396 * assert/assert.h (static_assert): Define.
28398 * version.h: Update for 2.16 development version.
28401 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28404 * version.h (RELEASE): Bump for 2.15 release.
28405 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28407 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28408 Patch by Marek Polacek <mpolacek@redhat.com>.
28410 * bits/byteswap.h: Protect long long constants with __extension__.
28411 * sysdeps/i386/bits/byteswap.h: Likewise.
28412 * sysdeps/ia64/bits/byteswap.h: Likewise.
28413 * sysdeps/s390/bits/byteswap.h: Likewise.
28414 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28416 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28419 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28420 destination buffer.
28421 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28423 2011-12-23 Marek Polacek <polacek@redhat.com>
28425 * elf/dl-addr.c (determine_info): Add inline keyword.
28426 * elf/tst-auditmod4b.c (check_avx): Likewise.
28427 * elf/tst-auditmod6b.c (check_avx): Likewise.
28428 * elf/tst-auditmod6c.c (check_avx): Likewise.
28429 * elf/tst-auditmod7b.c (check_avx): Likewise.
28431 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28433 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28436 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28439 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28440 processing for last bytes.
28442 2011-08-06 Bruno Haible <bruno@clisp.org>
28445 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28446 U+0385, not to U+1FEE.
28449 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28450 entry for U+00A5 U+0301.
28452 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28455 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28456 buffer for the output is too small.
28458 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28462 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28463 SSE flags if possible.
28465 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28469 processing for last bytes.
28471 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28473 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28474 (syscall-list-default-options, syscall-list-default-condition)
28475 (syscall-list-includes): Define.
28476 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28477 list of ABIs and options and #if conditions for each ABI. Do not
28478 handle common syscalls between ABIs specially.
28479 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28481 (syscall-list-variants, syscall-list-32bit-options)
28482 (syscall-list-32bit-condition, syscall-list-64bit-options)
28483 (syscall-list-64bit-condition): Define.
28484 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28485 (syscall-list-variants, syscall-list-32bit-options)
28486 (syscall-list-32bit-condition, syscall-list-64bit-options)
28487 (syscall-list-64bit-condition): Define.
28488 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28490 (syscall-list-variants, syscall-list-32bit-options)
28491 (syscall-list-32bit-condition, syscall-list-64bit-options)
28492 (syscall-list-64bit-condition): Define.
28493 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28495 (syscall-list-variants, syscall-list-32bit-options)
28496 (syscall-list-32bit-condition, syscall-list-64bit-options)
28497 (syscall-list-64bit-condition): Define.
28499 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28501 * locale/iso-639.def: Add brx entry.
28504 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28505 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28507 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28508 __feraiseexcept_renamed.
28510 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28513 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28514 EPOLLET with unsigned values.
28515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28518 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28519 to large cancellation.
28520 * math/s_cacoshf.c: Likewise.
28521 * math/s_cacoshl.c: Likewise.
28523 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28527 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28528 * math/s_cacoshf.c: Likewise.
28529 * math/s_cacoshl.c: Likewise.
28531 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28534 * iconv/gconv.h: Define __GCONV_SWAP.
28535 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28536 * iconvdata/utf-16.c: Likewise.
28537 * iconvdata/utf-32.c: Likewise.
28539 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28543 numerator after shifting it by one limb.
28545 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28547 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28548 under [__USE_EXTERN_INLINES].
28550 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28553 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28555 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28557 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28558 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28560 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28561 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28562 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28563 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28564 for strncasecmp/strncasecmp_l compilation.
28565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28566 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28568 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28571 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28574 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28577 * time/tzfile.c (__tzfile_read): Check values from file header.
28579 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28581 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28582 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28583 * powerpc/powerpc32/dl-start.S: Likewise.
28584 * powerpc/powerpc32/elf/start.S: Likewise.
28585 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28586 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28587 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28588 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28589 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28590 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28591 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28592 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28593 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28594 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28595 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28596 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28597 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28598 * powerpc/powerpc32/memset.S: Likewise.
28599 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28600 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28601 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28602 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28603 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28604 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28605 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28606 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28607 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28608 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28609 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28610 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28611 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28613 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28615 * math/libm-test.inc: Added more nearbyint tests.
28616 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28621 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28623 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28626 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28628 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28629 Add wcscpy-ssse3 wcscpy-c.
28630 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28631 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28632 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28633 * sysdeps/x86_64/wcschr.S: New file.
28634 * sysdeps/x86_64/wcsrchr.S: New file.
28635 * string/test-strcmp.c: Remove checking of wcscmp function for
28637 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28638 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28639 wcsrchr-sse2 wcsrchr-c.
28640 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28641 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28642 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28643 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28644 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28645 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28646 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28647 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28648 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28649 * wcsmbc/wcschr.c (WCSCHR): New macro.
28651 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28653 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28654 * wcsmbs/test-wcsrchr.c: New file.
28655 * string/test-strrchr.c: Add wcsrchr support.
28657 * wcsmbs/test-wcscpy.c: New file.
28658 * string/test-strcpy.c: Add wcscpy support.
28661 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28666 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28669 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28671 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28673 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28674 Minor optimizations.
28676 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28677 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28678 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28680 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28682 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28683 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28684 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28685 for gcc to avoid warnings.
28686 * inet/Makefile (tests): Add tst-checks.
28687 * inet/tst-checks.c: New file.
28689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28692 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28695 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28696 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28698 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28700 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28702 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28705 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28707 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28709 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28710 conditional on GCC version.
28711 (__arch_compare_and_exchange_val_8_acq)
28712 (__arch_compare_and_exchange_val_16_acq)
28713 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28714 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28715 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28717 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28719 * sysdeps/sh/backtrace.c: New file.
28721 2011-12-02 Andreas Schwab <schwab@redhat.com>
28723 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28726 2011-12-01 Andreas Schwab <schwab@redhat.com>
28728 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28729 falling back to utime.
28731 2011-11-30 Andreas Schwab <schwab@redhat.com>
28733 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28734 expectations for float.
28736 2011-11-29 Andreas Schwab <schwab@redhat.com>
28738 * locale/weight.h (findidx): Add parameter len.
28739 * locale/weightwc.h (findidx): Likewise.
28740 * posix/fnmatch_loop.c (FCT): Adjust caller.
28741 * posix/regcomp.c (build_equiv_class): Likewise.
28742 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28743 * posix/regexec.c (check_node_accept_bytes): Likewise.
28744 * string/strcoll_l.c (STRCOLL): Likewise.
28745 * string/strxfrm_l.c (STRXFRM): Likewise.
28747 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28749 * Makefile.in: Remove CVSOPT handling.
28750 * configure.in: Remove use of AC_REVISION.
28751 * iconvdata/Makefile (distribute): No need to filter out CVS.
28752 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28755 2011-11-16 Andreas Schwab <schwab@redhat.com>
28757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28758 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28759 [USE_AS_STRNCASECMP_L]: Likewise.
28760 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28761 NO_TLS_DIRECT_SEG_REFS.
28762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28763 Fix argument offsets for non-PIC.
28764 [USE_AS_STRNCASECMP_L]: Likewise.
28765 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28766 NO_TLS_DIRECT_SEG_REFS.
28768 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28770 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28772 * locale/loadlocale.c (_nl_load_locale): Likewise.
28774 2011-11-15 Andreas Schwab <schwab@redhat.com>
28776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28777 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28778 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28779 (SYSCALL_GETTIME): Set errno on error.
28781 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28782 count references to noai6ai_cached.
28784 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28786 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28788 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28789 FD_CLOEXEC for /proc/self/maps.
28791 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28792 FD_CLOEXEC for /proc/meminfo.
28794 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28797 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28798 FD_CLOEXEC for given file.
28800 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28802 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28803 FD_CLOEXEC for /etc/hosts.
28804 (_gethtent): Likewise.
28806 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28808 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28809 cancellation and set FD_CLOEXEC for /etc/netgroup.
28811 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28812 reading /etc/publickey.
28814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28815 allow cancellation when reading /etc/group.
28817 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28819 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28821 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28822 when using data file.
28824 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28826 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28827 (write_nis_obj): Use "c" and "e" in fopen.
28829 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28831 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28833 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28835 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28837 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28840 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28842 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28844 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28846 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28847 file parsing and set FD_CLOEXEC.
28849 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28851 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28853 2011-11-14 Andreas Schwab <schwab@redhat.com>
28855 * malloc/arena.c (arena_get2): Don't call reused_arena when
28856 _int_new_arena failed.
28858 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28860 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28861 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28864 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28866 to compile strcasecmp and strncasecmp.
28867 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28868 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28872 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28874 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28875 locale-defines.sym to gen-as-const-headers.
28876 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28877 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28879 to compile strcasecmp and strncasecmp.
28880 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28881 strcasecmp_l and strncasecmp_l.
28882 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28883 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28884 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28885 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28886 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28887 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28888 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28889 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28890 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28891 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28892 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28894 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28896 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28897 result of SYSDEP_GETTIME_CPU to retval.
28898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28899 parameter list to macro. Remove trailing semicolon. Adjust users.
28901 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28904 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28906 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28908 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28909 from unused variable.
28911 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28913 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28916 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28919 * sunrpc/rpc_prot.c (rejected): Fix case value.
28921 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28922 unsigned long long int to avoid warnings in shift.
28924 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28926 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28929 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28930 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28931 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28933 * nis/nis_table.c (nis_list): Use variable of correct type for
28934 result of __follow_path call.
28936 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28938 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28939 of math functions ceil, trunc, floor, round, and sqrt, when
28940 avaliable on the platform.
28941 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28943 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28944 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28945 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28947 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28949 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28952 2011-11-11 Roland McGrath <roland@hack.frob.com>
28954 * include/unistd.h: Fix __readlink return type.
28955 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28957 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28959 * stdlib/ucontext.h: Undo last change for makecontext.
28961 2011-11-11 Andreas Schwab <schwab@redhat.com>
28963 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28965 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28966 * setjmp/setjmp.h: Mark functions as non-leaf.
28967 * setjmp/bits/setjmp2.h: Likewise.
28968 * stdlib/ucontext.h: Likewise.
28970 2011-11-10 Andreas Schwab <schwab@redhat.com>
28972 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28973 (reused_arena): Don't check arena limit.
28974 (arena_get2): Atomically check arena limit.
28976 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28978 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28979 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28984 2011-11-07 Andreas Schwab <schwab@redhat.com>
28986 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28987 handler when locking.
28989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28990 Fix size of allocated buffer.
28992 2011-11-04 Andreas Schwab <schwab@redhat.com>
28995 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28996 declarations for long double functions.
28997 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28999 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29001 2011-11-03 Andreas Schwab <schwab@redhat.com>
29003 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29006 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29009 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29011 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29013 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29015 * include/alloca.h (stackinfo_alloca_round): Define.
29016 (extend_alloca): Use it.
29017 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29018 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29021 * scripts/check-local-headers.sh: Ignore libaudit.h.
29023 * nscd/Makefile (extra-objs): Make recursively expanded.
29025 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29027 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29030 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29031 * posix/tst-rfc3484-2.c: Likewise.
29032 * posix/tst-rfc3484-3.c: Likewise.
29034 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29036 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29038 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29039 process_vm_writev from libc using GLIBC_2.15 version.
29041 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29043 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29045 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29048 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29051 * nss/getent.c (initgroups_keys): Show error message in case no group
29054 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29055 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29056 __bump_nl_timestamp.
29057 * nscd/connections (nscd_init): When host database is served open
29058 netlink socket and request notification about configuration changes.
29059 (main_loop_poll): Track netlink file descriptor and bump timestamp
29060 in case data becomes available.
29061 (main_loop_epoll): Likewise.
29062 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29063 (database_pers_head): Add extra_data fileds.
29064 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29066 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29069 in6ai data, call __free_in6ai.
29070 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29071 Add -DHAVE_NETLINK.
29072 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29073 interface information. Reuse previous data if netlink timestamp
29075 (__bump_nl_timestamp): New function.
29076 (__free_in6ai): New function.
29078 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29080 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29081 close_not_cancel_no_status here.
29082 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29084 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29087 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29090 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29091 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29092 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29094 2011-07-03 Andreas Jaeger <aj@suse.de>
29097 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29098 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29099 * math/libm-test.inc (sin_test): Add test case.
29101 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29104 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29105 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29107 * elf/chroot_canon.c (chroot_canon): Cleanups.
29109 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29112 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29113 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29115 * string/test-strchr.c: Make usable for strchrnul testing.
29116 * string/test-strchrnul.c: New file.
29117 * string/Makefile (strop-tests): Add strchrnul.
29119 * po/it.po: Update from translation team.
29120 * po/es.po: Likewise.
29122 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29124 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29125 the three constants needed as parameters. Drop the others.
29126 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29127 __m128i_strloadu_tolower.
29128 Create and initialize variable zero and use it in all the places
29129 where _mm_setzero_si128 was used.
29131 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29132 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29133 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29134 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29136 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29137 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29138 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29139 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29140 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29141 __mpranred, __mptan.
29142 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29143 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29144 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29145 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29146 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29147 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29149 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29150 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29152 2011-10-28 Andreas Schwab <schwab@redhat.com>
29154 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29155 redefine if SHARED.
29156 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29159 wide char related routines to wcsmbs subdir.
29161 2011-10-27 Andreas Schwab <schwab@redhat.com>
29164 * misc/sys/cdefs.h (__THROWNL): Define.
29165 * posix/unistd.h: Use __THREADNL instead of __THREAD
29166 for memory synchronization functions.
29168 2011-10-26 Roland McGrath <roland@hack.frob.com>
29171 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29173 * manual/stdio.texi (Obstack Streams): Node removed.
29175 2011-10-26 Andreas Schwab <schwab@redhat.com>
29177 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29178 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29181 * math/math_private.h (math_force_eval): Allow non-addressable
29183 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29185 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29187 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29188 file is not needed.
29190 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29192 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29193 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29194 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29195 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29196 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29197 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29199 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29200 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29201 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29202 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29203 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29204 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29205 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29206 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29207 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29208 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29209 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29210 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29213 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29214 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29215 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29216 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29217 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29219 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29220 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29223 place. Use VEX encoding when compiling for AVX.
29225 2011-10-25 Andreas Schwab <schwab@redhat.com>
29227 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29228 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29230 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29232 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29234 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29235 useless if() expression.
29236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29245 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29247 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29248 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29249 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29250 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29256 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29258 2011-10-25 Andreas Schwab <schwab@redhat.com>
29260 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29264 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29266 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29267 .text section. Avoid duplicate constants.
29268 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29280 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29283 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29285 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29287 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29288 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29292 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29293 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29294 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29295 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29297 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29298 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29299 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29300 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29301 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29302 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29303 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29304 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29306 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29307 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29309 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29310 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29311 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29312 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29314 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29316 * sysdeps/x86_64/dla.h: Move to ...
29317 * sysdeps/x86_64/fpu/dla.h: ...here.
29318 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29319 situations. Use __builtin_fma only for gcc 4.6 and up.
29321 * config.make.in: Add have-mfma4 entry.
29322 * configure.in: Substitute libc_cv_cc_fma4.
29323 * math/Makefile (dbl-only-routines): Add sincostab.
29324 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29325 Use __sincostab not sincos.
29326 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29333 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29334 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29335 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29336 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29339 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29341 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29342 define aliases when function name is a macro.
29343 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29344 sysdeps/ieee754/dbl-64/sincos.tbl.
29345 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29346 fma4-enabled routines.
29347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29348 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29349 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29350 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29352 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29354 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29355 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29356 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29357 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29359 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29360 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29362 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29363 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29364 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29365 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29367 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29368 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29373 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29374 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29375 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29376 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29378 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29389 2011-10-24 Andreas Schwab <schwab@redhat.com>
29391 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29393 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29397 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29399 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29401 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29402 Remove unused variable magic_bits.
29403 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29405 * string/strnlen.c: Define and use STRNLEN macro.
29406 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29407 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29409 * wcsmbs/wcslen.c: Define and use WCSLEN.
29410 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29411 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29412 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29413 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29414 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29415 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29416 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29418 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29421 strnlen-sse2-no-bsf.
29422 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29424 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29425 Add strnlen support.
29426 (USE_AS_STRNLEN): New macro.
29427 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29428 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29429 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29430 * sysdeps/x86_64/wcslen.S: New file.
29432 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29435 XMM-moves are used for copying on small sizes.
29437 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29439 * wcsmbs/Makefile (strop-tests): Add wcschr.
29440 * wcsmbs/test-wcschr.c: New file.
29441 * string/test-strchr.c: Update.
29442 Add wcschr support.
29445 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29447 * wcsmbs/Makefile (strop-tests): Add wcslen.
29448 * wcsmbs/test-wcslen.c: New file.
29449 * string/test-strlen.c: Update.
29450 Add wcslen support.
29453 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29455 * po/it.po: Update from translation team.
29457 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29459 * sysdeps/x86_64/wcscmp.S: Update.
29460 Fix wrong comparison semantics.
29461 wcscmp shall use signed comparison not unsigned.
29462 Don't use substraction to avoid overflow bug.
29463 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29464 * wcsmbc/wcscmp.c: Likewise.
29465 * string/test-strcmp.c: Likewise.
29466 Add new tests to check cases with negative values.
29468 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29470 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29471 * sysdeps/x86_64/dla.h: ...here. New file.
29472 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29477 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29482 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29485 __ynl_finite aliases.
29487 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29491 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29493 [DLA_FMA] (EMULV): Use DLA_FMA.
29494 [DLA_FMA] (MUL12): Use EMULV.
29495 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29496 that are not needed.
29497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29502 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29505 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29507 * math/s_nan.c: Undef __nan.
29508 * math/s_nanf.c: Undef __nanf.
29509 * math/s_nanl.c: Undef __nanl.
29510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29513 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29515 * math/s_catan.c: Add branch predictions.
29516 * math/s_catanf.c: Likewise.
29517 * math/s_catanh.c: Likewise.
29518 * math/s_catanhf.c: Likewise.
29519 * math/s_catanhl.c: Likewise.
29520 * math/s_catanl.c: Likewise.
29521 * math/s_cexp.c: Likewise.
29522 * math/s_cexpf.c: Likewise.
29523 * math/s_cexpl.c: Likewise.
29524 * math/s_clog.c: Likewise.
29525 * math/s_clog10.c: Likewise.
29526 * math/s_clog10f.c: Likewise.
29527 * math/s_clog10l.c: Likewise.
29528 * math/s_clogf.c: Likewise.
29529 * math/s_clogl.c: Likewise.
29530 * math/s_csqrt.c: Likewise.
29531 * math/s_csqrtf.c: Likewise.
29532 * math/s_csqrtl.c: Likewise.
29533 * math/s_ctanf.c: Likewise.
29534 * math/s_ctanh.c: Likewise.
29535 * math/s_ctanhf.c: Likewise.
29536 * math/s_ctanhl.c: Likewise.
29537 * math/s_ctanl.c: Likewise.
29539 * math/math_private.h: Define __nan, __nanf, __nanl.
29540 * math/s_cacosh.c: Include <math_private.h>.
29541 * math/s_cacoshl.c: Likewise.
29542 * math/s_casinh.c: Likewise.
29543 * math/s_casinhf.c: Likewise.
29544 * math/s_casinhl.c: Likewise.
29545 * math/s_ccos.c: Rely entire on ccosh.
29546 * math/s_ccosf.c: Rely entire on ccoshf.
29547 * math/s_ccosl.c: Rely entirely on ccoshl.
29548 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29549 Remove tests for FE_INVALID.
29550 * math/s_ccoshf.c: Likewise.
29551 * math/s_ccoshl.c: Likewise.
29552 * math/s_csin.c: Likewise.
29553 * math/s_csinf.c: Likewise.
29554 * math/s_csinh.c Likewise.
29555 * math/s_csinhf.c: Likewise.
29556 * math/s_csinhl.c: Likewise.
29557 * math/s_csinl.c: Likewise.
29558 * math/s_ctan.c: Likewise.
29559 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29560 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29561 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29563 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29566 compilation problems.
29568 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29571 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29573 * sysdeps/i386/configure.in: Test for -mfma4 option.
29574 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29575 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29576 COMMON_CPUID_INDEX_80000001.
29577 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29578 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29579 use it if FMA3 is not supported.
29580 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29582 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29583 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29585 2011-10-20 Andreas Schwab <schwab@redhat.com>
29588 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29589 it would create a cycle with a link time dependency.
29591 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29593 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29595 * string/Makefile (strop-tests): Add rawmemchr.
29596 * string/test-rawmemchr.c: New file.
29598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29600 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29601 when compiling str{,n}casecmp and when AVX is available. Hook up
29602 new optimized code in initializers.
29604 2011-10-19 Andreas Schwab <schwab@redhat.com>
29606 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29607 __feraiseexcept instead of feraiseexcept.
29609 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29611 * math/math_private.h: Define defaults for libc_fetestexcept and
29613 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29614 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29615 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29616 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29617 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29619 libc_fetestexcept and libc_feupdateenv.
29621 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29622 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29623 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29624 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29625 libc_feholdexcept_setround.
29627 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29628 Add s_nearbyint-c and s_nearbyintf-c.
29629 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29630 nearbyintf inlines.
29631 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29632 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29633 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29634 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29636 * math/math_private.h: Define defaults for libc_fegetround,
29637 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29638 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29639 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29641 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29642 standard functions.
29643 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29644 Remove comments and hacks for old compiler versions.
29645 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29646 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29647 libc_feholdexceptl.
29649 2011-10-18 Andreas Schwab <schwab@redhat.com>
29651 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29652 (__feraiseexcept_renamed): Add __NTH.
29653 (feraiseexcept): Add __NTH. Rename local variables to fix
29654 namespace violations.
29656 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29662 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29663 recently added interfaces.
29664 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29666 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29667 about macro parameter expansion.
29669 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29670 __NO_MATH_INLINES is defined. Cleanups.
29672 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29673 and __floorf is target has SSE4.1.
29674 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29675 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29676 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29677 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29679 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29681 (floorf): Likewise.
29683 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29685 2011-10-17 Andreas Schwab <schwab@redhat.com>
29687 * misc/sys/cdefs.h: Fix last change.
29689 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29692 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29694 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29696 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29698 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29701 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29702 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29705 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29706 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29707 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29708 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29709 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29710 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29711 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29712 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29713 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29714 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29715 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29716 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29717 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29719 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29720 ceil, ceilf, floor, floorf.
29722 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29723 Perform IRELATIVE relocations last.
29725 * elf/do-rel.h: Add another parameter nrelative, replacing the
29726 local variable with the same name. Change name of the function
29727 to end in Rel or Rela (uppercase).
29728 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29729 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29730 elf_dynamic_do_##reloc function.
29732 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29734 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29735 is sufficient, at least on modern CPUs.
29737 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29739 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29740 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29742 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29744 * math/bits/math-finite.h: Add entries for exp.
29745 * math/e_expl.c: Add __*_finite alias.
29746 * sysdeps/i386/fpu/e_exp.S: Likewise.
29747 * sysdeps/i386/fpu/e_expf.S: Likewise.
29748 * sysdeps/i386/fpu/e_expl.c: Likewise.
29749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29750 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29753 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29754 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29755 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29757 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29758 is sufficient, at least on modern CPUs.
29760 * ctype/ctype-info.c (__ctype_init): Define.
29761 * include/ctype.h (__ctype_init): Declare.
29762 (__ctype_b_loc): The variable is always initialized.
29763 (__ctype_toupper_loc): Likewise.
29764 (__ctype_tolower_loc): Likewise.
29765 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29766 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29768 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29770 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29772 * configure.in: Also look in $cxxmachine/include for C++ system
29775 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29777 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29778 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29779 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29780 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29782 (USE_AS_WMEMCMP): New macro.
29784 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29785 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29786 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29787 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29789 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29790 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29791 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29792 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29793 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29795 (USE_AS_WMEMCMP): New macro.
29796 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29797 * sysdeps/string/test-memcmp.c: Update.
29798 Fix simple_wmemcmp.
29800 * wcsmbs/wmemcmp.c: Update.
29801 (WMEMCMP): New macro.
29804 2011-10-12 Andreas Jaeger <aj@suse.de>
29807 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29809 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29811 * libio/iofwide.c (do_length): Avoid warning.
29813 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29815 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29817 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29819 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29820 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29821 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29822 * sysdeps/i386/i686/fpu/e_log.S: New file.
29823 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29824 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29826 * ctype/ctype.h: Add support for inlined isXXX functions when
29827 compiling C++ code.
29829 2011-10-14 Andreas Schwab <schwab@redhat.com>
29831 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29833 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29835 2011-10-13 Roland McGrath <roland@hack.frob.com>
29838 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29840 2011-10-13 Andreas Schwab <schwab@redhat.com>
29842 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29843 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29846 * sysdeps/x86_64/memrchr.S: Check for zero size.
29848 * string/stratcliff.c: Add memrchr tests.
29850 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29853 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29854 rawmemchr-sse2 rawmemchr-sse2-bsf.
29855 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29856 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29857 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29858 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29859 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29860 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29861 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29862 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29863 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29864 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29865 * string/memrchr.c (MEMRCHR): New macro.
29867 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29869 Add integration with gcc's -ffinite-math-only and optimize wrapper
29871 * Versions.def: Define GLIBC_2.15 version for libm.
29872 * math/Makefile (headers): Add bits/math-finite.h.
29873 * math/bits/math-finite.h: New file.
29874 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29875 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29876 * math/e_acoshl.c: Add __*_finite alias.
29877 * math/e_acosl.c: Likewise.
29878 * math/e_asinl.c: Likewise.
29879 * math/e_atan2l.c: Likewise.
29880 * math/e_atanhl.c: Likewise.
29881 * math/e_coshl.c: Likewise.
29882 * math/e_exp10.c: Likewise.
29883 * math/e_exp10f.c: Likewise.
29884 * math/e_exp10l.c: Likewise.
29885 * math/e_exp2l.c: Likewise.
29886 * math/e_fmodl.c: Likewise.
29887 * math/e_gammal_r.c: Likewise.
29888 * math/e_hypotl.c: Likewise.
29889 * math/e_j0l.c: Likewise.
29890 * math/e_j1l.c: Likewise.
29891 * math/e_jnl.c: Likewise.
29892 * math/e_lgammal_r.c: Likewise.
29893 * math/e_log10l.c: Likewise.
29894 * math/e_log2l.c: Likewise.
29895 * math/e_logl.c: Likewise.
29896 * math/e_powl.c: Likewise.
29897 * math/e_sinhl.c: Likewise.
29898 * math/e_sqrtl.c: Likewise.
29899 * math/e_scalb.c: Completely rewritten and optimized.
29900 * math/e_scalbf.c: Likewise.
29901 * math/e_scalbl.c: Likewise.
29902 * math/w_acos.c: Likewise.
29903 * math/w_acosf.c: Likewise.
29904 * math/w_acosl.c: Likewise.
29905 * math/w_acosh.c: Likewise.
29906 * math/w_acoshf.c: Likewise.
29907 * math/w_acoshl.c: Likewise.
29908 * math/w_asin.c: Likewise.
29909 * math/w_asinf.c: Likewise.
29910 * math/w_asinl.c: Likewise.
29911 * math/w_atan2.c: Likewise.
29912 * math/w_atan2f.c: Likewise.
29913 * math/w_atan2l.c: Likewise.
29914 * math/w_atanh.c: Likewise.
29915 * math/w_atanhf.c: Likewise.
29916 * math/w_atanhl.c: Likewise.
29917 * math/w_exp10.c: Likewise.
29918 * math/w_exp10f.c: Likewise.
29919 * math/w_exp10l.c: Likewise.
29920 * math/w_fmod.c: Likewise.
29921 * math/w_fmodf.c: Likewise.
29922 * math/w_fmodl.c: Likewise.
29923 * math/w_j0.c: Likewise.
29924 * math/w_j0f.c: Likewise.
29925 * math/w_j0l.c: Likewise.
29926 * math/w_j1.c: Likewise.
29927 * math/w_j1f.c: Likewise.
29928 * math/w_j1l.c: Likewise.
29929 * math/w_jn.c: Likewise.
29930 * math/w_jnf.c: Likewise.
29931 * math/w_log.c: Likewise.
29932 * math/w_logf.c: Likewise.
29933 * math/w_logl.c: Likewise.
29934 * math/w_log10.c: Likewise.
29935 * math/w_log10f.c: Likewise.
29936 * math/w_log10l.c: Likewise.
29937 * math/w_log2.c: Likewise.
29938 * math/w_log2f.c: Likewise.
29939 * math/w_log2l.c: Likewise.
29940 * math/w_pow.c: Likewise.
29941 * math/w_powf.c: Likewise.
29942 * math/w_powl.c: Likewise.
29943 * math/w_remainder.c: Likewise.
29944 * math/w_remainderf.c: Likewise.
29945 * math/w_remainderl.c: Likewise.
29946 * math/w_scalb.c: Likewise.
29947 * math/w_scalbf.c: Likewise.
29948 * math/w_scalbl.c: Likewise.
29949 * math/w_sqrt.c: Likewise.
29950 * math/w_sqrtf.c: Likewise.
29951 * math/w_sqrtl.c: Likewise.
29952 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29953 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29955 * math/math_private.h: Declare __kernel_standard_f.
29956 * math/w_cosh.c: Remove cruft and optimize a bit.
29957 * math/w_coshf.c: Likewise.
29958 * math/w_coshl.c: Likewise.
29959 * math/w_exp2.c: Likewise.
29960 * math/w_exp2f.c: Likewise.
29961 * math/w_exp2l.c: Likewise.
29962 * math/w_hypot.c: Likewise.
29963 * math/w_hypotf.c: Likewise.
29964 * math/w_hypotl.c: Likewise.
29965 * math/w_lgamma.c: Likewise.
29966 * math/w_lgamma_r.c: Likewise.
29967 * math/w_lgammaf.c: Likewise.
29968 * math/w_lgammaf_r.c: Likewise.
29969 * math/w_lgammal.c: Likewise.
29970 * math/w_lgammal_r.c: Likewise.
29971 * math/w_sinh.c: Likewise.
29972 * math/w_sinhf.c: Likewise.
29973 * math/w_sinhl.c: Likewise.
29974 * math/w_tgamma.c: Likewise.
29975 * math/w_tgammaf.c: Likewise.
29976 * math/w_tgammal.c: Likewise.
29977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29979 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29980 Minor optimizations. Pretty printing. Remove cruft.
29981 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29983 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29984 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29985 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29986 * sysdeps/i386/fpu/e_asin.S: Likewise.
29987 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29988 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29989 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29990 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29992 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29993 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29994 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29995 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29996 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29997 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29998 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29999 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30000 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30001 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30002 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30003 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30004 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30005 * sysdeps/i386/fpu/e_log.S: Likewise.
30006 * sysdeps/i386/fpu/e_log10.S: Likewise.
30007 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30009 * sysdeps/i386/fpu/e_log2.S: Likewise.
30010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30012 * sysdeps/i386/fpu/e_logf.S: Likewise.
30013 * sysdeps/i386/fpu/e_logl.S: Likewise.
30014 * sysdeps/i386/fpu/e_pow.S: Likewise.
30015 * sysdeps/i386/fpu/e_powf.S: Likewise.
30016 * sysdeps/i386/fpu/e_powl.S: Likewise.
30017 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30018 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30019 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30020 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30022 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30023 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30024 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30025 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30026 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30029 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30030 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30031 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30032 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30033 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30034 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30036 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30037 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30039 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30040 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30043 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30046 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30047 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30048 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30049 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30050 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30051 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30052 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30053 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30054 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30055 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30060 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30061 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30062 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30063 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30064 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30065 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30066 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30067 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30068 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30072 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30073 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30075 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30076 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30078 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30079 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30081 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30082 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30083 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30084 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30085 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30086 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30095 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30105 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30106 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30109 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30112 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30114 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30117 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30118 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30119 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30120 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30121 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30122 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30123 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30124 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30125 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30126 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30127 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30128 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30129 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30132 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30133 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30134 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30135 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30136 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30137 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30138 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30139 (__isnanf): Likewise.
30140 (__isinf_ns): Likewise.
30141 (__isinf_nsf): Likewise.
30142 (__finite): Likewise.
30143 (__finitef): Likewise.
30144 (__ieee754_sqrt): Define as macro.
30145 (__ieee754_sqrtf): Define as macro.
30146 (__ieee754_sqrtl): Define as macro.
30147 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30149 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30150 __FINITE_MATH_ONLY__ consistent.
30151 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30153 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30155 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30158 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30160 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30162 * po/ja.po: Update from translation team.
30164 2011-10-08 Roland McGrath <roland@hack.frob.com>
30166 * locale/programs/locarchive.c (prepare_address_space): New function.
30167 (create_archive, enlarge_archive, open_archive): Use it.
30169 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30170 inside [SHARED], where it is used.
30172 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30174 * nss/getent.c (netgroup_keys): Remove unused variable.
30175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30177 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30179 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30180 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30182 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30183 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30184 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30185 * math/Makefile (libm-calls): Add s_isinf_ns.
30186 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30187 * math/multc3.c: Likewise.
30188 * math/s_casin.c: Likewise.
30189 * math/s_casinf.c: Likewise.
30190 * math/s_casinl.c: Likewise.
30191 * math/s_ccos.c: Likewise.
30192 * math/s_ccosf.c: Likewise.
30193 * math/s_ccosl.c: Likewise.
30194 * math/s_ctan.c: Likewise.
30195 * math/s_ctanf.c: Likewise.
30196 * math/s_ctanh.c: Likewise.
30197 * math/s_ctanhf.c: Likewise.
30198 * math/s_ctanhl.c: Likewise.
30199 * math/s_ctanl.c: Likewise.
30200 * math/w_fmod.c: Likewise.
30201 * math/w_fmodf.c: Likewise.
30202 * math/w_fmodl.c: Likewise.
30203 * math/w_remainder.c: Likewise.
30204 * math/w_remainderf.c: Likewise.
30205 * math/w_remainderl.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30207 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30208 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30210 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30211 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30212 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30213 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30215 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30217 * stdio-common/printf_fphex.c: Likewise.
30218 * stdio-common/printf_size.c: Likewise.
30220 * math/e_exp10.c: Include math_private.h using <...> not "...".
30221 * math/e_exp10f.c: Likewise.
30222 * math/e_exp10l.c: Likewise.
30223 * math/e_exp2l.c: Likewise.
30224 * math/e_j0l.c: Likewise.
30225 * math/e_j1l.c: Likewise.
30226 * math/e_jnl.c: Likewise.
30227 * math/e_lgammal_r.c: Likewise.
30228 * math/e_rem_pio2l.c: Likewise.
30229 * math/e_scalb.c: Likewise.
30230 * math/e_scalbf.c: Likewise.
30231 * math/e_scalbl.c: Likewise.
30232 * math/k_cosl.c: Likewise.
30233 * math/k_sinl.c: Likewise.
30234 * math/k_tanl.c: Likewise.
30235 * math/s_cacoshf.c: Likewise.
30236 * math/s_catan.c: Likewise.
30237 * math/s_catanf.c: Likewise.
30238 * math/s_catanh.c: Likewise.
30239 * math/s_catanhf.c: Likewise.
30240 * math/s_catanhl.c: Likewise.
30241 * math/s_catanl.c: Likewise.
30242 * math/s_ccosh.c: Likewise.
30243 * math/s_ccoshf.c: Likewise.
30244 * math/s_ccoshl.c: Likewise.
30245 * math/s_cexp.c: Likewise.
30246 * math/s_cexpf.c: Likewise.
30247 * math/s_cexpl.c: Likewise.
30248 * math/s_clog.c: Likewise.
30249 * math/s_clog10.c: Likewise.
30250 * math/s_clog10f.c: Likewise.
30251 * math/s_clog10l.c: Likewise.
30252 * math/s_clogf.c: Likewise.
30253 * math/s_clogl.c: Likewise.
30254 * math/s_csin.c: Likewise.
30255 * math/s_csinf.c: Likewise.
30256 * math/s_csinh.c: Likewise.
30257 * math/s_csinhf.c: Likewise.
30258 * math/s_csinhl.c: Likewise.
30259 * math/s_csinl.c: Likewise.
30260 * math/s_csqrt.c: Likewise.
30261 * math/s_csqrtf.c: Likewise.
30262 * math/s_csqrtl.c: Likewise.
30263 * math/s_ctan.c: Likewise.
30264 * math/s_ctanf.c: Likewise.
30265 * math/s_ctanh.c: Likewise.
30266 * math/s_ctanhf.c: Likewise.
30267 * math/s_ctanhl.c: Likewise.
30268 * math/s_ctanl.c: Likewise.
30269 * math/s_ldexp.c: Likewise.
30270 * math/s_ldexpf.c: Likewise.
30271 * math/s_ldexpl.c: Likewise.
30272 * math/s_significand.c: Likewise.
30273 * math/s_significandf.c: Likewise.
30274 * math/s_significandl.c: Likewise.
30275 * math/w_acos.c: Likewise.
30276 * math/w_acosf.c: Likewise.
30277 * math/w_acosh.c: Likewise.
30278 * math/w_acoshf.c: Likewise.
30279 * math/w_acoshl.c: Likewise.
30280 * math/w_acosl.c: Likewise.
30281 * math/w_asin.c: Likewise.
30282 * math/w_asinf.c: Likewise.
30283 * math/w_asinl.c: Likewise.
30284 * math/w_atan2.c: Likewise.
30285 * math/w_atan2f.c: Likewise.
30286 * math/w_atan2l.c: Likewise.
30287 * math/w_atanh.c: Likewise.
30288 * math/w_atanhf.c: Likewise.
30289 * math/w_atanhl.c: Likewise.
30290 * math/w_cosh.c: Likewise.
30291 * math/w_coshf.c: Likewise.
30292 * math/w_coshl.c: Likewise.
30293 * math/w_dremf.c: Likewise.
30294 * math/w_exp10.c: Likewise.
30295 * math/w_exp10f.c: Likewise.
30296 * math/w_exp10l.c: Likewise.
30297 * math/w_exp2.c: Likewise.
30298 * math/w_exp2f.c: Likewise.
30299 * math/w_fmod.c: Likewise.
30300 * math/w_fmodf.c: Likewise.
30301 * math/w_fmodl.c: Likewise.
30302 * math/w_hypot.c: Likewise.
30303 * math/w_hypotf.c: Likewise.
30304 * math/w_hypotl.c: Likewise.
30305 * math/w_j0.c: Likewise.
30306 * math/w_j0f.c: Likewise.
30307 * math/w_j0l.c: Likewise.
30308 * math/w_j1.c: Likewise.
30309 * math/w_j1f.c: Likewise.
30310 * math/w_j1l.c: Likewise.
30311 * math/w_jn.c: Likewise.
30312 * math/w_jnf.c: Likewise.
30313 * math/w_jnl.c: Likewise.
30314 * math/w_lgamma.c: Likewise.
30315 * math/w_lgamma_r.c: Likewise.
30316 * math/w_lgammaf.c: Likewise.
30317 * math/w_lgammaf_r.c: Likewise.
30318 * math/w_lgammal.c: Likewise.
30319 * math/w_lgammal_r.c: Likewise.
30320 * math/w_log.c: Likewise.
30321 * math/w_log10.c: Likewise.
30322 * math/w_log10f.c: Likewise.
30323 * math/w_log10l.c: Likewise.
30324 * math/w_log2.c: Likewise.
30325 * math/w_log2f.c: Likewise.
30326 * math/w_log2l.c: Likewise.
30327 * math/w_logf.c: Likewise.
30328 * math/w_logl.c: Likewise.
30329 * math/w_pow.c: Likewise.
30330 * math/w_powf.c: Likewise.
30331 * math/w_powl.c: Likewise.
30332 * math/w_remainder.c: Likewise.
30333 * math/w_remainderf.c: Likewise.
30334 * math/w_remainderl.c: Likewise.
30335 * math/w_scalb.c: Likewise.
30336 * math/w_scalbf.c: Likewise.
30337 * math/w_scalbl.c: Likewise.
30338 * math/w_sinh.c: Likewise.
30339 * math/w_sinhf.c: Likewise.
30340 * math/w_sinhl.c: Likewise.
30341 * math/w_sqrt.c: Likewise.
30342 * math/w_sqrtf.c: Likewise.
30343 * math/w_sqrtl.c: Likewise.
30344 * math/w_tgamma.c: Likewise.
30345 * math/w_tgammaf.c: Likewise.
30346 * math/w_tgammal.c: Likewise.
30348 * po/ja.po: Update from translation team.
30350 2011-09-29 Andreas Jaeger <aj@suse.de>
30353 * sunrpc/netname.c (netname2host): Fix logic.
30357 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30359 * math/w_remainder.c (__remainder): Likewise.
30360 * math/w_remainderf.c (__remainderf): Likewise.
30361 * math/libm-test.inc (remainder_test): Add test cases.
30363 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30365 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30368 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30370 * string/test-memcmp.c: Avoid unncessary #defines.
30371 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30373 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30375 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30376 Use new sse2 version for core i3 - i7 as it's faster
30377 than sse42 version.
30378 (bit_Prefer_PMINUB_for_stringop): New.
30379 * sysdeps/x86_64/rawmemchr.S: Update.
30380 Replace with faster SSE2 version.
30381 * sysdeps/x86_64/memrchr.S: New file.
30382 * sysdeps/x86_64/memchr.S: Update.
30383 Replace with faster SSE2 version.
30385 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30387 * elf/dl-load.c (lose): Add cast to avoid warning.
30389 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30391 * po/ca.po: Update from translation team.
30393 * inet/getnetgrent_r.c: Hook up nscd.
30394 * nscd/Makefile (routines): Add nscd_netgroup.
30395 (nscd-modules): Add netgroupcache.
30396 (CFLAGS-netgroupcache.c): Define.
30397 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30398 (cache_search): Add const to second parameter.
30399 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30401 (dbs): Add netgrdb entry.
30402 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30403 (verify_persistent_db): Handle netgrdb.
30404 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30405 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30407 (netgroup_response_header): Define.
30408 (innetgroup_response_header): Define.
30409 (datahead): Add netgroup_response_header and innetgroup_response_header
30411 * nscd/nscd.conf: Add entries for netgroup cache.
30412 * nscd/nscd.h (dbtype): Add netgrdb.
30413 (_PATH_NSCD_NETGROUP_DB): Define.
30414 (netgroup_iov_disabled): Declare.
30415 (xmalloc, xcalloc, xrealloc): Move declarations here.
30416 (cache_search): Adjust prototype.
30417 Add netgroup-related prototypes.
30418 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30419 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30420 (__nscd_innetgr): Declare.
30421 * nscd/selinux.c (perms): Use access_vector_t as element type and
30422 add netgroup-related initializers.
30423 * nscd/netgroupcache.c: New file.
30424 * nscd/nscd_netgroup.c: New file.
30425 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30426 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30427 For four parameters use innetgr.
30428 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30429 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30430 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30431 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30433 * nscd/connections.c (register_traced_file): Don't register file
30434 for disabled databases.
30436 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30438 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30440 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30441 from tree and freeing node.
30443 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30445 * nss/nsswitch.c (__nss_database_lookup): Handle
30446 nss_parse_service_list out of memory case.
30448 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30450 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30451 out of memory case.
30453 2011-10-04 Andreas Schwab <schwab@redhat.com>
30455 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30456 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30458 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30459 elf_machine_rela, elf_machine_lazy_rel.
30460 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30461 (ELF_DYNAMIC_DO_REL): Likewise.
30462 (ELF_DYNAMIC_DO_RELA): Likewise.
30463 (ELF_DYNAMIC_RELOCATE): Likewise.
30464 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30465 to ELF_DYNAMIC_DO_REL.
30466 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30467 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30468 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30471 skip_ifunc, don't call ifunc function if non-zero.
30472 (elf_machine_rela): Likewise.
30473 (elf_machine_lazy_rel): Likewise.
30474 (elf_machine_lazy_rela): Likewise.
30475 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30476 (elf_machine_lazy_rel): Likewise.
30477 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30479 (elf_machine_lazy_rel): Likewise.
30480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30482 (elf_machine_lazy_rel): Likewise.
30483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30484 (elf_machine_lazy_rel): Likewise.
30485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30486 (elf_machine_lazy_rel): Likewise.
30487 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30488 (elf_machine_lazy_rel): Likewise.
30489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30490 (elf_machine_lazy_rel): Likewise.
30491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30492 (elf_machine_lazy_rel): Likewise.
30493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30494 (elf_machine_lazy_rel): Likewise.
30496 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30498 * nss/nss_files/files-init.c (_nss_files_init): Use static
30499 initialization for all the *_traced_file variables.
30501 2011-09-28 Andreas Schwab <schwab@redhat.com>
30503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30505 2011-09-27 Roland McGrath <roland@hack.frob.com>
30508 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30510 2011-09-27 Andreas Schwab <schwab@redhat.com>
30512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30513 Reread the line before reparsing it.
30515 2011-09-26 Andreas Schwab <schwab@redhat.com>
30517 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30519 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30520 Maxim Kuvyrkov <maxim@codesourcery.com>
30521 Joseph Myers <joseph@codesourcery.com>
30523 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30524 if needed for __stack_chk_guard.
30526 2011-09-19 Roland McGrath <roland@hack.frob.com>
30528 * sysdeps/posix/spawni.c (script_execute): Always define it.
30529 It will be optimized away if unused.
30530 (maybe_script_execute): New function.
30531 (__spawni): Call it.
30533 * Makerules: Don't include tls.make.
30534 (config-tls): Always set to thread.
30535 * tls.make.c: File removed.
30537 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30539 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30540 * config.make.in (CPPFLAGS-config): New substituted variable.
30542 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30547 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30548 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30550 2011-09-15 Roland McGrath <roland@hack.frob.com>
30552 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30553 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30555 (CALL_FAIL): Likewise.
30556 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30557 (CALL_FAIL): Macro removed.
30558 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30560 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30562 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30563 for __FINITE_MATH_ONLY__ == 1.
30565 2011-09-15 Andreas Schwab <schwab@redhat.com>
30567 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30568 __ieee754_sqrt instead of sqrt.
30569 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30570 __ieee754_sqrtf instead of sqrtf.
30571 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30572 __floorf instead of floorf.
30573 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30574 __floorf, __truncf instead of floorf, truncf.
30576 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30578 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30580 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30581 __extern_always_inline.
30582 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30585 2011-09-14 Andreas Schwab <schwab@redhat.com>
30587 * elf/rtld.c (dl_main): Also relocate in dependency order when
30588 doing symbol dependency testing.
30590 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30593 Always define `refsym'.
30595 2011-09-13 Andreas Schwab <schwab@redhat.com>
30597 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30598 (__FD_ELT): Renamed from __FDELT.
30599 * misc/bits/select2.h (__FD_ELT): Likewise.
30600 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30601 __FD_MASK instead of __FDELT, __FDMASK.
30602 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30604 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30607 * elf/Makefile (gen-ldd): Fix pattern.
30609 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30610 (init_tls): Likewise.
30612 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30616 2011-09-12 Andreas Schwab <schwab@redhat.com>
30618 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30619 `struct cmsghdr *' instead of `void *'.
30620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30623 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30625 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30627 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30628 ldd_rewrite_script.
30630 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30632 * configure.in: Remove --with-tls option.
30633 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30634 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30635 out in case it is missing.
30636 * sysdeps/ia64/elf/configure.in: Likewise.
30637 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30638 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30639 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30640 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30641 * sysdeps/sh/elf/configure.in: Likewise.
30642 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30643 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30644 * sysdeps/x86_64/elf/configure.in: Likewise.
30645 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30646 * sysdeps/mach/hurd/tls.h: Likewise.
30649 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30652 * configure.in: Fix use of AC_INIT.
30654 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30656 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30658 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30660 * malloc/hooks.c: Likewise.
30663 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30664 variables statically.
30665 (narenas): Initialize.
30666 (list_lock): Initialize.
30667 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30668 initializtion of main_arena and list_lock. Small cleanups.
30669 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30670 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30671 Add initializers to main_arena and mp_.
30672 (malloc_state): Remove pagesize member. Change all users to use
30675 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30676 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30677 is always initialized.
30679 * malloc/malloc.c: Removed unused configurations and dead code.
30680 * malloc/arena.c: Likewise.
30681 * malloc/hooks.c: Likewise.
30682 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30684 * include/tls.h: Removed. USE___THREAD must always be defined.
30685 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30686 * elf/dl-libc.c: Likewise.
30687 * elf/dl-tsd.c: Likewise.
30688 * include/errno.h: Likewise.
30689 * include/netdb.h: Likewise.
30690 * include/resolv.h: Likewise.
30691 * inet/herrno-loc.c: Likewise.
30692 * inet/herrno.c: Likewise.
30693 * malloc/arena.c: Likewise.
30694 * malloc/hooks.c: Likewise.
30695 * malloc/malloc.c: Likewise.
30696 * resolv/res-state.c: Likewise.
30697 * resolv/res_libc.c: Likewise.
30698 * sysdeps/i386/dl-machine.h: Likewise.
30699 * sysdeps/ia64/dl-machine.h: Likewise.
30700 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30701 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30702 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30703 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30704 * sysdeps/sh/dl-machine.h: Likewise.
30705 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30707 * sysdeps/unix/i386/sysdep.S: Likewise.
30708 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30709 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30714 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30718 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30719 * sysdeps/x86_64/dl-machine.h: Likewise.
30720 * tls.make.c: Likewise.
30722 * configure.in: Remove --with-__thread option. Make tests for
30723 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30724 tls_model attribute fail if no support is available. Remove
30726 * Makeconfig: Adjust for dropped configure option. All features are
30728 * Makerules: Likewise.
30729 * Versions.def: Likewise.
30730 * argp/argp-fmtstream.c: Likewise.
30731 * argp/argp-fmtstream.h: Likewise.
30732 * argp/argp-help.c: Likewise.
30733 * assert/assert.c: Likewise.
30734 * config.h.in: Likewise.
30735 * config.make.in: Likewise.
30736 * configure: Likewise.
30737 * configure.in: Likewise.
30738 * csu/Versions: Likewise.
30739 * csu/init.c: Likewise.
30740 * elf/tst-audit2.c: Likewise.
30741 * elf/tst-tls10.c: Likewise.
30742 * elf/tst-tls10.h: Likewise.
30743 * elf/tst-tls11.c: Likewise.
30744 * elf/tst-tls12.c: Likewise.
30745 * elf/tst-tls14.c: Likewise.
30746 * elf/tst-tlsmod11.c: Likewise.
30747 * elf/tst-tlsmod12.c: Likewise.
30748 * elf/tst-tlsmod13.c: Likewise.
30749 * elf/tst-tlsmod13a.c: Likewise.
30750 * elf/tst-tlsmod14a.c: Likewise.
30751 * elf/tst-tlsmod15b.c: Likewise.
30752 * elf/tst-tlsmod16a.c: Likewise.
30753 * elf/tst-tlsmod16b.c: Likewise.
30754 * elf/tst-tlsmod7.c: Likewise.
30755 * elf/tst-tlsmod8.c: Likewise.
30756 * elf/tst-tlsmod9.c: Likewise.
30757 * gmon/gmon.c: Likewise.
30758 * grp/fgetgrent_r.c: Likewise.
30759 * grp/putgrent.c: Likewise.
30760 * hurd/fopenport.c: Likewise.
30761 * include/libc-symbols.h: Likewise.
30762 * include/tls.h: Likewise.
30763 * intl/gettextP.h: Likewise.
30764 * intl/loadinfo.h: Likewise.
30765 * locale/global-locale.c: Likewise.
30766 * locale/localeinfo.h: Likewise.
30767 * mach/devstream.c: Likewise.
30768 * malloc/arena.c: Likewise.
30769 * malloc/set-freeres.c: Likewise.
30770 * misc/err.c: Likewise.
30771 * misc/getttyent.c: Likewise.
30772 * misc/mntent_r.c: Likewise.
30773 * posix/getopt.c: Likewise.
30774 * posix/wordexp.c: Likewise.
30775 * pwd/fgetpwent_r.c: Likewise.
30776 * resolv/Versions: Likewise.
30777 * resolv/res_hconf.c: Likewise.
30778 * shadow/fgetspent_r.c: Likewise.
30779 * shadow/putspent.c: Likewise.
30780 * stdio-common/printf_fphex.c: Likewise.
30781 * stdio-common/tmpfile.c: Likewise.
30782 * stdlib/abort.c: Likewise.
30783 * stdlib/fmtmsg.c: Likewise.
30784 * sunrpc/auth_unix.c: Likewise.
30785 * sunrpc/clnt_perr.c: Likewise.
30786 * sunrpc/clnt_tcp.c: Likewise.
30787 * sunrpc/clnt_udp.c: Likewise.
30788 * sunrpc/clnt_unix.c: Likewise.
30789 * sunrpc/openchild.c: Likewise.
30790 * sunrpc/svc_simple.c: Likewise.
30791 * sunrpc/svc_tcp.c: Likewise.
30792 * sunrpc/svc_udp.c: Likewise.
30793 * sunrpc/svc_unix.c: Likewise.
30794 * sunrpc/xdr.c: Likewise.
30795 * sunrpc/xdr_array.c: Likewise.
30796 * sunrpc/xdr_rec.c: Likewise.
30797 * sunrpc/xdr_ref.c: Likewise.
30798 * sunrpc/xdr_stdio.c: Likewise.
30800 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30802 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30804 2011-07-03 Andreas Jaeger <aj@suse.de>
30806 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30807 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30808 regenerate with gen-libm-tests.pl.
30810 2010-05-12 Petr Baudis <pasky@suse.cz>
30813 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30814 around j0() zero points by switching to j1().
30815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30820 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30822 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30824 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30827 Patch in part by Pavel Roskin <proski@gnu.org>.
30830 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30832 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30833 Free memory block if necessary.
30836 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30837 be NULL. Don't lock in this case.
30839 2011-09-09 Roland McGrath <roland@hack.frob.com>
30841 * elf/elf.h (ELFOSABI_GNU): New macro.
30842 (ELFOSABI_LINUX): Define to that.
30844 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30846 * string/strncat.c (strncat): Undef the symbol in case it has been
30847 defined in bits/string.h.
30849 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30851 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30853 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30856 2011-08-17 Andreas Jaeger <aj@suse.de>
30858 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30860 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30861 Ian Lance Taylor <iant@google.com>
30863 * math/libm-test.inc (lround_test): New testcase.
30864 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30866 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30868 * Makefile: Remove support for automatic cvs check-ins.
30869 * Makerules: Likewise.
30870 * config.make.in: Likewise.
30871 * configure.in: Likewise.
30872 * intl/Makefile: Likewise.
30873 * locale/Makefile: Likewise.
30874 * po/Makefile: Likewise.
30875 * posix/Makefile: Likewise.
30876 * sysdeps/gnu/Makefile: Likewise.
30877 * sysdeps/mach/hurd/Makefile: Likewise.
30878 * sysdeps/sparc/sparc32/Makefile: Likewise.
30881 * posix/Makefile (bug-regex32-ENV): Define.
30882 Patch by John Stanley <jpsinthemix@verizon.net>.
30884 * misc/Makefile (headers): Add bits/select2.h.
30885 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30886 * misc/bits/select2.h: New file.
30887 * include/bits/select2.h: New file.
30888 * debug/Makefile (routines): Add fdelt_chk.
30889 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30890 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30892 * debug/fdelt_chk.c: New file.
30894 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30895 * wcsmbs/test-wmemcmp.c: Likewise.
30896 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30897 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30899 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30901 * string/Makefile (strop-tests): Add memcmp.
30902 * string/test-wmemcmp.c: New file.
30903 * string/test-memcmp.c: Add wmemcmp support.
30905 2011-09-08 Roland McGrath <roland@hack.frob.com>
30908 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30911 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30912 garbage value in a __mach_port_mod_refs call in the cases of the
30913 task-self and thread-self ports.
30915 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30917 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30919 2011-09-08 Andreas Schwab <schwab@redhat.com>
30921 * elf/dl-load.c (lose): Check for non-null L.
30923 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30925 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30927 * elf/dl-libc.c (dlerror_run): Pass back error code from
30931 * elf/dl-load.c (lose): Free l_origin if it is valid.
30933 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30936 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30940 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30942 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30944 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30945 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30946 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30947 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30948 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30949 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30950 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30951 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30952 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30953 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30955 2011-08-15 Alan Modra <amodra@gmail.com>
30958 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30959 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30960 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30961 ppc_mcount to static-only-routines.
30962 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30964 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30965 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30967 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30969 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30970 for finite and infinity parameters.
30972 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30975 and add nop instructions for throughput optimization.
30976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30978 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30980 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30981 aligned copy for power7 with vector-scalar instructions.
30982 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30984 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30989 2011-09-07 Andreas Schwab <schwab@redhat.com>
30992 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30995 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30997 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30998 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30999 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31000 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31003 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31005 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31006 Forgot to demangle the pointer.
31008 * sysdeps/i386/sysdep.h: Define atom_text_section.
31009 * sysdeps/x86_64/sysdep.h: Likewise.
31010 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31011 section with atom_text_section.
31012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31014 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31016 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31018 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31019 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31020 already be defined. Change to take two parameters and don't assign
31021 result to variable. Adjust all users.
31022 Define INTERNAL_GETTIME if not already defined.
31023 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31026 HAVE_CLOCK_GETTIME_VSYSCALL.
31027 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31030 gettimeofday vsyscall, just use time.
31032 2011-09-06 Andreas Schwab <schwab@redhat.com>
31034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31037 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31039 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31043 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31045 syscall if possible.
31047 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31049 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31050 e_ident. Don't pass to find_mapsXX.
31051 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31053 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31056 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31057 * sysdeps/x86_64/multiarch/strchr.S: Update.
31058 Check bit_slow_BSF bit.
31059 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31060 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31061 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31063 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31066 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31068 (tryshell): Define.
31069 (__spawni): Change last parameter to be flag. Test
31070 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31071 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31072 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31073 * posix/spawni.c: Likewise.
31074 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31075 * posix/spawnp.c: Likewise. Change normal version to use
31076 SPAWN_XFLAGS_USE_PATH.
31077 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31078 SPAWN_XFLAGS_TRY_SHELL.
31081 * posix/glob.h: Remove gcc 1.x support.
31084 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31086 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31089 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31091 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31092 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31093 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31095 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31098 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31100 * sysdeps/x86_64/wcscmp.S: New file.
31102 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31103 wcscmp-c wcscmp-sse2
31104 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31105 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31106 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31107 * wcsmbs/wcscmp.c: Allow renaming.
31109 2011-09-05 David S. Miller <davem@davemloft.net>
31111 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31112 stack slot, rather than the struct return pointer slot.
31113 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31114 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31116 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31118 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31120 * po/ja.po: Update from translation team.
31123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31124 kernel in 64-bit binaries.
31126 2011-09-01 David S. Miller <davem@davemloft.net>
31128 * elf/elf.h (HWCAP_SPARC_*): Move to..
31129 * sysdeps/sparc/sysdep.h: this new file and add new values.
31130 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31131 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31132 _DL_HWCAP_COUNT to 24.
31133 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31135 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31136 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31137 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31139 instead of magic constants.
31140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31142 2011-08-31 David S. Miller <davem@davemloft.net>
31144 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31146 Reimplement to do errno handling inline.
31147 (SYSCALL_ERROR_HANDLER): New macro.
31148 (__SYSCALL_STRING): Do not do errno handling in asm.
31149 (__CLONE_SYSCALL_STRING): Delete.
31150 (__INTERNAL_SYSCALL_STRING): Delete.
31151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31152 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31153 (PSEUDO): Reimplement to do errno handling inline.
31154 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31155 (SYSCALL_ERROR_HANDLER): New macro.
31156 (__SYSCALL_STRING): Do not do errno handling in asm.
31157 (__CLONE_SYSCALL_STRING): Delete.
31158 (__INTERNAL_SYSCALL_STRING): Delete.
31159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31160 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31162 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31163 (inline_syscall*): Add 'err' argument.
31164 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31165 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31166 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31167 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31169 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31170 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31172 2011-08-30 Andreas Schwab <schwab@redhat.com>
31174 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31176 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31178 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31181 2011-08-24 David S. Miller <davem@davemloft.net>
31183 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31185 2011-08-24 Andreas Schwab <schwab@redhat.com>
31187 * elf/Makefile: Add rules to build and run unload8 test.
31188 * elf/unload8.c: New file.
31189 * elf/unload8mod1.c: New file.
31190 * elf/unload8mod1x.c: New file.
31191 * elf/unload8mod2.c: New file.
31192 * elf/unload8mod3.c: New file.
31194 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31197 2011-08-23 David S. Miller <davem@davemloft.net>
31199 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31200 subtract stack bias.
31201 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31202 %sp not %fp in calculations.
31203 (_JMPBUF_UNWINDS_ADJ): Likewise.
31205 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31206 (aio_suspend): Call it to force an exception region around the
31207 AIO_MISC_WAIT() invocation.
31209 2011-08-23 Andreas Schwab <schwab@redhat.com>
31211 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31214 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31216 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31218 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31219 and <dl-machine.h>.
31220 (Elf64_FuncDesc): Remove.
31222 2011-08-22 David S. Miller <davem@davemloft.net>
31224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31225 sigaltstack check, add missing cfi directives.
31226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31227 missing cfi directives, and sigaltstack handling.
31229 2011-08-16 Andreas Schwab <schwab@redhat.com>
31232 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31233 object is seen twice.
31234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31236 * elf/Makefile (distribute): Add tst-initorder2.c.
31237 (tests): Add tst-initorder2.
31238 (modules-names): Add tst-initorder2a tst-initorder2b
31239 tst-initorder2c tst-initorder2d. Add rules to build them.
31240 ($(objpfx)tst-initorder2.out): New rule.
31241 * elf/tst-initorder2.c: New file.
31242 * elf/tst-initorder2.exp: New file.
31244 2011-08-22 Andreas Schwab <schwab@redhat.com>
31246 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31248 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31249 dependencies back to end of function.
31251 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31252 $(elfobjdir)/ld.so.
31254 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31257 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31259 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31260 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31261 of __vdso_gettimeofday.
31262 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31263 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31265 (_libc_vdso_platform_setup): Remove initialization of
31266 __vdso_gettimeofday and __vdso_time.
31268 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31270 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31271 and fgetc_unlocked.
31272 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31275 * elf/dl-open.c (add_to_global): Report additions to the global scope
31276 for LD_DEBUG=scopes.
31277 (dl_open_worker): Also print scope of newly loaded dependencies.
31278 (_dl_show_scope): Indicate if there is no scope.
31281 * stdio-common/Makefile (tests): Add bug24.
31282 * stdio-common/bug24.c: New file.
31284 2011-08-19 Andreas Jaeger <aj@suse.de>
31287 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31288 non-existant file when using close-on-exec mode.
31290 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31293 the very first instruction.
31295 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31296 the CFI state in the end.
31297 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31298 inclusion of dl-trampoline.h.
31299 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31301 2011-08-19 Andreas Schwab <schwab@redhat.com>
31303 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31304 expectations for long double.
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31307 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31309 2011-08-14 David S. Miller <davem@davemloft.net>
31311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31312 artificual limit depends upon the system page size.
31314 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31316 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31317 * resolv/Makefile: Define CFLAGS-libresolv.
31319 2011-08-17 Andreas Schwab <schwab@redhat.com>
31321 * nss/makedb.c (compute_tables): Make variables used in nested
31324 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31326 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31327 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31328 if buffer was too small.
31330 * elf/pldd.c (main): Attach to all threads in the process.
31331 Rewrite /proc handling to use *at functions.
31333 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31335 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31336 specifies first scope to show.
31337 (dl_open_worker): Update callers. Move printing scope of new
31338 object to before the relocation.
31339 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31340 * sysdeps/generic/ldsodefs.h: Update declaration.
31342 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31343 string for the scope number.
31345 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31347 * nscd/servicescache.c (cache_addserv): Make sure written is always
31350 2011-08-14 Roland McGrath <roland@hack.frob.com>
31352 * sysdeps/i386/i486/bits/atomic.h
31353 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31354 statement expression, so as to suppress "set but not used" warning.
31355 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31357 * string/strncat.c (STRNCAT): Use prototype definition.
31359 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31360 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31362 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31363 (localedef-modules): Add localedef.
31364 (locale-modules): Add locale.
31366 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31367 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31368 to avoid a warning.
31370 2011-08-14 David S. Miller <davem@davemloft.net>
31372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31373 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31375 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31377 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31378 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31379 * elf/rtld.c (dl_main): Set l_name of vDSO.
31380 Call _dl_show_scope when DL_DEBUG_SCOPES.
31381 (process_dl_debug): Recognize scopes flag and also set it for all.
31382 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31383 Declare _dl_show_scope.
31385 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31386 (do_dlopen): Pass caller_dlopen to dl_open.
31387 (__libc_dlopen_mode): Initialize caller_dlopen.
31389 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31390 of libc. Make tolower call locale-independent. Optimize a bit by
31391 using isdigit instead of isalnum.
31392 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31394 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31396 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31397 was a dependency or dynamically loaded.
31399 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31401 * intl/l10nflist.c: Allow architecture-specific pop function.
31402 * sysdeps/x86_64/l10nflist.c: New file.
31404 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31407 2011-08-10 Andreas Schwab <schwab@redhat.com>
31409 * include/dirent.h: Add libc_hidden_proto for scandirat and
31410 scandirat64. Don't declare __scandirat64.
31411 * dirent/scandirat.c: Add libc_hidden_def.
31412 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31413 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31415 2011-08-10 David S. Miller <davem@davemloft.net>
31417 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31423 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31425 * Versions.def [libc]: Add GLIBC_2.15.
31426 * dirent/Makefile (routines): Add scandirat and scandirat64.
31427 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31429 * dirent/dirent.h: Declare scandirat and scandirat64.
31430 * dirent/scandirat.c: New file.
31431 * dirent/scandirat64.c: New file.
31432 * sysdeps/wordsize-64/scandirat.c: New file.
31433 * sysdeps/wordsize-64/scandirat64.c: New file.
31434 * dirent/opendir.c: Define opendirat.
31435 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31437 * dirent/scandir64.c: Adjust for scandir.c change.
31438 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31439 __scandirat64, and __scandir_cancel_handler.
31440 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31441 additional parameter and use openat instead of open (outside of ld.so).
31442 Add new __opendir as wrapper around __opendirat.
31443 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31444 here without requiring old scandirat implementation.
31446 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31448 * dirent/scandir.c (cancel_handler): Renamed to
31449 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31450 defined. Adjust users.
31451 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31452 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31454 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31456 * string/test-string.h (IMPL): Use __STRING to expand name and then
31459 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31462 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31464 * string/Makefile: Update.
31465 (strop-tests): Append strncat.
31466 * string/test-wcscmp.c: New file.
31467 New comprehensive test for wcscmp.
31468 * string/test-strcmp.c: Update.
31469 (WIDE): New define.
31471 2011-07-22 Andreas Schwab <schwab@redhat.com>
31473 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31476 2011-07-26 Andreas Schwab <schwab@redhat.com>
31478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31479 encoding to ACE if AI_IDN.
31481 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31484 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31486 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31489 Fix overflow bug in strncat.
31490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31492 * string/test-strncat.c: Update.
31493 Add new tests for checking overflow bugs.
31495 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31498 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31499 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31500 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31502 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31503 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31504 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31505 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31508 (USE_AS_STRCAT): Define.
31509 Add strcat and strncat support.
31510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31512 2011-07-25 Andreas Schwab <schwab@redhat.com>
31514 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31515 __n bigger than INT_MAX+1.
31516 (__strncmp_g): Likewise.
31518 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31520 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31521 * libio/stido.h: Likewise.
31523 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31528 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31531 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31535 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31540 (_dl_x86_64_save_sse): Likewise.
31542 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31546 (_dl_x86_64_save_sse): Likewise.
31548 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31550 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31552 2011-07-21 Andreas Schwab <schwab@redhat.com>
31554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31556 (_dl_x86_64_save_sse): Use correct AVX check.
31558 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31561 bug in strncpy/strncat.
31562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31564 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31566 * string/tester.c (test_strcat): Add tests for different alignments
31567 of source and destination.
31568 (test_strncat): Likewise.
31570 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31573 * posix/glob.c (glob): Check passed in values before using them in
31574 expressions to avoid some overflows.
31575 (glob_in_dir): Likewise.
31578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31579 check for AVX enablement so that we don't crash with old kernels and
31581 * elf/tst-audit4.c: Add same checks here.
31582 * elf/tst-audit6.c: Likewise.
31584 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31586 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31588 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31590 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31592 * po/cs.po: Update from translation team.
31593 * po/bg.po: Likewise.
31595 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31597 * misc/sys/cdefs.h: Add support for const attribute.
31598 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31599 to gnu_dev_{major,minor,makedev} functions.
31601 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31603 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31605 2011-07-20 Andreas Schwab <schwab@redhat.com>
31607 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31610 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31613 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31614 register in order to avoid conflicts with the soft frame pointer
31615 being held in r11 when necessary.
31616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31617 (INTERNAL_VSYSCALL_NCS): Likewise.
31619 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31621 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31622 * elf/dl-fini.c (_dl_fini): Adjust caller.
31623 * elf/dl-close.c (_dl_close_worker): Likewise.
31624 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31626 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31628 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31629 "aux_cache->nlibs < 0".
31631 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31632 in the reload-count case.
31634 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31637 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31638 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31639 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31640 * sysdeps/x86_64/multiarch/strcat.S: New file.
31641 * sysdeps/x86_64/multiarch/strncat.S: New file.
31642 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31643 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31644 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31645 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31646 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31647 (USE_AS_STRCAT): Define.
31648 Add strcat and strncat support.
31649 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31650 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31652 * string/strncat.c: Update.
31653 (USE_AS_STRNCAT): Define.
31654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31655 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31657 * sysdeps/x86_64/multiarch/init-arch.h
31658 (bit_Prefer_PMINUB_for_stringop): New.
31659 (index_Prefer_PMINUB_for_stringop): Likewise.
31660 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31661 bit_Prefer_PMINUB_for_stringop.
31663 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31665 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31667 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31668 of casting of buffer.
31669 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31670 buffer32 and buffer64.
31671 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31672 writes instead of casting of buffer.
31673 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31675 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31678 2011-07-19 Andreas Schwab <schwab@redhat.com>
31680 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31682 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31684 * nscd/nscd.c (termination_handler): Don't do anything for a database
31685 if it has not yet been initialized.
31687 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31689 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31691 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31693 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31695 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31697 * po/nl.po: Update from translation team.
31698 * po/sv.po: Likewise.
31700 2011-07-16 Roland McGrath <roland@hack.frob.com>
31702 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31703 now disallowed by GCC.
31705 * configure.in (use-default-link): Default to yes if a test -shared
31706 link meets our qualifications.
31707 * configure: Regenerated.
31709 * config.make.in (output-format): New variable.
31710 * configure.in: Check for ld --print-output-format support.
31711 * configure: Regenerated.
31712 * Makerules ($(common-objpfx)format.lds)
31713 [$(output-format) != unknown]: Just use $(output-format),
31714 instead of the linker-script munging.
31716 2011-07-14 Roland McGrath <roland@hack.frob.com>
31718 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31719 of $(common-objpfx)shlib.lds.
31720 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31722 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31723 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31725 * configure.in (-z relro check): Adjust test code to add a large
31726 writable data section after it.
31727 * configure: Regenerated.
31729 2011-07-11 Roland McGrath <roland@hack.frob.com>
31731 * configure.in (-z relro check): Fix test code to make the variable
31733 * configure: Regenerated.
31735 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31737 * nscd/nscd.h (struct traced_file): Define.
31738 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31739 elements. Add traced_files.
31740 (inotify_fd): Declare.
31741 (register_traced_file): Declare.
31742 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31743 (inotify_fd): Export.
31744 (resolv_conf_descr): Remove.
31745 (nscd_init): Move inotify descriptor creation to main.
31746 Don't register files for notification here.
31747 (register_traced_file): New function.
31748 (invalidate_cache): Don't use reset_res to determine whether to call
31749 res_init, go through the list of registered files.
31750 (main_loop_poll): The inotify descriptors are now stored in the
31751 structures for the traced files.
31752 (main_loop_epoll): Likewise
31753 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31754 to __nss_disable_nscd.
31755 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31756 for a database anymore. Check the records for all the registered
31758 * nss/Makefile (libnss_files-routines): Add files-init.
31759 (libnss_db-routines): Add db-init.
31760 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31761 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31762 * nss/nss_db/db-init.c: New file.
31763 * nss/nss_files/files-init.c: New file.
31764 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31765 __nss_lookup_function.
31766 (__nss_lookup_function): Call nss_load_library.
31767 (nss_load_all_libraries): New function.
31768 (__nss_disable_nscd): Take parameter with callback function for files
31769 to register. Set is_nscd. Load all the DSOs for the NSS modules
31770 used for the cached services.
31771 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31772 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31773 options for features to all the files in nscd.
31775 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31777 2011-07-10 Roland McGrath <roland@hack.frob.com>
31779 * csu/elf-init.c (__libc_csu_init): Comment typo.
31781 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31783 * po/pl.po: Update from translation team.
31784 * po/ja.po: Likewise.
31785 * po/ru.po: Likewise.
31786 * po/ko.po: Likewise.
31787 * po/fr.po: Likewise.
31789 2011-07-09 Roland McGrath <roland@hack.frob.com>
31791 * configure.in (.ctors/.dtors header and trailer check):
31792 Use an empirical test on a built program.
31793 * configure: Regenerated.
31795 * configure.in (-z relro check): Use an empirical test on a built DSO.
31796 Detect, but do not require, on ia64.
31797 * configure: Regenerated.
31799 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31800 Update tests that use readelf to use $READELF instead.
31801 * configure: Regenerated.
31803 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31805 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31806 if the result is not used.
31808 2011-07-05 Andreas Jaeger <aj@suse.de>
31811 * stdlib/tst-strtod.c: Add testcase.
31813 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31815 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31816 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31817 The latter has a higher limit. Take additional parameter to pass to
31819 (__pathconf): Pass file to __statfs_link_max.
31820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31822 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31826 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31827 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31830 (__statfs_filesize_max): Likewise.
31831 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31833 2011-07-05 Andreas Jaeger <aj@suse.de>
31835 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31837 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31839 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31841 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31844 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31846 * Makefile (strop-tests): Add strncat.
31847 * string/test-strncat.c: New file.
31849 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31851 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31853 2011-06-21 Andreas Jaeger <aj@suse.de>
31855 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31856 Copy rule from iconvdata/Makefile.
31858 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31861 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31862 but no long options are defined, just return 'W'.
31864 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31867 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31869 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31871 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31873 (innetgr): Likewise.
31875 2011-07-05 Roland McGrath <roland@hack.frob.com>
31877 * config.make.in (install_root): Default to $(DESTDIR).
31879 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31883 2011-07-02 Roland McGrath <roland@hack.frob.com>
31885 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31887 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31888 containing directory rather than embedding absolute directory names.
31890 * scripts/check-local-headers.sh: Rewritten using awk.
31891 Match by word, not by line. Print error messages for matches.
31892 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31894 * Makerules [shlib-lds-flags empty]:
31895 ($(common-objpfx)libc_pic.opts): New target.
31896 ($(common-objpfx)libc_pic.os.clean): New target.
31897 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31899 * config.make.in (OBJCOPY): New variable.
31900 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31901 * configure: Regenerated.
31903 * config.make.in (use-default-link): New variable.
31904 * configure.in (use_default_link): Grok --with-default-link to set it.
31905 * configure: Regenerated.
31906 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31907 (shlib-lds, shlib-lds-flags): Define to empty.
31909 * Makerules (shlib-lds): New variable.
31910 (shlib-lds-flags): New variable.
31911 (build-shlib, build-moduile, build-module-asneeded): Use it.
31912 ($(common-objpfx)libc.so): Use $(shlib-lds).
31913 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31914 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31916 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31917 DT_FLAGS/DT_FLAGS_1 with zero flags.
31919 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31920 linker script munging.
31922 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31924 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31926 * crypt/sha512.c (sha512_process_block): Perform total addition using
31927 128-bit if possible.
31928 (__sha512_finish_ctx): Likewise.
31929 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31931 * crypt/sha256.c (SWAP64): Define.
31932 (sha256_process_block): Perform total addition using 64-bit if
31934 (__sha256_finish_ctx): Likewise.
31936 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31938 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31940 * nscd/hstcache.c (cache_addhst): Likewise.
31941 * nscd/grpcache.c (cache_addgr): Likewise.
31942 * nscd/aicache.c (addhstaiX): Likewise
31943 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31945 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31947 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31949 * nscd/hstcache.c (cache_addhst): Likewise.
31950 * nscd/grpcache.c (cache_addgr): Likewise.
31951 * nscd/aicache.c (addhstaiX): Likewise
31953 2011-07-01 Andreas Schwab <schwab@redhat.com>
31955 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31956 domain only when needed.
31958 2011-06-30 Andreas Schwab <schwab@redhat.com>
31960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31961 is always restored.
31963 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31965 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31966 are re-adding the entry.
31967 * nscd/servicescache.c (cache_addserv): Likewise.
31969 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31971 * sysdeps/generic/dl-irel.h: fix protection against multiple
31973 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31975 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31978 * malloc/memusage.sh: Fix quoting in message.
31979 * debug/xtrace.sh: Likewise.
31981 * configure.in: Remove support for --experimental-malloc option, make
31983 * config.make.in: Likewise.
31984 * malloc/Makefile: Likewise.
31986 2011-06-27 Andreas Schwab <schwab@redhat.com>
31988 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31989 two-byte characters.
31991 2011-06-27 Roland McGrath <roland@hack.frob.com>
31993 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31994 AC_CACHE_CHECK invocation.
31995 * configure: Regenerated.
31997 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31999 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32002 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32003 bit from old_res_options.
32005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32007 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32008 value type for setfct.
32010 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32013 __gettimeofday instead of gettimeofday.
32015 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32017 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32019 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32026 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32029 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32030 strcpy-sse2-unaligned strncpy-sse2-unaligned
32031 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32032 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32033 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32034 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32035 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32038 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32039 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32040 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32041 (STRCPY): Support SSE2 and SSSE3 versions.
32043 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32047 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32048 kernels which artificially limit size of requests.
32050 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32053 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32054 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32055 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32056 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32057 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32058 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32059 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32060 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32062 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32063 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32064 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32065 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32066 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32068 Enable unaligned load optimization for Intel Core i3, i5 and i7
32070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32072 (index_Fast_Unaligned_Load): Define.
32073 (HAS_FAST_UNALIGNED_LOAD): Define.
32075 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32077 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32079 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32083 until it is clear that the information is realy needed.
32084 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32086 2011-06-22 Andreas Schwab <schwab@redhat.com>
32088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32090 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32093 /sys/devices/system/cpu/online if it is usable.
32095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32096 reading the information from the /proc filesystem to once a second.
32098 2011-06-21 Andreas Jaeger <aj@suse.de>
32100 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32101 NULL after inclusion of kernel headers.
32103 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32105 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32106 calls to internal_setent.
32109 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32110 addresses using gethostbyname4_r ignore IPv4 addresses.
32112 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32113 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32115 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32117 2011-06-20 David S. Miller <davem@davemloft.net>
32119 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32121 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32123 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32124 (elf_irel): Use it.
32125 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32126 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32127 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32128 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32129 * sysdeps/x86_64/dl-irel.h: Likewise.
32131 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32132 * elf/dl-sym.c: Likewise.
32134 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32136 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32137 need to dereference resplen2.
32139 2011-06-14 Andreas Schwab <schwab@redhat.com>
32141 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32143 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32145 * Makeconfig: Define vardbdir and inst_vardbdir.
32146 * nss/Makefile: Add rules to install db-Makefile.
32148 * nss/nss_db/db-XXX.c: Cleanup.
32150 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32151 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32153 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32154 * nss/makedb.c: Implement -g option to specify that value strings
32155 are generated and should not be added to table iterated over for
32157 * nss/nss_db/db-initgroups.c: New file.
32159 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32162 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32163 (internal_getgrouplist): Adjust to name change.
32164 Update use_initgroups_entry if this is not the first call.
32165 * nss/databases.def: Add initgroups entry.
32167 * nss/makedb.c (compute_tables): Check result of multiple hash table
32168 sizes to minimize maximum chain length.
32170 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32172 * Versions.def: Add entry for libnss_db.
32173 * shlib-versions: Likewise.
32174 * nss/Makefile: Add rules to build libnss_db.
32175 * nss/Versions: Add libnss_db information. Organize libnss_files
32177 * nss/db-Makefile: Add gshadow support. Change rules for the new
32178 makedb progra. Some minor improvements to generate smaller files.
32179 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32181 * nss/makedb.c: ...here.
32182 Improve database format to be smaller and require less memory at
32184 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32186 * nss/nss_db/db-netgrp.c: Likewise.
32187 * nss/nss_db/db-open.c: Likewise.
32188 * nss/nss_files/flies-XXX.x: Adjust comments.
32189 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32190 * nss/nss_files/files-grp.c: Likewise.
32191 * nss/nss_files/files-hosts.c: Likewise.
32192 * nss/nss_files/files-network.c: Likewise.
32193 * nss/nss_files/files-proto.c: Likewise.
32194 * nss/nss_files/files-pwd.c: Likewise.
32195 * nss/nss_files/files-rpc.c: Likewise.
32196 * nss/nss_files/files-service.c: Likewise.
32197 * nss/nss_files/files-sgrp.c: Likewise.
32198 * nss/nss_files/files-spwd.c: Likewise.
32199 * nss/nss_db/db-alias.c: Removed.
32200 * nss/nss_db/dummy-db.h: Removed.
32202 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32204 * nss/makedb.c: Rewritten to not use database library.
32205 * nss/Makefile: Update to build new makedb program.
32207 2011-06-14 Andreas Jaeger <aj@suse.de>
32209 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32210 memset declaration.
32212 2011-06-10 Andreas Schwab <schwab@redhat.com>
32214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32217 2011-06-10 Roland McGrath <roland@hack.frob.com>
32219 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32220 * elf/Makefile ($(objpfx)ld.so): Likewise.
32222 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32223 Don't list ld.so twice in dependencies.
32225 * posix/bug-regex31.c: Include <stdlib.h>.
32227 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32229 * nis/nss_compat/compat-spwd.c
32230 (getspent_next_nss_netgr): Remove unused variable.
32231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32233 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32234 nonmembers" output to use the right array.
32236 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32238 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32240 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32241 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32242 * catgets/gencat.c (read_input_file): Likewise.
32243 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32245 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32246 variable definition inside #if's controlling its use.
32248 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32250 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32252 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32254 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32257 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32259 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32260 * configure: Regenerated.
32262 * Makerules: Revert last change.
32263 * elf/Makefile: Likewise.
32265 2011-06-09 Roland McGrath <roland@hack.frob.com>
32267 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32268 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32269 (reloc-link): Likewise.
32271 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32273 * elf/Makefile: Add rules to build pldd.
32274 * elf/pldd.c: New file.
32275 * elf/pldd-xx.c: New file.
32277 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32279 * version.h: Update for 2.15 development version.
32281 2011-06-07 David S. Miller <davem@davemloft.net>
32283 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32286 elf_machine_lazy_rel): Likewise.
32287 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32289 elf_machine_lazy_rel): Likewise.
32290 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32291 dl_hwcap via passed in argument.
32292 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32295 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32297 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32299 2011-06-06 Roland McGrath <roland@hack.frob.com>
32302 * manual/fdl-1.1.texi: New file, verbatim from:
32303 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32304 * manual/lgpl-2.1.texi: New file, verbatim from:
32305 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32306 * manual/Makefile (licenses): New variable, list those new file names.
32308 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32310 * manual/fdl.texi: File removed.
32311 * manual/lesser.texi: File removed.
32312 * manual/libc.texinfo (Copying, Documentation License):
32313 Use new @include file names, put @appendix directive before @include.
32315 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32318 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32319 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32320 (mq_open): Add __NTH.
32322 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32325 Assume Intel Core i3/i5/i7 processor if AVX is available.
32327 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32332 2011-05-31 Andreas Schwab <schwab@redhat.com>
32334 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32335 memory. Use alloca_account. Fix memory leak when retrying.
32337 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32339 * version.h (RELEASE): Bump for 2.14 release.
32340 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32342 * config.make.in (RANLIB): Remove entry.
32344 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32346 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32347 (libc.pot): Work around missing support for .ksh extension in xgettext.
32350 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32351 if both request failed.
32352 (send_dg): In case of server errors clear resplen or *resplen2.
32355 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32356 when there are multiple maps.
32357 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32358 (_dl_fini): Remove test here.
32360 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32362 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32365 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32366 bit from old_res_options.
32367 (gaih_inet): Likewise.
32370 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32373 * resolv/res_init.c (res_setoptions): Make the code more compact.
32376 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32380 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32382 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32385 * malloc/malloc.h: Declare malloc hook variables as volatile.
32387 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32391 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32392 raise in the comment.
32393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32395 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32397 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32400 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32401 grow the buffers more if it already has to be sufficient.
32402 (build_wcs_upper_buffer): Likewise.
32403 * posix/regexec.c (check_matching): Likewise.
32404 (clean_state_log_if_needed): Likewise.
32405 (extend_buffers): Don't enlarge buffers beyond size of the input
32407 Patches mostly by Emil Wojak <emil@wojak.eu>.
32408 * posix/bug-regex32.c: New file.
32409 * posix/Makefile (tests): Add bug-regex32.
32411 * locale/findlocale.c (_nl_find_locale): Return right away if
32412 _nl_explode_name failed.
32413 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32415 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32417 * debug/xtrace.sh: Unify messages.
32418 * malloc/memusage.sh: Likewise.
32421 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32422 time symbol from vDSO. Substitute with vsyscall if not available.
32423 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32426 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32427 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32428 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32429 Add sendmmsg and internal_sendmmsg.
32430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32431 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32432 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32434 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32435 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32438 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32442 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32448 * iconvdata/Makefile (tests): Add bug-iconv9.
32449 * iconvdata/bug-iconv9.c: New file.
32451 2011-05-27 Andreas Schwab <schwab@redhat.com>
32454 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32456 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32459 (struct user_regs_struct): Change intcs field back to cs.
32461 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32463 * po/ja.po: Update from translation team.
32465 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32468 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32469 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32471 2011-05-20 Andreas Schwab <schwab@redhat.com>
32473 * stdlib/longlong.h: Update from GCC.
32475 2011-05-23 Andreas Schwab <schwab@redhat.com>
32477 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32479 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32480 Add parameter name.
32481 (__sysconf): Pass it down.
32483 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32486 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32489 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32490 add in in __libc_use_alloca calls. Adjust callers.
32491 (glob): Use malloc in some situations.
32493 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32494 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32497 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32499 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32500 and CLOCK_BOOTTIME_ALARM.
32503 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32506 * string/_strerror.c (__strerror_r): Print negative errors as signed
32510 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32511 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32512 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32514 * configure.in: Fix typo in redirection and correct removal of test
32515 files in two cases.
32518 * locale/setlocale.c (new_composite_name): Fix test to check for
32519 identical name of all categories.
32522 * libio/filedoalloc.c (local_isatty): New function.
32523 (_IO_file_doallocate): Use local_isatty.
32524 * stdio-common/perror.c (perror): In case a new stream is used
32525 forward the stream error.
32526 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32529 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32534 * include/alloca.h (extend_alloca_account): Define.
32537 * posix/regex.h: Fix comments with documentation of user-accessible
32538 fields after compilation and describe correct free'ing of pattern
32539 after re_compile_pattern.
32540 Patch by Reuben Thomas <rrt@sc3d.org>.
32542 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32544 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32545 and -mno-altivec to prevent the compiler from using Altivec and/or
32546 VSX instructions when the corresponding registers are not available.
32548 2011-05-19 Andreas Schwab <schwab@redhat.com>
32550 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32552 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32554 * libio/freopen.c (freopen): Use __dup2, not dup2.
32555 * libio/freopen64.c (freopen64): Likewise.
32557 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32560 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32561 * math/Makefile (tests): Add test-powl.
32562 (CFLAGS-test-powl.c): Define.
32563 * math/test-powl.c: New file.
32565 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32567 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32569 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32572 * iconvdata/gb18030.c: Update to GB18020-2005.
32574 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32576 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32577 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32578 Patch by Aharon Robbins <arnold@skeeve.com>.
32581 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32585 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32586 through underflows.
32589 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32590 point to strings before performing equality test for error_one_per_line
32594 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32598 (struct user_fpregs_struct): Avoid __uint*_t types.
32601 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32602 symbol info. Use it instead of calling _dl_addr locally.
32603 (lock_and_info): New function.
32604 (tr_freehook): Call lock_and_info and pass symbol info as additional
32605 parameter to tr_where.
32606 (tr_mallochook): Likewise.
32607 (tr_reallochook): Likewise.
32608 (tr_memalignhook): Likewise.
32610 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32611 used and couldn't be at all thread-safe.
32613 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32615 * libio/freopen.c (freopen): Don't close old file descriptor
32616 before the new one is opened. Instead dup the new file descriptor
32617 to the old one after the new stream is created.
32618 * libio/freopen64.c (freopen64): Likewise.
32619 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32620 * libio/fileops.c (_IO_new_file_close_it): Handle new
32621 _IO_FLAGS2_NOCLOSE flag.
32622 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32623 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32624 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32625 _IO_FLAGS2_NOCLOSE flag.
32626 * include/unistd.h: Add hidden_proto for dup3.
32627 Define __have_dup3.
32628 * io/dup3.c: Define hidden symbol.
32629 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32632 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32633 when an incomplete long option is used.
32634 * posix/tst-getopt_long1.c: New file.
32635 * posix/Makefile (tests): Add tst-getopt_long1.
32638 * scripts/config.guess: Update from autoconf-2.68.
32639 * scripts/config.sub: Likewise.
32642 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32644 (has_cpuclock): ...this. New function.
32645 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32646 macro here based on has_cpuclock code.
32649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32650 First byte (not low byte) is now always NUL.
32651 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32654 Use non-cancelable interfaces.
32657 * locale/iso-639.def: Add entry for Sorani.
32660 * include/stdlib.h: Move include protection to the right place.
32661 Define abort_msg_s. Declare __abort_msg with it.
32662 * stdlib/abort.c (__abort_msg): Adjust type.
32663 * assert/assert.c (__assert_fail_base): New function. Majority
32664 of code from __assert_fail. Allocate memory for __abort_msg with
32666 (__assert_fail): Now call __assert_fail_base.
32667 * assert/assert-perr.c: Remove bulk of implementation. Use
32668 __assert_fail_base.
32669 * include/assert.hL Declare __assert_fail_base.
32670 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32672 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32674 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32678 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32679 until all modules are registered in the DTV.
32680 * elf/Makefile: Add rules to build and run tst-tls19.
32681 * elf/tst-tls19.c: New file.
32682 * elf/tst-tls19mod1.c: New file.
32683 * elf/tst-tls19mod2.c: New file.
32684 * elf/tst-tls19mod3.c: New file.
32685 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32688 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32692 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32693 two-byte sequence errors.
32694 * iconvdata/Makefile (tests): Add bug-iconv8.
32695 * iconvdata/bug-iconv8.c: New file.
32698 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32701 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32704 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32705 (dummy_getcfa): New function.
32706 (init): Get _Unwind_GetCFA address, use dummy if not found.
32707 (backtrace_helper): In recursion check, also check whether CFA changes.
32708 (__backtrace): Completely initialize arg.
32710 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32711 storing incomplete byte sequence in state object. Avoid testing for
32712 guaranteed too small input if we know there is enough data available.
32714 2011-05-11 Andreas Schwab <schwab@redhat.com>
32716 * Makeconfig (+link-pie): Indent.
32717 * Rules (binaries-pie): Define if $(have-fpie) and
32719 (binaries-shared): Also filter out $(binaries-pie).
32720 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32721 * nscd/Makefile (others-pie): Add nscd.
32722 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32723 ($(objpfx)nscd): Remove command override.
32724 * login/Makefile (others-pie): Add pt_chown.
32725 ($(objpfx)pt_chown): Remove command override.
32726 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32727 remove command overrides.
32729 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32731 * libio/tst_putwc.c: Fix error messages.
32734 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32735 currently writing and seek to current position when not.
32736 * libio/Makefile (tests): Add bug-fclose1.
32737 * libio/bug-fclose1.c: New file.
32739 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32742 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32743 don't set DF_1_NODELETE here.
32744 (do_lookup_x): When entering new entry test for copy relocation
32745 and if necessary set DF_1_NODELETE flag.
32746 * elf/tst-unique4.cc: New file.
32747 * elf/tst-unique4.h: New file.
32748 * elf/tst-unique4lib.cc: New file.
32749 * elf/Makefile: Add rules to build and run tst-unique4.
32750 Patch by Piotr Bury <pbury@goahead.com>.
32752 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32755 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32758 * misc/mntent_r.c (addmntent): Flush the stream after the output
32761 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32762 (is_trusted_path_normalize): Skip initial colon. Append slash
32763 to empty buffer. Duplicate is_trusted_path code but allow
32764 constructed patch to be prefix.
32765 (is_dst): Allow $ORIGIN followed by /.
32766 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32767 Correct testing of result of is_trusted_path_normalize
32768 (decompose_rpath): Fix warning.
32770 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32773 * grp/initgroups.c (internal_getgrouplist): When we found the service
32774 list through the initgroups entry in nsswitch.conf do not always
32775 continue on a successful lookup. Don't always use the
32776 __nss_group_database value if it is set.
32777 * nss/nsswitch.conf (initgroups): Change action for successful db
32778 lookup to continue for compatibility.
32780 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32783 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32785 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32787 * iconvdata/tst-tables.sh: Likewise.
32788 * iconvdata/cp770.c: New file.
32789 * iconvdata/cp771.c: New file.
32790 * iconvdata/cp772.c: New file.
32791 * iconvdata/cp773.c: New file.
32792 * iconvdata/cp774.c: New file.
32793 * iconvdata/testdata/CP770: New file.
32794 * iconvdata/testdata/CP770..UTF8: New file.
32795 * iconvdata/testdata/CP771: New file.
32796 * iconvdata/testdata/CP771..UTF8: New file.
32797 * iconvdata/testdata/CP772: New file.
32798 * iconvdata/testdata/CP772..UTF8: New file.
32799 * iconvdata/testdata/CP773: New file.
32800 * iconvdata/testdata/CP773..UTF8: New file.
32801 * iconvdata/testdata/CP774: New file.
32802 * iconvdata/testdata/CP774..UTF8: New file.
32804 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32806 * iconvdata/gen-8bit-gap.sh: Likewise.
32807 * iconvdata/gen-8bit.sh: Likewise.
32809 * locale/iso-639.def: Add ary entry.
32812 * locale/C-translit.h.in: Add U20A1 transliteration.
32815 * locale/iso-639.def: Add wae entry.
32816 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32819 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32823 * locale/C-translit.h.in: Add entry for U20B9.
32824 Patch by pravin.d.s@gmail.com.
32826 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32829 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32830 ENAMETOOLONG use generic getcwd.
32831 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32832 in rtld. Use *stat64.
32833 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32834 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32835 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32836 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32837 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32838 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32839 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32840 __fstatat64 macros.
32841 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32842 * dirent/rewinddir.c: Add libc_hidden_def.
32843 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32844 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32846 * include/dirent.h (__alloc_dir): Add flags parameter.
32847 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32848 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32850 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32851 from fdopendir if O_CLOEXEC is already set.
32853 2011-03-15 Alan Modra <amodra@gmail.com>
32855 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32856 l_tls_firstbyte_offset non-zero. Save padding offset in
32857 l_tls_firstbyte_offset for later use.
32858 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32859 freeing static tls block.
32861 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32863 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32864 where #ifdef was intended. The intent is to prevent ARG_MAX from
32865 being defined by the kernel headers.
32867 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32870 * resolv/resolv.h: Define RES_NOTLDQUERY.
32871 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32872 no-tld-query and set RES_NOTLDQUERY.
32873 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32874 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32875 modern BIND to search name as TLD unless forbidden.
32877 2011-05-07 Petr Baudis <pasky@suse.cz>
32878 Ulrich Drepper <drepper@gmail.com>
32881 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32882 (is_trusted_path): ...to here.
32883 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32884 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32885 using is_trusted_path_normalize() in setuid scripts.
32887 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32889 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32890 __BEGIN/__END_DECLS.
32892 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32894 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32895 NSS_STATUS_NOTFOUND if no record was found.
32897 2011-05-05 Andreas Schwab <schwab@redhat.com>
32899 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32900 (headers-not-in-tirpc): Remove rpc/netdb.h
32901 * resolv/netdb.h: Revert last change.
32903 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32905 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32906 circular dependency between libgcc.a and libc.a.
32908 2011-05-05 Andreas Schwab <schwab@redhat.com>
32910 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32911 * nis/Makefile: Don't install rpcsvc/*.
32912 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32913 instead of <rpc/types.h>.
32914 (MAXHOSTNAMELEN): Define.
32916 2011-05-03 Andreas Schwab <schwab@redhat.com>
32918 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32920 2011-04-28 Maciej Babinski <mbabinski@google.com>
32923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32924 gethostbyname4_r when IPv6 results are possible.
32926 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32929 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32930 _PC_PIPE_BUF handling.
32932 2011-04-30 Bruno Haible <bruno@clisp.org>
32935 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32936 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32938 * inet/getnameinfo.c (getnameinfo): Likewise.
32940 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32942 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32943 to groups setting in database lookup.
32944 * nss/nsswitch.conf: Add initgroups entry.
32946 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32949 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32951 Patch by Eric Blake <eblake@redhat.com>.
32953 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32955 * sunrpc/Makefile (need-export-routines): Add svc_run.
32956 (routines): Remove svc_run.
32957 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32958 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32959 * sunrpc/svc_run.c (svc_run): Likewise.
32960 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32962 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32965 problem in reallocation in last patch.
32967 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32969 * sunrpc/Makefile: Move inclusion of Rules.
32971 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32973 * nss/nss_files/files-initgroups.c: New file.
32974 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32975 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32976 _nss_files_initgroups_dyn.
32978 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32980 * elf/elf.h (R_ARM_IRELATIVE): Define.
32982 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32984 * po/ru.po: Update from translation team.
32986 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32988 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32991 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32994 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32995 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33000 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33002 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33008 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33011 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33013 * stdlib/bug-getcontext.c: New file.
33014 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33016 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33018 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33019 instructions into .machine "z9-109".
33020 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33021 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33023 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33025 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33026 between environment variables and auxiliary vector.
33028 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33030 * Makefile: Add rules to build linkobj/libc.so.
33031 * include/libc-symbols.h: Define libc_hidden_nolink.
33032 * include/rpc/auth.h: Mark functions which are to be hidden.
33033 * include/rpc/auth_des.h: Likewise.
33034 * include/rpc/auth_unix.h: Likewise.
33035 * include/rpc/clnt.h: Likewise.
33036 * include/rpc/des_crypt.h: Likewise.
33037 * include/rpc/key_prot.h: Likewise.
33038 * include/rpc/pmap_clnt.h: Likewise.
33039 * include/rpc/pmap_prot.h: Likewise.
33040 * include/rpc/pmap_rmt.h: Likewise.
33041 * include/rpc/rpc_msg.h: Likewise.
33042 * include/rpc/svc.h: Likewise.
33043 * include/rpc/svc_auth.h: Likewise.
33044 * include/rpc/xdr.h: Likewise.
33045 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33046 * nss/Makefile: Likewise.
33047 * sunrpc/Makefile: Don't install headers. Build library with normal
33048 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33049 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33050 for the compat linking library. Remove use of INTDEF/INTUSE.
33051 * sunrpc/auth_none.c: Likewise.
33052 * sunrpc/auth_unix.c: Likewise.
33053 * sunrpc/authdes_prot.c: Likewise.
33054 * sunrpc/authuxprot.c: Likewise.
33055 * sunrpc/clnt_gen.c: Likewise.
33056 * sunrpc/clnt_perr.c: Likewise.
33057 * sunrpc/clnt_raw.c: Likewise.
33058 * sunrpc/clnt_simp.c: Likewise.
33059 * sunrpc/clnt_tcp.c: Likewise.
33060 * sunrpc/clnt_udp.c: Likewise.
33061 * sunrpc/clnt_unix.c: Likewise.
33062 * sunrpc/des_crypt.c: Likewise.
33063 * sunrpc/des_soft.c: Likewise.
33064 * sunrpc/get_myaddr.c: Likewise.
33065 * sunrpc/key_call.c: Likewise.
33066 * sunrpc/key_prot.c: Likewise.
33067 * sunrpc/netname.c: Likewise.
33068 * sunrpc/pm_getmaps.c: Likewise.
33069 * sunrpc/pm_getport.c: Likewise.
33070 * sunrpc/pmap_clnt.c: Likewise.
33071 * sunrpc/pmap_prot.c: Likewise.
33072 * sunrpc/pmap_prot2.c: Likewise.
33073 * sunrpc/pmap_rmt.c: Likewise.
33074 * sunrpc/publickey.c: Likewise.
33075 * sunrpc/rpc_cmsg.c: Likewise.
33076 * sunrpc/rpc_common.c: Likewise.
33077 * sunrpc/rpc_dtable.c: Likewise.
33078 * sunrpc/rpc_prot.c: Likewise.
33079 * sunrpc/rpc_thread.c: Likewise.
33080 * sunrpc/rtime.c: Likewise.
33081 * sunrpc/svc.c: Likewise.
33082 * sunrpc/svc_auth.c: Likewise.
33083 * sunrpc/svc_authux.c: Likewise.
33084 * sunrpc/svc_raw.c: Likewise.
33085 * sunrpc/svc_run.c: Likewise.
33086 * sunrpc/svc_simple.c: Likewise.
33087 * sunrpc/svc_tcp.c: Likewise.
33088 * sunrpc/svc_udp.c: Likewise.
33089 * sunrpc/svc_unix.c: Likewise.
33090 * sunrpc/svcauth_des.c: Likewise.
33091 * sunrpc/xcrypt.c: Likewise.
33092 * sunrpc/xdr.c: Likewise.
33093 * sunrpc/xdr_array.c: Likewise.
33094 * sunrpc/xdr_float.c: Likewise.
33095 * sunrpc/xdr_intXX_t.c: Likewise.
33096 * sunrpc/xdr_mem.c: Likewise.
33097 * sunrpc/xdr_rec.c: Likewise.
33098 * sunrpc/xdr_ref.c: Likewise.
33099 * sunrpc/xdr_sizeof.c: Likewise.
33100 * sunrpc/xdr_stdio.c: Likewise.
33102 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33105 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33106 * sysdeps/ia64/dl-tls.h: Likewise.
33107 * sysdeps/powerpc/dl-tls.h: Likewise.
33108 * sysdeps/s390/dl-tls.h: Likewise.
33109 * sysdeps/sh/dl-tls.h: Likewise.
33110 * sysdeps/sparc/dl-tls.h: Likewise.
33111 * sysdeps/x86_64/dl-tls.h: Likewise.
33112 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33114 2011-03-14 Andreas Schwab <schwab@redhat.com>
33116 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33117 rpath element also skip the following colon.
33118 (expand_dynamic_string_token): Add is_path parameter and pass
33119 down to DL_DST_REQUIRED and _dl_dst_substitute.
33120 (decompose_rpath): Call expand_dynamic_string_token with
33121 non-zero is_path. Ignore empty rpaths.
33122 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33125 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33130 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33133 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33134 Patch by Filipe David Manana <fdmanana@apache.org>.
33136 2011-04-07 Andreas Schwab <schwab@redhat.com>
33138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33139 Maintain aligned stack.
33140 (CHECK_RSP): Remove unused macro.
33142 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33144 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33147 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33149 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33151 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33153 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33156 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33157 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33158 * sysdeps/x86_64/memmove.c: New file.
33159 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33160 (memcpy): Renamed to ...
33161 (__new_memcpy): This.
33162 (memcpy): Provide GLIBC_2_14 memcpy.
33163 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33164 (memcpy): Provide GLIBC_2_2_5 memcpy.
33166 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33169 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33171 2011-03-30 Andreas Schwab <schwab@redhat.com>
33173 * misc/syncfs.c: New file.
33174 * misc/Makefile (routines): Add syncfs.
33175 * posix/unistd.h: Declare syncfs.
33176 * sysdeps/unix/syscalls.list: Add syncfs.
33178 2011-04-01 Andreas Schwab <schwab@redhat.com>
33180 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33187 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33190 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33194 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33200 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33201 sync_file_range.c with -fexceptions.
33202 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33203 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33204 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33205 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33206 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33207 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33208 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33209 sync_file_range as cancellation point
33210 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33211 now a wrapper around __call_sync_file_range with cancellation handling.
33212 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33213 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33214 function name to __call_sync_file_range.
33215 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33216 Add call_sync_file_range.
33218 2011-04-01 Andreas Schwab <schwab@redhat.com>
33220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33223 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33225 * iconv/iconv.h: Fix typo in comment.
33226 * io/fcntl.h: Likewise.
33227 * libio/stdio.h: Likewise.
33228 * posix/spawn.h: Likewise.
33229 * posix/unistd.h: Likewise.
33230 * stdlib/stdlib.h: Likewise.
33231 * time/time.h: Likewise.
33232 * wcsmbs/wchar.h: Likewise.
33234 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33235 open_by_handle): Add.
33236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33237 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33238 Augment a few comments.
33239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33244 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33247 * io/fcntl.h (AT_EMPTY_PATH): Define.
33249 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33251 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33252 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33253 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33255 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33256 * Versions.def: Add GLIBC_2.14.
33257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33260 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33262 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33264 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33266 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33269 * string/test-strncmp.c (do_page_test): New function.
33270 (check2): Likewise.
33271 (test_main): Call check2.
33272 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33274 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33277 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33278 Handle cache information in CPU leaf 4.
33279 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33281 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33284 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33285 character representation.
33286 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33288 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33290 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33291 END(__isnan) to END(__isnanf) to match function entry point/label
33292 EALIGN(__isnanf,...).
33294 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33296 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33298 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33301 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33302 copy from the symbol referenced in the relocation to initialize the
33304 Patch by Piotr Bury <pbury@goahead.com>.
33305 * elf/Makefile: Add rules to build and tst-unique3.
33306 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33307 * elf/tst-unique3.cc: New file.
33308 * elf/tst-unique3.h: New file.
33309 * elf/tst-unique3lib.cc: New file.
33310 * elf/tst-unique3lib2.cc: New file.
33312 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33314 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33316 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33317 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33320 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33322 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33323 to-be-loaded object along a path to loader is ld.so.
33325 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33326 Ulrich Drepper <drepper@gmail.com>
33328 * sysdeps/x86_64/memset.S: After aligning destination, code
33329 branches to different locations depending on the value of
33330 misalignment, when multiarch is enabled. Fix this.
33332 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33334 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33335 Set _x86_64_preferred_memory_instruction for AMD processsors.
33336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33337 Set bit_Prefer_SSE_for_memop for AMD processors.
33339 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33341 * libio/fmemopen.c (fmemopen): Optimize a bit.
33343 2011-03-03 Andreas Schwab <schwab@redhat.com>
33345 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33347 2011-03-03 Roland McGrath <roland@redhat.com>
33349 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33351 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33353 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33354 __bzero_ultra1 instead of __memset_ultra1.
33356 2011-02-23 Andreas Schwab <schwab@redhat.com>
33357 Ulrich Drepper <drepper@gmail.com>
33360 * include/link.h (struct link_map): Add l_orig_initfini.
33361 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33362 returning unsuccessfully.
33363 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33364 close of a file loaded at startup, restore the original l_initfini
33366 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33367 list, store the pointer.
33368 * elf/Makefile ($(objpfx)noload-mem): New rule.
33369 (noload-ENV): Define.
33370 (tests): Add $(objpfx)noload-mem.
33371 * elf/noload.c: Include <memcheck.h>.
33372 (main): Call mtrace. Close all opened handles.
33374 2011-02-17 Andreas Schwab <schwab@redhat.com>
33377 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33378 dependencies are missing.
33380 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33382 Fix __if_freereq crash: Unlike the generic version which uses free,
33384 * sysdeps/mach/hurd/ifreq.h: New file.
33386 2011-01-27 Petr Baudis <pasky@suse.cz>
33387 Ulrich Drepper <drepper@gmail.com>
33390 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33391 to extend_alloca().
33392 * stdio-common/bug23.c: New file.
33393 * stdio-common/Makefile (tests): Add bug23.
33395 2010-09-28 Andreas Schwab <schwab@redhat.com>
33396 Ulrich Drepper <drepper@gmail.com>
33399 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33400 before performing relro protection. At old place add assertion
33401 to make sure nothing changed.
33403 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33404 Glauber de Oliveira Costa <glommer@gmail.com>
33406 * elf/elf.h: Add new ARM TLS relocs.
33408 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33411 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33413 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33415 * sysdeps/wordsize-64/tst-writev.c: New file.
33417 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33419 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33420 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33421 insns in _dl_start to prevent a TOC reference before relocs are
33424 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33427 * Makeconfig: Remove RANLIB definition.
33428 * Makerules: Don't use RANLIB.
33429 * aclocal.m4: Remove ranlib test.
33430 * configure.in: No need to check for ranlib.
33431 * elf/rtld-Rules: Don't use RANLIB.
33433 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33435 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33437 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33438 inclusion protection macro.
33440 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33441 SIGRTMIN and SIGRTMAX and print information in that case only when
33442 SIGRTMIN is defined.
33444 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33446 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33447 arginfo fn returning -1.
33449 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33450 and thousands string is zero terminated.
33452 2011-02-03 Andreas Schwab <schwab@redhat.com>
33454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33455 sysdeps/unix/sysv/linux/bits/socket.h.
33457 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33459 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33460 (__CPU_COUNT): Remove old macros.
33461 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33462 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33463 (__CPU_ALLOC, __CPU_FREE): Add macros.
33464 (__sched_cpualloc, __sched_cpufree): Add declarations.
33466 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33468 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33469 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33470 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33471 (readdhstai): Return value of addhstaiX call.
33472 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33473 (addgrbyX): Return value returned by cache_addgr.
33474 (readdgrbyname): Return value returned by addgrbyX.
33475 (readdgrbygid): Likewise.
33476 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33477 (addpwbyX): Return value returned by cache_addpw.
33478 (readdpwbyname): Return value returned by addhstbyX.
33479 (readdpwbyuid): Likewise.
33480 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33481 (addservbyX): Return value returned by cache_addserv.
33482 (readdservbyname): Return value returned by addservbyX:
33483 (readdservbyport): Likewise.
33484 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33485 (addhstbyX): Return value returned by cache_addhst.
33486 (readdhstbyname): Return value returned by addhstbyX.
33487 (readdhstbyaddr): Likewise.
33488 (readdhstbynamev6): Likewise.
33489 (readdhstbyaddrv6): Likewise.
33490 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33491 (readdinitgroups): Return value returned by addinitgroupsX.
33492 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33493 (prune_cache): Keep track of timeout value of re-added entries.
33494 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33495 * nscd/nscd.h: Adjust prototypes of readd* functions.
33497 2011-02-04 Roland McGrath <roland@redhat.com>
33499 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33500 (nis_stats): Likewise.
33501 * nis/nis_modify.c (nis_modify): Likewise.
33502 * nis/nis_remove.c (nis_remove): Likewise.
33503 * nis/nis_add.c (nis_add): Likewise.
33505 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33507 * posix/fnmatch_loop.c: Add some consts.
33509 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33511 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33514 * config.make.in (config-cflags-novzeroupper): Define.
33515 * configure.in: Substitute libc_cv_cc_novzeroupper.
33516 * elf/Makefile (AVX-CFLAGS): Define.
33517 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33518 (CFLAGS-tst-auditmod4a.c): Likewise.
33519 (CFLAGS-tst-auditmod4b.c): Likewise.
33520 (CFLAGS-tst-auditmod6b.c): Likewise.
33521 (CFLAGS-tst-auditmod6c.c): Likewise.
33522 (CFLAGS-tst-auditmod7b.c): Likewise.
33523 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33525 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33527 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33528 function to the callback.
33529 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33531 2011-02-02 Andreas Schwab <schwab@redhat.com>
33533 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33536 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33539 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33541 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33543 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33546 * elf/Makefile: Add rules to build and run new test.
33547 * elf/tst-initorder.c: New file.
33548 * elf/tst-initorder.exp: New file.
33549 * elf/tst-initordera1.c: New file.
33550 * elf/tst-initordera2.c: New file.
33551 * elf/tst-initordera3.c: New file.
33552 * elf/tst-initordera4.c: New file.
33553 * elf/tst-initorderb1.c: New file.
33554 * elf/tst-initorderb2.c: New file.
33555 * elf/tst-order-a1.c: New file.
33556 * elf/tst-order-a2.c: New file.
33557 * elf/tst-order-a3.c: New file.
33558 * elf/tst-order-a4.c: New file.
33559 * elf/tst-order-b1.c: New file.
33560 * elf/tst-order-b2.c: New file.
33561 * elf/tst-order-main.c: New file.
33562 New test case by George Gensure <werkt0@gmail.com>.
33564 2010-10-01 Andreas Schwab <schwab@redhat.com>
33566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33567 decoding ACE if AI_CANONIDN.
33569 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33571 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33573 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33575 * version.h (RELEASE): Bump for 2.13 release.
33576 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33578 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33580 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33582 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33584 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33587 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33589 * posix/getconf.c: Update copyright year.
33590 * catgets/gencat.c: Likewise.
33591 * csu/version.c: Likewise.
33592 * debug/catchsegv.sh: Likewise.
33593 * debug/xtrace.sh: Likewise.
33594 * elf/ldconfig.c: Likewise.
33595 * elf/ldd.bash.in: Likewise.
33596 * elf/sprof.c (print_version): Likewise.
33597 * iconv/iconv_prog.c: Likewise.
33598 * iconv/iconvconfig.c: Likewise.
33599 * locale/programs/locale.c: Likewise.
33600 * locale/programs/localedef.c: Likewise.
33601 * malloc/memusage.sh: Likewise.
33602 * malloc/mtrace.pl: Likewise.
33603 * nscd/nscd.c (print_version): Likewise.
33604 * nss/getent.c: Likewise.
33606 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33607 PF_CAIF, and PF_ALG.
33608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33610 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33612 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33613 (modules-names): Use them.
33614 (ifunc-test-modules, ifunc-pie-tests): Define.
33615 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33616 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33617 (test-extras): Likewise.
33618 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33619 $(compile-command.c).
33620 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33621 (all-built-dso): Define.
33622 (check-textrel.out, check-execstack.out): Depend on it.
33624 * configure.in: Don't override --enable-multi-arch.
33626 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33629 * nscd/hstcache.c (tryagain): Define.
33630 (cache_addhst): Return tryagain not notfound for temporary errors.
33631 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33634 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33637 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33638 to make the syscall.
33639 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33642 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33643 and fall back to matching as normal character if the string ends before
33644 the matching ']' is found. This is what POSIX requires.
33645 * posix/testfnm.c: Adjust test result.
33646 * posix/globtest.sh: Adjust test result. Add new test.
33647 * posix/tst-fnmatch.input: Likewise.
33648 * posix/tst-fnmatch2.c: Add new test.
33650 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33652 * elf/Makefile (check-execstack): Revert last change. Depend on
33654 (check-execstack.h): New target.
33655 (generated): Add check-execstack.h.
33656 * elf/check-execstack.c: Include "check-execstack.h".
33657 (main): Revert last change.
33658 (handle_file): Return zero if GNU_STACK is absent and
33659 DEFAULT_STACK_PERMS doesn't include PF_X.
33661 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33663 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33664 in child fails because the descriptor is already closed.
33665 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33666 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33667 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33670 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33674 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33675 temporary buffer used to handle multi lookups locally.
33676 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33678 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33680 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33683 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33685 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33686 alignment for SSE2.
33688 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33691 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33692 characters. When rounding increased number of integer digits recompute
33694 * stdio-common/tst-grouping.c: New file.
33695 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33697 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33699 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33700 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33702 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33704 * bits/select.h: Likewise.
33706 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33708 * po/ja.po: Update from translation team.
33710 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33713 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33714 implementation just like for lxstat, fxstatat, et al.
33716 2010-12-27 Jim Meyering <meyering@redhat.com>
33719 * posix/regexec.c (build_trtable): Return failure indication upon
33720 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33722 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33725 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33726 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33731 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33734 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33735 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33737 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33739 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33740 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33741 script has SORT_BY_INIT_PRIORITY.
33742 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33743 NO_CTORS_DTORS_SECTIONS is defined.
33744 * elf/soinit.c: Likewise.
33745 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33746 NO_CTORS_DTORS_SECTIONS is defined.
33747 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33748 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33749 * sysdeps/sh/init-first.c: Likewise.
33750 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33752 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33754 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33755 always use the slow path.
33757 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33759 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33760 similar rule which adds the sysdep directories to the header search in
33761 order to pick up the correct platform stackinfo.h.
33762 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33763 perform test if it is, otherwise return successfully without testing.
33764 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33765 DEFAULT_STACK_PERMS define in stackinfo.h.
33766 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33767 defined in stackinfo.h.
33768 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33769 DEFAULT_STACK_PERMS defined in stackinfo.h.
33770 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33771 * sysdeps/ia64/stackinfo.h: Likewise.
33772 * sysdeps/s390/stackinfo.h: Likewise.
33773 * sysdeps/sh/stackinfo.h: Likewise.
33774 * sysdeps/sparc/stackinfo.h: Likewise.
33775 * sysdeps/x86_64/stackinfo.h: Likewise.
33776 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33777 PF_X for powerpc64. Retain PF_X for powerpc32.
33779 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33781 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33783 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33784 GETDENTS_64BIT_ALIGNED.
33786 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33788 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33790 2010-12-10 Andreas Schwab <schwab@redhat.com>
33792 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33795 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33796 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33798 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33799 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33801 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33804 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33807 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33809 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33811 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33813 * po/it.po: Update from translation team.
33815 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33820 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33822 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33824 2010-11-24 Andreas Schwab <schwab@redhat.com>
33826 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33828 (gaih_getanswer_slice): Likewise.
33830 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33834 2010-05-31 Petr Baudis <pasky@suse.cz>
33837 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33838 silently even in the chroot mode.
33840 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33843 last patch a bit. Pretty printing
33845 2010-05-31 Petr Baudis <pasky@suse.cz>
33848 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33849 initialization of skip_initgroups_dyn.
33851 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33853 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33856 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33858 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33860 2010-11-11 Andreas Schwab <schwab@redhat.com>
33862 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33863 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33864 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33865 ($(objpfx)tst-fnmatch-mem): New rule.
33866 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33867 * posix/tst-fnmatch.c (main): Call mtrace.
33869 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33872 Support Intel processor model 6 and model 0x2c.
33874 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33876 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33879 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33882 * string/test-strncasecmp.c (check_result): New function.
33883 (do_one_test): Use it.
33884 (check1): New function.
33885 (test_main): Use it.
33886 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33887 Support strcasecmp and strncasecmp.
33889 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33892 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33895 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33897 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33901 * sysdeps/x86_64/multiarch/bzero.S: New file.
33902 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33903 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33904 * sysdeps/x86_64/multiarch/memset.S: New file.
33905 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33907 Set bit_Prefer_SSE_for_memop for Intel processors.
33908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33910 (index_Prefer_SSE_for_memop): Define.
33911 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33913 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33915 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33916 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33918 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33921 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33922 (__x86_64_raw_data_cache_size_half): Likewise.
33923 (__x86_64_raw_shared_cache_size): Likewise.
33924 (__x86_64_raw_shared_cache_size_half): Likewise.
33926 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33927 (__x86_64_raw_data_cache_size_half): Likewise.
33928 (__x86_64_raw_shared_cache_size): Likewise.
33929 (__x86_64_raw_shared_cache_size_half): Likewise.
33930 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33931 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33932 and __x86_64_raw_shared_cache_size_half. Round
33933 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33934 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33935 to multiple of 256 bytes.
33937 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33941 of inacessible symlinks. Verify result of symlink before returning it.
33942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33943 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33945 2010-10-28 Erich Ritz <erichritz@gmail.com>
33947 * math/math.h (isinf): Fix typo in comment.
33949 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33951 * po/da.po: Update from translation team.
33953 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33955 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33956 is added to the list.
33958 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33959 Ulrich Drepper <drepper@gmail.com>
33961 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33962 the global list here. Move code to...
33963 (_dl_add_to_namespace_list): ...here. New function.
33964 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33965 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33966 * elf/dl-load.c (lose): Don't remove the element from the list.
33967 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33968 (_dl_map_object): Likewise.
33970 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33973 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33974 into all bytes of SSE register.
33975 Patch by Richard Li <richardpku@gmail.com>.
33977 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33980 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33983 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33985 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33986 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33987 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33988 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33993 2010-10-22 Andreas Schwab <schwab@redhat.com>
33995 * include/dlfcn.h (__RTLD_SECURE): Define.
33996 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33997 mode & __RTLD_SECURE instead.
33998 (open_path): Rename preloaded parameter to secure.
33999 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34000 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34001 * elf/dl-deps.c (openaux): Likewise.
34002 * elf/rtld.c (struct map_args): Remove is_preloaded.
34003 (map_doit): Don't use it.
34004 (dl_main): Likewise.
34005 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34006 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34008 2010-09-09 Andreas Schwab <schwab@redhat.com>
34010 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34011 (sysd-rules-targets): Remove duplicates.
34012 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34013 rtld-%.$o dependency.
34015 2010-10-18 Andreas Schwab <schwab@redhat.com>
34017 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34018 _dl_map_object do it.
34020 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34022 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34023 fast fma builtins, define the macros in the C99 standard.
34024 (FP_FAST_FMAF): Likewise.
34025 (FP_FAST_FMAL): Likewise.
34026 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34028 * bits/mathdef.h: Update copyright year.
34029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34031 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34033 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34034 builtins, define the macros in the C99 standard.
34035 (FP_FAST_FMAF): Likewise.
34036 (FP_FAST_FMAL): Likewise.
34037 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34039 (FP_FAST_FMAF): Likewise.
34041 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34044 * math/libm-test.inc (fma_test): Some new testcases.
34045 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34047 y and infinite z. Do multiplication by C already in long double.
34048 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34050 y and infinite z. Do bitwise or of inexact bit into u.d.
34051 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34052 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34053 * sysdeps/i386/fpu/s_fma.S: Removed.
34054 * sysdeps/i386/fpu/s_fmal.S: Removed.
34056 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34059 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34061 computation is not scheduled after fetestexcept. Fix value
34062 of minimum denormal long double.
34064 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34067 * math/libm-test.inc (fma_test): Add some more tests.
34068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34071 2010-10-15 Andreas Schwab <schwab@redhat.com>
34073 * scripts/data/localplt-s390-linux-gnu.data: New file.
34074 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34076 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34079 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34080 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34082 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34084 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34086 if one of x and y is very large and the other is subnormal.
34087 * sysdeps/s390/fpu/s_fmaf.c: New file.
34088 * sysdeps/s390/fpu/s_fma.c: New file.
34089 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34090 * sysdeps/powerpc/fpu/s_fma.S: New file.
34091 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34092 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34093 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34095 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34098 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34100 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34101 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34102 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34103 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34104 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34105 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34108 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34111 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34112 * posix/bug-regex31.input: Add test case.
34114 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34116 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34117 * posix/bug-regex31.input: New file.
34120 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34121 (parse_sub_exp): Fix last change, use postorder.
34123 * posix/bug-regex31.c: New file.
34124 * posix/Makefile: Add rules to build and run bug-regex31.
34126 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34129 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34132 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34133 to have entries in sys_siglist.
34136 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34139 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34142 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34143 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34144 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34145 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34146 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34147 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34148 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34149 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34150 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34151 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34152 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34153 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34154 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34155 * math/ftestexcept.c (fetestexcept): Likewise.
34156 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34157 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34158 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34159 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34160 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34161 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34164 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34167 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34170 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34172 * string/bug-strstr1.c: New file.
34173 * string/Makefile: Add rules to build and run bug-strstr1.
34175 2010-10-05 Eric Blake <eblake@redhat.com>
34178 * string/str-two-way.h (two_way_long_needle): Always clear memory
34179 when skipping input due to the shift table.
34181 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34184 * malloc/mcheck.c: Handle large requests.
34187 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34188 for strncmp and strncasecmp.
34189 * string/stratcliff.c: Add tests for strcmp and strncmp.
34190 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34192 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34194 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34197 2010-09-30 Andreas Jaeger <aj@suse.de>
34199 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34200 (CGROUP_SUPER_MAGIC): Define.
34201 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34202 Handle btrfs and cgroup file systems.
34203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34206 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34208 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34209 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34211 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34214 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34215 trying to locate the ELF header.
34217 2010-09-27 Andreas Schwab <schwab@redhat.com>
34220 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34221 Mask out sign-bit copies when constructing f_fsid.
34223 2010-09-24 Petr Baudis <pasky@suse.cz>
34225 * debug/stack_chk_fail_local.c: Add missing licence exception.
34226 * debug/warning-nop.c: Likewise.
34228 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34231 implementing getdents64 using getdents syscall, set d_type if
34232 __ASSUME_GETDENTS32_D_TYPE.
34234 2010-09-16 Andreas Schwab <schwab@redhat.com>
34236 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34237 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34239 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34242 * posix/unistd.h: Undo change of feature selection for ftruncate from
34245 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34247 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34250 2010-09-20 Andreas Schwab <schwab@redhat.com>
34252 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34254 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34256 2010-09-14 Andreas Schwab <schwab@redhat.com>
34258 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34259 variables after CHECK_SP call.
34260 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34262 2010-09-13 Andreas Schwab <schwab@redhat.com>
34263 Ulrich Drepper <drepper@redhat.com>
34265 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34266 re-relocationg ld.so.
34267 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34268 _dl_init_paths call.
34269 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34272 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34274 * resolv/res_init.c (__res_vinit): Count the default server we added.
34276 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34277 Ulrich Drepper <drepper@redhat.com>
34280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34281 (____longjmp_chk): Use %ebx for saving value across system call.
34284 2010-09-06 Andreas Schwab <schwab@redhat.com>
34286 * manual/Makefile: Don't mix pattern rules with normal rules.
34288 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34290 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34292 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34293 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34294 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34295 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34299 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34302 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34303 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34305 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34307 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34308 * sysdeps/x86_64/addmul_1.S: Likewise.
34309 * sysdeps/x86_64/lshift.S: Likewise.
34310 * sysdeps/x86_64/mul_1.S: Likewise.
34311 * sysdeps/x86_64/rshift.S: Likewise.
34312 * sysdeps/x86_64/sub_n.S: Likewise.
34313 * sysdeps/x86_64/submul_1.S: Likewise.
34315 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34317 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34318 Define __sched_param instead of SCHED_* and sched_param when
34319 <bits/sched.h> is included with __need_schedparam defined.
34320 * bits/sched.h [__need_schedparam]
34321 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34322 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34323 (__defined_schedparam): Define to 1.
34324 (__sched_param): New structure, identical to sched_param.
34325 (__need_schedparam): Undefine.
34327 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34330 (epoll_create1): Declare.
34332 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34334 2010-08-31 Andreas Schwab <schwab@redhat.com>
34337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34338 shifting retval into place.
34340 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34342 * nis/rpcsvc/nis.h: Update copyright notice.
34343 * nis/rpcsvc/nis.x: Likewise.
34344 * nis/rpcsvc/nis_callback.h: Likewise.
34345 * nis/rpcsvc/nis_callback.x: Likewise.
34346 * nis/rpcsvc/nis_object.x: Likewise.
34347 * nis/rpcsvc/nis_tags.h: Likewise.
34348 * nis/rpcsvc/yp.h: Likewise.
34349 * nis/rpcsvc/yp.x: Likewise.
34350 * nis/rpcsvc/ypupd.h: Likewise.
34351 * nis/yp_xdr.c: Likewise.
34352 * nis/ypupdate_xdr.c: Likewise.
34354 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34355 mainly the body of pmap_getport. Add parameters to specify timeouts.
34356 (pmap_getport): Use __libc_rpc_getport.
34357 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34358 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34359 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34361 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34366 2010-08-27 Roland McGrath <roland@redhat.com>
34368 * sysdeps/i386/i686/multiarch/Makefile
34369 (CFLAGS-varshift.c): New variable.
34371 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34373 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34374 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34376 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34378 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34380 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34382 * sysdeps/x86_64/strlen.S: Unroll the loop.
34383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34384 strlen-sse2 strlen-sse2-bsf.
34385 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34386 __strlen_no_bsf if bit_Slow_BSF is set.
34387 (__strlen_sse42): Removed.
34388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34389 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34391 2010-08-25 Roland McGrath <roland@redhat.com>
34393 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34394 * sysdeps/x86_64/multiarch/varshift.c: New file.
34395 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34396 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34397 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34398 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34400 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34403 strlen-sse2 strlen-sse2-bsf.
34404 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34405 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34406 (__strlen_sse2): Removed.
34407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34410 bit_Slow_BSF for Atom.
34411 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34412 (index_Slow_BSF): Define.
34413 (HAS_SLOW_BSF): Define.
34415 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34418 * resolv/res_init.c (__res_vinit): When no server address at all
34419 is given default to loopback.
34421 2010-08-24 Roland McGrath <roland@redhat.com>
34423 * configure.in: Remove config-name.h generation.
34424 * configure: Regenerated.
34425 * config-name.in: File removed.
34426 * scripts/config-uname.sh: New file.
34427 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34428 ($(objdir)config-name.h): New target.
34430 * sunrpc/rpc_parse.h: Avoid nested comment.
34432 2010-08-24 Richard Henderson <rth@redhat.com>
34433 Ulrich Drepper <drepper@redhat.com>
34434 H.J. Lu <hongjiu.lu@intel.com>
34436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34438 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34439 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34440 _mm_alignr_epi8 with _mm_loadu_si128.
34441 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34442 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34443 (__m128i_shift_right): Removed.
34444 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34445 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34446 * sysdeps/x86_64/multiarch/varshift.h: New file.
34447 * sysdeps/x86_64/multiarch/varshift.S: New file.
34449 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34451 * configure.in: Move assembler checks to before sysdep dir checking.
34453 2010-08-20 Petr Baudis <pasky@suse.cz>
34455 * LICENSES: Sync the sunrpc license.
34457 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34459 * sunrpc/auth_des.c: Update copyright notice once again.
34460 * sunrpc/auth_none.c: Likewise.
34461 * sunrpc/auth_unix.c: Likewise.
34462 * sunrpc/authdes_prot.c: Likewise.
34463 * sunrpc/authuxprot.c: Likewise.
34464 * sunrpc/bindrsvprt.c: Likewise.
34465 * sunrpc/clnt_gen.c: Likewise.
34466 * sunrpc/clnt_perr.c: Likewise.
34467 * sunrpc/clnt_raw.c: Likewise.
34468 * sunrpc/clnt_simp.c: Likewise.
34469 * sunrpc/clnt_tcp.c: Likewise.
34470 * sunrpc/clnt_udp.c: Likewise.
34471 * sunrpc/clnt_unix.c: Likewise.
34472 * sunrpc/des_crypt.c: Likewise.
34473 * sunrpc/des_soft.c: Likewise.
34474 * sunrpc/get_myaddr.c: Likewise.
34475 * sunrpc/getrpcport.c: Likewise.
34476 * sunrpc/key_call.c: Likewise.
34477 * sunrpc/key_prot.c: Likewise.
34478 * sunrpc/openchild.c: Likewise.
34479 * sunrpc/pm_getmaps.c: Likewise.
34480 * sunrpc/pm_getport.c: Likewise.
34481 * sunrpc/pmap_clnt.c: Likewise.
34482 * sunrpc/pmap_prot.c: Likewise.
34483 * sunrpc/pmap_prot2.c: Likewise.
34484 * sunrpc/pmap_rmt.c: Likewise.
34485 * sunrpc/rpc/auth.h: Likewise.
34486 * sunrpc/rpc/auth_unix.h: Likewise.
34487 * sunrpc/rpc/clnt.h: Likewise.
34488 * sunrpc/rpc/des_crypt.h: Likewise.
34489 * sunrpc/rpc/key_prot.h: Likewise.
34490 * sunrpc/rpc/netdb.h: Likewise.
34491 * sunrpc/rpc/pmap_clnt.h: Likewise.
34492 * sunrpc/rpc/pmap_prot.h: Likewise.
34493 * sunrpc/rpc/pmap_rmt.h: Likewise.
34494 * sunrpc/rpc/rpc.h: Likewise.
34495 * sunrpc/rpc/rpc_des.h: Likewise.
34496 * sunrpc/rpc/rpc_msg.h: Likewise.
34497 * sunrpc/rpc/svc.h: Likewise.
34498 * sunrpc/rpc/svc_auth.h: Likewise.
34499 * sunrpc/rpc/types.h: Likewise.
34500 * sunrpc/rpc/xdr.h: Likewise.
34501 * sunrpc/rpc_clntout.c: Likewise.
34502 * sunrpc/rpc_cmsg.c: Likewise.
34503 * sunrpc/rpc_common.c: Likewise.
34504 * sunrpc/rpc_cout.c: Likewise.
34505 * sunrpc/rpc_dtable.c: Likewise.
34506 * sunrpc/rpc_hout.c: Likewise.
34507 * sunrpc/rpc_main.c: Likewise.
34508 * sunrpc/rpc_parse.c: Likewise.
34509 * sunrpc/rpc_parse.h: Likewise.
34510 * sunrpc/rpc_prot.c: Likewise.
34511 * sunrpc/rpc_sample.c: Likewise.
34512 * sunrpc/rpc_scan.c: Likewise.
34513 * sunrpc/rpc_scan.h: Likewise.
34514 * sunrpc/rpc_svcout.c: Likewise.
34515 * sunrpc/rpc_tblout.c: Likewise.
34516 * sunrpc/rpc_util.c: Likewise.
34517 * sunrpc/rpc_util.h: Likewise.
34518 * sunrpc/rpcinfo.c: Likewise.
34519 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34520 * sunrpc/rpcsvc/key_prot.x: Likewise.
34521 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34522 * sunrpc/rpcsvc/mount.x: Likewise.
34523 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34524 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34525 * sunrpc/rpcsvc/rex.x: Likewise.
34526 * sunrpc/rpcsvc/rstat.x: Likewise.
34527 * sunrpc/rpcsvc/rusers.x: Likewise.
34528 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34529 * sunrpc/rpcsvc/spray.x: Likewise.
34530 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34531 * sunrpc/rtime.c: Likewise.
34532 * sunrpc/svc.c: Likewise.
34533 * sunrpc/svc_auth.c: Likewise.
34534 * sunrpc/svc_authux.c: Likewise.
34535 * sunrpc/svc_raw.c: Likewise.
34536 * sunrpc/svc_run.c: Likewise.
34537 * sunrpc/svc_simple.c: Likewise.
34538 * sunrpc/svc_tcp.c: Likewise.
34539 * sunrpc/svc_udp.c: Likewise.
34540 * sunrpc/svc_unix.c: Likewise.
34541 * sunrpc/svcauth_des.c: Likewise.
34542 * sunrpc/xcrypt.c: Likewise.
34543 * sunrpc/xdr.c: Likewise.
34544 * sunrpc/xdr_array.c: Likewise.
34545 * sunrpc/xdr_float.c: Likewise.
34546 * sunrpc/xdr_mem.c: Likewise.
34547 * sunrpc/xdr_rec.c: Likewise.
34548 * sunrpc/xdr_ref.c: Likewise.
34549 * sunrpc/xdr_sizeof.c: Likewise.
34550 * sunrpc/xdr_stdio.c: Likewise.
34552 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34555 2010-08-19 Andreas Schwab <schwab@redhat.com>
34557 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34559 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34561 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34562 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34563 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34564 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34565 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34566 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34567 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34568 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34570 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34571 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34572 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34573 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34574 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34576 2010-07-26 Anton Blanchard <anton@samba.org>
34578 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34579 * malloc/arena.c (heap_trim): Likewise.
34581 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34583 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34586 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34588 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34590 * sysdeps/i386/elf/Makefile: New file.
34592 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34594 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34595 from fanotify_init.
34596 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34599 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34601 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34603 * sysdeps/multiarch/strcmp.S: Likewise.
34605 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34607 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34608 strncase_l-nonascii.
34609 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34610 Add strncase_l-ssse3.
34611 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34612 * sysdeps/x86_64/strcmp.S: Likewise.
34613 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34614 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34615 * sysdeps/x86_64/strncase.S: New file.
34616 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34617 * sysdeps/x86_64/strncase_l.S: New file.
34618 * string/Makefile (strop-tests): Add strncasecmp.
34619 * string/test-strncasecmp.c: New file.
34621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34624 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34625 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34627 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34629 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34631 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34633 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34635 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34637 2010-05-01 Alan Modra <amodra@gmail.com>
34639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34640 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34641 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34642 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34643 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34644 tidying. Don't tail-call __sigjmp_save for static lib.
34645 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34647 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34648 (CALL_MCOUNT): Add eh info, and nop after bl.
34649 (TAIL_CALL_SYSCALL_ERROR): New macro.
34650 (PSEUDO_RET): Use it.
34651 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34652 Correct save location of integer regs and cr.
34653 (_dl_profile_resolve): Correct cr save location. Delete nops
34654 after bl when SHARED. Reduce cfi size a little by better
34655 placement of cfi directives.
34656 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34657 make a stack frame. Instead use parm save area as a temp.
34658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34659 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34661 Don't make a stack frame for parent, use parm save area.
34662 Increase child stack frame to 112 bytes. Don't save unused reg,
34663 and adjust reg usage. Set up cfi on error recovery and
34664 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34666 (__makecontext): Add dummy nop after jump to exit.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34668 Use correct parm save area and cr save, reduce stack frame.
34669 Correct cfi for possible PSEUDO_RET frame setup.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34671 Branch to local label emitted by PSEUDO_RET rather than
34674 2010-08-12 Andreas Schwab <schwab@redhat.com>
34677 * locale/programs/locale.c (print_assignment): New function.
34678 (show_locale_vars): Use it.
34680 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34682 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34684 (struct statfs64): Likewise.
34685 (_STATFS_F_FLAGS): Define.
34686 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34688 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34689 (ST_VALID): Define locally.
34690 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34691 __statvfs_getflags, use the provided value.
34692 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34693 __ASSUME_STATFS_F_FLAGS.
34695 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34697 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34698 Add sys/fanotify.h.
34699 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34700 fanotify_mask for GLIBC_2.13.
34701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34702 fanotify_init and fanotify_mark.
34703 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34704 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34706 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34708 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34709 prlimit64 for GLIBC_2.13.
34710 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34715 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34716 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34720 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34723 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34724 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34726 * nss/Makefile: Add rules to build and run tst-nss-test1.
34727 * shlib-versions: Add entry for libnss_test1.
34728 * nss/nss_test1.c: New file.
34729 * nss/tst-nss-test1.c: New file.
34731 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34732 (__nss_configure_lookup): Set appropriate entry in
34733 __nss_configure_lookup to true.
34734 * nss/nsswitch.h: Define enum with indeces of databases in
34735 databases and __nss_database_custom arrays. Declare
34736 __nss_database_custom.
34737 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34738 to avoid using nscd when custom rules are installed.
34739 * nss/getXXbyYY_r.c: Likewise.
34740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34742 * nss/nss_files/files-parse.c: Whitespace fixes.
34744 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34747 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34748 * posix/fnmatch_loop.c: Likewise.
34750 2010-07-17 Andi Kleen <ak@linux.intel.com>
34752 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34753 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34754 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34755 * Versions.def [GLIBC_2.13]: Add.
34757 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34760 Also fail if tpwd after pwuid call is NULL.
34762 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34764 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34765 when converting to ms.
34767 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34769 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34770 EOPNOTSUPP errors with ENOTTY.
34771 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34772 EOPNOTSUPP errors with ENOTTY.
34774 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34776 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34777 Add strcasecmp_l-ssse3.
34778 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34780 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34781 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34782 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34784 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34786 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34788 * string/Makefile (strop-tests): Add strcasecmp.
34789 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34790 strcasecmp_l-nonascii.
34791 (gen-as-const-headers): Add locale-defines.sym.
34792 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34793 * sysdeps/x86_64/strcasecmp.S: New file.
34794 * sysdeps/x86_64/strcasecmp_l.S: New file.
34795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34796 * sysdeps/x86_64/locale-defines.sym: New file.
34797 * string/test-strcasecmp.c: New file.
34799 * string/test-strcasestr.c: Test both ends of the range of characters.
34800 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34802 2010-07-29 Roland McGrath <roland@redhat.com>
34805 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34807 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34809 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34812 2010-07-27 Andreas Schwab <schwab@redhat.com>
34814 * manual/memory.texi (Malloc Tunable Parameters): Document
34817 2010-07-26 Roland McGrath <roland@redhat.com>
34820 * configure.in (-fgnu89-inline check): Set and substitute
34821 gnu89_inline, not libc_cv_gnu89_inline.
34822 * configure: Regenerated.
34823 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34825 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34827 * string/test-strnlen.c: New file.
34828 * string/Makefile (strop-tests): Add strnlen.
34829 * string/tester.c (test_strnlen): Add a few more test cases.
34830 * string/tst-strlen.c: Better error reporting.
34832 * sysdeps/x86_64/strnlen.S: New file.
34834 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34836 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34837 lower-latency instructions.
34839 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34841 * string/test-strcasestr.c: New file.
34842 * string/test-strstr.c: New file.
34843 * string/Makefile (strop-tests): Add strstr and strcasestr.
34844 * string/str-two-way.h: Don't undefine MAX.
34845 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34847 2010-07-21 Andreas Schwab <schwab@redhat.com>
34849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34850 strcasestr-nonascii.
34851 (CFLAGS-strcasestr-nonascii.c): Define.
34852 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34854 Remove unused attribute.
34856 2010-07-20 Roland McGrath <roland@redhat.com>
34858 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34859 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34860 ld.so.cache was broken. With it, there is no way to disable dsocaps
34861 like LD_HWCAP_MASK can disable hwcaps.
34863 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34865 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34867 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34869 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34870 call in strcasestr.
34871 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34872 __strcasestr_sse42_nonascii.
34873 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34874 strcasestr-nonascii.c.
34875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34877 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34879 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34884 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34886 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34889 2010-07-06 Andreas Schwab <schwab@redhat.com>
34892 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34895 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34897 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34898 _PC_PIPE_BUF using F_GETPIPE_SZ.
34900 2010-07-05 Roland McGrath <roland@redhat.com>
34902 * manual/arith.texi (Rounding Functions): Fix rint description
34903 implicit in round description.
34905 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34907 * elf/Makefile: Fix linking for a few tests to make recent linker
34910 2010-06-30 Andreas Schwab <schwab@redhat.com>
34912 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34913 $(common-objpfx)libc_nonshared.a.
34915 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34917 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34918 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34919 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34920 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34921 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34922 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34924 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34939 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34940 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34941 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34942 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34943 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34944 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34945 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34946 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34947 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34948 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34949 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34950 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34966 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34968 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34969 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34970 * string/memmove.c (memmove): Renamed to ...
34971 (MEMMOVE): ...this. Default to memmove.
34972 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34973 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34976 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34977 mempcpy-ssse3-back memmove-ssse3-back.
34978 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34979 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34981 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34982 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34983 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34984 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34985 * sysdeps/x86_64/multiarch/memmove.c: New file.
34986 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34987 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34988 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34989 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34990 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34993 (index_Fast_Copy_Backward): Define.
34994 (HAS_ARCH_FEATURE): Define.
34995 (HAS_FAST_REP_STRING): Define.
34996 (HAS_FAST_COPY_BACKWARD): Define.
34998 2010-06-21 Andreas Schwab <schwab@redhat.com>
35000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35001 Restore proper fallback handling.
35003 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35006 * posix/group_member.c (__group_member): Correct checking loop.
35008 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35009 OOM in getpwuid_r correctly. Return error number when the caller
35010 should return, otherwise -1.
35011 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35012 call returning > 0 value.
35013 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35015 2010-06-07 Andreas Schwab <schwab@redhat.com>
35017 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35018 libc_nonshared.a from targets in modules-names.
35020 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35022 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35025 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35028 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35032 2010-06-02 Andreas Schwab <schwab@redhat.com>
35034 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35036 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35041 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35047 2010-06-14 Roland McGrath <roland@redhat.com>
35049 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35051 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35053 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35054 __REDIRECT followed by __THROW.
35055 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35056 * posix/getopt.h (getopt): Likewise.
35058 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35060 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35061 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35062 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35064 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35065 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35067 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35069 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35071 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35075 Properly check family and model.
35077 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35079 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35081 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35083 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35085 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35087 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35090 2010-05-19 Andreas Schwab <schwab@redhat.com>
35092 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35095 2010-05-21 Andreas Schwab <schwab@redhat.com>
35097 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35098 and internal_recvmmsg.
35099 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35100 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35101 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35102 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35104 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35105 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35106 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35108 2010-05-20 Andreas Schwab <schwab@redhat.com>
35110 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35112 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35114 POWER7 optimizations.
35115 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35116 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35118 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35120 * version.h: Update for 2.13 development version.
35122 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35124 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35125 exceptions. Return 0.
35127 2010-05-07 Roland McGrath <roland@redhat.com>
35129 * elf/ldconfig.c (main): Add a const.
35131 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35133 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35134 (args_options): Add no-idn option.
35135 (ahosts_keys_int): Add idn_flags to ai_flags.
35136 (parse_option): Handle 'i' option to clear idn_flags.
35138 * malloc/malloc.c (_int_free): Possible race in the most recently
35139 added check. Only act on the data if no current modification
35142 See ChangeLog.17 for earlier changes.