1 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * locale/programs/locarchive.c (open_archive): Add const
4 qualifier to ARCHIVEFNAME and copy default fname to
8 * libio/tst-widetext.input: Rename Oriya to Odia.
9 * locale/iso-639.def: Likewise.
11 * manual/probes.texi (Mathematical Function Probes): Add
12 documentation for sin, cos, asin and acos probes.
13 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14 (__sin32): Add slowasin probe.
15 (__cos32): Add slowacos probe.
16 (__mpsin): Add slowsin probe.
17 (__mpcos): Add slowcos probe.
19 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23 thread-local __sim_exceptions_thread and global
24 __sim_exceptions_global.
25 (__sim_disabled_exceptions): Change to thread-local
26 __sim_disabled_exceptions_thread and global
27 __sim_disabled_exceptions_global.
28 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29 and global __sim_round_mode_global.
30 (__simulate_exceptions): Use thread-local floating-point state and
31 set global state from it as needed.
32 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
34 __sim_round_mode_thread.
35 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37 and global __sim_exceptions_global.
38 (__sim_disabled_exceptions): Change to thread-local
39 __sim_disabled_exceptions_thread and global
40 __sim_disabled_exceptions_global.
41 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42 and global __sim_round_mode_global.
43 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44 (SIM_SET_GLOBAL): Likewise.
45 * sysdeps/powerpc/soft-fp/sfp-machine.h
46 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47 __sim_round_mode_thread.
48 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49 __sim_disabled_exceptions_thread.
50 (__sim_exceptions): Change to __sim_exceptions_thread.
51 (__sim_disabled_exceptions): Change to
52 __sim_disabled_exceptions_thread.
53 (__sim_round_mode): Change to __sim_round_mode_thread.
54 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55 thread-local floating-point state and set global state from it as
57 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59 (__sim_disabled_exceptions): Remove extern declaration.
60 (feenableexcept): Use thread-local floating-point state and set
61 global state from it as needed.
62 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
64 (__sim_disabled_exceptions): Likewise.
65 (__sim_round_mode): Likewise.
66 (__fegetenv): Use thread-local floating-point state.
67 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
68 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
69 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
70 floating-point state and set global state from it as needed.
71 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
72 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
73 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
75 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
76 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
78 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
79 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
80 Use __sim_round_mode_thread.
81 * math/test-fenv-tls.c: New file.
82 * math/Makefile (tests): Add test-fenv-tls.
83 ($(objpfx)test-fenv-tls): Depend on
84 $(common-objpfx)nptl/libpthread.so.
86 2013-11-19 Andreas Schwab <schwab@suse.de>
88 * locale/programs/locale.c (show_info): Decode wordarray elements.
89 * locale/categories.def (LC_MONETARY): Add element for
90 _NL_MONETARY_CRNCYSTR.
91 * locale/C-monetary.c (conversion_rate): New variable.
92 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
95 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
97 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
98 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
100 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
102 * elf/Makefile (tst-auxv): New test.
103 * elf/tst-auxv.c: New
104 * elf/rtld.c (dl_main): Adjust AT_EXECFN
106 2013-11-18 Joseph Myers <joseph@codesourcery.com>
108 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
109 (hidden_proto): Caller changed.
110 (hidden_tls_proto): New macro.
111 (libc_hidden_tls_proto): Likewise.
112 (rtld_hidden_tls_proto): Likewise.
113 (libm_hidden_tls_proto): Likewise.
114 (libresolv_hidden_tls_proto): Likewise.
115 (librt_hidden_tls_proto): Likewise.
116 (libdl_hidden_tls_proto): Likewise.
117 (libnss_files_hidden_tls_proto): Likewise.
118 (libnsl_hidden_tls_proto): Likewise.
119 (libnss_nisplus_hidden_tls_proto): Likewise.
120 (libutil_hidden_tls_proto): Likewise.
122 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
125 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
126 (decompose_rpath): Defer expansion to fillin_rpath.
127 (_dl_init_paths): Pass linkmap to fillin_rpath.
129 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
131 * benchtests/Makefile: Add strsep.
132 * benchtests/bench-strsep.c: New file: strsep benchtest.
133 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
135 2013-11-18 Andreas Schwab <schwab@suse.de>
137 * locale/programs/locale.c (show_info) [case byte]: Check for
138 '\377' instead of '\177'.
139 * locale/C-monetary.c (not_available): Always use "\377".
140 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
141 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
142 detect unavailable sign_posn locale elements.
143 * locale/localeconv.c (__localeconv): For grouping and
144 mon_grouping handle "\177" and "\377" like no grouping.
145 (INT_ELEM): New macro. Use it to set all numeric members.
146 * locale/programs/ld-monetary.c (monetary_read)
147 <tok_mon_grouping>: Normalize single -1 to the empty string.
148 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
151 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
154 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
156 * stdio-common/tst-sscanf.c (struct test): Add testcase.
158 2013-11-16 Joseph Myers <joseph@codesourcery.com>
160 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
161 (NO_TEST_INLINE): Update value.
162 (ERRNO_UNCHANGED): Likewise.
163 (ERRNO_EDOM): Likewise.
164 (ERRNO_ERANGE): Likewise.
165 (IGNORE_RESULT): Likewise.
166 (check_float_internal): Check signs of NaN results if
168 (check_complex): Pass TEST_NAN_SIGN flag through to second
169 check_float_internal call.
170 (copysign_test_data): Add tests with quiet NaNs as second
171 argument. Use TEST_NAN_SIGN.
172 (fabs_test_data): Add test of negative quiet NaN argument. Use
174 (signbit_test_data): Add tests of quiet NaN argument.
175 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
177 * math/gen-libm-test.pl (show_exceptions): Take extra argument
179 (parse_args): Handle function results specified as IGNORE.
180 * math/libm-test.inc (IGNORE_RESULT): New macro.
181 (check_float_internal): Do not check numerical result if flag
183 (check_complex): Pass through IGNORE_RESULT to second
184 check_float_internal call.
185 (check_int): Do not check numerical result if flag IGNORE_RESULT
187 (check_long): Likewise.
188 (check_bool): Likewise.
189 (check_longlong): Likewise.
190 (lrint_test_data): Add tests of infinite and NaN arguments.
191 (lrint_tonearest_test_data): Likewise.
192 (lrint_towardzero_test_data): Likewise.
193 (lrint_downward_test_data): Likewise.
194 (lrint_upward_test_data): Likewise.
195 (llrint_test_data): Likewise.
196 (llrint_tonearest_test_data): Likewise.
197 (llrint_towardzero_test_data): Likewise.
198 (llrint_downward_test_data): Likewise.
199 (llrint_upward_test_data): Likewise.
200 (lround_test_data): Likewise.
201 (llround_test_data): Likewise.
203 * math/libm-test.inc (NO_TEST_INLINE): New macro.
204 (ERRNO_UNCHANGED): Update value.
205 (ERRNO_EDOM): Likewise.
206 (ERRNO_ERANGE): Likewise.
207 (NO_TEST_INLINE_FLOAT): New macro.
208 (NO_TEST_INLINE_DOUBLE): Likewise.
209 (enable_test): New function.
210 (RUN_TEST_f_f): Check enable_test before running test.
211 (RUN_TEST_2_f): Likewise.
212 (RUN_TEST_fff_f): Likewise.
213 (RUN_TEST_c_f): Likewise.
214 (RUN_TEST_f_f1): Likewise.
215 (RUN_TEST_fF_f1): Likewise.
216 (RUN_TEST_fI_f1): Likewise.
217 (RUN_TEST_ffI_f1): Likewise.
218 (RUN_TEST_c_c): Likewise.
219 (RUN_TEST_cc_c): Likewise.
220 (RUN_TEST_f_i): Likewise.
221 (RUN_TEST_f_i_tg): Likewise.
222 (RUN_TEST_ff_i_tg): Likewise.
223 (RUN_TEST_f_b): Likewise.
224 (RUN_TEST_f_b_tg): Likewise.
225 (RUN_TEST_f_l): Likewise.
226 (RUN_TEST_f_L): Likewise.
227 (RUN_TEST_fFF_11): Likewise.
228 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
230 (cosh_test_data): Likewise.
231 (exp_test_data): Likewise.
232 (expm1_test_data): Likewise.
233 (hypot_test_data): Likewise.
234 (pow_test_data): Likewise.
235 (sinh_test_data): Likewise.
236 (tanh_test_data): Likewise.
237 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
240 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
241 tests with quiet NaN input and output.
242 (acosh_test_data): Likewise.
243 (asin_test_data): Likewise.
244 (asinh_test_data): Likewise.
245 (atan_test_data): Likewise.
246 (atanh_test_data): Likewise.
247 (atan2_test_data): Likewise.
248 (cbrt_test_data): Likewise.
249 (cos_test_data): Likewise.
250 (cosh_test_data): Likewise.
251 (erf_test_data): Likewise.
252 (erfc_test_data): Likewise.
253 (exp_test_data): Likewise.
254 (exp10_test_data): Likewise.
255 (exp2_test_data): Likewise.
256 (expm1_test_data): Likewise.
257 (hypot_test_data): Likewise.
258 (j0_test_data): Likewise.
259 (j1_test_data): Likewise.
260 (jn_test_data): Likewise.
261 (lgamma_test_data): Likewise.
262 (log_test_data): Likewise.
263 (log10_test_data): Likewise.
264 (log1p_test_data): Likewise.
265 (log2_test_data): Likewise.
266 (pow_test_data): Likewise.
267 (scalb_test_data): Likewise.
268 (sin_test_data): Likewise.
269 (sincos_test_data): Likewise.
270 (sinh_test_data): Likewise.
271 (tan_test_data): Likewise.
272 (tanh_test_data): Likewise.
273 (tgamma_test_data): Likewise.
274 (y0_test_data): Likewise.
275 (y1_test_data): Likewise.
276 (yn_test_data): Likewise.
279 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
280 argument being NaN and avoid computations with second argument in
282 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
283 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
284 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
286 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
288 * locale/iso-639.def: Add Chitwani Tharu (the).
290 2013-11-14 Andreas Schwab <schwab@suse.de>
292 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
293 word instead of empty string.
295 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
298 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
300 (__fe_nomask_env): Likewise.
302 2013-11-13 Steve Ellcey <sellcey@mips.com>
304 * benchtests/bench-timing.h: Include time.h.
306 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
309 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
311 * sysdeps/unix/sysv/linux/configure: Regenerated.
313 2013-11-13 Joseph Myers <joseph@codesourcery.com>
316 * stdlib/strtod_l.c (round_and_return): Do not consider
317 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
318 exponent one less than half the least subnormal exponent.
319 * stdlib/test-strtod-round-data: Add more tests.
320 * stdlib/tst-strtod-round.c (tests): Regenerated.
322 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
326 (__fe_mask_env): Likewise.
327 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
328 libm_hidden_proto and add function prototype.
329 (__fe_mask_env): Add function prototype.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
331 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
333 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
335 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
337 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
339 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
340 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
342 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
344 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
347 2013-11-11 David S. Miller <davem@davemloft.net>
350 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
351 symbol in the non-vis3 case in static builds.
352 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
353 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
354 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
355 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
357 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
360 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
363 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365 * benchtests/Makefile: Add bench-strtod.
366 * benchtests/bench-strtod.c: New file: strtod benchtest
368 2013-11-11 Andreas Schwab <schwab@suse.de>
371 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
372 terminating NUL in key length.
374 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
376 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
377 Add artificial ODP entry for vDSO symbol for PPC64.
378 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
379 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
381 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
384 * nss/getent.c (services_keys): Recognize services starting with digit.
386 2013-11-06 David S. Miller <davem@davemloft.net>
389 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
390 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
392 2013-11-06 Will Newton <will.newton@linaro.org>
394 * manual/memory.texi (Malloc Examples): Remove register
395 keyword from examples.
397 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
399 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
401 2013-11-04 Joseph Myers <joseph@codesourcery.com>
403 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
404 depending on [__GCC_IEC_559 > 0].
405 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
406 depending on [__GCC_IEC_559_COMPLEX > 0].
408 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
410 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
413 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
415 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
417 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
420 * malloc/malloc (malloc_info): Do not handle first bin as
423 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
425 * locale/iso-639.def: Add Central Nahuatl (nhn).
427 2013-11-01 Bruno Haible <bruno@clisp.org>
430 * manual/math.texi (BSD Random): Specify range upper bound as
433 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
435 * locale/iso-639.def: Add Meadow Mari (mhr).
437 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
439 [BZ #14752], [BZ #15763]
440 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
442 * rt/tst_shm.c: Add test for escaping directory.
444 2013-10-31 Andreas Schwab <schwab@suse.de>
447 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
448 followed by 'x' as part of digit sequence.
449 * stdio-common/tst-sscanf.c (double_tests2): New tests.
451 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
454 * configure.ac: allow GNU Make 4.0 and greater.
455 * configure: Regenerated.
457 2013-10-30 Will Newton <will.newton@linaro.org>
460 * malloc/hooks.c (memalign_check): Limit alignment to the
461 maximum representable power of two.
462 * malloc/malloc.c (__libc_memalign): Likewise.
463 * malloc/tst-memalign.c (do_test): Add test for very
464 large alignment values.
465 * malloc/tst-posix_memalign.c (do_test): Likewise.
467 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
470 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
471 (munmap_chunk): Likewise.
472 (mremap_chunk): Likewise.
474 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
477 * stdlib/div.c (div): Remove obsolete code.
478 * stdlib/ldiv.c (ldiv): Likewise.
479 * stdlib/lldiv.c (lldiv): Likewise.
481 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
484 * nss/nss_files/files-XXX.c (get_contents_ret): New
486 (get_contents): New function.
487 (internal_getent): Use it. Expand size of LINEBUFLEN.
489 2013-10-30 Mike Frysinger <vapier@gentoo.org>
491 * configure.in: Moved to ...
492 * configure.ac: ... here. Change reference to configure.in
494 * sysdeps/arm/preconfigure.ac: ... here.
495 configure.in to configure.ac.
496 * sysdeps/gnu/configure.in: Moved to ...
497 * sysdeps/gnu/configure.ac: ... here.
498 * sysdeps/i386/configure.in: Moved to ...
499 * sysdeps/i386/configure.ac: ... here.
500 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
501 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
502 * sysdeps/mach/configure.in: Moved to ...
503 * sysdeps/mach/configure.ac: ... here.
504 * sysdeps/mach/hurd/configure.in: Moved to ...
505 * sysdeps/mach/hurd/configure.ac: ... here.
506 * sysdeps/powerpc/configure.in: Moved to ...
507 * sysdeps/powerpc/configure.ac: ... here.
508 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
509 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
510 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
511 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
512 * sysdeps/s390/s390-32/configure.in: Moved to ...
513 * sysdeps/s390/s390-32/configure.ac: ... here.
514 * sysdeps/s390/s390-64/configure.in: Moved to ...
515 * sysdeps/s390/s390-64/configure.ac: ... here.
516 * sysdeps/sh/configure.in: Moved to ...
517 * sysdeps/sh/configure.ac: ... here.
518 * sysdeps/sparc/configure.in: Moved to ...
519 * sysdeps/sparc/configure.ac: ... here.
520 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
521 * sysdeps/unix/sysv/linux/configure.ac: ... here.
522 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
523 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
524 * sysdeps/x86_64/configure.in: Moved to ...
525 * sysdeps/x86_64/configure.ac: ... here.
526 * sysdeps/x86_64/preconfigure.in: Moved to ...
527 * sysdeps/x86_64/preconfigure.ac: ... here.
528 * aclocal.m4: Change reference to configure.in to configure.ac.
529 * config.h.in: Likewise.
530 * manual/install.texi: Likewise.
531 * manual/maint.texi: Likewise.
532 * Makefile: Likewise.
533 * malloc/Makefile: Likewise.
534 * nscd/Makefile: Likewise.
535 * Makeconfig: Change reference to configure.in and
536 preconfigure.in to configure.ac and preconfigure.ac
538 * INSTALL: Regenerated.
539 * configure: Likewise.
540 * sysdeps/gnu/configure: Likewise.
541 * sysdeps/i386/configure: Likewise.
542 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
543 * sysdeps/mach/configure: Likewise.
544 * sysdeps/mach/hurd/configure: Likewise.
545 * sysdeps/powerpc/configure: Likewise.
546 * sysdeps/powerpc/powerpc32/configure: Likewise.
547 * sysdeps/powerpc/powerpc64/configure: Likewise.
548 * sysdeps/s390/s390-32/configure: Likewise.
549 * sysdeps/s390/s390-64/configure: Likewise.
550 * sysdeps/sh/configure: Likewise.
551 * sysdeps/sparc/configure: Likewise.
552 * sysdeps/unix/sysv/linux/configure: Likewise.
553 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
554 * sysdeps/x86_64/configure: Likewise.
555 * sysdeps/x86_64/preconfigure: Likewise.
557 2013-10-29 Andreas Schwab <schwab@suse.de>
559 * stdio-common/Makefile (tst-swscanf-ENV): Define.
561 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
563 * benchtests/pow-inputs: Add new inputs.
565 * benchtests/exp-inputs: Add new inputs.
567 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
568 conditional check for return value.
571 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
573 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
574 to provide a boost for large inputs with word alignment.
575 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
576 implementation based on optimized PPC64 strcpy.
577 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
578 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
579 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
580 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
582 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
585 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
587 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
590 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
591 * time/tst-strptime.c (day_tests): Add testcase.
593 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
596 * manual/pattern.texi: Acknowledge that fnmatch can fail.
598 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
601 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
604 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
607 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
608 heap for large requests.
610 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
613 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
614 result if the result has no associated interface.
615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
616 interface for all 127.X.Y.Z addresses.
618 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
620 * locale/iso-639.def: Add Ligurian (lij)
622 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
625 * sunrpc/rpc_main.c: Document rpcgen -5.
627 2013-10-19 Michael Stahl <mstahl@redhat.com>
629 * elf/rtld.c (do_preload): Print the reason why preloading failed.
631 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
634 * posix/glob.c: Match only directories when trailing slash is present.
635 * posix/tst-gnuglob.c (my_opendir): Do not open files.
636 (main): Add testcase.
638 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
641 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
643 2013-10-18 Carlos O'Donell <carlos@redhat.com>
645 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
646 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
647 AUTH_DES and cindex for FIPS 140-2.
648 (DES Encryption): Add cindex FIPS 46-3.
650 * locale/locarchive.h (struct locarhandle): Add fname.
651 * locale/programs/localedef.c (main): Pass ARGV[remaining]
652 if an optional argument was specified to --list-archive,
654 * locale/programs/locarchive.c (show_archive_content): Take new
655 argument fname and pass it via ah.fname to open_archive.
656 * locale/programs/localedef.h: Update decl.
657 (open_archive): If AH->fname is non-null, open that file
658 rather than the default file name, and don't ignore ENOENT.
659 (create_archive): Set AH.fname to NULL.
660 (delete_locales_from_archive): Likewise.
661 (add_locales_to_archive): Likewise.
662 * locale/programs/locfile.c (write_all_categories): Likewise.
664 2013-10-18 Joseph Myers <joseph@codesourcery.com>
665 Aldy Hernandez <aldyh@redhat.com>
667 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
668 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
669 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
670 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
671 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
673 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
674 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
675 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
676 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
677 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
678 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
679 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
680 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
681 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
683 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
685 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
687 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
689 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
690 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
692 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
693 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
694 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
695 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
697 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
698 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
699 * sysdeps/powerpc/preconfigure: Likewise.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
702 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
703 Replace contents of file by #include of <fenv_libc.h>.
704 * sysdeps/powerpc/soft-fp/sfp-machine.h
705 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
707 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
718 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
720 Allow copysignl PLT reference to be missing.
722 2013-10-18 Richard Sandiford <richard@codesourcery.com>
723 Joseph Myers <joseph@codesourcery.com
726 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
728 (add_to_tablewc): Assert sequence of wide characters is nonempty.
730 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
732 * elf/tst-tls-dlinfo.c: Don't include tls.h.
733 * elf/tst-tls1.c: Likewise.
734 * elf/tst-tls10.h: Likewise.
735 * elf/tst-tls14.c: Likewise.
736 * elf/tst-tls2.c: Likewise.
737 * elf/tst-tls3.c: Likewise.
738 * elf/tst-tls4.c: Likewise.
739 * elf/tst-tls5.c: Likewise.
740 * elf/tst-tls6.c: Likewise.
741 * elf/tst-tls7.c: Likewise.
742 * elf/tst-tls8.c: Likewise.
743 * elf/tst-tls9.c: Likewise.
744 * elf/tst-tlsmod1.c: Likewise.
745 * elf/tst-tlsmod13.c: Likewise.
746 * elf/tst-tlsmod13a.c: Likewise.
747 * elf/tst-tlsmod14a.c: Likewise.
748 * elf/tst-tlsmod16a.c: Likewise.
749 * elf/tst-tlsmod16b.c: Likewise.
750 * elf/tst-tlsmod2.c: Likewise.
751 * elf/tst-tlsmod3.c: Likewise.
752 * elf/tst-tlsmod4.c: Likewise.
753 * elf/tst-tlsmod5.c: Likewise.
754 * elf/tst-tlsmod6.c: Likewise.
756 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
759 * malloc/malloc.c: remove checks for statistics.
761 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
764 * inet/inet_net.c (inet_network): Detect additional invalid strings.
765 * inet/tst-network.c: Add testcase.
767 2013-10-17 Andreas Schwab <schwab@suse.de>
770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
771 to determine canonical name.
773 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
775 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
776 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
778 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
780 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
781 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
782 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
783 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
784 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
785 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
788 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
789 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
790 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
792 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
793 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
794 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
795 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
798 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
799 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
800 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
801 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
802 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
803 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
804 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
805 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
806 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
807 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
808 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
809 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
810 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
811 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
812 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
813 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
814 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
815 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
816 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
817 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
818 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
819 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
820 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
821 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
822 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
823 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
824 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
825 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
827 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
828 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
829 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
830 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
832 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
834 2013-10-17 Joseph Myers <joseph@codesourcery.com>
837 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
838 make result into a quiet NaN.
840 2013-10-16 Joseph Myers <joseph@codesourcery.com>
842 * soft-fp/adddf3.c: Fix horizontal whitespace.
843 * soft-fp/addsf3.c: Likewise.
844 * soft-fp/addtf3.c: Likewise.
845 * soft-fp/divdf3.c: Likewise.
846 * soft-fp/divsf3.c: Likewise.
847 * soft-fp/divtf3.c: Likewise.
848 * soft-fp/double.h: Likewise.
849 * soft-fp/eqdf2.c: Likewise.
850 * soft-fp/eqsf2.c: Likewise.
851 * soft-fp/eqtf2.c: Likewise.
852 * soft-fp/extenddftf2.c: Likewise.
853 * soft-fp/extended.h: Likewise.
854 * soft-fp/extendsfdf2.c: Likewise.
855 * soft-fp/extendsftf2.c: Likewise.
856 * soft-fp/extendxftf2.c: Likewise.
857 * soft-fp/fixdfdi.c: Likewise.
858 * soft-fp/fixdfsi.c: Likewise.
859 * soft-fp/fixdfti.c: Likewise.
860 * soft-fp/fixsfdi.c: Likewise.
861 * soft-fp/fixsfsi.c: Likewise.
862 * soft-fp/fixsfti.c: Likewise.
863 * soft-fp/fixtfdi.c: Likewise.
864 * soft-fp/fixtfsi.c: Likewise.
865 * soft-fp/fixtfti.c: Likewise.
866 * soft-fp/fixunsdfdi.c: Likewise.
867 * soft-fp/fixunsdfsi.c: Likewise.
868 * soft-fp/fixunsdfti.c: Likewise.
869 * soft-fp/fixunssfdi.c: Likewise.
870 * soft-fp/fixunssfsi.c: Likewise.
871 * soft-fp/fixunssfti.c: Likewise.
872 * soft-fp/fixunstfdi.c: Likewise.
873 * soft-fp/fixunstfsi.c: Likewise.
874 * soft-fp/fixunstfti.c: Likewise.
875 * soft-fp/floatdidf.c: Likewise.
876 * soft-fp/floatdisf.c: Likewise.
877 * soft-fp/floatditf.c: Likewise.
878 * soft-fp/floatsidf.c: Likewise.
879 * soft-fp/floatsisf.c: Likewise.
880 * soft-fp/floatsitf.c: Likewise.
881 * soft-fp/floattidf.c: Likewise.
882 * soft-fp/floattisf.c: Likewise.
883 * soft-fp/floattitf.c: Likewise.
884 * soft-fp/floatundidf.c: Likewise.
885 * soft-fp/floatundisf.c: Likewise.
886 * soft-fp/floatunditf.c: Likewise.
887 * soft-fp/floatunsidf.c: Likewise.
888 * soft-fp/floatunsisf.c: Likewise.
889 * soft-fp/floatunsitf.c: Likewise.
890 * soft-fp/floatuntidf.c: Likewise.
891 * soft-fp/floatuntisf.c: Likewise.
892 * soft-fp/floatuntitf.c: Likewise.
893 * soft-fp/fmadf4.c: Likewise.
894 * soft-fp/fmasf4.c: Likewise.
895 * soft-fp/fmatf4.c: Likewise.
896 * soft-fp/gedf2.c: Likewise.
897 * soft-fp/gesf2.c: Likewise.
898 * soft-fp/getf2.c: Likewise.
899 * soft-fp/ledf2.c: Likewise.
900 * soft-fp/lesf2.c: Likewise.
901 * soft-fp/letf2.c: Likewise.
902 * soft-fp/muldf3.c: Likewise.
903 * soft-fp/mulsf3.c: Likewise.
904 * soft-fp/multf3.c: Likewise.
905 * soft-fp/negdf2.c: Likewise.
906 * soft-fp/negsf2.c: Likewise.
907 * soft-fp/negtf2.c: Likewise.
908 * soft-fp/op-1.h: Likewise.
909 * soft-fp/op-2.h: Likewise.
910 * soft-fp/op-4.h: Likewise.
911 * soft-fp/op-8.h: Likewise.
912 * soft-fp/op-common.h: Likewise.
913 * soft-fp/quad.h: Likewise.
914 * soft-fp/single.h: Likewise.
915 * soft-fp/soft-fp.h: Likewise.
916 * soft-fp/sqrtdf2.c: Likewise.
917 * soft-fp/sqrtsf2.c: Likewise.
918 * soft-fp/sqrttf2.c: Likewise.
919 * soft-fp/subdf3.c: Likewise.
920 * soft-fp/subsf3.c: Likewise.
921 * soft-fp/subtf3.c: Likewise.
922 * soft-fp/truncdfsf2.c: Likewise.
923 * soft-fp/trunctfdf2.c: Likewise.
924 * soft-fp/trunctfsf2.c: Likewise.
925 * soft-fp/trunctfxf2.c: Likewise.
926 * soft-fp/unorddf2.c: Likewise.
927 * soft-fp/unordsf2.c: Likewise.
928 * soft-fp/unordtf2.c: Likewise.
930 2013-10-15 Joseph Myers <joseph@codesourcery.com>
932 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
933 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
935 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
937 * elf/dl-libc.c: Clear initfini list after freeing.
939 2013-10-14 Joseph Myers <joseph@codesourcery.com>
941 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
942 * soft-fp/addsf3.c: Likewise.
943 * soft-fp/addtf3.c: Likewise.
944 * soft-fp/divdf3.c: Likewise.
945 * soft-fp/divsf3.c: Likewise.
946 * soft-fp/divtf3.c: Likewise.
947 * soft-fp/double.h: Likewise.
948 * soft-fp/eqdf2.c: Likewise.
949 * soft-fp/eqsf2.c: Likewise.
950 * soft-fp/eqtf2.c: Likewise.
951 * soft-fp/extenddftf2.c: Likewise.
952 * soft-fp/extended.h: Likewise.
953 * soft-fp/extendsfdf2.c: Likewise.
954 * soft-fp/extendsftf2.c: Likewise.
955 * soft-fp/extendxftf2.c: Likewise.
956 * soft-fp/fixdfdi.c: Likewise.
957 * soft-fp/fixdfsi.c: Likewise.
958 * soft-fp/fixdfti.c: Likewise.
959 * soft-fp/fixsfdi.c: Likewise.
960 * soft-fp/fixsfsi.c: Likewise.
961 * soft-fp/fixsfti.c: Likewise.
962 * soft-fp/fixtfdi.c: Likewise.
963 * soft-fp/fixtfsi.c: Likewise.
964 * soft-fp/fixtfti.c: Likewise.
965 * soft-fp/fixunsdfdi.c: Likewise.
966 * soft-fp/fixunsdfsi.c: Likewise.
967 * soft-fp/fixunsdfti.c: Likewise.
968 * soft-fp/fixunssfdi.c: Likewise.
969 * soft-fp/fixunssfsi.c: Likewise.
970 * soft-fp/fixunssfti.c: Likewise.
971 * soft-fp/fixunstfdi.c: Likewise.
972 * soft-fp/fixunstfsi.c: Likewise.
973 * soft-fp/fixunstfti.c: Likewise.
974 * soft-fp/floatdidf.c: Likewise.
975 * soft-fp/floatdisf.c: Likewise.
976 * soft-fp/floatditf.c: Likewise.
977 * soft-fp/floatsidf.c: Likewise.
978 * soft-fp/floatsisf.c: Likewise.
979 * soft-fp/floatsitf.c: Likewise.
980 * soft-fp/floattidf.c: Likewise.
981 * soft-fp/floattisf.c: Likewise.
982 * soft-fp/floattitf.c: Likewise.
983 * soft-fp/floatundidf.c: Likewise.
984 * soft-fp/floatundisf.c: Likewise.
985 * soft-fp/floatunsidf.c: Likewise.
986 * soft-fp/floatunsisf.c: Likewise.
987 * soft-fp/floatuntidf.c: Likewise.
988 * soft-fp/floatuntisf.c: Likewise.
989 * soft-fp/floatuntitf.c: Likewise.
990 * soft-fp/fmadf4.c: Likewise.
991 * soft-fp/fmasf4.c: Likewise.
992 * soft-fp/fmatf4.c: Likewise.
993 * soft-fp/gedf2.c: Likewise.
994 * soft-fp/gesf2.c: Likewise.
995 * soft-fp/getf2.c: Likewise.
996 * soft-fp/ledf2.c: Likewise.
997 * soft-fp/lesf2.c: Likewise.
998 * soft-fp/letf2.c: Likewise.
999 * soft-fp/muldf3.c: Likewise.
1000 * soft-fp/mulsf3.c: Likewise.
1001 * soft-fp/multf3.c: Likewise.
1002 * soft-fp/negdf2.c: Likewise.
1003 * soft-fp/negsf2.c: Likewise.
1004 * soft-fp/negtf2.c: Likewise.
1005 * soft-fp/op-1.h: Likewise.
1006 * soft-fp/op-2.h: Likewise.
1007 * soft-fp/op-4.h: Likewise.
1008 * soft-fp/op-8.h: Likewise.
1009 * soft-fp/op-common.h: Likewise.
1010 * soft-fp/quad.h: Likewise.
1011 * soft-fp/single.h: Likewise.
1012 * soft-fp/soft-fp.h: Likewise.
1013 * soft-fp/sqrtdf2.c: Likewise.
1014 * soft-fp/sqrtsf2.c: Likewise.
1015 * soft-fp/sqrttf2.c: Likewise.
1016 * soft-fp/subdf3.c: Likewise.
1017 * soft-fp/subsf3.c: Likewise.
1018 * soft-fp/subtf3.c: Likewise.
1019 * soft-fp/truncdfsf2.c: Likewise.
1020 * soft-fp/trunctfdf2.c: Likewise.
1021 * soft-fp/trunctfsf2.c: Likewise.
1022 * soft-fp/trunctfxf2.c: Likewise.
1023 * soft-fp/unorddf2.c: Likewise.
1024 * soft-fp/unordsf2.c: Likewise.
1025 * soft-fp/unordtf2.c: Likewise.
1027 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1030 * misc/error.c (error_tail): Fix possible buffer overflow.
1032 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1035 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1038 2013-10-14 P. J. McDermott <pj@pehjota.net>
1041 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1042 testing pipefail option.
1044 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1046 * soft-fp/double.h: Indent preprocessor directives inside #if.
1047 * soft-fp/extended.h: Likewise.
1048 * soft-fp/op-2.h: Likewise.
1049 * soft-fp/op-4.h: Likewise.
1050 * soft-fp/op-common.h: Likewise.
1051 * soft-fp/quad.h: Likewise.
1052 * soft-fp/single.h: Likewise.
1053 * soft-fp/soft-fp.h: Likewise.
1055 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1057 * iconv/iconv_prog.c: Fix typos.
1058 * stdio-common/psiginfo-data.h: Likewise.
1060 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1063 * locale/setlocale.c: Fix typo.
1065 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1068 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1069 signaling NaN arguments.
1070 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1071 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1074 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1076 * soft-fp/gesf2.c (__gesf2): Likewise.
1077 * soft-fp/getf2.c (__getf2): Likewise.
1078 * soft-fp/ledf2.c (__ledf2): Likewise.
1079 * soft-fp/lesf2.c (__lesf2): Likewise.
1080 * soft-fp/letf2.c (__letf2): Likewise.
1082 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1083 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1084 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1085 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1086 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1087 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1088 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1089 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1090 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1091 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1092 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1093 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1094 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1095 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1096 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1097 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1098 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1099 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1100 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1101 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1102 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1103 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1104 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1105 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1106 * soft-fp/floattidf.c (__floattidf): Likewise.
1107 * soft-fp/floattisf.c (__floattisf): Likewise.
1108 * soft-fp/floattitf.c (__floattitf): Likewise.
1109 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1110 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1111 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1112 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1113 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1114 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1115 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1116 * soft-fp/gesf2.c (__gesf2): Likewise.
1117 * soft-fp/getf2.c (__getf2): Likewise.
1118 * soft-fp/ledf2.c (__ledf2): Likewise.
1119 * soft-fp/lesf2.c (__lesf2): Likewise.
1120 * soft-fp/letf2.c (__letf2): Likewise.
1122 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1123 Undefine and redefine.
1124 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1125 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1126 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1127 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1128 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1129 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1130 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1131 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1132 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1133 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1134 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1135 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1136 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1137 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1138 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1141 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1142 without decrementing exponent if mantissa >= that for the
1144 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1145 denominator, not >. Decrement exponent in < case instead of
1146 incrementing in >= case.
1147 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1148 without decrementing exponent if mantissa >= that for the
1151 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1152 computing saturated result for unsigned overflow.
1154 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1155 Jeff Law <law@redhat.com>
1157 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1158 (atan2Mp): Add systemtap probe marker.
1159 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1160 (__ieee754_log): Add systemtap probe marker.
1161 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1162 (atanMp): Add systemtap probe marker.
1163 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1164 (tanMp): Add systemtap probe marker.
1165 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1166 (__slowexp): Add systemtap probe marker.
1167 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1168 (__slowpow): Add systemtap probe marker.
1169 * manual/probes.texi: Document probes.
1171 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1174 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1176 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1178 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1179 written to buffer but not flushed.
1180 * libio/iofwrite_u.c: Likewise.
1181 * libio/iopadn.c: Return bytes returned even if EOF was
1183 * libio/iowpadn.c: Likewise.
1184 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1185 if _IO_padn does not write the whole buffer.
1186 [!COMPILE_WPRINTF] (PAD): Likewise.
1188 2013-10-10 David S. Miller <davem@davemloft.net>
1190 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1193 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1195 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1196 instead of FSF address.
1197 * soft-fp/fixdfti.c: Likewise.
1198 * soft-fp/fixsfti.c: Likewise.
1199 * soft-fp/fixtfti.c: Likewise.
1200 * soft-fp/fixunsdfti.c: Likewise.
1201 * soft-fp/fixunssfti.c: Likewise.
1202 * soft-fp/fixunstfti.c: Likewise.
1203 * soft-fp/floattidf.c: Likewise.
1204 * soft-fp/floattisf.c: Likewise.
1205 * soft-fp/floattitf.c: Likewise.
1206 * soft-fp/floatuntidf.c: Likewise.
1207 * soft-fp/floatuntisf.c: Likewise.
1208 * soft-fp/floatuntitf.c: Likewise.
1209 * soft-fp/trunctfxf2.c: Likewise.
1211 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1212 * soft-fp/fixdfti.c: Likewise.
1213 * soft-fp/fixsfti.c: Likewise.
1214 * soft-fp/fixtfti.c: Likewise.
1215 * soft-fp/fixunsdfti.c: Likewise.
1216 * soft-fp/fixunssfti.c: Likewise.
1217 * soft-fp/fixunstfti.c: Likewise.
1218 * soft-fp/floattidf.c: Likewise.
1219 * soft-fp/floattisf.c: Likewise.
1220 * soft-fp/floattitf.c: Likewise.
1221 * soft-fp/floatuntidf.c: Likewise.
1222 * soft-fp/floatuntisf.c: Likewise.
1223 * soft-fp/floatuntitf.c: Likewise.
1224 * soft-fp/trunctfxf2.c: Likewise.
1226 2013-10-10 David S. Miller <davem@davemloft.net>
1228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1230 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1232 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1233 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1234 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1235 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1236 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1237 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1238 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1241 for NaNs before doing comparisons on argument.
1242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1245 2013-10-10 Will Newton <will.newton@linaro.org>
1247 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1248 passed to _int_memalign does not overflow.
1250 2013-10-10 Torvald Riegel <triegel@redhat.com>
1252 * scripts/bench.pl: Add include-sources directive.
1253 * benchtests/README: Update documentation.
1255 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1257 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1258 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1259 instead of FP_INIT_ROUNDMODE.
1260 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1261 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1264 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1265 copy class of input value.
1266 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1267 not handle exceptions.
1268 * soft-fp/negsf2.c (__negsf2): Likewise.
1269 * soft-fp/negtf2.c (__negtf2): Likewise.
1270 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1272 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1274 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1275 semicolon. From Linux kernel.
1277 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1279 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1281 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1284 * manual/socket.texi: Added statement about buffer
1285 for gethostbyname2_r.
1287 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1289 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1290 Use .p2align directive instead, throughout.
1291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1292 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1293 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1295 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1296 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1297 * sysdeps/x86_64/strchr.S: Likewise.
1298 * sysdeps/x86_64/strrchr.S: Likewise.
1300 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1302 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1304 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1306 * sysdeps/generic/math_private.h (__mpsin1): Remove
1308 (__mpcos1): Likewise.
1309 (__mpsin): New argument __range_reduce.
1310 (__mpcos): Likewise.
1311 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1312 (slow): Use __mpsin and __mpcos.
1319 (bsloww1): Likewise.
1320 (bsloww2): Likewise.
1323 (csloww1): Likewise.
1324 (csloww2): Likewise.
1325 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1326 range_reduce. Merge in __mpsin1.
1327 (__mpcos): Likewise.
1329 (__mpcos1): Likewise.
1331 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1333 * locale/loadlocale.c (_nl_intern_locale_data): Use
1335 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1336 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1337 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1338 obstack data is appropriately aligned.
1339 (obstack_int32_grow_fast): Likewise.
1340 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1341 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1342 (add_locale_uint32_array): Likewise.
1344 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1346 * benchtests/Makefile: Remove ARGLIST and RET variables.
1347 ($(objpfx)bench-%.c): Pass only function name to the script.
1348 * benchtests/README: Update documentation.
1349 * benchtests/acos-inputs: Add new directives.
1350 * benchtests/acosh-inputs: Likewise.
1351 * benchtests/asin-inputs: Likewise.
1352 * benchtests/asinh-inputs: Likewise.
1353 * benchtests/atan-inputs: Likewise.
1354 * benchtests/atanh-inputs: Likewise.
1355 * benchtests/cos-inputs: Likewise.
1356 * benchtests/cosh-inputs: Likewise.
1357 * benchtests/exp-inputs: Likewise.
1358 * benchtests/log-inputs: Likewise.
1359 * benchtests/pow-inputs: Likewise.
1360 * benchtests/rint-inputs: Likewise.
1361 * benchtests/sin-inputs: Likewise.
1362 * benchtests/sinh-inputs: Likewise.
1363 * benchtests/tan-inputs: Likewise.
1364 * benchtests/tanh-inputs: Likewise.
1365 * scripts/bench.pl: Add support for new directives.
1367 2013-10-07 Alan Modra <amodra@gmail.com>
1369 * README: Fix careless merge.
1371 2013-10-05 Alan Modra <amodra@gmail.com>
1373 * NEWS: Mention powerpc64le support and bugs fixed.
1374 * README: Both big-endian and little-endian powerpc64 supported.
1376 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1378 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1379 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1380 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1381 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1383 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1385 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1388 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1390 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1391 Move -mhard-float appending from
1392 ports/sysdeps/powerpc/powerpc32/Makefile.
1393 [$(with-fp) = yes] (ASFLAGS): Likewise.
1394 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1395 * sysdeps/powerpc/nofpu: Move directory from
1396 ports/sysdeps/powerpc/nofpu.
1397 * sysdeps/powerpc/soft-fp: Move directory from
1398 ports/sysdeps/powerpc/soft-fp.
1399 * sysdeps/powerpc/powerpc32/405: Move directory from
1400 ports/sysdeps/powerpc/powerpc32/405.
1401 * sysdeps/powerpc/powerpc32/440: Move directory from
1402 ports/sysdeps/powerpc/powerpc32/440.
1403 * sysdeps/powerpc/powerpc32/464: Move directory from
1404 ports/sysdeps/powerpc/powerpc32/464.
1405 * sysdeps/powerpc/powerpc32/476: Move directory from
1406 ports/sysdeps/powerpc/powerpc32/476.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1408 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1410 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1412 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1414 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1416 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1417 * README: Update for powerpc-*-linux-gnu software floating point
1420 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1421 case to powerpc/powerpc32*.
1422 * sysdeps/unix/sysv/linux/configure: Regenerated.
1424 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1425 (_FPU_MASK_OM): Define as 0x04.
1426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1434 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1437 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1440 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1441 and setcontext_e500.
1443 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1445 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1447 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1449 * manual/threads.texi (Default Thread Attributes): Fix typo.
1451 2013-10-04 Will Newton <will.newton@linaro.org>
1453 * malloc/Makefile: Add tst-memalign.
1454 * malloc/tst-memalign.c: New file.
1456 * malloc/tst-posix_memalign.c: Add comments.
1457 (do_test): Add comments and call free on all potentially
1458 allocated pointers. Add space after cast.
1460 * malloc/tst-pvalloc.c: Add comments.
1461 (do_test): Add comments and call free on all potentially
1462 allocated pointers. Remove duplicate check for NULL pointer.
1463 Add space after cast.
1465 * malloc/tst-valloc.c: Add comments.
1466 (do_test): Add comments and call free on all potentially
1467 allocated pointers. Remove duplicate check for NULL pointer.
1468 Add space after cast.
1470 2013-10-04 Alan Modra <amodra@gmail.com>
1472 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1473 Use stdint types in rather than __attribute__((mode())).
1474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1476 2013-10-04 Alan Modra <amodra@gmail.com>
1478 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1479 Correct handling of unaligned relocs for little-endian.
1480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1482 2013-10-04 Alan Modra <amodra@gmail.com>
1484 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1485 * configure: Regenerate.
1486 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1487 * shlib-versions: Likewise.
1489 2013-10-04 Alan Modra <amodra@gmail.com>
1491 * string/tester.c (test_memrchr): Increment reported test cycle.
1493 2013-10-04 Alan Modra <amodra@gmail.com>
1495 * string/test-memcpy.c (do_one_test): When reporting errors, print
1496 string address and don't overrun end of string.
1498 2013-10-04 Alan Modra <amodra@gmail.com>
1500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1501 insrdi. Make better use of reg selection to speed exit slightly.
1502 Schedule entry path a little better. Remove useless "are we done"
1503 checks on entry to main loop. Handle wrapping around zero address.
1504 Correct main loop count. Handle single left-over word from main
1505 loop inline rather than by using loop_small. Remove extra word
1506 case in loop_small caused by wrong loop count. Add little-endian
1508 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1509 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1511 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1512 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1513 support. Avoid rlwimi.
1514 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1516 2013-10-04 Alan Modra <amodra@gmail.com>
1518 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1520 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1521 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1522 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1524 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1527 2013-10-04 Alan Modra <amodra@gmail.com>
1529 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1530 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1531 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1532 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1538 use of regs. Use power7 mtocrf. Tidy function tails.
1540 2013-10-04 Alan Modra <amodra@gmail.com>
1542 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1543 Formatting. Consistently use rXXX register defines or rN defines.
1544 Use early exit labels that avoid restoring unused non-volatile regs.
1545 Make cr field use more consistent with rWORDn compares. Rename
1546 regs used as shift registers for unaligned loop, using rN defines
1547 for short lifetime/multiple use regs.
1548 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1550 addi 1,1,64 to pop stack frame. Simplify return value code.
1551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1553 2013-10-04 Alan Modra <amodra@gmail.com>
1555 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1556 support. Correct typos, formatting. Optimize tail. Use insrdi
1558 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1560 little-endian support. Correct typos.
1561 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1563 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1564 in loop and entry code to keep "and." results.
1565 (strchr): Add little-endian support. Comment. Move cntlzd
1567 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1569 2013-10-04 Alan Modra <amodra@gmail.com>
1571 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1572 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1576 2013-10-04 Alan Modra <amodra@gmail.com>
1578 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1579 (rTMP): Define as r11.
1580 (strcmp): Add little-endian support. Optimise tail.
1581 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1582 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1584 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1585 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1586 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1587 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1589 2013-10-04 Alan Modra <amodra@gmail.com>
1591 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1592 little-endian support. Remove unnecessary "are we done" tests.
1593 Handle "s" wrapping around zero and extremely large "size".
1594 Correct main loop count. Handle single left-over word from main
1595 loop inline rather than by using small_loop. Correct comments.
1596 Delete "zero" tail, use "end_max" instead.
1597 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1599 2013-10-04 Alan Modra <amodra@gmail.com>
1601 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1602 support. Don't branch over align.
1603 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1604 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1605 support. Rearrange tmp reg use to suit. Comment.
1606 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1608 2013-10-04 Alan Modra <amodra@gmail.com>
1610 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1612 2013-10-04 Alan Modra <amodra@gmail.com>
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1615 conditional form of branch and link when obtaining pc.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1618 2013-10-04 Alan Modra <amodra@gmail.com>
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1625 2013-10-04 Alan Modra <amodra@gmail.com>
1627 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1628 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1629 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1630 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1631 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1632 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1633 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1634 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1635 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1636 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1638 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1639 Alistair Popple <alistair@ozlabs.au.ibm.com>
1640 Alan Modra <amodra@gmail.com>
1643 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1644 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1645 _dl_hwcap access for little-endian.
1646 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1647 destroy vmx regs when saving unaligned.
1648 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1649 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1650 destroy vmx regs when saving unaligned.
1652 2013-10-04 Alan Modra <amodra@gmail.com>
1654 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1655 Don't use a union to pack hi/low value.
1657 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1659 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1661 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1662 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1663 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1664 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1665 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1667 2013-10-04 Alan Modra <amodra@gmail.com>
1669 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1670 constants to usual value for .cst8 section, and remove redundant
1672 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1673 constant for 0x1p52. Load little-endian words of double from
1674 correct stack offsets.
1676 2013-10-04 Alan Modra <amodra@gmail.com>
1678 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1679 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1680 words of double from correct stack offsets.
1681 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1682 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1683 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1687 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1688 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1689 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1693 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1694 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1695 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1697 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1699 2013-10-04 Alan Modra <amodra@gmail.com>
1701 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1702 64-bit int/double union.
1703 (_FPU_SETCW): Likewise.
1704 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1705 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1707 2013-10-04 Alan Modra <amodra@gmail.com>
1709 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1710 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1712 2013-10-04 Alan Modra <amodra@gmail.com>
1714 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1715 use vector int constants.
1716 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1718 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1720 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1721 array with long long.
1722 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1723 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1724 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1725 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1726 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1727 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1728 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1729 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1730 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1731 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1732 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1733 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1734 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1736 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1738 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1739 (__signbit): Likewise. Correct for little-endian.
1740 (__signbitl): Call __signbit.
1741 (lrint): Correct for little-endian.
1742 (lrintf): Call lrint.
1744 2013-10-04 Alan Modra <amodra@gmail.com>
1746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1747 union 32-bit int array member with 64-bit int array.
1748 (t515, tm256): Double rather than long double.
1749 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1751 2013-10-04 Alan Modra <amodra@gmail.com>
1753 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1755 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1757 version of math_ldbl.h.
1759 2013-10-04 Alan Modra <amodra@gmail.com>
1761 [BZ #15734], [BZ #15735]
1762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1763 all uses of ieee875 long double macros and unions. Simplify test
1764 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1765 ldbl_extract_mantissa value for ix,iy exponents. Properly
1766 normalize after ldbl_extract_mantissa, and don't add hidden bit
1767 already handled. Don't treat low word of ieee854 mantissa like
1768 low word of IBM long double and mask off bit when testing for
1770 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1771 all uses of ieee875 long double macros and unions. Simplify tests
1772 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1773 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1774 two1022, instead use their values. Recognise that tests for large
1775 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1776 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1777 Rewrite all uses of ieee875 long double macros and unions. Simplify
1778 test for 0.0L and nan. Correct negation.
1779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1780 ieee875 long double macros and unions. Correct output for large
1781 magnitude x. Correct absolute value calculation.
1782 (__erfcl): Likewise.
1783 * math/libm-test.inc: Add tests for errors discovered in IBM long
1784 double versions of fmodl, remainderl, erfl and erfcl.
1786 2013-10-04 Alan Modra <amodra@gmail.com>
1788 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1789 all uses of ieee854 long double macros and unions. Simplify tests
1790 for long doubles that are fully specified by the high double.
1791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1793 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1794 Remove dead code too.
1795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1796 (__ieee754_ynl): Likewise.
1797 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1799 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1800 Remove dead code too.
1801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1804 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1806 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1809 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1810 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1811 Comment on variable precision.
1812 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1815 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1821 2013-10-04 Alan Modra <amodra@gmail.com>
1823 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1824 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1825 all uses of ieee854 long double macros and unions.
1826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1839 Simplify sign and nan test too.
1840 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1845 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1848 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1849 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1850 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1851 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1852 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1855 2013-10-04 Alan Modra <amodra@gmail.com>
1857 * stdio-common/printf_size.c (__printf_size): Don't use
1858 union ieee854_long_double in fpnum union.
1859 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1860 signbit macro to retrieve sign from long double.
1861 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1862 retrieve sign from long double.
1863 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1864 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1866 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1867 * math/test-misc.c (main): Don't use union ieee854_long_double.
1869 2013-10-04 Alan Modra <amodra@gmail.com>
1872 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1873 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1874 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1875 calculation. Remove unnecessary test for denormal exponent.
1876 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1877 Correct handling of denormals. Avoid undefined shift behaviour.
1878 Correct normalisation of low mantissa when low double is denormal.
1879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1880 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1881 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1882 Correct normalisation of low mantissa. Test for overflow of high
1883 mantissa and normalise.
1884 (ldbl_nearbyint): Use more readable constant for two52.
1885 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1886 (__mpn_construct_long_double): Fix test for overflow of high
1887 mantissa and correct normalisation. Avoid undefined shift.
1889 2013-10-04 Alan Modra <amodra@gmail.com>
1891 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1892 (union ibm_extended_long_double): Define as an array of ieee754_double.
1893 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1894 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1895 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1896 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1905 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1907 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1908 page size instead of calling getpagesize.
1910 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1911 (LOCFILE_ALIGN_MASK): Likewise.
1912 (LOCFILE_ALIGN_UP): Likewise.
1913 (LOCFILE_ALIGNED_P): Likewise.
1914 * locale/programs/ld-collate.c (collate_output): Use the new
1915 macros instead of __alignof__ (int32_t).
1916 * locale/weight.h (findidx): Likewise.
1918 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1921 * manual/string.texi: Fix strncat and wcsncat.
1923 2013-10-03 Brooks Moses <bmoses@google.com>
1926 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1927 * Makerules: ...here, and adjust associated comments.
1929 2013-10-02 Will Newton <will.newton@linaro.org>
1931 * malloc/Makefile: Add tst-pvalloc.
1932 * malloc/tst-pvalloc.c: New file.
1934 2013-10-02 Will Newton <will.newton@linaro.org>
1936 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1937 improve test coverage.
1939 2013-10-02 Will Newton <will.newton@linaro.org>
1941 * malloc/Makefile: Add tst-posix_memalign.
1942 * malloc/tst-posix_memalign.c: New file.
1944 2013-10-01 Eric Blake <eblake@redhat.com>
1946 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1947 Use __THROWNL rather than __THROW on static functions.
1949 2013-09-30 Petr Machata <pmachata@redhat.com>
1951 * elf/elf.h (R_AARCH64_ABS16): New macro.
1952 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1953 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1954 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1955 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1956 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1957 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1958 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1959 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1960 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1961 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1962 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1963 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1964 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1965 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1966 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1967 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1968 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1969 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1970 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1971 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1972 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1973 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1974 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1975 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1976 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1977 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1978 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1979 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1980 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1981 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1982 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1983 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1984 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1985 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1986 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1987 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1988 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1989 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1990 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1991 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1992 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1993 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1994 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1995 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1996 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1997 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1998 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1999 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2000 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2001 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2002 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2003 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2004 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2005 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2006 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2007 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2008 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2009 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2010 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2011 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2012 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2013 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2014 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2015 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2016 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2017 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2018 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2019 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2020 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2021 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2022 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2023 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2024 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2025 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2026 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2027 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2028 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2029 (R_AARCH64_TLSDESC_LDR): Likewise.
2030 (R_AARCH64_TLSDESC_ADD): Likewise.
2031 (R_AARCH64_TLSDESC_CALL): Likewise.
2033 2013-09-30 Andreas Schwab <schwab@suse.de>
2036 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2037 the nss database lookup.
2038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2041 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2043 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2045 2013-09-28 P. J. McDermott <pj@pehjota.net>
2047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2048 ${Bash-specific parameter/pattern/string} parameter expansion.
2049 * sysdeps/unix/make-syscalls.sh: Likewise.
2051 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2053 * sysdeps/sh/stackguard-macros.h: New file.
2055 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2059 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2060 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2061 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2062 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2064 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2067 Fix thread ID register.
2069 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2071 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2072 [POSIX || UNIX98]: Require rather than permitting all symbols from
2074 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2075 element of struct sched_param.
2076 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2077 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2078 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2079 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2082 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2084 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2085 argument calculation.
2087 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2089 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2091 [POSIX] (pthread_attr_t): Do not require type.
2092 [POSIX] (pthread_cond_t): Likewise.
2093 [POSIX] (pthread_condattr_t): Likewise.
2094 [POSIX] (pthread_key_t): Likewise.
2095 [POSIX] (pthread_mutex_t): Likewise.
2096 [POSIX] (pthread_mutexattr_t): Likewise.
2097 [POSIX] (pthread_once_t): Likewise.
2098 [POSIX] (pthread_t): Likewise.
2099 [POSIX-based standards] (pthread_atfork): Expect function.
2101 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2102 Richard Sandiford <richard@codesourcery.com>
2104 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2105 (swap_endianness_p): New extern variable.
2106 (set_big_endian): New inline function.
2107 (maybe_swap_uint32): Likewise.
2108 (maybe_swap_uint32_array): Likewise.
2109 (maybe_swap_uint32_obstack): Likewise.
2110 * locale/programs/locfile.c: Include <stdbool.h>.
2111 (swap_endianness_p): New variable.
2112 (add_locale_uint32): Call maybe_swap_uint32.
2113 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2114 (write_locale_data): Call maybe_swap_uint32_array.
2115 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2117 (obstack_int32_grow_fast): Likewise.
2118 (output_weightwc): Call maybe_swap_uint32_obstack.
2119 (collate_output): Likewise.
2120 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2121 (OPT_LITTLE_ENDIAN): Likewise.
2122 (options): Add --little-endian and --big-endian options.
2123 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2124 * locale/programs/locarchive.c: Include "locfile.h".
2128 (create_archive): Use the new macros to access fields of
2129 structures directly mapped from or written to locale archives.
2130 (oldlocrecentcmp): Likewise.
2131 (enlarge_archive): Likewise.
2132 (insert_name): Likewise.
2133 (add_alias): Likewise.
2134 (add_locale): Likewise.
2135 (delete_locales_from_archive): Likewise.
2136 (show_archive_content): Likewise.
2137 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2140 2013-09-24 Roland McGrath <roland@hack.frob.com>
2142 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2143 http://www.gnu.org/doc/freemanuals.texi.
2144 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2146 2013-09-24 Will Newton <will.newton@linaro.org>
2148 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2151 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2153 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2156 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2158 * manual/threads.texi (POSIX Threads): Fix a typo.
2160 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2163 * string/tst-strcoll-overflow.c: New test case.
2164 * string/Makefile (xtests): Add tst-strcoll-overflow.
2165 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2166 cache if string sizes may cause integer overflow.
2169 * string/strcoll_l.c (coll_seq): New members rule, idx,
2170 save_idx and back_us.
2171 (get_next_seq_nocache): New function.
2172 (do_compare_nocache): New function.
2173 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2176 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2179 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2180 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2181 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2184 * elf/Makefile (tests): Add tst-ptrguard1.
2185 (tests-static): Add tst-ptrguard1-static.
2186 (tst-ptrguard1-ARGS): Define.
2187 (tst-ptrguard1-static-ARGS): Define.
2188 * elf/tst-ptrguard1.c: New file.
2189 * elf/tst-ptrguard1-static.c: New file.
2190 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2191 * sysdeps/i386/stackguard-macros.h: Likewise.
2192 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2193 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2194 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2195 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2196 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2197 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2199 2013-09-23 Hector Marco <hecmargi@upv.es>
2200 Ismael Ripoll <iripoll@disca.upv.es>
2201 Carlos O'Donell <carlos@redhat.com>
2204 * sysdeps/generic/stackguard-macros.h: Define
2205 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2206 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2207 Define __pointer_chk_guard_local.
2208 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2209 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2211 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2214 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2216 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2218 * include/string.h (__ffs): Declare as hidden.
2219 * string/ffs.c (__ffs): Define as hidden.
2220 * sysdeps/i386/ffs.c (__ffs): Likewise.
2221 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2222 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2223 * sysdeps/s390/ffs.c (__ffs): Likewise.
2224 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2226 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2228 * NEWS: Mention malloc probes.
2230 * malloc/arena.c (new_heap): New memory_heap_new probe.
2231 (grow_heap): New memory_heap_more probe.
2232 (shrink_heap): New memory_heap_less probe.
2233 (heap_trim): New memory_heap_free probe.
2234 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2235 (systrim): New memory_sbrk_less probe.
2236 * manual/probes.texi: Document them.
2238 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2239 * manual/probes.texi: Document it.
2241 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2242 (__libc_realloc): Add memory_realloc_retry probe.
2243 (__libc_memalign): Add memory_memalign_retry probe.
2244 (__libc_valloc): Add memory_valloc_retry probe.
2245 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2246 (__libc_calloc): Add memory_calloc_retry probe.
2247 * manual/probes.texi: Document them.
2249 * malloc/arena.c (get_free_list): Add probe
2250 memory_arena_reuse_free_list.
2251 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2252 and memory_arena_reuse.
2253 (arena_get2) [!PER_THREAD]: Likewise.
2254 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2255 memory_arena_reuse_realloc.
2256 * manual/probes.texi: Document them.
2258 * malloc/malloc.c (__libc_free): Add
2259 memory_mallopt_free_dyn_thresholds probe.
2260 (__libc_mallopt): Add multiple memory_mallopt probes.
2261 * manual/probes.texi: Document them.
2263 * malloc/malloc.c: Include stap-probe.h.
2264 (__libc_mallopt): Add memory_mallopt probe.
2265 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2266 * manual/probes.texi: New.
2267 * manual/Makefile (chapters): Add probes.
2268 * manual/threads.texi: Set next node.
2270 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2273 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2274 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2275 Add `Chinese' to `nan' entry name.
2277 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2279 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2280 (POLYNOMIAL): Likewise.
2281 (TAYLOR_SINCOS): Likewise.
2282 (TAYLOR_SLOW): Likewise.
2283 (__sin): Use TAYLOR_SINCOS.
2285 (slow): Use TAYLOR_SLOW.
2290 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2292 * stdlib/strtod_l.c: Fix buffer overrun.
2294 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2296 * benchtests/Makefile (bench): Add sincos.
2297 * benchtests/bench-sincos.c: New file.
2299 * math/libm-test.inc (cos_test_data): New test inputs.
2300 (sin_test_data): Likewise.
2302 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2310 (bsloww1): Likewise.
2311 (bsloww2): Likewise.
2313 (csloww1): Likewise.
2314 (csloww2): Likewise.
2316 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2325 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2327 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2328 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2329 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2330 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2331 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2332 * elf/cache.c (print_entry): Handle the new cache flags.
2334 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2335 Aldy Hernandez <aldyh@redhat.com>
2337 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2338 Change condition to [_SOFT_FLOAT].
2339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2351 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2354 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2357 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2359 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2360 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2361 (__longjmp): Use LOAD_GP to load saved GPRs.
2362 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2363 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2364 (__sigsetjmp): Use SAVE_GP to save GPRs.
2366 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2367 Do not append -msoft-float.
2368 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2370 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2372 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2374 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2377 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2378 (_FPU_GETCW): Use initial "__" on variable and field names but not
2379 on macro parameter name.
2380 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2381 parentheses around reference to macro parameter.
2383 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2385 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2387 (ctype_startup): Use uint32_t in cast and sizeof for
2390 2013-09-11 Jia Liu <proljc@gmail.com>
2392 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2394 [__FreeBSD__]: Likewise.
2396 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2399 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2400 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2401 (strchr): Remove __strchr_sse42 ifunc selection.
2402 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2403 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2405 2013-09-11 Will Newton <will.newton@linaro.org>
2407 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2408 parameter to RES. Remove hardcoded 1000 value.
2409 * benchtests/bench-skeleton.c (main): Pass RES parameter
2410 to TIMING_INIT and multiply result by 1000.
2412 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2416 2013-09-11 Andreas Schwab <schwab@suse.de>
2418 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2420 (O_TMPFILE) [__USE_GNU]: Define.
2421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2424 2013-09-11 Will Newton <will.newton@linaro.org>
2427 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2430 2013-09-11 Will Newton <will.newton@linaro.org>
2433 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2436 2013-09-11 Will Newton <will.newton@linaro.org>
2439 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2442 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2444 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2446 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2447 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2448 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2450 2013-09-10 Allan McRae <allan@archlinux.org>
2453 * manual/arith.texi (Parsing of Floats): Clarify
2457 * manual/install.texi (Running make install): Mention
2459 * INSTALL: Regenerated.
2461 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2463 * csu/init-first.c (_init): Remove the !SHARED condition around
2464 FPU control word initialization.
2465 * elf/dl-support.c (_dl_fpu_control): New variable.
2466 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2467 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2468 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2469 * math/test-fpucw-static.c: New file.
2470 * math/test-fpucw-ieee.c: New file.
2471 * math/test-fpucw-ieee-static.c: New file.
2472 * math/Makefile (tests): Add `test-fpucw-ieee' and
2474 (tests-static): New variable.
2475 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2477 [($(build-shared),yes)]
2478 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2480 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2483 2013-09-09 Allan McRae <allan@archlinux.org>
2486 * manual/string.texi (Collation Functions): Fix typo in
2488 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2491 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2494 * libio/memstream.c (open_memstream): Fix memory leak.
2495 * libio/wmemstream.c (open_wmemstream): Likewise.
2498 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2500 2013-09-09 Will Newton <will.newton@linaro.org>
2502 * malloc/Makefile: Add tst-realloc to tests.
2503 * malloc/tst-realloc.c: New file.
2505 2013-09-09 Allan McRae <allan@archlinux.org>
2508 * COPYING: Update from GNU website to fix FSF address.
2509 * COPYING.LIB: Likewise.
2511 2013-09-06 David S. Miller <davem@davemloft.net>
2513 * po/zh_TW.po: Update Chinese (traditional) translation from
2514 translation project.
2516 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2517 Joseph Myers <joseph@codesourcery.com>
2519 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2521 (obstack_chunk_alloc): New macro.
2522 (obstack_chunk_free): Likewise.
2523 (record_offset): New function.
2524 (init_locale_data): Likewise.
2525 (align_locale_data): Likewise.
2526 (add_locale_empty): Likewise.
2527 (add_locale_raw_data): Likewise.
2528 (add_locale_raw_obstack): Likewise.
2529 (add_locale_string): Likewise.
2530 (add_locale_wstring): Likewise.
2531 (add_locale_uint32): Likewise.
2532 (add_locale_uint32_array): Likewise.
2533 (add_locale_char): Likewise.
2534 (start_locale_structure): Likewise.
2535 (end_locale_structure): Likewise.
2536 (start_locale_prelude): Likewise.
2537 (end_locale_prelude): Likewise.
2538 (write_locale_data): Take locale_file structure rather than an
2540 * locale/programs/locfile.h: Include "obstack.h".
2541 (struct locale_file): Change to store locale file contents instead
2543 (init_locale_data): New prototype.
2544 (align_locale_data): Likewise.
2545 (add_locale_empty): Likewise.
2546 (add_locale_raw_data): Likewise.
2547 (add_locale_raw_obstack): Likewise.
2548 (add_locale_string): Likewise.
2549 (add_locale_wstring): Likewise.
2550 (add_locale_uint32): Likewise.
2551 (add_locale_uint32_array): Likewise.
2552 (add_locale_char): Likewise.
2553 (start_locale_structure): Likewise.
2554 (end_locale_structure): Likewise.
2555 (start_locale_prelude): Likewise.
2556 (end_locale_prelude): Likewise.
2557 (write_locale_data): Update prototype.
2558 * locale/programs/3level.h (struct TABLE): Remove result field.
2559 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2560 Use new locale_file interface.
2561 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2562 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2563 * locale/programs/ld-address.c (address_output): Use new
2564 locale_file interface.
2565 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2567 (collate_finish): Don't call collseq_table_finalize.
2568 (collate_output): Use new locale_file interface.
2569 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2571 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2572 (TABLE): Move defines earlier in file.
2573 (ELEMENT): Likewise.
2574 (DEFAULT): Likewise.
2575 (wctrans_table_add): Move macro and inline function earlier in
2577 (struct wctype_table): Move type earlier in file.
2578 (add_locale_wctype_table): New static prototype.
2579 (struct locale_ctype_t): Use logical types instead of struct iovec
2580 pointers for members.
2581 (ctype_output): Use new locale_file interface.
2582 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2583 new locale_file interface.
2584 (allocate_arrays): Update for use of new locale_file interface.
2585 * locale/programs/ld-identification.c (identification_output): Use
2586 new locale_file interface.
2587 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2588 * locale/programs/ld-messages.c (messages_output): Likewise.
2589 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2590 * locale/programs/ld-name.c (name_output): Likewise.
2591 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2592 * locale/programs/ld-paper.c (paper_output): Likewise.
2593 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2594 * locale/programs/ld-time.c (time_output): Likewise.
2596 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598 * benchtests/Makefile: Add memrchr benchmark.
2599 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2600 benchmark as memrchr.
2601 * benchtests/bench-memrchr-ifunc.c: New file.
2602 * benchtests/bench-memrchr.c: New file.
2604 2013-09-06 Will Newton <will.newton@linaro.org>
2606 * benchtests/Makefile (string-bench): Add memcpy.
2608 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2609 Cong Wang <amwang@redhat.com>
2611 * sysdeps/unix/sysv/linux/bits/in.h
2612 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2613 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2614 before __USE_KERNEL_IPV6_DEFS uses.
2615 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2617 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2618 sockaddr_in6, or ipv6_mreq.
2620 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2623 memory access for final bytes in some large inputs.
2624 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2626 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2628 * string/test-memrchr.c: New file.
2629 * string/test-memrchr-ifunc.c: New file.
2630 * string/Makefile: Add new memrchr testcase.
2632 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2634 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2635 fanotify_init returns EPERM.
2637 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2639 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2641 (top level): Treat second token from macro or constant entries for
2642 allowed headers as allowed.
2643 * include/complex.h: Condition internal declarations on
2645 * include/fenv.h: Condition include of <stdbool.h> and internal
2646 declarations on [!_ISOMAC].
2648 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2651 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2653 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2655 * configure.in (--enable-versioning): Remove configure option.
2656 (libc_cv_asm_symver_directive): Remove configure test.
2657 (libc_cv_ld_version_script_option): Likewise.
2658 (VERSIONING): Remove variable and AC_SUBST.
2659 (DO_VERSIONING): Remove AC_DEFINE.
2660 * configure: Regenerated.
2661 * config.h.in (DO_VERSIONING): Remove macro.
2662 * Makerules [$(versioning) = yes]: Change conditionals to
2663 [$(build-shared) = yes].
2664 * config.make.in (versioning): Remove variable.
2665 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2666 [$(build-shared) = yes].
2667 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2668 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2669 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2670 [$(build-shared) = yes].
2671 * extra-lib.mk [$(versioning) = yes]: Likewise.
2672 * hurd/Makefile [$(versioning) = yes]: Likewise.
2673 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2675 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2677 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2678 [SHARED && !NO_HIDDEN].
2679 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2681 [SHARED && DO_VERSIONING]: Likewise..
2682 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2683 [$(build-shared) = yes].
2684 * manual/install.texi (--disable-versioning): Remove
2686 * INSTALL: Regenerated.
2687 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2689 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2690 [$(build-shared) = yes].
2691 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2692 * sysdeps/i386/i686/multiarch/strstr-c.c
2693 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2694 [SHARED && !NO_HIDDEN].
2695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2696 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2697 * sysdeps/powerpc/powerpc32/dl-machine.c
2698 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2699 * sysdeps/powerpc/powerpc32/sysdep.h
2700 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2701 to [SHARED && PIC && !NO_HIDDEN].
2702 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2703 conditional to [SHARED].
2705 2013-09-04 Will Newton <will.newton@linaro.org>
2707 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2708 * benchtests/bench-string.h: Include bench-timing.h instead
2709 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2710 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2711 call to HP_TIMING_DIFF_INIT.
2712 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2713 instead of hp-timing.h macros.
2714 * benchtests/bench-memchr.c: Likewise.
2715 * benchtests/bench-memcmp.c: Likewise.
2716 * benchtests/bench-memcpy.c: Likewise.
2717 * benchtests/bench-memmem.c: Likewise.
2718 * benchtests/bench-memmove.c: Likewise.
2719 * benchtests/bench-memset.c: Likewise.
2720 * benchtests/bench-rawmemchr.c: Likewise.
2721 * benchtests/bench-strcasecmp.c: Likewise.
2722 * benchtests/bench-strcasestr.c: Likewise.
2723 * benchtests/bench-strcat.c: Likewise.
2724 * benchtests/bench-strchr.c: Likewise.
2725 * benchtests/bench-strcmp.c: Likewise.
2726 * benchtests/bench-strcpy.c: Likewise.
2727 * benchtests/bench-strcpy_chk.c: Likewise.
2728 * benchtests/bench-strlen.c: Likewise.
2729 * benchtests/bench-strncasecmp.c: Likewise.
2730 * benchtests/bench-strncat.c: Likewise.
2731 * benchtests/bench-strncmp.c: Likewise.
2732 * benchtests/bench-strncpy.c: Likewise.
2733 * benchtests/bench-strnlen.c: Likewise.
2734 * benchtests/bench-strpbrk.c: Likewise.
2735 * benchtests/bench-strrchr.c: Likewise.
2736 * benchtests/bench-strspn.c: Likewise.
2737 * benchtests/bench-strstr.c: Likewise.
2739 2013-09-04 Will Newton <will.newton@linaro.org>
2741 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2743 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2747 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2748 * math/libm-test.inc (lgamma_test_data): Add more tests.
2749 * sysdeps/i386/fpu/libm-test-ulps: Update.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2752 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2754 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2758 Add strcmp-sse2-unaligned
2759 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2761 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2763 * Versions.def (libc): Add GLIBC_2.19.
2765 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2767 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2768 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2770 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2774 intermediate calculations in recurrence.
2775 (__ieee754_ynf): Likewise.
2776 * math/libm-test.inc (jn_test_data): Do not allow spurious
2777 underflow exception. Add more tests.
2778 (yn_test_data): Add more tests.
2779 * sysdeps/i386/fpu/libm-test-ulps: Update.
2780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2782 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2786 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2788 * csu/init-first.c: Fix then/than typos.
2789 * locale/programs/ld-collate.c: Likewise.
2790 * locale/programs/linereader.h: Likewise.
2791 * manual/charset.texi: Likewise.
2792 * manual/filesys.texi: Likewise.
2793 * manual/stdio.texi: Likewise.
2794 * manual/string.texi: Likewise.
2795 * stdlib/fmtmsg.c: Likewise.
2796 * sysdeps/i386/stpncpy.S: Likewise.
2797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2798 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2802 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2804 * elf/dl-open.c: Fix typos.
2805 * iconvdata/gbbig5.c: Likewise.
2806 * iconvdata/iso-2022-jp.c: Likewise.
2807 * iconv/gconv_int.h: Likewise.
2808 * iconv/loop.c: Likewise.
2809 * nis/rpcsvc/nis.h: Likewise.
2810 * resolv/ns_name.c: Likewise.
2811 * stdio-common/vfscanf.c: Likewise.
2812 * streams/stropts.h: Likewise.
2813 * sunrpc/rpc_thread.c: Likewise.
2814 * sysdeps/i386/strpbrk.S: Likewise.
2815 * sysdeps/ieee754/k_standard.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2818 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2819 * sysdeps/mach/hurd/profil.c: Likewise.
2820 * sysdeps/s390/dl-procinfo.h: Likewise.
2821 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2823 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2824 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2827 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2829 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2832 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2836 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2837 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2845 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2846 Roland McGrath <roland@hack.frob.com>
2848 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2849 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2851 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2853 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2854 __executable_start symbol instead of _start.
2856 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2858 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2859 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2861 * sysdeps/gnu/ldsodefs.h: ... this new file.
2863 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2864 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2865 instead of ELFOSABI_LINUX.
2867 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2868 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2869 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2870 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2872 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2873 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2874 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2876 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2877 (ibm_extended_long_double): Add ieee_nan member.
2878 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2879 (do_test): New function.
2881 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2883 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2884 functions, renamed from truncdfsf_test, trunctfsf_test,
2886 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2888 (do_test): Run all these.
2890 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2892 * argp/argp-help.c: Fix typos.
2893 * argp/argp-parse.c: Likewise.
2894 * debug/backtracesyms.c: Likewise.
2895 * elf/elf.h: Likewise.
2896 * malloc/malloc.c: Likewise.
2897 * nis/nis_print.c: Likewise.
2898 * resolv/res_comp.c: Likewise.
2899 * stdlib/stdlib.h: Likewise.
2900 * sunrpc/clnt_tcp.c: Likewise.
2901 * sunrpc/clnt_udp.c: Likewise.
2902 * sunrpc/clnt_unix.c: Likewise.
2903 * sysdeps/unix/bsd/ptsname.c: Likewise.
2904 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2914 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2916 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2919 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2922 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2923 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2924 ($(objpfx)bug-dl-leaf): New rule.
2925 ($(objpfx)bug-dl-leaf.so): Likewise.
2926 ($(objpfx)bug-dl-leaf.out): Likewise.
2927 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2928 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2929 * dlfcn/bug-dl-leaf.c: New test.
2930 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2931 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2932 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2933 (dlclose): Likewise.
2934 (dlmopen): Likewise.
2936 2013-08-27 Roland McGrath <roland@hack.frob.com>
2938 * include/netdb.h [!_ISOMAC]:
2939 Don't include <tls.h>.
2940 (h_errno, __libc_h_errno): Move declaration and macros out of
2943 * include/resolv.h [_RESOLV_H_]:
2944 Don't include <tls.h>.
2945 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2946 * resolv/res_libc.c: Don't include <tls.h>.
2947 (_res): Use __attribute__ ((nocommon)) in place of
2948 __attribute__ ((section (".bss"))).
2950 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2951 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2953 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2955 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2956 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2958 * resolv/res_mkquery.c: Include <sys/time.h>.
2960 * inet/ifreq.c: Moved to ...
2961 * sysdeps/unix/ifreq.c: ... here.
2962 * inet/ifreq.c: New file, true stub version.
2964 * socket/sa_len.c: New file.
2965 * socket/Makefile (aux): Add it.
2966 * sysdeps/unix/sysv/linux/Makefile
2967 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2968 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2969 and #include <socket/sa_len.c>.
2970 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2971 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2974 * bits/socket.h: ... here.
2976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2977 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2978 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2980 2013-08-27 Andreas Schwab <schwab@suse.de>
2983 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2984 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2985 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2986 * string/test-strcasecmp.c (test_main): Run tests in several
2988 * string/test-strncasecmp.c (test_main): Likewise.
2990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2991 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2992 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2994 (__strncasecmp_ssse3) [PIC]: Likewise.
2996 2013-08-26 Roland McGrath <roland@hack.frob.com>
2998 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3000 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3001 instead of explicitly declaring xdecrypt.
3002 * nis/nss_nis/nis-publickey.c: Likewise.
3004 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3007 * nscd/aicache.c: Include res_hconf.h.
3008 (addhstaiX): Initialize res_hconf.
3010 2013-08-26 Andreas Schwab <schwab@suse.de>
3012 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3013 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3015 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3017 * nscd/aicache.c (addhstaiX): Fix indentation.
3019 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3021 * configure.ac: Quote $build_pt_chown test.
3022 * configure: Regenerated.
3024 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3027 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3028 * math/s_cexpf.c (__cexpf): Likewise.
3029 * math/s_cexpl.c (__cexpl): Likewise.
3030 * math/libm-test.inc (cexp_test_data): Correct expected return
3031 value for NaN + i0. Add another test.
3033 2013-08-22 David S. Miller <davem@davemloft.net>
3035 * po/ca.po: Update Catalan translation from translation project.
3036 * po/uk.po: Add Ukrainian translations from translation project.
3038 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3041 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3042 is infinite, not alongside NaN test.
3043 * math/s_fdimf.c (__fdimf): Likewise.
3044 * math/s_fdiml.c (__fdiml): Likewise.
3045 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3048 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3050 * argp/argp-help.c: Fix typos.
3051 * crypt/speeds.c: Likewise.
3052 * csu/check_fds.c: Likewise.
3053 * elf/dl-load.c: Likewise.
3054 * elf/dl-open.c: Likewise.
3055 * elf/reldep3.c: Likewise.
3056 * elf/reldep.c: Likewise.
3057 * elf/sprof.c: Likewise.
3058 * iconv/iconv_charmap.c: Likewise.
3059 * iconv/skeleton.c: Likewise.
3060 * iconv/strtab.c: Likewise.
3061 * io/lockf64.c: Likewise.
3062 * libio/libioP.h: Likewise.
3063 * resolv/gai_notify.c: Likewise.
3064 * resolv/ns_name.c: Likewise.
3065 * resolv/ns_samedomain.c: Likewise.
3066 * resolv/res_send.c: Likewise.
3067 * stdlib/random.c: Likewise.
3068 * sunrpc/rpc/xdr.h: Likewise.
3069 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3077 * sysdeps/mach/hurd/check_fds.c: Likewise.
3078 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3079 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3083 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3084 * sysdeps/pthread/aio_notify.c: Likewise.
3085 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3086 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3089 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3091 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3093 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3094 version if bit_Slow_SSE4_2 is set.
3095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3098 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3101 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3102 trampoline stack frame information.
3103 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3105 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3106 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3107 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3108 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3109 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3110 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3112 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3113 interrupting a syscall and set with option SA_SIGINFO.
3115 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3118 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3119 argument is infinite.
3120 * math/s_cprojf.c (__cprojf): Likewise.
3121 * math/s_cprojl.c (__cprojl): Likewise.
3122 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3123 * math/libm-test.inc (cproj_test_data): Add more tests.
3125 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3127 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3128 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3129 size. Use __ffs to determine corresponding shift.
3131 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3132 Roland McGrath <roland@hack.frob.com>
3134 * Makefile (INSTALL): Remove trailing blank lines from output of
3137 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3139 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3140 Align 32 bit compat elf_greg to 8 bytes.
3142 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3144 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3146 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3148 * string/strcoll_l.c (coll_seq): New structure.
3149 (get_next_seq_cached): New function.
3150 (get_next_seq): New function.
3151 (do_compare): New function.
3152 (STRCOLL): Use GNU style definition. Simplify implementation
3153 by using get_next_seq, get_next_seq_cached and do_compare.
3155 2013-08-16 Florian Weimer <fweimer@redhat.com>
3159 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3161 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3163 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3164 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3165 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3167 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3168 GETDENTS_64BIT_ALIGNED.
3169 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3170 * manual/filesys.texi (Reading/Closing Directory): Document
3171 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3173 * manual/conf.texi (Limits for Files): Add portability note to
3175 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3177 2013-08-13 Andreas Schwab <schwab@suse.de>
3180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3182 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3183 LDBL_MAX_EXP >= 16384]: Add tests for it.
3185 2013-08-12 David S. Miller <davem@davemloft.net>
3187 * version.h (RELEASE): Set to "development".
3188 (VERSION): Set to "2.18.90".
3189 * NEWS: Add 2.19 section.
3191 2013-08-03 David S. Miller <davem@davemloft.net>
3193 * po/ko.po: Update Korean translation from translation project.
3195 2013-08-01 David S. Miller <davem@davemloft.net>
3197 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3198 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3201 2013-07-30 David S. Miller <davem@davemloft.net>
3203 * po/fr.po: Update French translation from translation project.
3205 2013-07-28 David S. Miller <davem@davemloft.net>
3207 * po/cs.po: Update Czech translation from translation project.
3209 * po/sv.po: Update Swedish translation from translation project.
3211 2013-07-27 David S. Miller <davem@davemloft.net>
3213 * po/eo.po: Update Esperanto translation from translation project.
3215 * po/vi.po: Update Vietnamese translation from translation project.
3217 * po/de.po: Update German translation from translation project.
3219 2013-07-26 David S. Miller <davem@davemloft.net>
3221 * po/bg.po: Update Bulgarian translation from translation project.
3223 * po/nl.po: Update Dutch translation from translation project.
3224 * po/pl.po: Update Polish translation from translation project.
3225 * po/ru.po: Update Russian translation from translation project.
3227 2013-07-24 David S. Miller <davem@davemloft.net>
3229 * po/libc.pot: Update.
3231 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3233 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3235 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3236 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3239 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3241 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3243 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3244 Andreas Schwab <schwab@suse.de>
3245 Roland McGrath <roland@hack.frob.com>
3246 Joseph Myers <joseph@codesourcery.com>
3247 Carlos O'Donell <carlos@redhat.com>
3250 * config.h.in: Define HAVE_PT_CHOWN.
3251 * config.make.in (build-pt-chown): New variable.
3252 * configure.in (--enable-pt_chown): New configure option.
3253 * configure: Regenerate.
3254 * login/Makefile: Include Makeconfig. Build pt_chown only if
3255 build-pt-chown is enabled.
3256 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3257 pt_chown to fix pty ownership.
3258 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3260 * manual/install.texi (Configuring and compiling): Mention
3261 --enable-pt_chown. Add @findex for grantpt.
3262 * INSTALL: Regenerate.
3264 2013-07-20 David S. Miller <davem@davemloft.net>
3266 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3267 difference between 32-bit and 64-bit.
3269 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3272 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3273 Avoid system header dependency with -ffreestanding.
3274 ($(objpfx)bits/syscall%d): Likewise.
3276 2013-07-13 David S. Miller <davem@davemloft.net>
3278 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3279 underflows from atanl/atan2l due to bug 15319.
3280 (casinh_test_data): Likewise.
3282 2013-07-07 David S. Miller <davem@davemloft.net>
3284 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3286 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3288 * sysdeps/i386/fpu/libm-test-ulps: Update.
3289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3293 * configure.in (--enable-lock-elision): Fix message text.
3294 * INSTALL: Regenerate.
3295 * configure: Regenerate.
3297 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3301 2013-07-03 Andreas Jaeger <aj@suse.de>
3303 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3305 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3306 (ptrace_peeksiginfo_args): Add.
3307 (__ptrace_peeksiginfo_flags): Add.
3308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3312 2013-07-03 Allan McRae <allan@archlinux.org>
3314 * sysdeps/i386/fpu/libm-test-ulps: Update.
3316 2013-07-02 David S. Miller <davem@davemloft.net>
3318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3320 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3324 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3326 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329 2013-07-02 Andi Kleen <ak@linux.intel.com>
3331 * config.h.in (ENABLE_LOCK_ELISION): Add.
3332 * configure.in (--enable-lock-elision): Add option.
3333 * manual/install.texi: Document --enable lock elision.
3334 * configure: Regenerate
3335 * INSTALL: Regenerate.
3337 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3339 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3340 SSE4.2 strcasecmp for libc.a.
3341 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3343 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3346 * soft-fp/op-common.h (_FP_FMA): New macro.
3347 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3348 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3349 (_FP_MUL_MEAT_1_imm): ... here.
3350 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3351 (_FP_MUL_MEAT_1_wide): ... here.
3352 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3353 (_FP_MUL_MEAT_1_hard): ... here.
3354 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3355 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3356 (_FP_MUL_MEAT_2_wide): ... here.
3357 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3358 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3359 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3360 (_FP_MUL_MEAT_2_gmp): ... here.
3361 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3362 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3363 (_FP_MUL_MEAT_4_wide): ... here.
3364 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3365 (_FP_MUL_MEAT_4_gmp): ... here.
3366 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3367 (_FP_WFRACBITS_DW_S): Likewise.
3368 (_FP_WFRACXBITS_DW_S): Likewise.
3369 (_FP_HIGHBIT_DW_S): Likewise.
3370 (FP_FMA_S): Likewise.
3371 (_FP_FRAC_HIGH_DW_S): Likewise.
3372 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3373 (_FP_WFRACBITS_DW_D): Likewise.
3374 (_FP_WFRACXBITS_DW_D): Likewise.
3375 (_FP_HIGHBIT_DW_D): Likewise.
3376 (FP_FMA_D): Likewise.
3377 (_FP_FRAC_HIGH_DW_D): Likewise.
3378 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3379 (_FP_WFRACBITS_DW_E): Likewise.
3380 (_FP_WFRACXBITS_DW_E): Likewise.
3381 (_FP_HIGHBIT_DW_E): Likewise.
3382 (FP_FMA_E): Likewise.
3383 (_FP_FRAC_HIGH_DW_E): Likewise.
3384 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3385 (_FP_WFRACBITS_DW_Q): Likewise.
3386 (_FP_WFRACXBITS_DW_Q): Likewise.
3387 (_FP_HIGHBIT_DW_Q): Likewise.
3388 (FP_FMA_Q): Likewise.
3389 (_FP_FRAC_HIGH_DW_Q): Likewise.
3390 * soft-fp/fmasf4.c: New file.
3391 * soft-fp/fmadf4.c: Likewise.
3392 * soft-fp/fmatf4.c: Likewise.
3394 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3397 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3401 (index_Slow_SSE4_2): Likewise.
3402 (index_Prefer_PMINUB_for_stringop): Likewise.
3403 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3404 bit_Slow_SSE4_2 is set.
3405 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3408 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3410 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3411 rtld_global._dl_hwcap2.
3412 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3414 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3415 POWER8 feature descriptions defined in _dl_hwcap2.
3416 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3417 string handling for POWER8 feature bits.
3418 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3419 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3420 _dl_powerpc_cap_flags.
3421 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3422 * sysdeps/powerpc/rtld-global-offsets.sym
3423 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3424 _dl_hwcap2 in the rtld_global_ro structure.
3426 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3428 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3429 hardware capabilities in support of AT_HWCAP2.
3430 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3431 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3433 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3434 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3435 explicitly the unknown a_type display mechanism is used.
3436 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3437 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3439 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3440 to macro prototype for AT_HWCAP2 support.
3441 * sysdeps/i386/dl-procinfo.h: Likewise.
3442 * sysdeps/s390/dl-procinfo.h: Likewise.
3443 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3444 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3445 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3446 return -1 for unknown a_type display fallback.
3447 * sysdeps/sparc/dl-procinfo.h: Likewise.
3448 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3449 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3451 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3454 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3456 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3459 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3460 mprotect making __stack_prot writable.
3462 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3463 Joseph Myers <joseph@codesourcery.com>
3465 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3466 as being properly aligned.
3468 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3470 * dlfcn/modstatic5.c: New file.
3471 * dlfcn/tststatic5.c: New file.
3472 * dlfcn/Makefile (tests): Add tststatic5.
3473 (tests-static): Likewise.
3474 (modules-names): Add modstatic5.
3475 (tststatic5-ENV): New variable.
3476 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3479 * elf/dl-support.c (_dl_main_map): New variable.
3480 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3481 (_dl_nns, _dl_load_adds): Set to 1.
3482 (_dl_initial_searchlist): Refer to _dl_main_map.
3483 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3484 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3485 call to _dl_get_origin.
3486 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3488 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3489 * dlfcn/modstatic3.c: New file.
3490 * dlfcn/tststatic3.c: New file.
3491 * dlfcn/tststatic4.c: New file.
3492 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3493 (tests-static): Likewise.
3494 (modules-names): Add modstatic3.
3495 (tststatic3-ENV, tststatic4-ENV): New variables.
3496 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3497 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3499 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3501 * configure.in (CC): Require GCC version 4.4 or later.
3502 * configure: Regenerated.
3503 * manual/install.texi (Tools for Compilation): Update GCC version
3505 * INSTALL: Regenerated.
3507 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3510 * string/test-memcmp.c (check2): New.
3511 (main): Call check2.
3513 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3515 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3518 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3520 (dl_open_worker) [!SHARED]: ... here.
3522 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3524 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3526 2013-06-25 Richard Henderson <rth@redhat.com>
3528 * locale/programs/locarchive.c: Include <libc-internal.h>
3530 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3532 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3533 trailing whitespace removed.
3535 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3538 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3539 * locale/programs/locarchive.c: Include libc-mmap.h.
3540 (prepare_address_space): Take two new outputs (the mmap base and len).
3541 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3543 (create_archive): Declare new mmap base and len values for
3544 prepare_address_space, and store the result in ah.
3545 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3546 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3547 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3548 Declare new mmap base and len values for
3549 prepare_address_space, and store the result in new_ah.
3550 (open_archive): Declare new mmap base and len values for
3551 prepare_address_space, and store the result in ah.
3552 (close_archive): If ah->mmap_base is not NULL, use that and
3553 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3554 * sysdeps/generic/libc-mmap.h: New file.
3556 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3558 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3559 (ALIGN_UP): Likewise.
3560 (PTR_ALIGN_DOWN): Likewise.
3561 (PTR_ALIGN_UP): Likewise.
3563 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3565 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3566 entry mapped to PPC_PLATFORM_POWER8.
3567 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3569 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3570 (_dl_string_platform): Add case for exporting platform position for
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3573 search path to sysdeps/powerpc/powerpc32/power8 directory.
3574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3575 search path to sysdeps/powerpc/powerpc64/power8 directory.
3576 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3578 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3581 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3583 * INSTALL: Regenerate.
3585 * nscd/connections.c (nscd_init): Fix comment.
3587 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3589 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3592 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3593 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3595 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3597 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3599 (DL_DST_REQ_STATIC): Remove macro.
3601 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3604 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3605 with a shift of 0 bits.
3607 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3609 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3612 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3615 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3617 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3619 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3620 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3621 accepts -fno-tree-loop-distribute-patterns.
3622 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3623 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3625 * string/memset.c (memset): Likewise.
3626 * string/test-memmove.c (simple_memmove): Disable loop transformation
3628 * string/test-memset.c (simple_memset): Likewise.
3629 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3630 * benchtests/bench-memset.c (simple_memset): Likewise.
3631 * configure: Regenerated.
3633 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3635 * math/test-misc.c (main): Ignore fesetround failure when failures
3636 of subsequent rounding tests would be ignored.
3639 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3640 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3641 * math/fegetenv.c (__fegetenv): Return 0.
3642 * math/fegetexcept.c (fegetexcept): Return 0.
3643 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3645 * math/feholdexcpt.c (feholdexcept): Return 0.
3646 * math/fesetenv.c (__fesetenv): Return 0.
3647 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3648 argument FE_TONEAREST.
3649 * math/feupdateenv.c (__feupdateenv): Return 0.
3650 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3652 2013-06-18 Roland McGrath <roland@hack.frob.com>
3654 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3655 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3656 ($(objpfx)rtld-%.os rules): Use them.
3658 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3663 2013-06-17 Roland McGrath <roland@hack.frob.com>
3665 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3666 length of target pattern, then descending length of dependency pattern.
3667 * configure.in (AWK): Require gawk 3.1.2 or newer.
3668 * manual/install.texi (Tools for Compilation): Say that we do.
3669 * configure: Regenerated.
3671 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3672 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3673 * scripts/sysd-rules.awk: ... this new script.
3674 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3675 than a glob-style pattern.
3677 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3679 * math/test-misc.c (main): Do not treat incorrectly rounded
3680 conversions as failure unless ROUNDING_TESTS passes.
3682 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3685 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3686 restore exception state around main square root computation, then
3687 check for inexactness explicitly.
3689 * math/libm-test.inc (fma_test_data): Add another test.
3691 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3693 * manual/threads.texi (Non-POSIX Extensions): New document
3694 node. Document pthread_getattr_default_np and
3695 pthread_setattr_default_np.
3697 * Versions.def (libpthread): Add GLIBC_2.18.
3698 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3718 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3721 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3723 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3724 H.J. Lu <hjl.tools@gmail.com>
3727 * sysdeps/x86_64/rtld-memset.c: Remove file.
3728 * sysdeps/x86_64/rtld-memset.S: New file.
3730 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3732 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3733 (test_in_one_mode): Take arguments for whether the rounding mode
3734 is supported for each floating-point type.
3735 (do_test): Pass new arguments to test_in_one_mode using
3738 2013-06-13 Roland McGrath <roland@hack.frob.com>
3740 * posix/tst-waitid.c (do_test): Distinguish different instances of
3741 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3742 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3743 before entering the kernel for waitpid.
3745 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3747 * NEWS: Fix note on clock function precision. Text by Roland
3750 2013-06-13 Roland McGrath <roland@hack.frob.com>
3752 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3753 it into place only when and if the sanity check passes.
3755 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3757 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3758 output for whether conversion result is exact. Take argument
3759 indicating whether type is IBM long double.
3760 (round_for_all): Change need_exact field to ibm_ld.
3761 * stdlib/tst-strtod-round.c (struct exactness): New type.
3762 (struct test): Change bool ld_ok field to struct exactness exact.
3763 (TEST): Update all definitions for change to field.
3764 (tests): Regenerate array contents.
3765 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3766 field value. Check for IBM long double here.
3767 (do_test): Update calls to test_in_one_mode.
3769 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3772 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3773 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3775 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3778 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3779 generated by the compiler on loop optimizations.
3780 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3781 general definitions.
3783 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3785 * math/bug-nextafter.c: Include <math-tests.h>.
3786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3788 * math/bug-nexttoward.c: Include <math-tests.h>.
3789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3791 * math/test-misc.c: Include <math-tests.h>.
3792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3795 2013-06-12 Andreas Jaeger <aj@suse.de>
3797 * po/ia.po: Update Interlingua translation from translation
3800 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * include/fenv.h: Include stdbool.h.
3803 (struct rm_ctx): New structure.
3804 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3806 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3807 (SET_RESTORE_ROUNDF): Likewise.
3808 (SET_RESTORE_ROUNDL): Likewise.
3809 (SET_RESTORE_ROUND_NOEX): Likewise.
3810 (SET_RESTORE_ROUND_NOEXF): Likewise.
3811 (SET_RESTORE_ROUND_NOEXL): Likewise.
3812 (SET_RESTORE_ROUND_53BIT): Likewise.
3813 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3814 (libc_feresetround_noexf_ctx): Likewise.
3815 (libc_feresetround_noexl_ctx): Likewise.
3816 (libc_feholdsetround_53bit_ctx): Likewise.
3817 (libc_feresetround_53bit_ctx): Likewise.
3818 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3819 (libc_feholdexcept_setround_sse_ctx): New function.
3820 (libc_fesetenv_sse_ctx): Likewise.
3821 (libc_feupdateenv_sse_ctx): Likewise.
3822 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3823 (libc_feholdexcept_setround_387_ctx): Likewise.
3824 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3825 (libc_feholdsetround_387_prec_ctx): Likewise.
3826 (libc_feholdsetround_387_ctx): Likewise.
3827 (libc_feholdsetround_387_53bit_ctx): Likewise.
3828 (libc_feholdsetround_sse_ctx): Likewise.
3829 (libc_feresetround_sse_ctx): Likewise.
3830 (libc_feresetround_387_ctx): Likewise.
3831 (libc_feupdateenv_387_ctx): Likewise.
3832 (libc_feholdexcept_setroundf_ctx): Define macro.
3833 (libc_fesetenvf_ctx): Likewise.
3834 (libc_feupdateenvf_ctx): Likewise.
3835 (libc_feholdsetroundf_ctx): Likewise.
3836 (libc_feresetroundf_ctx): Likewise.
3837 (libc_feholdexcept_setround_ctx): Likewise.
3838 (libc_fesetenv_ctx): Likewise.
3839 (libc_feupdateenv_ctx): Likewise.
3840 (libc_feholdsetround_ctx): Likewise.
3841 (libc_feresetround_ctx): Likewise.
3842 (libc_feholdexcept_setroundl_ctx): Likewise.
3843 (libc_feupdateenvl_ctx): Likewise.
3844 (libc_feholdsetroundl_ctx): Likewise.
3845 (libc_feresetroundl_ctx): Likewise.
3846 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3847 (libc_feresetround_53bit_ctx): Likewise.
3849 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3851 * locale/iso-639.def: Convert to UTF-8.
3853 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3855 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3856 (EXCEPTION_TESTS_double): Likewise.
3857 (EXCEPTION_TESTS_long_double): Likewise.
3858 (EXCEPTION_TESTS): Likewise.
3859 * math/libm-test.inc (test_exceptions): Only test exceptions if
3860 EXCEPTION_TESTS (FLOAT).
3862 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3864 * benchtests/Makefile (string-bench): Add strcpy_chk and
3866 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3867 * benchtests/bench-stpcpy_chk.c: New file.
3868 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3869 * benchtests/bench-strcpy_chk.c: New file.
3870 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3872 (do_test): Likewise.
3874 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3877 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3878 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3879 with tabs where appropriate.
3880 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3882 [PPC_PLATFORM_PPC440]: Likewise.
3883 [PPC_PLATFORM_PPC464]: Likewise.
3884 [PPC_PLATFORM_PPC476]: Likewise.
3885 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3886 ppc464, and ppc476 platform strings merging from ports/
3889 2013-06-11 Andreas Schwab <schwab@suse.de>
3892 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3893 (from_ucs4_idx): Regenerate.
3894 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3895 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3896 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3897 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3898 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3899 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3900 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3901 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3902 from FROM_LOOP and TO_LOOP specific macros.
3903 (BODY): Handle combining characters.
3904 * iconvdata/BIG5HKSCS.irreversible: Update.
3905 * iconvdata/BIG5HKSCS.precomposed: New file.
3906 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3908 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3910 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3912 * include/sys/time.h: Fix indentation and add copyright header.
3914 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3915 (do_test): Likewise.
3916 * string/test-memchr.c (do_one_test): Likewise.
3917 (do_test): Likewise.
3918 * string/test-memcmp.c (do_one_test): Likewise.
3919 (do_test): Likewise.
3920 * string/test-memcpy.c (do_one_test): Likewise.
3921 (do_test): Likewise.
3922 * string/test-memmem.c (do_one_test): Likewise.
3923 (do_test): Likewise.
3924 (do_random_tests): Likewise.
3925 * string/test-memmove.c (do_one_test): Likewise.
3926 (do_test): Likewise.
3927 * string/test-memset.c (do_one_test): Likewise.
3928 (do_test): Likewise.
3929 * string/test-rawmemchr.c (do_one_test): Likewise.
3930 (do_test): Likewise.
3931 * string/test-strcasecmp.c (do_one_test): Likewise.
3932 (do_test): Likewise.
3933 * string/test-strcasestr.c (do_one_test): Likewise.
3934 (do_test): Likewise.
3935 * string/test-strcat.c (do_one_test): Likewise.
3936 (do_test): Likewise.
3937 * string/test-strchr.c (do_one_test): Likewise.
3938 (do_test): Likewise.
3939 * string/test-strcmp.c (do_one_test): Likewise.
3940 (do_test): Likewise.
3941 * string/test-strcpy.c (do_one_test): Likewise.
3942 (do_test): Likewise.
3943 * string/test-string.h: Likewise.
3944 (test_init): Likewise.
3945 * string/test-strlen.c (do_one_test): Likewise.
3946 (do_test): Likewise.
3947 * string/test-strncasecmp.c (do_one_test): Likewise.
3948 (do_test): Likewise.
3949 * string/test-strncat.c (do_one_test): Likewise.
3950 (do_test): Likewise.
3951 * string/test-strncmp.c (do_one_test): Likewise.
3952 (do_test_limit): Likewise.
3953 (do_test): Likewise.
3954 * string/test-strncpy.c (do_one_test): Likewise.
3955 (do_test): Likewise.
3956 * string/test-strnlen.c (do_one_test): Likewise.
3957 (do_test): Likewise.
3958 * string/test-strpbrk.c (do_one_test): Likewise.
3959 (do_test): Likewise.
3960 * string/test-strrchr.c (do_one_test): Likewise.
3961 (do_test): Likewise.
3962 * string/test-strspn.c (do_one_test): Likewise.
3963 (do_test): Likewise.
3964 * string/test-strstr.c (do_one_test): Likewise.
3965 (do_test): Likewise.
3967 * benchtests/Makefile (string-bench): Add string benchmarks.
3968 * benchtests/bench-bcopy-ifunc.c: New file.
3969 * benchtests/bench-bcopy.c: New file.
3970 * benchtests/bench-bzero-ifunc.c: New file.
3971 * benchtests/bench-bzero.c: New file.
3972 * benchtests/bench-memccpy-ifunc.c: New file.
3973 * benchtests/bench-memccpy.c: New file.
3974 * benchtests/bench-memchr-ifunc.c: New file.
3975 * benchtests/bench-memchr.c: New file.
3976 * benchtests/bench-memcmp-ifunc.c: New file.
3977 * benchtests/bench-memcmp.c: New file.
3978 * benchtests/bench-memmem-ifunc.c: New file.
3979 * benchtests/bench-memmem.c: New file.
3980 * benchtests/bench-memmove-ifunc.c: New file.
3981 * benchtests/bench-memmove.c: New file.
3982 * benchtests/bench-mempcpy-ifunc.c: New file.
3983 * benchtests/bench-mempcpy.c: New file.
3984 * benchtests/bench-memset-ifunc.c: New file.
3985 * benchtests/bench-memset.c: New file.
3986 * benchtests/bench-rawmemchr-ifunc.c: New file.
3987 * benchtests/bench-rawmemchr.c: New file.
3988 * benchtests/bench-stpcpy-ifunc.c: New file.
3989 * benchtests/bench-stpcpy.c: New file.
3990 * benchtests/bench-stpncpy-ifunc.c: New file.
3991 * benchtests/bench-stpncpy.c: New file.
3992 * benchtests/bench-strcasecmp-ifunc.c: New file.
3993 * benchtests/bench-strcasecmp.c: New file.
3994 * benchtests/bench-strcasestr-ifunc.c: New file.
3995 * benchtests/bench-strcasestr.c: New file.
3996 * benchtests/bench-strcat-ifunc.c: New file.
3997 * benchtests/bench-strcat.c: New file.
3998 * benchtests/bench-strchr-ifunc.c: New file.
3999 * benchtests/bench-strchr.c: New file.
4000 * benchtests/bench-strchrnul-ifunc.c: New file.
4001 * benchtests/bench-strchrnul.c: New file.
4002 * benchtests/bench-strcmp-ifunc.c: New file.
4003 * benchtests/bench-strcmp.c: New file.
4004 * benchtests/bench-strcpy-ifunc.c: New file.
4005 * benchtests/bench-strcpy.c: New file.
4006 * benchtests/bench-strcspn-ifunc.c: New file.
4007 * benchtests/bench-strcspn.c: New file.
4008 * benchtests/bench-strlen-ifunc.c: New file.
4009 * benchtests/bench-strlen.c: New file.
4010 * benchtests/bench-strncasecmp-ifunc.c: New file.
4011 * benchtests/bench-strncasecmp.c: New file.
4012 * benchtests/bench-strncat-ifunc.c: New file.
4013 * benchtests/bench-strncat.c: New file.
4014 * benchtests/bench-strncmp-ifunc.c: New file.
4015 * benchtests/bench-strncmp.c: New file.
4016 * benchtests/bench-strncpy-ifunc.c: New file.
4017 * benchtests/bench-strncpy.c: New file.
4018 * benchtests/bench-strnlen-ifunc.c: New file.
4019 * benchtests/bench-strnlen.c: New file.
4020 * benchtests/bench-strpbrk-ifunc.c: New file.
4021 * benchtests/bench-strpbrk.c: New file.
4022 * benchtests/bench-strrchr-ifunc.c: New file.
4023 * benchtests/bench-strrchr.c: New file.
4024 * benchtests/bench-strspn-ifunc.c: New file.
4025 * benchtests/bench-strspn.c: New file.
4026 * benchtests/bench-strstr-ifunc.c: New file.
4027 * benchtests/bench-strstr.c: New file.
4029 * benchtests/Makefile: Disable parallel execution of targets.
4030 (string-bench): Add memcpy.
4031 (benchset): New variable to store a list of benchmark sets.
4032 (bench-func): Renamed from bench.
4033 (bench-set): New target.
4034 (bench): Depend on bench-func and bench-set.
4035 * benchtests/README: Add section on benchmark sets.
4036 * benchtests/bench-memcpy-ifunc.c: New file.
4037 * benchtests/bench-memcpy.c: New file.
4038 * benchtests/bench-string.h: New file.
4040 2013-06-11 Andreas Schwab <schwab@suse.de>
4043 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4044 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4045 values in the triple.
4046 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4047 terminator in the group key.
4049 2013-06-11 Andreas Jaeger <aj@suse.de>
4051 * po/zh_TW.po: Update Chinese (traditional) translation from
4052 translation project.
4054 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4056 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4057 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4058 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4060 (clock_getcpuclockid): Likewise.
4061 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4062 Add weak_alias and libc_hidden_def.
4063 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4064 * rt/clock_gettime.c (clock_gettime): Rename to
4065 __clock_gettime. Add weak_alias and libc_hidden_def.
4066 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4067 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4068 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4069 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4070 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4072 * rt/clock_settime.c (clock_settime): Rename to
4073 __clock_settime. Add weak_alias and libc_hidden_def.
4074 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4076 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4078 * mach/err_boot.sub: Remove trailing whitespace.
4079 * mach/err_ipc.sub: Likewise.
4080 * mach/err_mach.sub: Likewise.
4082 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4083 (ROUNDING_TESTS_double): Likewise.
4084 (ROUNDING_TESTS_long_double): Likewise.
4085 (ROUNDING_TESTS): Likewise.
4086 * math/libm-test.inc: Include <math-tests.h>.
4087 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4088 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4089 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4090 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4092 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4094 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4097 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4099 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4100 otherwise empty TRANS lines.
4101 * sysdeps/gnu/errlist.c: Regenerated.
4103 * catgets/gencat.c (error_print): Use (void) in function
4105 * crypt/crypt_util.c (__init_des): Likewise.
4106 * crypt/speeds.c (Stop): Likewise.
4108 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4109 * inet/ruserpass.c (token): Likewise.
4110 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4111 * intl/localealias.c (extend_alias_table): Likewise.
4112 * intl/plural-exp.c (init_germanic_plural): Likewise.
4113 * libio/fcloseall.c (__fcloseall): Likewise.
4114 * libio/genops.c (_IO_flush_all): Likewise.
4115 (_IO_flush_all_linebuffered): Likewise.
4116 (_IO_cleanup): Likewise.
4117 (_IO_iter_begin): Likewise.
4118 (_IO_iter_end): Likewise.
4119 (_IO_list_lock): Likewise.
4120 (_IO_list_unlock): Likewise.
4121 (_IO_list_resetlock): Likewise.
4122 * libio/getchar.c (getchar): Likewise.
4123 * libio/getchar_u.c (getchar_unlocked): Likewise.
4124 * libio/getwchar.c (getwchar): Likewise.
4125 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4126 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4127 * login/getpt.c (__getpt): Likewise.
4128 * login/tst-utmp.c (main): Likewise.
4129 * malloc/hooks.c (__malloc_check_init): Likewise.
4130 * malloc/malloc.c (__malloc_stats): Likewise.
4131 * malloc/mtrace.c (tr_break): Likewise.
4133 (muntrace): Likewise.
4134 * misc/fstab.c (endfsent): Likewise.
4135 * misc/getclktck.c (__getclktck): Likewise.
4136 * misc/getdtsz.c (__getdtablesize): Likewise.
4137 * misc/gethostid.c (gethostid): Likewise.
4138 * misc/getpagesize.c (__getpagesize): Likewise.
4139 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4140 (__get_nprocs): Likewise.
4141 (__get_phys_pages): Likewise.
4142 (__get_avphys_pages): Likewise.
4143 * misc/getttyent.c (getttyent): Likewise.
4144 (setttyent): Likewise.
4145 (endttyent): Likewise.
4146 * misc/getusershell.c (getusershell): Likewise.
4147 (endusershell): Likewise.
4148 (setusershell): Likewise.
4149 (initshells): Likewise.
4150 * misc/hsearch.c (__hdestroy): Likewise.
4151 * misc/sync.c (sync): Likewise.
4152 * misc/syslog.c (closelog_internal): Likewise.
4153 (closelog): Likewise.
4154 * misc/ttyslot.c (ttyslot): Likewise.
4155 * misc/vhangup.c (vhangup): Likewise.
4156 * posix/fork.c (__fork): Likewise.
4157 * posix/getegid.c (__getegid): Likewise.
4158 * posix/geteuid.c (__geteuid): Likewise.
4159 * posix/getgid.c (__getgid): Likewise.
4160 * posix/getpid.c (__getpid): Likewise.
4161 * posix/getppid.c (__getppid): Likewise.
4162 * posix/getuid.c (__getuid): Likewise.
4163 * posix/pause.c (pause): Likewise.
4164 * posix/setpgrp.c (setpgrp): Likewise.
4165 * posix/setsid.c (__setsid): Likewise.
4166 * posix/test-vfork.c (noop): Likewise.
4167 * resolv/gethnamaddr.c (_endhtent): Likewise.
4168 (_gethtent): Likewise.
4169 (ht_endhostent): Likewise.
4170 (gethostent): Likewise.
4171 (dns_service): Likewise.
4172 * stdlib/drand48.c (drand48): Likewise.
4173 * stdlib/lrand48.c (lrand48): Likewise.
4174 * stdlib/mrand48.c (mrand48): Likewise.
4175 * stdlib/rand.c (rand): Likewise.
4176 * stdlib/random.c (__random): Likewise.
4177 * stdlib/setenv.c (clearenv): Likewise.
4178 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4179 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4180 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4181 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4182 (__get_nprocs): Likewise.
4183 (__get_phys_pages): Likewise.
4184 (__get_avphys_pages): Likewise.
4185 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4186 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4187 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4188 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4189 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4190 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4191 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4192 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4193 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4194 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4195 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4196 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4197 * sysdeps/posix/clock.c (clock): Likewise.
4198 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4199 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4200 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4201 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4202 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4204 (__get_nprocs_conf): Likewise.
4205 (__get_phys_pages): Likewise.
4206 (__get_avphys_pages): Likewise.
4207 * time/clock.c (clock): Likewise.
4208 * time/tzset.c (__tzname_max): Likewise.
4210 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4212 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4213 (__bswap_32): Do not use "register".
4214 * crypt/crypt.c (_ufc_doit_r): Likewise.
4215 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4216 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4217 * gmon/gmon.c (__monstartup): Likewise.
4218 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4219 * hurd/hurdmalloc.c (more_memory): Likewise.
4222 (realloc): Likewise.
4223 (malloc_fork_prepare): Likewise.
4224 (malloc_fork_parent): Likewise.
4225 (malloc_fork_child): Likewise.
4226 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4227 (_svcauth_des): Likewise.
4228 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4229 * inet/inet_net.c (inet_network): Likewise.
4230 * inet/inet_netof.c (inet_netof): Likewise.
4231 * inet/rcmd.c (__validuser2_sa): Likewise.
4232 * io/fts.c (fts_open): Likewise.
4233 (fts_load): Likewise.
4234 (fts_close): Likewise.
4235 (fts_read): Likewise.
4236 (fts_children): Likewise.
4237 (fts_build): Likewise.
4238 (fts_stat): Likewise.
4239 (fts_sort): Likewise.
4240 (fts_alloc): Likewise.
4241 (fts_lfree): Likewise.
4242 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4243 (_IO_file_xsgetn): Likewise.
4244 (_IO_file_xsgetn_mmap): Likewise.
4245 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4246 (_IO_cookie_write): Likewise.
4247 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4248 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4249 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4250 * malloc/obstack.c (_obstack_begin): Likewise.
4251 (_obstack_begin_1): Likewise.
4252 (_obstack_newchunk): Likewise.
4253 (_obstack_allocated_p): Likewise.
4254 (obstack_free): Likewise.
4255 (_obstack_memory_used): Likewise.
4256 * misc/getttyent.c (getttynam): Likewise.
4257 (getttyent): Likewise.
4260 * misc/getusershell.c (initshells): Likewise.
4261 * misc/syslog.c (__vsyslog_chk): Likewise.
4262 * misc/ttyslot.c (ttyslot): Likewise.
4263 * nis/nis_hash.c (__nis_hash): Likewise.
4264 * posix/fnmatch_loop.c (FCT): Likewise.
4265 * posix/getconf.c (print_all): Likewise.
4267 * posix/getopt.c (exchange): Likewise.
4268 * posix/glob.c (globfree): Likewise.
4269 (prefix_array): Likewise.
4270 (__glob_pattern_type): Likewise.
4271 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4272 (NS_GET32): Likewise.
4273 (NS_PUT16): Likewise.
4274 (NS_PUT32): Likewise.
4275 * resolv/gethnamaddr.c (getanswer): Likewise.
4276 (gethostbyname2): Likewise.
4277 (gethostbyaddr): Likewise.
4278 (_gethtent): Likewise.
4279 (_gethtbyname2): Likewise.
4280 (_gethtbyaddr): Likewise.
4281 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4282 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4283 * resolv/res_init.c (__res_vinit): Likewise.
4284 (net_mask): Likewise.
4285 * resolv/res_mkquery.c (outchar): Likewise.
4287 * stdio-common/printf_fp.c (outchar): Likewise.
4289 * stdio-common/printf_fphex.c (outchar): Likewise.
4291 * stdio-common/printf_size.c (outchar): Likewise.
4293 * stdio-common/test_rdwr.c (main): Likewise.
4294 * stdio-common/tfformat.c (matches): Likewise.
4295 * stdio-common/vfprintf.c (outchar): Likewise.
4296 (printf_unknown): Likewise.
4297 (buffered_vfprintf): Likewise.
4298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4299 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4300 (ReadFile): Likewise.
4301 * stdlib/qsort.c (SWAP): Likewise.
4302 (_quicksort): Likewise.
4303 * stdlib/setenv.c (__add_to_environ): Likewise.
4304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4305 * stdlib/strtol_l.c (__strtol_l): Likewise.
4306 * stdlib/tst-strtod.c (main): Likewise.
4307 * stdlib/tst-strtol.c (main): Likewise.
4308 * stdlib/tst-strtoll.c (main): Likewise.
4309 * string/bits/string2.h (__strcmp_cc): Likewise.
4310 (__strcmp_cg): Likewise.
4311 (__strcspn_c1): Likewise.
4312 (__strcspn_c2): Likewise.
4313 (__strcspn_c3): Likewise.
4314 (__strspn_c1): Likewise.
4315 (__strspn_c2): Likewise.
4316 (__strspn_c3): Likewise.
4317 (__strsep_1c): Likewise.
4318 (__strsep_2c): Likewise.
4319 (__strsep_3c): Likewise.
4320 * string/memccpy.c (__memccpy): Likewise.
4321 * string/stpcpy.c (__stpcpy): Likewise.
4322 * string/strcmp.c (strcmp): Likewise.
4323 * string/strrchr.c (strrchr): Likewise.
4324 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4326 * sysdeps/mach/hurd/getcwd.c
4327 (_hurd_canonicalize_directory_name_internal): Likewise.
4328 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4329 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4330 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4331 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4332 Likewise, in both definitions.
4333 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4335 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4336 64] (__bswap_64): Likewise.
4337 * time/test_time.c (main): Likewise.
4338 * time/tzfile.c (__tzfile_read): Likewise.
4339 (__tzfile_compute): Likewise.
4340 * time/tzset.c (__tzset_parse_tz): Likewise.
4341 (tzset_internal): Likewise.
4342 (compute_change): Likewise.
4343 * wcsmbs/wcscat.c (__wcscat): Likewise.
4344 * wcsmbs/wcschr.c (wcschr): Likewise.
4345 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4346 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4347 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4348 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4349 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4350 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4351 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4352 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4353 * wcsmbs/wmemset.c (wmemset): Likewise.
4355 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4357 * scripts/config.guess: Update to version 2013-05-16.
4358 * scripts/config.sub: Update to version 2013-04-24.
4359 * scripts/install-sh: Update to version 2011-11-20.07.
4360 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4361 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4363 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4365 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4366 * elf/sln.c: Likewise.
4367 * hurd/hurd/ioctl.h: Likewise.
4368 * hurd/hurdmalloc.c: Likewise.
4369 * hurd/xattr.c: Likewise.
4370 * include/shlib-compat.h: Likewise.
4371 * inet/ruserpass.c: Likewise.
4372 * libio/iofgets_u.c: Likewise.
4373 * libio/iofgetws_u.c: Likewise.
4374 * locale/programs/ld-identification.c: Likewise.
4375 * locale/programs/ld-time.c: Likewise.
4376 * mach/msg-destroy.c: Likewise.
4377 * nss/nss_files/files-netgrp.c: Likewise.
4378 * resolv/res_data.c: Likewise.
4379 * soft-fp/op-1.h: Likewise.
4380 * soft-fp/op-2.h: Likewise.
4381 * soft-fp/op-4.h: Likewise.
4382 * soft-fp/op-common.h: Likewise.
4383 * stdio-common/printf_fphex.c: Likewise.
4384 * stdlib/strtod_l.c: Likewise.
4385 * sunrpc/rpc/clnt.h: Likewise.
4386 * sysdeps/generic/framestate.c: Likewise.
4387 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4388 * sysdeps/i386/bsd-setjmp.S: Likewise.
4389 * sysdeps/i386/__longjmp.S: Likewise.
4390 * sysdeps/i386/setjmp.S: Likewise.
4391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4392 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4409 * sysdeps/ieee754/support.c: Likewise.
4410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4411 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4412 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4413 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4414 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4415 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4416 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4417 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4418 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4419 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4420 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4421 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4423 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4424 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4425 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4429 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4431 * posix/transbug.c: Remove executable mode.
4433 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4435 * crypt/speeds.c: Remove trailing whitespace.
4436 * dlfcn/default.c: Likewise.
4437 * elf/ifuncdep2.c: Likewise.
4438 * elf/ifuncmain1.c: Likewise.
4439 * elf/ifuncmain1vis.c: Likewise.
4440 * elf/testobj.h: Likewise.
4441 * elf/tst-stackguard1.c: Likewise.
4442 * gmon/sys/gmon.h: Likewise.
4443 * hurd/hurdmsg.c: Likewise.
4444 * hurd/new-fd.c: Likewise.
4445 * hurd/ports-get.c: Likewise.
4446 * iconvdata/ibm1008_420.c: Likewise.
4447 * inet/tst-getni1.c: Likewise.
4448 * inet/tst-getni2.c: Likewise.
4449 * libio/ioungetc.c: Likewise.
4450 * libio/wfiledoalloc.c: Likewise.
4451 * manual/libm-err-tab.pl: Likewise.
4452 * math/w_dremf.c: Likewise.
4453 * misc/ftruncate.c: Likewise.
4454 * posix/bug-glob2.c: Likewise.
4455 * posix/tst-pcre.c: Likewise.
4456 * posix/wait4.c: Likewise.
4457 * resolv/README: Likewise.
4458 * resolv/res_debug.h: Likewise.
4459 * resolv/tst-inet_ntop.c: Likewise.
4460 * setjmp/bug269-setjmp.c: Likewise.
4461 * soft-fp/extended.h: Likewise.
4462 * soft-fp/op-1.h: Likewise.
4463 * soft-fp/op-2.h: Likewise.
4464 * soft-fp/op-4.h: Likewise.
4465 * soft-fp/op-8.h: Likewise.
4466 * soft-fp/testit.c: Likewise.
4467 * stdio-common/bug16.c: Likewise.
4468 * stdlib/random.c: Likewise.
4469 * sunrpc/rpcsvc/rquota.x: Likewise.
4470 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4474 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4476 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4479 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4480 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4499 * sysdeps/ieee754/s_lib_version.c: Likewise.
4500 * sysdeps/mach/hurd/check_fds.c: Likewise.
4501 * sysdeps/mach/hurd/getsockname.c: Likewise.
4502 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4503 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4504 * sysdeps/powerpc/bits/link.h: Likewise.
4505 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4506 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4507 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4508 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4509 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4510 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4511 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4513 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4514 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4515 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4517 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4518 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4519 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4526 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4528 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4529 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4539 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4540 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4541 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4542 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4543 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4545 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4546 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4547 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4548 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4549 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4550 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4551 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4552 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4553 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4554 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4559 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4560 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4561 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4564 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4565 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4566 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4567 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4569 * sysdeps/powerpc/sysdep.h: Likewise.
4570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4571 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4572 * sysdeps/sh/dl-trampoline.S: Likewise.
4573 * sysdeps/sh/memset.S: Likewise.
4574 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4575 * sysdeps/sh/strlen.S: Likewise.
4576 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4577 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4578 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4579 * sysdeps/sparc/sparc32/rem.S: Likewise.
4580 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4581 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4582 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4583 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4584 * sysdeps/sparc/sparc32/urem.S: Likewise.
4585 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4586 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4587 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4588 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4590 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4591 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4592 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4593 * sysdeps/unix/bsd/times.c: Likewise.
4594 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4595 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4600 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4601 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4603 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4604 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4605 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4606 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4608 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4609 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4610 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4611 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4612 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4613 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4614 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4615 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4618 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4619 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4620 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4622 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4623 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4624 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4625 * sysdeps/x86_64/strcspn.S: Likewise.
4627 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4629 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4630 generated file. Regenerate properly from gen-translit.pl.
4631 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4632 locale/C-translit.h.
4634 2013-06-05 Andreas Schwab <schwab@suse.de>
4637 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4638 week as 6 instead of -1.
4639 * time/tst-strptime.c (day_tests): Add test case.
4641 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4643 * sysdeps/generic/math_private.h
4644 (libc_feholdexcept_setround_53bit): Replace with
4645 libc_feholdsetround_53bit.
4646 (libc_feupdateenv_53bit): Replace with
4647 libc_feresetround_53bit.
4648 (SET_RESTORE_ROUND_53BIT): Adjust.
4650 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4652 * string/test-strchrnul.c: Add copyright header.
4654 * posix/tst-getaddrinfo4.c: Increase test timeout.
4656 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4659 * math/libm-test.inc (MAX_EXP): Remove
4661 (ulp): Use MIN_EXP - MANT_DIG.
4662 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4664 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4666 * po/be.po: Revert last change.
4667 * po/zh_CN.po: Likewise.
4668 * po/header.pot: Likewise.
4670 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4672 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4673 link-libc-deps to empty as target-specific variable.
4674 * Makerules (link-libc-args): New variable.
4675 (libc-for-link): Likewise.
4676 (link-libc-deps): Likewise.
4677 (lib%.so): Depend on $(link-libc-deps). Link with
4679 (build-module): Link with $(link-libc-args).
4680 (build-module-asneeded): Likewise.
4681 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4683 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4684 target-specific variable.
4685 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4686 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4687 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4689 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4691 ($(objpfx)libpcprofile.so): Likewise.
4692 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4694 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4695 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4698 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4699 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4700 * login/Makefile ($(objpfx)libutil.so): Likewise.
4701 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4702 * math/Makefile ($(objpfx)libm.so): Likewise.
4703 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4704 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4705 variable instead of depending directly on libc.
4706 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4707 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4709 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4711 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4712 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4713 ($(objpfx)libanl.so): Likewise.
4714 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4716 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4718 * sysdeps/i386/fpu/Makefile: Remove file.
4719 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4720 ($(objpfx)libm.so): Remove dependency on ld.so.
4722 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4725 * nis/yp_xdr.c (XDRMAXNAME): Define.
4726 (XDRMAXRECORD): Define.
4727 (xdr_domainname): Use XDRMAXNAME.
4728 (xdr_mapname): Likewise.
4729 (xdr_peername): Likewise.
4730 (xdr_keydat): Use XDRMAXRECORD.
4731 (xdr_valdat): Likewise.
4733 2013-05-30 Jeff Law <law@redhat.com>
4736 * manual/errno.texi (ESTALE): Update to account for more than
4737 just NFS file systems.
4738 * sysdeps/gnu/errlist.c: Regenerated.
4740 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 * elf/Makefile (tests): Add tst-null-argv.
4744 (modules-names): Add tst-null-argv-lib.
4745 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4746 (tst-null-argv-ENV): Set environment for tst-null-argv.
4747 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4748 (RTLD_PROGNAME): New macro.
4749 * elf/tst-null-argv.c: New test case.
4750 * elf/tst-null-argv-lib.c: Library for test case.
4751 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4752 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4753 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4754 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4755 * elf/dl-init.c (call_init): Likewise.
4756 (_dl_init): Likewise.
4757 * elf/dl-load.c (print_search_path): Likewise.
4758 (_dl_map_object): Likewise.
4759 * elf/dl-lookup.c (do_lookup_x): Likewise.
4760 (add_dependency): Likewise.
4761 (_dl_lookup_symbol_x): Likewise.
4762 (_dl_debug_bindings): Likewise.
4763 * elf/dl-open.c (_dl_show_scope): Likewise.
4764 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4765 * elf/dl-version.c (match_symbol): Likewise.
4766 (_dl_check_map_versions): Likewise.
4767 * elf/rtld.c (dl_main): Likewise.
4768 (print_unresolved): Use RTLD_PROGNAME.
4769 (print_missing_version): Likewise.
4770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4771 (elf_machine_rela): Likewise.
4772 * sysdeps/powerpc/powerpc32/dl-machine.c
4773 (__process_machine_rela): Likewise.
4774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4787 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4789 * po/be.po: Add descriptive title.
4790 * po/zh_CN.po: Likewise.
4791 * po/header.pot: Likewise.
4793 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4795 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4797 (enlarge_archive): Likewise.
4799 2013-05-28 Ben North <ben@redfrontdoor.org>
4801 * manual/arith.texi (frexp): It is the magnitude of the return
4802 value which lies in [0.5, 1), not the return value itself.
4804 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4808 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4810 * stdio-common/bug26.c (main): Correct fscanf template.
4812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4813 declare _dl_skip_args.
4815 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4818 * manual/platform.texi: Add missing @end deftypefun.
4820 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4823 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4824 bit of mantissa of 2^16382.
4825 * math/libm-test.inc (hypot_test_data): Add more tests.
4827 * math/libm-test.inc: Add drem and pow10 to list of tested
4829 (pow10_test): New function.
4830 (drem_test): Likewise.
4831 (drem_test_tonearest): Likewise.
4832 (drem_test_towardzero): Likewise.
4833 (drem_test_downward): Likewise.
4834 (drem_test_upward): Likewise.
4835 (main): Call the new functions.
4837 * math/libm-test.inc (finite_test_data): Remove.
4838 (finite_test): Run tests from isfinite_test_data.
4839 (gamma_test_data): Remove.
4840 (gamma_test): Run tests from lgamma_test_data.
4841 * sysdeps/i386/fpu/libm-test-ulps: Update.
4842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4844 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846 * manual/platform.texi: Add PowerPC PPR function set documentation.
4847 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4850 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4852 * math/libm-test.inc (MAX_EXP): Define.
4854 (ulp): New function.
4855 (check_float_internal): Use ULPDIFF.
4856 (cpow_test): Disable failing test.
4857 (check_ulp): Test ulp() implemetnation.
4858 (main): Call check_ulp before starting tests.
4860 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4862 * math/gen-libm-test.pl (generate_testfile): Do not handle
4863 START_DATA and END_DATA.
4864 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4866 (acos_tonearest_test_data): Likewise.
4867 (acos_towardzero_test_data): Likewise.
4868 (acos_downward_test_data): Likewise.
4869 (acos_upward_test_data): Likewise.
4870 (acosh_test_data): Likewise.
4871 (asin_test_data): Likewise.
4872 (asin_tonearest_test_data): Likewise.
4873 (asin_towardzero_test_data): Likewise.
4874 (asin_downward_test_data): Likewise.
4875 (asin_upward_test_data): Likewise.
4876 (asinh_test_data): Likewise.
4877 (atan_test_data): Likewise.
4878 (atanh_test_data): Likewise.
4879 (atan2_test_data): Likewise.
4880 (cabs_test_data): Likewise.
4881 (cacos_test_data): Likewise.
4882 (cacosh_test_data): Likewise.
4883 (carg_test_data): Likewise.
4884 (casin_test_data): Likewise.
4885 (casinh_test_data): Likewise.
4886 (catan_test_data): Likewise.
4887 (catanh_test_data): Likewise.
4888 (cbrt_test_data): Likewise.
4889 (ccos_test_data): Likewise.
4890 (ccosh_test_data): Likewise.
4891 (ceil_test_data): Likewise.
4892 (cexp_test_data): Likewise.
4893 (cimag_test_data): Likewise.
4894 (clog_test_data): Likewise.
4895 (clog10_test_data): Likewise.
4896 (conj_test_data): Likewise.
4897 (copysign_test_data): Likewise.
4898 (cos_test_data): Likewise.
4899 (cos_tonearest_test_data): Likewise.
4900 (cos_towardzero_test_data): Likewise.
4901 (cos_downward_test_data): Likewise.
4902 (cos_upward_test_data): Likewise.
4903 (cosh_test_data): Likewise.
4904 (cosh_tonearest_test_data): Likewise.
4905 (cosh_towardzero_test_data): Likewise.
4906 (cosh_downward_test_data): Likewise.
4907 (cosh_upward_test_data): Likewise.
4908 (cpow_test_data): Likewise.
4909 (cproj_test_data): Likewise.
4910 (creal_test_data): Likewise.
4911 (csin_test_data): Likewise.
4912 (csinh_test_data): Likewise.
4913 (csqrt_test_data): Likewise.
4914 (ctan_test_data): Likewise.
4915 (ctan_tonearest_test_data): Likewise.
4916 (ctan_towardzero_test_data): Likewise.
4917 (ctan_downward_test_data): Likewise.
4918 (ctan_upward_test_data): Likewise.
4919 (ctanh_test_data): Likewise.
4920 (ctanh_tonearest_test_data): Likewise.
4921 (ctanh_towardzero_test_data): Likewise.
4922 (ctanh_downward_test_data): Likewise.
4923 (ctanh_upward_test_data): Likewise.
4924 (erf_test_data): Likewise.
4925 (erfc_test_data): Likewise.
4926 (exp_test_data): Likewise.
4927 (exp_tonearest_test_data): Likewise.
4928 (exp_towardzero_test_data): Likewise.
4929 (exp_downward_test_data): Likewise.
4930 (exp_upward_test_data): Likewise.
4931 (exp10_test_data): Likewise.
4932 (exp2_test_data): Likewise.
4933 (expm1_test_data): Likewise.
4934 (fabs_test_data): Likewise.
4935 (fdim_test_data): Likewise.
4936 (finite_test_data): Likewise.
4937 (floor_test_data): Likewise.
4938 (fma_test_data): Likewise.
4939 (fma_towardzero_test_data): Likewise.
4940 (fma_downward_test_data): Likewise.
4941 (fma_upward_test_data): Likewise.
4942 (fmax_test_data): Likewise.
4943 (fmin_test_data): Likewise.
4944 (fmod_test_data): Likewise.
4945 (fpclassify_test_data): Likewise.
4946 (frexp_test_data): Likewise.
4947 (gamma_test_data): Likewise.
4948 (hypot_test_data): Likewise.
4949 (ilogb_test_data): Likewise.
4950 (isfinite_test_data): Likewise.
4951 (isgreater_test_data): Likewise.
4952 (isgreaterequal_test_data): Likewise.
4953 (isinf_test_data): Likewise.
4954 (isless_test_data): Likewise.
4955 (islessequal_test_data): Likewise.
4956 (islessgreater_test_data): Likewise.
4957 (isnan_test_data): Likewise.
4958 (isnormal_test_data): Likewise.
4959 (issignaling_test_data): Likewise.
4960 (isunordered_test_data): Likewise.
4961 (j0_test_data): Likewise.
4962 (j1_test_data): Likewise.
4963 (jn_test_data): Likewise.
4964 (ldexp_test_data): Likewise.
4965 (lgamma_test_data): Likewise.
4966 (lrint_test_data): Likewise.
4967 (lrint_tonearest_test_data): Likewise.
4968 (lrint_towardzero_test_data): Likewise.
4969 (lrint_downward_test_data): Likewise.
4970 (lrint_upward_test_data): Likewise.
4971 (llrint_test_data): Likewise.
4972 (llrint_tonearest_test_data): Likewise.
4973 (llrint_towardzero_test_data): Likewise.
4974 (llrint_downward_test_data): Likewise.
4975 (llrint_upward_test_data): Likewise.
4976 (log_test_data): Likewise.
4977 (log10_test_data): Likewise.
4978 (log1p_test_data): Likewise.
4979 (log2_test_data): Likewise.
4980 (logb_test_data): Likewise.
4981 (logb_downward_test_data): Likewise.
4982 (lround_test_data): Likewise.
4983 (llround_test_data): Likewise.
4984 (modf_test_data): Likewise.
4985 (nearbyint_test_data): Likewise.
4986 (nextafter_test_data): Likewise.
4987 (nexttoward_test_data): Likewise.
4988 (pow_test_data): Likewise.
4989 (pow_tonearest_test_data): Likewise.
4990 (pow_towardzero_test_data): Likewise.
4991 (pow_downward_test_data): Likewise.
4992 (pow_upward_test_data): Likewise.
4993 (remainder_test_data): Likewise.
4994 (remainder_tonearest_test_data): Likewise.
4995 (remainder_towardzero_test_data): Likewise.
4996 (remainder_downward_test_data): Likewise.
4997 (remainder_upward_test_data): Likewise.
4998 (remquo_test_data): Likewise.
4999 (rint_test_data): Likewise.
5000 (rint_tonearest_test_data): Likewise.
5001 (rint_towardzero_test_data): Likewise.
5002 (rint_downward_test_data): Likewise.
5003 (rint_upward_test_data): Likewise.
5004 (round_test_data): Likewise.
5005 (scalb_test_data): Likewise.
5006 (scalbn_test_data): Likewise.
5007 (scalbln_test_data): Likewise.
5008 (signbit_test_data): Likewise.
5009 (sin_test_data): Likewise.
5010 (sin_tonearest_test_data): Likewise.
5011 (sin_towardzero_test_data): Likewise.
5012 (sin_downward_test_data): Likewise.
5013 (sin_upward_test_data): Likewise.
5014 (sincos_test_data): Likewise.
5015 (sinh_test_data): Likewise.
5016 (sinh_tonearest_test_data): Likewise.
5017 (sinh_towardzero_test_data): Likewise.
5018 (sinh_downward_test_data): Likewise.
5019 (sinh_upward_test_data): Likewise.
5020 (sqrt_test_data): Likewise.
5021 (tan_test_data): Likewise.
5022 (tan_tonearest_test_data): Likewise.
5023 (tan_towardzero_test_data): Likewise.
5024 (tan_downward_test_data): Likewise.
5025 (tan_upward_test_data): Likewise.
5026 (tanh_test_data): Likewise.
5027 (tgamma_test_data): Likewise.
5028 (trunc_test_data): Likewise.
5029 (y0_test_data): Likewise.
5030 (y1_test_data): Likewise.
5031 (yn_test_data): Likewise.
5032 (significand_test_data): Likewise.
5034 * math/gen-libm-test.pl (@functions): Remove variable.
5035 (generate_testfile): Don't handle START and END lines.
5036 * math/libm-test.inc (START): New macro.
5038 (END_COMPLEX): Likewise.
5039 (acos_test): Use END macro without arguments.
5040 (acos_test_tonearest): Likewise.
5041 (acos_test_towardzero): Likewise.
5042 (acos_test_downward): Likewise.
5043 (acos_test_upward): Likewise.
5044 (acosh_test): Likewise.
5045 (asin_test): Likewise.
5046 (asin_test_tonearest): Likewise.
5047 (asin_test_towardzero): Likewise.
5048 (asin_test_downward): Likewise.
5049 (asin_test_upward): Likewise.
5050 (asinh_test): Likewise.
5051 (atan_test): Likewise.
5052 (atanh_test): Likewise.
5053 (atan2_test): Likewise.
5054 (cabs_test): Likewise.
5055 (cacos_test): Use END_COMPLEX macro without arguments.
5056 (cacosh_test): Likewise.
5057 (carg_test): Use END macro without arguments.
5058 (casin_test): Use END_COMPLEX macro without arguments.
5059 (casinh_test): Likewise.
5060 (catan_test): Likewise.
5061 (catanh_test): Likewise.
5062 (cbrt_test): Use END macro without arguments.
5063 (ccos_test): Use END_COMPLEX macro without arguments.
5064 (ccosh_test): Likewise.
5065 (ceil_test): Use END macro without arguments.
5066 (cexp_test): Use END_COMPLEX macro without arguments.
5067 (cimag_test): Use END macro without arguments.
5068 (clog_test): Use END_COMPLEX macro without arguments.
5069 (clog10_test): Likewise.
5070 (conj_test): Likewise.
5071 (copysign_test): Use END macro without arguments.
5072 (cos_test): Likewise.
5073 (cos_test_tonearest): Likewise.
5074 (cos_test_towardzero): Likewise.
5075 (cos_test_downward): Likewise.
5076 (cos_test_upward): Likewise.
5077 (cosh_test): Likewise.
5078 (cosh_test_tonearest): Likewise.
5079 (cosh_test_towardzero): Likewise.
5080 (cosh_test_downward): Likewise.
5081 (cosh_test_upward): Likewise.
5082 (cpow_test): Use END_COMPLEX macro without arguments.
5083 (cproj_test): Likewise.
5084 (creal_test): Use END macro without arguments.
5085 (csin_test): Use END_COMPLEX macro without arguments.
5086 (csinh_test): Likewise.
5087 (csqrt_test): Likewise.
5088 (ctan_test): Likewise.
5089 (ctan_test_tonearest): Likewise.
5090 (ctan_test_towardzero): Likewise.
5091 (ctan_test_downward): Likewise.
5092 (ctan_test_upward): Likewise.
5093 (ctanh_test): Likewise.
5094 (ctanh_test_tonearest): Likewise.
5095 (ctanh_test_towardzero): Likewise.
5096 (ctanh_test_downward): Likewise.
5097 (ctanh_test_upward): Likewise.
5098 (erf_test): Use END macro without arguments.
5099 (erfc_test): Likewise.
5100 (exp_test): Likewise.
5101 (exp_test_tonearest): Likewise.
5102 (exp_test_towardzero): Likewise.
5103 (exp_test_downward): Likewise.
5104 (exp_test_upward): Likewise.
5105 (exp10_test): Likewise.
5106 (exp2_test): Likewise.
5107 (expm1_test): Likewise.
5108 (fabs_test): Likewise.
5109 (fdim_test): Likewise.
5110 (finite_test): Likewise.
5111 (floor_test): Likewise.
5112 (fma_test): Likewise.
5113 (fma_test_towardzero): Likewise.
5114 (fma_test_downward): Likewise.
5115 (fma_test_upward): Likewise.
5116 (fmax_test): Likewise.
5117 (fmin_test): Likewise.
5118 (fmod_test): Likewise.
5119 (fpclassify_test): Likewise.
5120 (frexp_test): Likewise.
5121 (gamma_test): Likewise.
5122 (hypot_test): Likewise.
5123 (ilogb_test): Likewise.
5124 (isfinite_test): Likewise.
5125 (isgreater_test): Likewise.
5126 (isgreaterequal_test): Likewise.
5127 (isinf_test): Likewise.
5128 (isless_test): Likewise.
5129 (islessequal_test): Likewise.
5130 (islessgreater_test): Likewise.
5131 (isnan_test): Likewise.
5132 (isnormal_test): Likewise.
5133 (issignaling_test): Likewise.
5134 (isunordered_test): Likewise.
5135 (j0_test): Likewise.
5136 (j1_test): Likewise.
5137 (jn_test): Likewise.
5138 (ldexp_test): Likewise.
5139 (lgamma_test): Likewise.
5140 (lrint_test): Likewise.
5141 (lrint_test_tonearest): Likewise.
5142 (lrint_test_towardzero): Likewise.
5143 (lrint_test_downward): Likewise.
5144 (lrint_test_upward): Likewise.
5145 (llrint_test): Likewise.
5146 (llrint_test_tonearest): Likewise.
5147 (llrint_test_towardzero): Likewise.
5148 (llrint_test_downward): Likewise.
5149 (llrint_test_upward): Likewise.
5150 (log_test): Likewise.
5151 (log10_test): Likewise.
5152 (log1p_test): Likewise.
5153 (log2_test): Likewise.
5154 (logb_test): Likewise.
5155 (logb_test_downward): Likewise.
5156 (lround_test): Likewise.
5157 (llround_test): Likewise.
5158 (modf_test): Likewise.
5159 (nearbyint_test): Likewise.
5160 (nextafter_test): Likewise.
5161 (nexttoward_test): Likewise.
5162 (pow_test): Likewise.
5163 (pow_test_tonearest): Likewise.
5164 (pow_test_towardzero): Likewise.
5165 (pow_test_downward): Likewise.
5166 (pow_test_upward): Likewise.
5167 (remainder_test): Likewise.
5168 (remainder_test_tonearest): Likewise.
5169 (remainder_test_towardzero): Likewise.
5170 (remainder_test_downward): Likewise.
5171 (remainder_test_upward): Likewise.
5172 (remquo_test): Likewise.
5173 (rint_test): Likewise.
5174 (rint_test_tonearest): Likewise.
5175 (rint_test_towardzero): Likewise.
5176 (rint_test_downward): Likewise.
5177 (rint_test_upward): Likewise.
5178 (round_test): Likewise.
5179 (scalb_test): Likewise.
5180 (scalbn_test): Likewise.
5181 (scalbln_test): Likewise.
5182 (signbit_test): Likewise.
5183 (sin_test): Likewise.
5184 (sin_test_tonearest): Likewise.
5185 (sin_test_towardzero): Likewise.
5186 (sin_test_downward): Likewise.
5187 (sin_test_upward): Likewise.
5188 (sincos_test): Likewise.
5189 (sinh_test): Likewise.
5190 (sinh_test_tonearest): Likewise.
5191 (sinh_test_towardzero): Likewise.
5192 (sinh_test_downward): Likewise.
5193 (sinh_test_upward): Likewise.
5194 (sqrt_test): Likewise.
5195 (tan_test): Likewise.
5196 (tan_test_tonearest): Likewise.
5197 (tan_test_towardzero): Likewise.
5198 (tan_test_downward): Likewise.
5199 (tan_test_upward): Likewise.
5200 (tanh_test): Likewise.
5201 (tgamma_test): Likewise.
5202 (trunc_test): Likewise.
5203 (y0_test): Likewise.
5204 (y1_test): Likewise.
5205 (yn_test): Likewise.
5206 (significand_test): Likewise.
5208 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5211 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5213 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5216 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5217 __ppc_mdoio and __ppc_mdoom.
5218 * manual/platform.texi: Document new functions __ppc_yield,
5219 __ppc_mdoio and __ppc_mdoom.
5221 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5223 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5224 (main): Mention "tls" pseudo-hwcap is legacy.
5225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5227 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5229 * math/gen-libm-test.pl (parse_args): Output only string of
5230 arguments as text for test name, not full call or descriptions of
5231 tests for extra outputs.
5232 (generate_testfile): Do not pass function name to parse_args.
5233 Generate this_func variable from START.
5234 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5236 (struct test_ff_f_data): Likewise.
5237 (test_ff_f_data_nexttoward): Likewise.
5238 (struct test_fi_f_data): Likewise.
5239 (struct test_fl_f_data): Likewise.
5240 (struct test_if_f_data): Likewise.
5241 (struct test_fff_f_data): Likewise.
5242 (struct test_c_f_data): Likewise.
5243 (struct test_f_f1_data): Likewise. Remove field extra_name.
5244 (struct test_fF_f1_data): Likewise.
5245 (struct test_ffI_f1_data): Likewise.
5246 (struct test_c_c_data): Rename test_name field to arg_str.
5247 (struct test_cc_c_data): Likewise.
5248 (struct test_f_i_data): Likewise.
5249 (struct test_ff_i_data): Likewise.
5250 (struct test_f_l_data): Likewise.
5251 (struct test_f_L_data): Likewise.
5252 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5254 (COMMON_TEST_SETUP): New macro.
5255 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5256 (COMMON_TEST_CLEANUP): Likewise.
5257 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5258 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5260 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5261 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5263 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5264 (RUN_TEST_fff_f): Take argument string. Call new setup and
5266 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5267 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5269 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5270 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5272 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5273 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5275 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5276 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5278 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5279 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5281 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5282 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5284 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5285 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5287 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5288 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5290 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5291 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5293 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5294 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5296 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5297 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5299 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5300 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5302 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5303 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5305 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5306 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5308 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5309 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5311 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5313 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5315 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5316 to _sifields.sigfault.
5317 (si_addr_lsb): Define new macro.
5318 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5322 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5325 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5327 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5329 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5332 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5334 * math/gen-libm-test.pl (parse_args): Do not include expected
5335 result in test name.
5336 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5339 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5343 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5345 * benchtests/Makefile: Sort function entries.
5347 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5348 tanh, asinh, acosh, atanh.
5349 * benchtests/acos-inputs: New file.
5350 * benchtests/acosh-inputs: New file.
5351 * benchtests/asin-inputs: New file.
5352 * benchtests/asinh-inputs: New file.
5353 * benchtests/atanh-inputs: New file.
5354 * benchtests/cosh-inputs: New file.
5355 * benchtests/log-inputs: New file.
5356 * benchtests/sinh-inputs: New file.
5357 * benchtests/tanh-inputs: New file.
5359 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5362 * posix/tst-getaddrinfo4.c: New test.
5363 * posix/Makefile (tests): Add it.
5365 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5368 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5369 when no services were used.
5370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5371 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5373 2013-05-21 Andreas Schwab <schwab@suse.de>
5376 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5377 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5379 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5380 redundant variable declarations and reallocation of buffer when
5381 parsing as IPv6 address. Always set NSS status when called from
5382 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5383 buffer too small. Correct computation of needed size.
5384 * nss/Makefile (tests): Add test-digits-dots.
5385 * nss/test-digits-dots.c: New test.
5387 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5389 * benchtests/Makefile: Remove instructions for adding
5391 * benchtests/README: New file to explain how to execute and
5392 enhance the benchmark tests.
5394 2013-05-21 Andreas Schwab <schwab@suse.de>
5397 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5398 * setjmp/tst-sigsetjmp.c: New test.
5400 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5402 * sysdeps/x86_64/memset.S (memset): New implementation.
5403 (__bzero): Likewise.
5404 (__memset_tail): New function.
5406 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5408 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5409 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5410 __memcpy_sse2_unaligned ifunc selection.
5411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5412 Add memcpy-sse2-unaligned.S.
5413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5414 Add: __memcpy_sse2_unaligned.
5416 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5420 math_force_eval before restoring floating-point envrionment.
5421 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5424 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5426 (__nearbyintl): Use math_force_eval before restoring
5427 floating-point environment.
5428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5430 * math/gen-libm-test.pl (special_functions): Remove.
5431 (parse_args): Don't handle TEST_extra. Handle functions with no
5433 * math/libm-test.inc (struct test_sincos_data): Replace with
5434 struct test_fFF_11_data.
5435 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5436 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5437 (sincos_test_data): Change element type to struct
5438 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5439 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5440 RUN_TEST_LOOP_sincos.
5441 * math/README.libm-test: Don't mention special handling of
5442 individual functions.
5443 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5445 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5450 * math/gen-libm-test.pl (get_variable): Remove function.
5451 (parse_args): Don't show pointer parameters to call in test
5452 names. Use "extra output N" in test names for extra outputs
5453 rather than naming variables.
5455 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5458 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5459 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5460 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5462 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5464 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5467 * math/gen-libm-test.pl (@tests): Remove variable.
5469 (new_test): Remove function.
5470 (show_exceptions): New function.
5471 (special_functions): Use show_exceptions instead of new_test.
5472 (parse_args): Likewise.
5473 (generate_testfile): Pass only function name in generated call to
5474 print_max_error or print_complex_max_error.
5475 (get_ulps): Do not handle complex tests specially.
5476 (output_test): Rename to ...
5477 (get_all_ulps_for_test): ... this. Return a string rather than
5478 printing to a file. Require ulps to be present.
5479 (output_ulps): Generate arrays rather than #defines.
5480 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5481 (struct ulp_data): New type.
5482 (BUILD_COMPLEX_ULP): Remove macro.
5483 (compare_ulp_data): New function.
5484 (find_ulps): Likewise.
5485 (find_test_ulps): Likewise.
5486 (find_function_ulps): Likewise.
5487 (find_complex_function_ulps): Likewise.
5488 (print_max_error): Determine allowed ulps using
5490 (print_complex_max_error): Determine allowed ulps using
5491 find_complex_function_ulps.
5492 (check_float_internal): Determine max ulps using find_test_ulps.
5493 (check_float): Do not take max_ulp parameter. Update call to
5494 check_float_internal.
5495 (check_complex): Likewise.
5496 (check_int): Do not take max_ulp parameter.
5497 (check_long): Likewise.
5498 (check_bool): Likewise.
5499 (check_longlong): Likewise.
5500 (struct test_f_f_data): Remove max_ulp field.
5501 (struct test_ff_f_data): Likewise.
5502 (struct test_ff_f_data_nexttoward): Likewise.
5503 (struct test_fi_f_data): Likewise.
5504 (struct test_fl_f_data): Likewise.
5505 (struct test_if_f_data): Likewise.
5506 (struct test_fff_f_data): Likewise.
5507 (struct test_c_f_data): Likewise.
5508 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5509 (struct test_fF_f1_data): Likewise.
5510 (struct test_ffI_f1_data): Likewise.
5511 (struct test_c_c_data): Remove max_ulp field.
5512 (struct test_cc_c_data): Likewise.
5513 (struct test_f_i_data): Likewise.
5514 (struct test_ff_i_data): Likewise.
5515 (struct test_f_l_data): Likewise.
5516 (struct test_f_L_data): Likewise.
5517 (struct test_sincos_data): Likewise.
5518 (RUN_TEST_f_f): Do not handle ulps.
5519 (RUN_TEST_LOOP_f_f): Likewise.
5520 (RUN_TEST_2_f): Likewise.
5521 (RUN_TEST_LOOP_2_f): Likewise.
5522 (RUN_TEST_fff_f): Likewise.
5523 (RUN_TEST_LOOP_fff_f): Likewise.
5524 (RUN_TEST_c_f): Likewise.
5525 (RUN_TEST_LOOP_c_f): Likewise.
5526 (RUN_TEST_f_f1): Likewise.
5527 (RUN_TEST_LOOP_f_f1): Likewise.
5528 (RUN_TEST_fF_f1): Likewise.
5529 (RUN_TEST_LOOP_fF_f1): Likewise.
5530 (RUN_TEST_fI_f1): Likewise.
5531 (RUN_TEST_LOOP_fI_f1): Likewise.
5532 (RUN_TEST_ffI_f1): Likewise.
5533 (RUN_TEST_LOOP_ffI_f1): Likewise.
5534 (RUN_TEST_c_c): Likewise.
5535 (RUN_TEST_LOOP_c_c): Likewise.
5536 (RUN_TEST_cc_c): Likewise.
5537 (RUN_TEST_LOOP_cc_c): Likewise.
5538 (RUN_TEST_f_i): Likewise.
5539 (RUN_TEST_LOOP_f_i): Likewise.
5540 (RUN_TEST_f_i_tg): Likewise.
5541 (RUN_TEST_LOOP_f_i_tg): Likewise.
5542 (RUN_TEST_ff_i_tg): Likewise.
5543 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5544 (RUN_TEST_f_b): Likewise.
5545 (RUN_TEST_LOOP_f_b): Likewise.
5546 (RUN_TEST_f_b_tg): Likewise.
5547 (RUN_TEST_LOOP_f_b_tg): Likewise.
5548 (RUN_TEST_f_l): Likewise.
5549 (RUN_TEST_LOOP_f_l): Likewise.
5550 (RUN_TEST_f_L): Likewise.
5551 (RUN_TEST_LOOP_f_L): Likewise.
5552 (RUN_TEST_sincos): Likewise.
5553 (RUN_TEST_LOOP_sincos): Likewise.
5555 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5560 main case of finite arguments, set rounding mode to FE_TONEAREST
5561 and discard exceptions.
5562 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5564 (remainder_tonearest_test_data): New variable.
5565 (remainder_test_tonearest): New function.
5566 (remainder_towardzero_test_data): New variable.
5567 (remainder_test_towardzero): New function.
5568 (remainder_downward_test_data): New variable.
5569 (remainder_test_downward): New function.
5570 (remainder_upward_test_data): New variable.
5571 (remainder_test_upward): New function.
5572 (main): Call the new test functions.
5574 * math/libm-test.inc (struct test_f_f1_data): Remove field
5576 (struct test_fF_f1_data): Likewise.
5577 (struct test_ffI_f1_data): Likewise.
5578 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5579 based on value of EXTRA_EXPECTED.
5580 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5581 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5582 EXTRA_VAR based on value of EXTRA_EXPECTED.
5583 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5584 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5585 EXTRA_VAR based on value of EXTRA_EXPECTED.
5586 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5587 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5588 EXTRA_VAR based on value of EXTRA_EXPECTED.
5589 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5590 * math/gen-libm-test.pl (parse_args): Don't output initializers
5591 for extra output values.
5593 * math/libm-test.inc (check_int): Expect result to be exactly
5594 equal to expected value and do not handle ulps.
5595 (check_long): Likewise.
5596 (check_longlong): Likewise.
5598 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5600 (cimag_test_data): Likewise.
5601 (conj_test_data): Likewise.
5602 (copysign_test_data): Likewise.
5603 (cproj_test_data): Likewise.
5604 (creal_test_data): Likewise.
5605 (fabs_test_data): Likewise.
5606 (fdim_test_data): Likewise.
5607 (finite_test_data): Likewise.
5608 (floor_test_data): Likewise.
5609 (fmax_test_data): Likewise.
5610 (fmin_test_data): Likewise.
5611 (fmod_test_data): Likewise.
5612 (fpclassify_test_data): Likewise.
5613 (frexp_test_data): Likewise.
5614 (ilogb_test_data): Likewise.
5615 (isfinite_test_data): Likewise.
5616 (isgreater_test_data): Likewise.
5617 (isgreaterequal_test_data): Likewise.
5618 (isinf_test_data): Likewise.
5619 (isless_test_data): Likewise.
5620 (islessequal_test_data): Likewise.
5621 (islessgreater_test_data): Likewise.
5622 (isnan_test_data): Likewise.
5623 (isnormal_test_data): Likewise.
5624 (issignaling_test_data): Likewise.
5625 (isunordered_test_data): Likewise.
5626 (ldexp_test_data): Likewise.
5627 (lrint_test_data): Likewise.
5628 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5629 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5630 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5631 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5632 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5633 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5635 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5636 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5637 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5638 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5640 (lrint_downward_test_data): Test for "inexact" exceptions.
5641 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5642 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5643 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5645 (lrint_upward_test_data): Test for "inexact" exceptions.
5646 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5648 (llrint_test_data): Test for "inexact" exceptions.
5649 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5650 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5651 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5652 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5653 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5654 (llrint_downward_test_data): Test for "inexact" exceptions.
5655 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5656 (llrint_upward_test_data): Test for "inexact" exceptions.
5657 (logb_test_data): Likewise.
5658 (logb_downward_test_data): Likewise.
5659 (nextafter_test_data): Likewise.
5660 (nexttoward_test_data): Likewise.
5661 (remainder_test_data): Likewise.
5662 (remquo_test_data): Likewise.
5663 (scalbn_test_data): Likewise.
5664 (scalbln_test_data): Likewise.
5665 (signbit_test_data): Likewise.
5666 (sqrt_test_data): Likewise.
5667 (significand_test_data): Likewise.
5669 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5672 * benchtests/bench-modf.c (struct args): Mark arg0 as
5674 * scripts/bench.pl: Mark members of struct args as volatile.
5676 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5680 negative infinity on POWER6 or lower.
5681 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5683 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5686 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5687 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5688 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5689 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5690 (_FP_SETQNAN): New macro.
5691 (_FP_SETQNAN_SEMIRAW): Likewise.
5692 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5693 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5694 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5695 (FP_EXTEND): Use _FP_FRAC_SNANP.
5696 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5697 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5704 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5706 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5707 with DIVIDE_BY_ZERO_EXCEPTION.
5708 (gamma_test_data): Likewise.
5709 (lgamma_test_data): Likewise.
5710 (log_test_data): Likewise.
5711 (log10_test_data): Likewise.
5712 (log2_test_data): Likewise.
5713 (tgamma_test_data): Likewise.
5715 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5716 (acos_test_tonearest): Likewise.
5717 (acos_test_towardzero): Likewise.
5718 (acos_test_downward): Likewise.
5719 (acos_test_upward): Likewise.
5720 (acosh_test): Likewise.
5721 (asin_test): Likewise.
5722 (asin_test_tonearest): Likewise.
5723 (asin_test_towardzero): Likewise.
5724 (asin_test_downward): Likewise.
5725 (asin_test_upward): Likewise.
5726 (asinh_test): Likewise.
5727 (atan_test): Likewise.
5728 (atanh_test): Likewise.
5729 (atan2_test): Likewise.
5730 (cabs_test): Likewise.
5731 (cacos_test): Likewise.
5732 (cacosh_test): Likewise.
5733 (casin_test): Likewise.
5734 (casinh_test): Likewise.
5735 (catan_test): Likewise.
5736 (catanh_test): Likewise.
5737 (cbrt_test): Likewise.
5738 (ccos_test): Likewise.
5739 (ccosh_test): Likewise.
5740 (cexp_test): Likewise.
5741 (clog_test): Likewise.
5742 (clog10_test): Likewise.
5743 (cos_test): Likewise.
5744 (cos_test_tonearest): Likewise.
5745 (cos_test_towardzero): Likewise.
5746 (cos_test_downward): Likewise.
5747 (cos_test_upward): Likewise.
5748 (cosh_test): Likewise.
5749 (cosh_test_tonearest): Likewise.
5750 (cosh_test_towardzero): Likewise.
5751 (cosh_test_downward): Likewise.
5752 (cosh_test_upward): Likewise.
5753 (cpow_test): Likewise.
5754 (csin_test): Likewise.
5755 (csinh_test): Likewise.
5756 (csqrt_test): Likewise.
5757 (ctan_test): Likewise.
5758 (ctan_test_tonearest): Likewise.
5759 (ctan_test_towardzero): Likewise.
5760 (ctan_test_downward): Likewise.
5761 (ctan_test_upward): Likewise.
5762 (ctanh_test): Likewise.
5763 (ctanh_test_tonearest): Likewise.
5764 (ctanh_test_towardzero): Likewise.
5765 (ctanh_test_downward): Likewise.
5766 (ctanh_test_upward): Likewise.
5767 (erf_test): Likewise.
5768 (erfc_test): Likewise.
5769 (exp_test): Likewise.
5770 (exp_test_tonearest): Likewise.
5771 (exp_test_towardzero): Likewise.
5772 (exp_test_downward): Likewise.
5773 (exp_test_upward): Likewise.
5774 (exp10_test): Likewise.
5775 (exp2_test): Likewise.
5776 (expm1_test): Likewise.
5777 (fmod_test): Likewise.
5778 (gamma_test): Likewise.
5779 (hypot_test): Likewise.
5780 (j0_test): Likewise.
5781 (j1_test): Likewise.
5782 (jn_test): Likewise.
5783 (lgamma_test): Likewise.
5784 (log_test): Likewise.
5785 (log10_test): Likewise.
5786 (log1p_test): Likewise.
5787 (log2_test): Likewise.
5788 (logb_test_downward): Likewise.
5789 (pow_test): Likewise.
5790 (pow_test_tonearest): Likewise.
5791 (pow_test_towardzero): Likewise.
5792 (pow_test_downward): Likewise.
5793 (pow_test_upward): Likewise.
5794 (remainder_test): Likewise.
5795 (remquo_test): Likewise.
5796 (sin_test): Likewise.
5797 (sin_test_tonearest): Likewise.
5798 (sin_test_towardzero): Likewise.
5799 (sin_test_downward): Likewise.
5800 (sin_test_upward): Likewise.
5801 (sincos_test): Likewise.
5802 (sinh_test): Likewise.
5803 (sinh_test_tonearest): Likewise.
5804 (sinh_test_towardzero): Likewise.
5805 (sinh_test_downward): Likewise.
5806 (sinh_test_upward): Likewise.
5807 (sqrt_test): Likewise.
5808 (tan_test): Likewise.
5809 (tan_test_tonearest): Likewise.
5810 (tan_test_towardzero): Likewise.
5811 (tan_test_downward): Likewise.
5812 (tan_test_upward): Likewise.
5813 (tanh_test): Likewise.
5814 (tgamma_test): Likewise.
5815 (y0_test): Likewise.
5816 (y1_test): Likewise.
5817 (yn_test): Likewise.
5819 * math/gen-libm-test.pl (adjust_arg): Remove function.
5820 (special_function): Remove argument $in_func. Only handle
5821 generating output for tables of tests, not inside functions.
5822 (parse_args): Likewise.
5823 (generate_testfile): Remove variable $in_func. Update call to
5825 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5826 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5827 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5828 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5829 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5830 (MAX_VALUE_INIT): Rename macro to max_value.
5831 (MIN_VALUE_INIT): Rename macro to min_value.
5832 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5833 (plus_zero): Remove variable.
5834 (minus_zero): Likewise.
5835 (plus_infty): Likewise.
5836 (minus_infty): Likewise.
5837 (qnan_value): Likewise.
5838 (max_value): Likewise.
5839 (min_value): Likewise.
5840 (min_subnorm_value): Likewise.
5842 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5844 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5845 uint64_t or uint32_t usage.
5846 * crypt/sha256-block.c: Likewise.
5847 * crypt/sha256-crypt.c: Likewise.
5848 * crypt/sha256.c: Likewise.
5849 * crypt/sha512-block.c: Likewise.
5850 * crypt/sha512-crypt.c: Likewise.
5851 * crypt/sha512.c: Likewise.
5852 * debug/backtrace-tst.c: Likewise.
5853 * debug/pcprofiledump.c: Likewise.
5854 * elf/cache.c: Likewise.
5855 * elf/dl-cache.c: Likewise.
5856 * elf/dl-misc.c: Likewise.
5857 * elf/dl-profile.c: Likewise.
5858 * elf/dl-support.c: Likewise.
5859 * elf/ldconfig.c: Likewise.
5860 * elf/sprof.c: Likewise.
5861 * iconv/dummy-repertoire.c: Likewise.
5862 * iconv/iconv_charmap.c: Likewise.
5863 * iconv/skeleton.c: Likewise.
5864 * iconvdata/8bit-generic.c: Likewise.
5865 * iconvdata/cp737.h: Likewise.
5866 * iconvdata/cp775.h: Likewise.
5867 * iconvdata/ibm1008.h: Likewise.
5868 * iconvdata/ibm1025.h: Likewise.
5869 * iconvdata/ibm1046.h: Likewise.
5870 * iconvdata/ibm1097.h: Likewise.
5871 * iconvdata/ibm1112.h: Likewise.
5872 * iconvdata/ibm1122.h: Likewise.
5873 * iconvdata/ibm1123.h: Likewise.
5874 * iconvdata/ibm1124.h: Likewise.
5875 * iconvdata/ibm1129.h: Likewise.
5876 * iconvdata/ibm1130.h: Likewise.
5877 * iconvdata/ibm1132.h: Likewise.
5878 * iconvdata/ibm1133.h: Likewise.
5879 * iconvdata/ibm1137.h: Likewise.
5880 * iconvdata/ibm1140.h: Likewise.
5881 * iconvdata/ibm1141.h: Likewise.
5882 * iconvdata/ibm1142.h: Likewise.
5883 * iconvdata/ibm1143.h: Likewise.
5884 * iconvdata/ibm1144.h: Likewise.
5885 * iconvdata/ibm1145.h: Likewise.
5886 * iconvdata/ibm1146.h: Likewise.
5887 * iconvdata/ibm1147.h: Likewise.
5888 * iconvdata/ibm1148.h: Likewise.
5889 * iconvdata/ibm1149.h: Likewise.
5890 * iconvdata/ibm1153.h: Likewise.
5891 * iconvdata/ibm1154.h: Likewise.
5892 * iconvdata/ibm1155.h: Likewise.
5893 * iconvdata/ibm1156.h: Likewise.
5894 * iconvdata/ibm1157.h: Likewise.
5895 * iconvdata/ibm1158.h: Likewise.
5896 * iconvdata/ibm1160.h: Likewise.
5897 * iconvdata/ibm1161.h: Likewise.
5898 * iconvdata/ibm1162.h: Likewise.
5899 * iconvdata/ibm1163.h: Likewise.
5900 * iconvdata/ibm1164.h: Likewise.
5901 * iconvdata/ibm1166.h: Likewise.
5902 * iconvdata/ibm1167.h: Likewise.
5903 * iconvdata/ibm12712.h: Likewise.
5904 * iconvdata/ibm1390.h: Likewise.
5905 * iconvdata/ibm1399.h: Likewise.
5906 * iconvdata/ibm16804.h: Likewise.
5907 * iconvdata/ibm4517.h: Likewise.
5908 * iconvdata/ibm4899.h: Likewise.
5909 * iconvdata/ibm4909.h: Likewise.
5910 * iconvdata/ibm4971.h: Likewise.
5911 * iconvdata/ibm5347.h: Likewise.
5912 * iconvdata/ibm803.h: Likewise.
5913 * iconvdata/ibm856.h: Likewise.
5914 * iconvdata/ibm901.h: Likewise.
5915 * iconvdata/ibm902.h: Likewise.
5916 * iconvdata/ibm9030.h: Likewise.
5917 * iconvdata/ibm9066.h: Likewise.
5918 * iconvdata/ibm921.h: Likewise.
5919 * iconvdata/ibm922.h: Likewise.
5920 * iconvdata/ibm9448.h: Likewise.
5921 * iconvdata/isiri-3342.h: Likewise.
5922 * iconvdata/jis0201.h: Likewise.
5923 * include/link.h: Likewise.
5924 * include/netdb.h: Likewise.
5925 * inet/check_native.c: Likewise.
5926 * inet/check_pf.c: Likewise.
5927 * inet/getipv4sourcefilter.c: Likewise.
5928 * inet/getnameinfo.c: Likewise.
5929 * inet/getsourcefilter.c: Likewise.
5930 * inet/htonl.c: Likewise.
5931 * inet/setipv4sourcefilter.c: Likewise.
5932 * inet/setsourcefilter.c: Likewise.
5933 * inet/test-inet6_opt.c: Likewise.
5934 * inet/tst-network.c: Likewise.
5935 * locale/C-collate.c: Likewise.
5936 * locale/C-ctype.c: Likewise.
5937 * locale/C-time.c: Likewise.
5938 * locale/C-translit.h: Likewise.
5939 * locale/loadarchive.c: Likewise.
5940 * locale/programs/3level.h: Likewise.
5941 * locale/programs/charmap.c: Likewise.
5942 * locale/programs/charmap.h: Likewise.
5943 * locale/programs/ld-address.c: Likewise.
5944 * locale/programs/ld-collate.c: Likewise.
5945 * locale/programs/ld-ctype.c: Likewise.
5946 * locale/programs/ld-identification.c: Likewise.
5947 * locale/programs/ld-measurement.c: Likewise.
5948 * locale/programs/ld-messages.c: Likewise.
5949 * locale/programs/ld-monetary.c: Likewise.
5950 * locale/programs/ld-name.c: Likewise.
5951 * locale/programs/ld-numeric.c: Likewise.
5952 * locale/programs/ld-paper.c: Likewise.
5953 * locale/programs/ld-telephone.c: Likewise.
5954 * locale/programs/ld-time.c: Likewise.
5955 * locale/programs/linereader.c: Likewise.
5956 * locale/programs/locale.c: Likewise.
5957 * locale/programs/locarchive.c: Likewise.
5958 * locale/programs/locfile.h: Likewise.
5959 * locale/programs/repertoire.c: Likewise.
5960 * locale/programs/simple-hash.c: Likewise.
5961 * locale/programs/simple-hash.h: Likewise.
5962 * malloc/memusage.c: Likewise.
5963 * malloc/memusagestat.c: Likewise.
5964 * nis/nis_defaults.c: Likewise.
5965 * nis/nis_hash.c: Likewise.
5966 * nis/nis_print.c: Likewise.
5967 * nis/nis_xdr.c: Likewise.
5968 * nscd/connections.c: Likewise.
5969 * nscd/hstcache.c: Likewise.
5970 * nscd/nscd_gethst_r.c: Likewise.
5971 * nscd/nscd_getserv_r.c: Likewise.
5972 * nscd/nscd_helper.c: Likewise.
5973 * nscd/servicescache.c: Likewise.
5974 * nss/makedb.c: Likewise.
5975 * nss/nss_db/db-XXX.c: Likewise.
5976 * nss/nss_db/db-initgroups.c: Likewise.
5977 * nss/nss_db/db-netgrp.c: Likewise.
5978 * nss/nss_files/files-network.c: Likewise.
5979 * nss/nss_files/files-parse.c: Likewise.
5980 * posix/bug-regex5.c: Likewise.
5981 * posix/fnmatch_loop.c: Likewise.
5982 * posix/regcomp.c: Likewise.
5983 * posix/regexec.c: Likewise.
5984 * posix/tst-rfc3484-2.c: Likewise.
5985 * posix/tst-rfc3484-3.c: Likewise.
5986 * posix/tst-rfc3484.c: Likewise.
5987 * resolv/nss_dns/dns-canon.c: Likewise.
5988 * resolv/nss_dns/dns-network.c: Likewise.
5989 * resolv/res_init.c: Likewise.
5990 * resolv/res_mkquery.c: Likewise.
5991 * resolv/tst-aton.c: Likewise.
5992 * stdlib/cxa_atexit.c: Likewise.
5993 * stdlib/cxa_finalize.c: Likewise.
5994 * stdlib/gen-fpioconst.c: Likewise.
5995 * stdlib/strtol_l.c: Likewise.
5996 * string/tst-endian.c: Likewise.
5997 * sunrpc/auth_des.c: Likewise.
5998 * sunrpc/clnt_udp.c: Likewise.
5999 * sunrpc/rtime.c: Likewise.
6000 * sunrpc/svcauth_des.c: Likewise.
6001 * sunrpc/xdr.c: Likewise.
6002 * sunrpc/xdr_intXX_t.c: Likewise.
6003 * sunrpc/xdr_rec.c: Likewise.
6004 * sysdeps/generic/ldconfig.h: Likewise.
6005 * sysdeps/generic/ldsodefs.h: Likewise.
6006 * sysdeps/generic/memusage.h: Likewise.
6007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6010 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6017 * sysdeps/posix/getaddrinfo.c: Likewise.
6018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6022 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6023 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6024 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6025 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6026 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6027 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6028 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6029 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6030 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6031 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6033 * sysdeps/x86_64/dl-tls.h: Likewise.
6034 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6035 * time/alt_digit.c: Likewise.
6036 * time/era.c: Likewise.
6037 * wcsmbs/tst-c16c32-1.c: Likewise.
6039 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6041 * math/libm-test.inc (struct test_sincos_data): New type.
6042 (RUN_TEST_LOOP_sincos): New macro.
6043 (sincos_test_data): New variable.
6044 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6046 2013-05-16 Richard Henderson <rth@redhat.com>
6048 * math/atest-exp2.c (LIMB64): New macro.
6049 (CONSTSZ): New macro.
6050 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6052 (print_mpn_fp): ... to function scope.
6053 (read_mpn_hex): Remove.
6055 (exp2_mpn): Use mp_log2.
6056 (main): Use mp_exp1.
6058 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6060 * math/libm-test.inc: Remove comment about not testing "inexact"
6062 (INEXACT_EXCEPTION): New macro.
6063 (NO_INEXACT_EXCEPTION): Likewise.
6064 (INVALID_EXCEPTION_OK): Update value.
6065 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6066 (OVERFLOW_EXCEPTION_OK): Likewise.
6067 (UNDERFLOW_EXCEPTION_OK): Likewise.
6068 (IGNORE_ZERO_INF_SIGN): Likewise.
6069 (ERRNO_UNCHANGED): Likewise.
6070 (ERRNO_EDOM): Likewise.
6071 (ERRNO_ERANGE): Likewise.
6072 (test_exceptions): Handle testing "inexact" exceptions.
6073 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6074 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6075 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6076 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6078 (rint_towardzero_test_data): Likewise.
6079 (rint_downward_test_data): Likewise.
6080 (rint_upward_test_data): Likewise.
6082 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6083 with OVERFLOW_EXCEPTION.
6084 (exp10_test_data): Likewise.
6085 (exp2_test_data): Likewise.
6086 (expm1_test_data): Likewise.
6087 (lgamma_test_data): Likewise.
6088 (pow_test_data): Likewise.
6089 (tgamma_test_data): Likewise.
6090 (yn_test_data): Remove duplicate test of overflow.
6092 * math/libm-test.inc (struct test_cc_c_data): New type.
6093 (RUN_TEST_LOOP_cc_c): New macro.
6094 (cpow_test_data): New variable.
6095 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6097 * math/libm-test.inc (struct test_f_L_data): New type.
6098 (RUN_TEST_LOOP_f_L): New macro.
6099 (llrint_test_data): New variable.
6100 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6101 (llrint_tonearest_test_data): New variable.
6102 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6103 (llrint_towardzero_test_data): New variable.
6104 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6105 (llrint_downward_test_data): New variable.
6106 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6107 (llrint_upward_test_data): New variable.
6108 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6109 (llround_test_data): New variable.
6110 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6112 2013-05-13 Peter Collingbourne <pcc@google.com>
6114 * math/atest-exp2.c (get_log2): Remove const attribute.
6116 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6118 * math/libm-test.inc (struct test_f_l_data): New type.
6119 (RUN_TEST_LOOP_f_l): New macro.
6120 (lrint_test_data): New variable.
6121 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6122 (lrint_tonearest_test_data): New variable.
6123 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6124 (lrint_towardzero_test_data): New variable.
6125 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6126 (lrint_downward_test_data): New variable.
6127 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6128 (lrint_upward_test_data): New variable.
6129 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6130 (lround_test_data): New variable.
6131 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6133 2013-05-15 Peter Collingbourne <pcc@google.com>
6135 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6136 (EXTRACT_WORDS64) Use where appropriate.
6137 (INSERT_WORDS64) Likewise.
6139 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6140 constraints with x constraints.
6141 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6143 * malloc/obstack.c (_obstack_compat): Add initializer.
6145 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6148 si_trapno and add si_addr_lsb to _sifields.sigfault.
6149 (si_trapno): Remove macro.
6150 (si_addr_lsb): Define new macro.
6151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6153 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6155 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6156 instead of TEST_f_l.
6157 (llrint_test_tonearest): Likewise.
6158 (llrint_test_towardzero): Likewise.
6159 (llrint_test_downward): Likewise.
6160 (llrint_test_upward): Likewise.
6161 (llround_test): Likewise.
6163 * math/libm-test.inc (struct test_f_i_data): Add comment.
6164 (RUN_TEST_LOOP_f_b): New macro.
6165 (RUN_TEST_LOOP_f_b_tg): Likewise.
6166 (finite_test_data): New variable.
6167 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6168 (isfinite_test_data): New variable.
6169 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6170 (isinf_test_data): New variable.
6171 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6172 (isnan_test_data): New variable.
6173 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6174 (isnormal_test_data): New variable.
6175 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6176 (issignaling_test_data): New variable.
6177 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6178 (signbit_test_data): New variable.
6179 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6181 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6182 with INVALID_EXCEPTION.
6183 (acosh_test_data): Likewise.
6184 (asin_test_data): Likewise.
6185 (atanh_test_data): Likewise.
6186 (fmod_test_data): Likewise.
6187 (log_test_data): Likewise.
6188 (log10_test_data): Likewise.
6189 (log2_test_data): Likewise.
6190 (pow_test_data): Likewise.
6191 (sqrt_test_data): Likewise.
6192 (y0_test_data): Likewise.
6193 (y1_test_data): Likewise.
6194 (yn_test_data): Likewise.
6196 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6199 * math/libm-test.inc (struct test_ff_i_data): New type.
6200 (RUN_TEST_LOOP_ff_i_tg): New macro.
6201 (isgreater_test_data): New variable.
6202 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6203 (isgreaterequal_test_data): New variable.
6204 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6205 (isless_test_data): New variable.
6206 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6207 (islessequal_test_data): New variable.
6208 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6209 (islessgreater_test_data): New variable.
6210 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6211 (isunordered_test_data): New variable.
6212 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6214 2013-05-14 David S. Miller <davem@davemloft.net>
6216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6218 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6220 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6222 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6224 (struct test_f_i_data): Change type of max_ulp to int.
6226 * math/libm-test.inc (test_ffI_f1_data): New type.
6227 (RUN_TEST_LOOP_ffI_f1): New macro.
6228 (remquo_test_data): New variable.
6229 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6231 * setjmp/tst-setjmp-fp.c: New file.
6232 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6233 (link-libm): New variable.
6234 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6236 * math/libm-test.inc (struct test_f_i_data): New type.
6237 (RUN_TEST_LOOP_f_i): New macro.
6238 (RUN_TEST_LOOP_f_i_tg): Likewise.
6239 (fpclassify_test_data): New variable.
6240 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6241 (ilogb_test_data): New variable.
6242 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6244 * math/libm-test.inc (scalbln_test): Correct function name in END
6247 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6248 (RUN_TEST_LOOP_fI_f1): New macro.
6249 (frexp_test_data): New variable.
6250 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6252 * math/libm-test.inc (struct test_fF_f1_data): New type.
6253 (RUN_TEST_LOOP_fF_f1): New macro.
6254 (modf_test_data): New variable.
6255 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6257 * math/libm-test.inc (struct test_f_f1_data): New type.
6258 (RUN_TEST_LOOP_f_f1): New macro.
6259 (gamma_test_data): New variable.
6260 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6261 (lgamma_test_data): New variable.
6262 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6264 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6266 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6267 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6268 (main): Comment "tls" pseudo-hwcap.
6270 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6272 * math/libm-test.inc (struct test_fl_f_data): New type.
6273 (RUN_TEST_LOOP_fl_f): New variable.
6274 (scalbln_test_data): New variable.
6275 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6277 * math/libm-test.inc (struct test_fi_f_data): New type.
6278 (RUN_TEST_LOOP_fi_f): New macro.
6279 (ldexp_test_data): New variable.
6280 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6281 (scalbn_test_data): New variable.
6282 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6284 * math/libm-test.inc (struct test_c_f_data): New type.
6285 (RUN_TEST_LOOP_c_f): New macro.
6286 (cabs_test_data): New variable.
6287 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6288 (carg_test_data): New variable.
6289 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6290 (cimag_test_data): New variable.
6291 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6292 (creal_test_data): New variable.
6293 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6295 * math/libm-test.inc (struct test_if_f_data): New type.
6296 (RUN_TEST_LOOP_if_f): New macro.
6297 (jn_test_data): New variable.
6298 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6299 (yn_test_data): New variable.
6300 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6302 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6304 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6307 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6309 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6311 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6312 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6313 (bench-deps): Add bench-timing.h.
6314 * benchtests-bench-skeleton.c: Include bench-timing.h.
6315 (main): Use TIMING_* macros instead of clock_gettime.
6316 * benchtests/bench-timing.h: New file.
6319 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6320 Renamed from _LIB_VERSION.
6321 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6323 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6325 * math/libm-test.inc (struct test_fff_f_data): New type.
6326 (RUN_TEST_LOOP_fff_f): New macro.
6327 (fma_test_data): New variable.
6328 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6329 (fma_towardzero_test_data): New variable.
6330 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6331 (fma_downward_test_data): New variable.
6332 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6333 (fma_upward_test_data): New variable.
6334 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6336 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6337 (struct test_c_c_data): New type.
6338 (RUN_TEST_LOOP_c_c): New macro.
6339 (cacos_test_data): New variable.
6340 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6341 (cacosh_test_data): New variable.
6342 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6343 (casin_test_data): New variable.
6344 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6345 (casinh_test_data): New variable.
6346 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6347 (catan_test_data): New variable.
6348 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6349 (catanh_test_data): New variable.
6350 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6351 (ccos_test_data): New variable.
6352 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6353 (ccosh_test_data): New variable.
6354 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6355 (cexp_test_data): New variable.
6356 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6357 (clog_test_data): New variable.
6358 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6359 (clog10_test_data): New variable.
6360 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6361 (conj_test_data): New variable.
6362 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6363 (cproj_test_data): New variable.
6364 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6365 (csin_test_data): New variable.
6366 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6367 (csinh_test_data): New variable.
6368 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6369 (csqrt_test_data): New variable.
6370 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6371 (ctan_test_data): New variable.
6372 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6373 (ctan_tonearest_test_data): New variable.
6374 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6375 (ctan_towardzero_test_data): New variable.
6376 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6377 (ctan_downward_test_data): New variable.
6378 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6379 (ctan_upward_test_data): New variable.
6380 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6381 (ctanh_test_data): New variable.
6382 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6383 (ctanh_tonearest_test_data): New variable.
6384 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6385 (ctanh_towardzero_test_data): New variable.
6386 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6387 (ctanh_downward_test_data): New variable.
6388 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6389 (ctanh_upward_test_data): New variable.
6390 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6391 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6394 * math/libm-test.inc (struct test_ff_f_data): New type.
6395 (struct test_ff_f_data_nexttoward): Likewise.
6396 (RUN_TEST_LOOP_2_f): New macro.
6397 (RUN_TEST_LOOP_ff_f): Likewise.
6398 (atan2_test_data): New variable.
6399 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6400 (copysign_test_data): New variable.
6401 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6402 (fdim_test_data): New variable.
6403 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6404 (fmax_test_data): New variable.
6405 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6406 (fmin_test_data): New variable.
6407 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6408 (fmod_test_data): New variable.
6409 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6410 (hypot_test_data): New variable.
6411 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6412 (nextafter_test_data): New variable.
6413 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6414 (nexttoward_test_data): New variable.
6415 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6416 (pow_test_data): New variable.
6417 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6418 (pow_tonearest_test_data): New variable.
6419 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6420 (pow_towardzero_test_data): New variable.
6421 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6422 (pow_downward_test_data): New variable.
6423 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6424 (pow_upward_test_data): New variable.
6425 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6426 (remainder_test_data): New variable.
6427 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6428 (scalb_test_data): New variable.
6429 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6430 * sysdeps/i386/fpu/libm-test-ulps: Update.
6432 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6434 * math/libm-test.inc (fma_test): Use max_value instead of local
6436 (nextafter_test): Likewise.
6438 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6439 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6440 (acos_downward_test_data): New variable.
6441 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6442 (acos_upward_test_data): New variable.
6443 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6444 (acosh_test_data): New variable.
6445 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6446 (asin_test_data): New variable.
6447 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6448 (asin_tonearest_test_data): New variable.
6449 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6450 (asin_towardzero_test_data): New variable.
6451 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6452 (asin_downward_test_data): New variable.
6453 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6454 (asin_upward_test_data): New variable.
6455 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6456 (asinh_test_data): New variable.
6457 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6458 (atan_test_data): New variable.
6459 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6460 (atanh_test_data): New variable.
6461 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6462 (cbrt_test_data): New variable.
6463 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6464 (ceil_test_data): New variable.
6465 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6466 (cos_test_data): New variable.
6467 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6468 (cos_tonearest_test_data): New variable.
6469 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6470 (cos_towardzero_test_data): New variable.
6471 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6472 (cos_downward_test_data): New variable.
6473 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6474 (cos_upward_test_data): New variable.
6475 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6476 (cosh_test_data): New variable.
6477 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6478 (cosh_tonearest_test_data): New variable.
6479 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6480 (cosh_towardzero_test_data): New variable.
6481 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6482 (cosh_downward_test_data): New variable.
6483 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6484 (cosh_upward_test_data): New variable.
6485 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6486 (erf_test_data): New variable.
6487 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6488 (erfc_test_data): New variable.
6489 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6490 (exp_test_data): New variable.
6491 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6492 (exp_tonearest_test_data): New variable.
6493 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6494 (exp_towardzero_test_data): New variable.
6495 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6496 (exp_downward_test_data): New variable.
6497 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6498 (exp_upward_test_data): New variable.
6499 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6500 (exp10_test_data): New variable.
6501 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6502 (exp2_test_data): New variable.
6503 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6504 (expm1_test_data): New variable.
6505 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6506 (fabs_test_data): New variable.
6507 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6508 (floor_test_data): New variable.
6509 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6510 (j0_test_data): New variable.
6511 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6512 (j1_test_data): New variable.
6513 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6514 (log_test_data): New variable.
6515 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6516 (log10_test_data): New variable.
6517 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6518 (log1p_test_data): New variable.
6519 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6520 (log2_test_data): New variable.
6521 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6522 (logb_test_data): New variable.
6523 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6524 (logb_downward_test_data): New variable.
6525 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6526 (nearbyint_test_data): New variable.
6527 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6528 (rint_test_data): New variable.
6529 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6530 (rint_tonearest_test_data): New variable.
6531 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6532 (rint_towardzero_test_data): New variable.
6533 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6534 (rint_downward_test_data): New variable.
6535 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6536 (rint_upward_test_data): New variable.
6537 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6538 (round_test_data): New variable.
6539 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6540 (sin_test_data): New variable.
6541 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6542 (sin_tonearest_test_data): New variable.
6543 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6544 (sin_towardzero_test_data): New variable.
6545 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6546 (sin_downward_test_data): New variable.
6547 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6548 (sin_upward_test_data): New variable.
6549 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6550 (sinh_test_data): New variable.
6551 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6552 (sinh_tonearest_test_data): New variable.
6553 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6554 (sinh_towardzero_test_data): New variable.
6555 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6556 (sinh_downward_test_data): New variable.
6557 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6558 (sinh_upward_test_data): New variable.
6559 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6560 (sqrt_test_data): New variable.
6561 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6562 (tan_test_data): New variable.
6563 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6564 (tan_tonearest_test_data): New variable.
6565 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6566 (tan_towardzero_test_data): New variable.
6567 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6568 (tan_downward_test_data): New variable.
6569 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6570 (tan_upward_test_data): New variable.
6571 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6572 (tanh_test_data): New variable.
6573 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6574 (tgamma_test_data): New variable.
6575 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6576 (trunc_test_data): New variable.
6577 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6578 (y0_test_data): New variable.
6579 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6580 (y1_test_data): New variable.
6581 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6582 (significand_test_data): New variable.
6583 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6585 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6588 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6590 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6592 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6594 2013-05-10 Andreas Jaeger <aj@suse.de>
6597 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6598 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6600 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6602 * math/gen-libm-test.pl (adjust_arg): New function.
6603 (special_functions): Handle generating output in both functions
6605 (parse_args): Likewise.
6606 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6607 $in_func argument to parse_args.
6608 * math/libm-test.inc (struct test_f_f_data): New type.
6609 (IF_ROUND_INIT_): New macro.
6610 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6611 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6612 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6613 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6614 (ROUND_RESTORE_): Likewise.
6615 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6616 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6617 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6618 (ROUND_RESTORE_FE_UPWARD): Likewise.
6619 (RUN_TEST_LOOP_f_f): New macro.
6620 (acos_test_data): New variable.
6621 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6622 (acos_tonearest_test_data): New variable.
6623 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6625 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 * benchtests/bench-skeleton.c (startup): Fix coding style.
6629 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6632 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6633 negative infinity argument.
6634 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6635 negative infinity argument.
6636 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6637 negative infinity argument.
6638 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6641 2013-05-10 Florian Weimer <fweimer@redhat.com>
6643 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6644 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6645 * iconv/iconv_prog.c (main): Likewise.
6646 * locale/programs/charmap-dir.c (charmap_readdir)
6647 (fopen_uncompressed): Likewise.
6648 * locale/programs/locfile.c (siblings_uncached)
6649 (write_locale_data): Use lstat64 instead of lstat.
6650 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6653 2013-05-10 Andreas Jaeger <aj@suse.de>
6656 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6660 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6662 * elf/dl-close.c (_dl_close_worker): Add comments.
6664 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6667 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6669 (__ieee754_rem_pio2l): Update comments.
6672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6674 (__ieee754_rem_pio2l): Update comments.
6676 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6677 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6679 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6682 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6683 (M_PI_34_LOG10El): Likewise.
6684 (M_PI2_LOG10El): Likewise.
6685 (M_PI4_LOG10El): Likewise.
6686 (M_PI_LOG10El): Likewise.
6688 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6692 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6694 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6695 (MINUS_ZERO_INIT): Likewise.
6696 (PLUS_INFTY_INIT): Likewise.
6697 (MINUS_INFTY_INIT): Likewise.
6698 (QNAN_VALUE_INIT): Likewise.
6699 (MAX_VALUE_INIT): Likewise.
6700 (MIN_VALUE_INIT): Likewise.
6701 (MIN_SUBNORM_VALUE_INIT): Likewise.
6702 (plus_zero): Initialize with PLUS_ZERO_INIT.
6703 (minus_zero): Initialize with MINUS_ZERO_INIT.
6704 (plus_infty): Initialize with PLUS_INFTY_INIT.
6705 (minus_infty): Initialize with MINUS_INFTY_INIT.
6706 (qnan_value): Initialize with QNAN_VALUE_INIT.
6707 (max_value): Initialize with MAX_VALUE_INIT.
6708 (min_value): Initialize with MIN_VALUE_INIT.
6709 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6711 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6712 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6713 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6714 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6716 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6717 (RUN_TEST_2_f): Likewise.
6718 (RUN_TEST_ff_f): Likewise.
6719 (RUN_TEST_fi_f): Likewise.
6720 (RUN_TEST_fl_f): Likewise.
6721 (RUN_TEST_fff_f): Likewise.
6722 (RUN_TEST_c_f): Likewise.
6723 (RUN_TEST_f_f1): Likewise.
6724 (RUN_TEST_fF_f1): Likewise.
6725 (RUN_TEST_fI_f1): Likewise.
6726 (RUN_TEST_ffI_f1): Likewise.
6727 (RUN_TEST_c_c): Likewise.
6728 (RUN_TEST_cc_c): Likewise.
6729 (RUN_TEST_f_i): Likewise.
6730 (RUN_TEST_f_i_tg): Likewise.
6731 (RUN_TEST_ff_i_tg): Likewise.
6732 (RUN_TEST_f_b): Likewise.
6733 (RUN_TEST_f_b_tg): Likewise.
6734 (RUN_TEST_f_l): Likewise.
6735 (RUN_TEST_f_L): Likewise.
6736 (RUN_TEST_sincos): Likewise.
6737 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6738 whether to show exceptions. Do not include ");\n" in return
6740 (special_functions): Output call to RUN_TEST_sincos instead of
6741 check_float calls. Update calls to new_test.
6742 (parse_args): Output call to single RUN_TEST_* macro instead of
6743 check_* calls and other assignments. Update calls to new_test.
6749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6750 input to result for tgamma overflow.
6751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6752 (gamma_coeff): New variable.
6753 (NCOEFF): New macro.
6754 (gamma_positive): New function.
6755 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6756 underflow here. Use gamma_positive instead of exp (lgamma) for
6758 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6759 (gamma_coeff): New variable.
6760 (NCOEFF): New macro.
6761 (gammaf_positive): New function.
6762 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6763 underflow here. Use gamma_positive instead of exp (lgamma) for
6765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6766 (gamma_coeff): New variable.
6767 (NCOEFF): New macro.
6768 (gammal_positive): New function.
6769 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6770 underflow here. Use gamma_positive instead of exp (lgamma) for
6772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6773 (gamma_coeff): New variable.
6774 (NCOEFF): New macro.
6775 (gammal_positive): New function.
6776 (__ieee754_gammal_r): Handle positive infinity, overflow and
6777 underflow here. Handle NaN the same as positive infinity. Remove
6778 check x < 0xffffffff for negative integers. Use gamma_positive
6779 instead of exp (lgamma) for other arguments.
6780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6781 (gamma_coeff): New variable.
6782 (NCOEFF): New macro.
6783 (gammal_positive): New function.
6784 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6785 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6790 * sysdeps/generic/math_private.h (__gamma_productf): New
6792 (__gamma_product): Likewise.
6793 (__gamma_productl): Likewise.
6794 * math/Makefile (libm-calls): Add gamma_product.
6795 * math/libm-test.inc (tgamma_test): Add more tests.
6796 * sysdeps/i386/fpu/libm-test-ulps: Update.
6797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6801 * benchtests/bench-skeleton.c (main): Preheat CPU.
6803 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6805 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6807 2013-05-07 Roland McGrath <roland@hack.frob.com>
6809 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6810 and _dl_skip_args_internal.
6812 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6814 * manual/message.texi (Message Translation): Talk about users.
6815 Message to key mapping impacts design.
6817 2013-05-06 Roland McGrath <roland@hack.frob.com>
6819 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6821 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6823 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6824 * sysdeps/wordsize-64/glob64.c: ... here.
6826 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6827 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6830 * debug/getlogin_r_chk.c: Moved to ...
6831 * login/getlogin_r_chk.c: ... here.
6832 * debug/Makefile (routines): Move getlogin_r_chk to ...
6833 * login/Makefile (routines): ... here.
6834 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6835 * login/Versions (libc: GLIBC_2.4): ... here.
6837 * io/poll.c (__poll): Renamed from poll.
6838 Add libc_hidden_def.
6839 (poll): Define as weak alias.
6841 * debug/ptsname_r_chk.c: Moved to ...
6842 * login/ptsname_r_chk.c: ... here.
6843 * debug/Makefile (routines): Move ptsname_r_chk to ...
6844 * login/Makefile (routines): ... here.
6845 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6846 * login/Versions (libc: GLIBC_2.4): ... here.
6848 * posix/getlogin.c: Moved to ...
6849 * login/getlogin.c: ... here.
6850 * posix/getlogin_r.c: Moved to ...
6851 * login/getlogin_r.c: ... here.
6852 * posix/getlogin_r.c: Moved to ...
6853 * login/getlogin_r.c: ... here.
6854 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6855 * login/Makefile (routines): ... here.
6856 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6857 * login/Versions (libc: GLIBC_2.0): ... here.
6859 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6860 (setrlimit): Define as weak alias.
6862 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6863 Call __ names for open, ftruncate, and close.
6864 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6865 (truncate): Define as weak alias.
6867 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6869 * math/gen-libm-test.pl (parse_args): Initialize x before each
6870 test of frexp, modf and remquo.
6872 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6875 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6879 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6883 2013-05-06 Roland McGrath <roland@hack.frob.com>
6885 * elf/dl-writev.h: New file.
6886 * elf/dl-misc.c: Include it.
6887 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6888 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6890 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6892 * math/libm-test.inc (noXFails): Remove variable.
6893 (noXPasses): Likewise.
6894 (BUILD_COMPLEX_INT): Remove macro.
6895 (print_screen): Remove xfail argument.
6896 (print_screen_max_error): Likewise.
6897 (update_stats): Likewise.
6898 (print_max_error): Likewise. Update calls to other affected
6900 (print_complex_max_error): Likewise.
6901 (test_single_exception): Update calls to print_screen.
6902 (test_single_errno): Likewise.
6903 (check_float_internal): Remove xfail argument. Update calls to
6904 other affected functions.
6905 (check_float): Likewise.
6906 (check_complex): Likewise.
6907 (check_int): Likewise.
6908 (check_long): Likewise.
6909 (check_bool): Likewise.
6910 (check_longlong): Likewise.
6911 (main): Don't print noXFails and noXPasses.
6912 * math/gen-libm-test.pl (top level): Don't mention expected
6913 failure handling in comment.
6914 (new_test): Don't handle expected failures.
6915 (parse_args): Don't mention expected failure handling in comment.
6916 (generate_testfile): Don't handle expected failures.
6917 (parse_ulps): Likewise.
6918 (print_ulps_file): Likewise.
6919 (get_failure): Remove function.
6920 (output_test): Don't handle expected failures.
6921 * make/README.libm-test: Don't mention expected failure handling.
6923 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6924 (minus_zero): Likewise.
6925 (plus_infty): Likewise.
6926 (minus_infty): Likewise.
6927 (qnan_value): Likewise.
6928 (max_value): Likewise.
6929 (min_value): Likewise.
6930 (min_subnorm_value): Likewise.
6931 (initialize): Do not initialize those variables dynamically.
6933 2013-05-03 Roland McGrath <roland@hack.frob.com>
6935 * io/open.c (__open_2): Moved to ...
6936 * io/open_2.c: ... this new file.
6937 * io/open64.c (__open64_2): Moved to ...
6938 * io/open64_2.c: ... this new file.
6939 * io/openat.c (__openat_2): Moved to ...
6940 * io/openat_2.c: ... this new file.
6941 * io/openat64.c (__openat64_2): Moved to ...
6942 * io/openat64_2.c: ... this new file.
6943 * io/Makefile (routines): Add them.
6944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6945 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6946 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6947 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6948 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6949 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6950 (__openat64): Add hidden_ver.
6951 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6952 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6954 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6955 Separately conditionalize setting of GLRO(dl_sysinfo) so
6956 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6957 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6959 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6962 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6964 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6965 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6966 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6967 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6968 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6970 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6972 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6975 * math/libm-test.inc (hypot_test): Do not use
6976 IGNORE_ZERO_INF_SIGN.
6978 2013-05-03 Andreas Jaeger <aj@suse.de>
6980 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6982 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6983 (PF_MAX): Adjust for VSOCK change.
6985 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6989 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6992 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6993 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6994 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6996 2013-05-02 David S. Miller <davem@davemloft.net>
6998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7000 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7002 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7004 2013-05-01 Roland McGrath <roland@hack.frob.com>
7006 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7008 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7011 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7012 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7013 Use __attribute__ ((__gnu_inline__)).
7014 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7015 Don't use __attribute__ ((__gnu_inline__)).
7017 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7020 * math/s_catan.c (__catan): Handle small real or imaginary part of
7021 input specially to avoid spurious underflow.
7022 * math/s_catanf.c (__catanf): Likewise.
7023 * math/s_catanh.c (__catanh): Likewise.
7024 * math/s_catanhf.c (__catanhf): Likewise.
7025 * math/s_catanhl.c (__catanhl): Likewise.
7026 * math/s_catanl.c (__catanl): Likewise.
7027 * math/libm-test.inc (catan_test): Add more tests.
7028 (catanh_test): Likewise.
7029 * sysdeps/i386/fpu/libm-test-ulps: Update.
7030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7032 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7036 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7039 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7040 accurately for denominator in atan2.
7041 * math/s_catanf.c (__catanf): Likewise.
7042 * math/s_catanh.c (__catanh): Likewise.
7043 * math/s_catanhf.c (__catanhf): Likewise.
7044 * math/s_catanhl.c (__catanhl): Likewise.
7045 * math/s_catanl.c (__catanl): Likewise.
7046 * math/libm-test.inc (catan_test): Add more tests.
7047 (catanh_test): Likewise.
7048 * sysdeps/i386/fpu/libm-test-ulps: Update.
7049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7051 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7053 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7055 * benchtests/Makefile (bench): Remove slow benchmarks.
7056 * benchtests/atan-inputs: Add slow benchmark inputs.
7057 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7058 (BENCH_FUNC): Accept variant offset.
7060 * benchtests/bench-skeleton.c (main): Run benchmark for each
7062 * benchtests/cos-inputs: Add slow benchmark inputs.
7063 * benchtests/exp-inputs: Likewise.
7064 * benchtests/pow-inputs: Likewise.
7065 * benchtests/sin-inputs: Likewise.
7066 * benchtests/slowatan-inputs: Remove.
7067 * benchtests/slowatan.c: Remove.
7068 * benchtests/slowcos-inputs: Remove.
7069 * benchtests/slowcos.c: Remove.
7070 * benchtests/slowexp-inputs: Remove.
7071 * benchtests/slowexp.c: Remove.
7072 * benchtests/slowpow-inputs: Remove.
7073 * benchtests/slowpow.c: Remove.
7074 * benchtests/slowsin-inputs: Remove.
7075 * benchtests/slowsin.c: Remove.
7076 * benchtests/slowtan-inputs: Remove.
7077 * benchtests/slowtan.c: Remove.
7078 * benchtests/tan-inputs: Add slow benchmark inputs.
7079 * scripts/bench.pl: Parse comments and directives.
7081 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7083 ($(objpfx)bench-%.c): Remove *-ITER.
7084 * benchtests/bench-modf.c: Remove definition of ITER.
7085 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7086 (main): Loop for DURATION seconds instead of fixed number of
7088 * scripts/bench.pl: Don't expect iterations in parameters.
7090 2013-04-29 Roland McGrath <roland@hack.frob.com>
7092 * io/fchdir.c (__fchdir): Renamed from fchdir.
7093 (fchdir): Define as weak alias.
7095 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7097 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7098 (ERRNO_EDOM): Likewise.
7099 (ERRNO_ERANGE): Likewise.
7100 (noErrnoTests): New variable.
7101 (init_max_error): Set errno to 0.
7102 (test_single_errno): New function.
7103 (test_errno): Likewise.
7104 (check_float_internal): Call test_errno. Set errno to 0.
7105 (check_complex): Refer to errno tests in comment.
7106 (check_int): Call test_errno. Set errno to 0.
7107 (check_long): Likewise.
7108 (check_bool): Likewise.
7109 (check_longlong): Likewise.
7110 (cos_test): Use ERRNO_* flags for errno tests instead of
7112 (expm1_test): Likewise.
7113 (fmod_test): Likewise.
7114 (ilogb_test): Likewise.
7115 (lgamma_test): Likewise.
7116 (pow_test): Likewise.
7117 (remainder_test): Likewise.
7118 (sin_test): Likewise.
7119 (tan_test): Likewise.
7120 (yn_test): Likewise.
7121 (initialize): Set errno to 0.
7122 (main): Print number of errno tests.
7123 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7125 2013-04-29 Andreas Jaeger <aj@suse.de>
7128 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7132 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7133 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7137 * stdlib/random.c (__initstate): Return NULL if
7141 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7142 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7145 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7149 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7151 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7152 of individual tests.
7153 (casin_test): Likewise.
7154 (casinh_test): Likewise.
7156 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7159 * math/s_catan.c (__catan): Handle arguments with large real or
7160 imaginary part separately without squaring.
7161 * math/s_catanf.c (__catanf): Likewise.
7162 * math/s_catanh.c (__catanh): Likewise.
7163 * math/s_catanhf.c (__catanhf): Likewise.
7164 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7166 (__catanhl): Handle arguments with large real or imaginary part
7167 separately without squaring.
7168 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7170 (__catanl): Handle arguments with large real or imaginary part
7171 separately without squaring.
7172 * math/libm-test.inc (catan_test): Add more tests.
7173 (catanh_test): Likewise.
7174 * sysdeps/i386/fpu/libm-test-ulps: Update.
7175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7177 2013-04-27 Andreas Jaeger <aj@suse.de>
7180 * stdlib/stdlib.h: Update guards for qecvt.
7181 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7184 2013-04-27 Allan McRae <allan@archlinux.org>
7186 * sysdeps/i386/fpu/libm-test-ulps: Update.
7188 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7191 * math/s_catan.c: Include <float.h>.
7192 (__catan): Ensure underflow exception occurs for underflowed
7194 * math/s_catanf.c: Include <float.h>.
7195 (__catanf): Ensure underflow exception occurs for underflowed
7197 * math/s_catanh.c: Include <float.h>.
7198 (__catanh): Ensure underflow exception occurs for underflowed
7200 * math/s_catanhf.c: Include <float.h>.
7201 (__catanhf): Ensure underflow exception occurs for underflowed
7203 * math/s_catanhl.c: Include <float.h>.
7204 (__catanhl): Ensure underflow exception occurs for underflowed
7206 * math/s_catanl.c: Include <float.h>.
7207 (__catanl): Ensure underflow exception occurs for underflowed
7209 * math/libm-test.inc (catan_test): Add more tests.
7210 (catanh_test): Likewise.
7213 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7215 * math/s_ccoshf.c (__ccoshf): Likewise.
7216 * math/s_ccoshl.c (__ccoshl): Likewise.
7217 * math/s_csin.c (__csin): Likewise.
7218 * math/s_csinf.c (__csinf): Likewise.
7219 * math/s_csinh.c (__csinh): Likewise.
7220 * math/s_csinhf.c (__csinhf): Likewise.
7221 * math/s_csinhl.c (__csinhl): Likewise.
7222 * math/s_csinl.c (__csinl): Likewise.
7223 * math/libm-test.inc (ccos_test): Add more tests.
7224 (ccosh_test): Likewise.
7225 (csin_test): Likewise.
7226 (csinh_test): Likewise.
7228 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7230 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7231 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7232 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7233 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7234 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7235 powerpc/power5+/fpu folders.
7236 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7239 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7243 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7245 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7246 additions to variable.
7247 [$(config-machine) = x86_64] (modules-names): Likewise.
7248 ($(objpfx)tst-audit3): Remove dependency.
7249 ($(objpfx)tst-audit3.out): Likewise.
7250 ($(objpfx)tst-audit4): Likewise.
7251 ($(objpfx)tst-audit4.out): Likewise.
7252 ($(objpfx)tst-audit5): Likewise.
7253 ($(objpfx)tst-audit5.out): Likewise.
7254 ($(objpfx)tst-audit6): Likewise.
7255 ($(objpfx)tst-audit6.out): Likewise.
7256 ($(objpfx)tst-audit7): Likewise.
7257 ($(objpfx)tst-audit7.out): Likewise.
7258 (tst-audit3-ENV): Remove variable.
7259 (tst-audit4-ENV): Likewise.
7260 (tst-audit5-ENV): Likewise.
7261 (tst-audit6-ENV): Likewise.
7262 (tst-audit7-ENV): Likewise.
7263 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7264 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7265 addition to variable.
7266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7268 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7271 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7272 tst-audit3, tst-audit4 and tst-audit5.
7273 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7274 tst-audit6 and tst-audit7.
7275 [$(subdir) = elf] (modules-names): Add audit modules for those
7277 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7278 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7279 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7280 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7281 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7282 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7283 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7284 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7285 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7286 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7287 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7288 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7289 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7290 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7291 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7292 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7294 [$(subdir) = elf && $(config-cflags-avx) = yes]
7295 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7296 [$(subdir) = elf && $(config-cflags-avx) = yes]
7297 (CFLAGS-tst-auditmod4a.c): Likewise.
7298 [$(subdir) = elf && $(config-cflags-avx) = yes]
7299 (CFLAGS-tst-auditmod4b.c): Likewise.
7300 [$(subdir) = elf && $(config-cflags-avx) = yes]
7301 (CFLAGS-tst-auditmod6b.c): Likewise.
7302 [$(subdir) = elf && $(config-cflags-avx) = yes]
7303 (CFLAGS-tst-auditmod6c.c): Likewise.
7304 [$(subdir) = elf && $(config-cflags-avx) = yes]
7305 (CFLAGS-tst-auditmod7b.c): Likewise.
7306 * elf/tst-audit3.c: Move to ...
7307 * sysdeps/x86_64/tst-audit3.c: ... here.
7308 * elf/tst-audit4.c: Move to ...
7309 * sysdeps/x86_64/tst-audit4.c: ... here.
7310 * elf/tst-audit5.c: Move to ...
7311 * sysdeps/x86_64/tst-audit5.c: ... here.
7312 * elf/tst-audit6.c: Move to ...
7313 * sysdeps/x86_64/tst-audit6.c: ... here.
7314 * elf/tst-audit7.c: Move to ...
7315 * sysdeps/x86_64/tst-audit7.c: ... here.
7316 * elf/tst-auditmod3a.c: Move to ...
7317 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7318 * elf/tst-auditmod3b.c: Move to ...
7319 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7320 * elf/tst-auditmod4a.c: Move to ...
7321 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7322 * elf/tst-auditmod4b.c: Move to ...
7323 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7324 * elf/tst-auditmod5a.c: Move to ...
7325 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7326 * elf/tst-auditmod5b.c: Move to ...
7327 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7328 * elf/tst-auditmod6a.c: Move to ...
7329 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7330 * elf/tst-auditmod6b.c: Move to ...
7331 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7332 * elf/tst-auditmod6c.c: Move to ...
7333 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7334 * elf/tst-auditmod7a.c: Move to ...
7335 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7336 * elf/tst-auditmod7b.c: Move to ...
7337 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7339 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7342 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7343 define unconditionally.
7344 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7345 define unconditionally.
7346 (INT8_C, INT16_C, etc.): Likewise.
7348 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7350 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7351 __ehdr_start with hidden visibility.
7353 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7355 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7357 * math/libm-test.inc (cos_test): Use accurate hex constants.
7358 (sincost_test): Likewise.
7360 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7362 * math/libm-test.inc (catan_test): Add more tests.
7363 (catanh_test): Likewise.
7365 * math/s_catanf.c (__catanf): Use suffixed floating-point
7367 * math/s_catanhf.c (__catanhf): Likewise.
7368 * math/s_catanhl.c (__catanhl): Likewise.
7369 * math/s_catanl.c (__catanl): Likewise.
7372 * math/s_catan.c (__catan): Calculate imaginary part of result
7373 with log1p not log unless computing log of number close to 0.
7374 * math/s_catanf.c (__catanf): Likewise.
7375 * math/s_catanl.c (__catanl): Likewise.
7376 * math/s_catanh.c (__catanh): Calculate real part of result with
7377 log1p not log unless computing log of number close to 0.
7378 * math/s_catanhf.c (__catanhf): Likewise.
7379 * math/s_catanhl.c (__catanhl): Likewise.
7380 * math/libm-test.inc (catan_test): Add more tests.
7381 (catanh_test): Likewise.
7382 * sysdeps/i386/fpu/libm-test-ulps: Update.
7383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7385 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7387 * benchtests/Makefile: Mention files in which fast and slow
7388 paths of math functions are implemented.
7390 2013-04-23 Roland McGrath <roland@hack.frob.com>
7392 * sysdeps/posix/timespec_get.c: New file.
7394 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7396 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7398 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7400 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7401 powerpc/power5/fpu folders.
7402 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7403 * benchtests/Makefile: Add modf testcase.
7404 * benchtests/bench-modf.c: New file: Benchmark test for mo
7406 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7409 * time/Makefile (tests): Add tst-strptime-whitespace.
7410 * time/strptime_l.c (get_number): Use ISSPACE.
7411 (__strptime_internal): Likewise.
7412 * time/tst-strptime-whitespace.c: New test case.
7414 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7416 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7418 (_nss_files_init): Set it here.
7420 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7422 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7423 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7426 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7428 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7430 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7435 2013-04-21 David S. Miller <davem@davemloft.net>
7437 * po/ru.po: Update Russion translation from translation project.
7439 2013-04-17 Adam Conrad <adconrad@0c3.net>
7441 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7444 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7446 * configure.in: Remove i386 configure warning. Remove i386 case.
7447 * configure: Regenerate.
7448 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7449 Add example to error message.
7450 * sysdeps/i386/configure: Regenerate.
7452 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7454 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7456 * benchtests/cos-inputs: New file.
7457 * benchtests/slowcos-inputs: New file.
7458 * benchtests/slowcos.c: New file.
7459 * benchtests/slowtan-inputs: New file.
7460 * benchtests/slowtan.c: New file.
7461 * benchtests/tan-inputs: New file.
7463 2013-04-16 Roland McGrath <roland@hack.frob.com>
7465 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7468 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7470 * benchtests/Makefile: Include cppflags-iterator.mk to add
7471 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7473 * Makefile.in (bench-clean): New target.
7474 * benchtests/Makefile (bench-clean): Likewise.
7476 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7478 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7480 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7482 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7484 2013-04-15 Andreas Schwab <schwab@suse.de>
7486 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7488 * nscd/pwdcache.c (cache_addpw): Likewise.
7489 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7492 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7494 * benchtests/Makefile (bench): Write all output to
7495 bench-out.tmp together.
7497 2013-04-15 Andreas Schwab <schwab@suse.de>
7499 * nscd/nscd.c (main): Don't fork again after closing files.
7501 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7503 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7505 * benchtests/Rules (bench-deps): Collect dependencies into a
7506 single variable. Add Makefile to dependencies.
7507 ($(objpfx)bench-%.c): Depend on bench-deps.
7509 2013-04-12 Roland McGrath <roland@hack.frob.com>
7510 Xavier Roche <roche+kml2@exalead.com>
7513 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7514 just that it's a file descriptor.
7515 * manual/llio.texi (Synchronizing AIO Operations): Update description
7516 for EBADF error from aio_fsync.
7518 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7520 * Rules (bench): Move target definition...
7521 * benchtests/Makefile: ... here.
7523 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7525 * math/libm-test.inc (cos_test): Fix PI/2 test.
7526 (sincos_test): Likewise.
7527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7528 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7530 2013-04-11 Andreas Schwab <schwab@suse.de>
7533 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7534 accept exponent character only when digits were seen.
7535 * stdio-common/Makefile (tests): Add bug26.
7536 * stdio-common/bug26.c: New file.
7539 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7542 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7544 * Makeconfig (rtld-prefix): Define built linker prefix.
7545 * Rules (run-bench): Use it.
7546 * math/Makefile (run-regen-ulps): Likewise.
7548 * Rules (bench): Remove eval.
7550 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7551 Roland McGrath <roland@hack.frob.com>
7552 Ondrej Bilka <neleai@seznam.cz>
7555 * time/getdate.c: Include ctype.h and alloca.h.
7556 (__getdate_r): Trim leading and trailing spaces of input.
7557 * time/tst-getdate.c (tests): Add tests with leading and
7560 2013-04-08 Roland McGrath <roland@hack.frob.com>
7563 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7564 when computing value.
7566 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7568 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7569 Use testrun.sh to run libm tests.
7572 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7574 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7577 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7579 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7581 * Makefile.in (regen-ulps): New target.
7582 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7583 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7584 [ifneq (no,$(PERL)] (regen-ulps): New target.
7585 [ifeq (no,$(PERL)] (regen-ulps): New target.
7586 * math/libm-test.inc (ulps_file_name): Define.
7587 (output_dir): New variable.
7588 (options): Add "output-dir" option.
7589 (parse_opt): Handle 'o' case.
7590 (main): If output_dir is non-NULL use it as a prefix
7592 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7594 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7597 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7598 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7599 fail configure if __sync_val_compare_and_swap is not inlined.
7600 * sysdeps/i386/configure: Regenerate.
7601 * configure.in: Build for i686 when configured for i386.
7602 * configure: Regenerate.
7603 * README: Remove i386 reference.
7605 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7607 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7610 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7612 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7613 (lmsnanval): New variables.
7614 (F): Add conversion tests.
7615 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7616 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7618 * stdio-common/tstdiomisc.c (F): Properly collect individual
7622 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7623 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7624 Instead, use input NaN values or generate a qNaN by arithmetic
7625 operation. Also fix bugs to comply with the standard.
7626 * math/libm-test.inc (remainder_test): Add more tests.
7629 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7631 input NaN values or generate a qNaN by arithmetic operation.
7633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7636 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7639 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7642 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7644 * math/s_cexpf.c (__cexpf): Likewise.
7645 * math/s_cexpl.c (__cexpl): Likewise.
7646 * math/libm-test.inc (cexp_test): Add more tests.
7648 2013-04-03 Andreas Schwab <schwab@suse.de>
7651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7652 order arrays from heap if bigger than alloca cutoff.
7654 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7656 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7657 (SNAN_TESTS_double): Refer to GCC PR56831.
7658 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7661 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7663 * Rules (bench): Move bench.out after the run is complete.
7665 * Rules (bench): Echo currently running benchmark.
7667 * benchtests/Makefile (bench): Add atan and slowatan.
7668 * benchtests/atan-inputs: New file.
7669 * benchtests/slowatan-inputs: New file.
7670 * benchtests/slowatan.c: New file.
7672 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7677 * sysdeps/unix/sysv/linux/kernel-features.h
7678 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7679 __ASSUME_XFS_RESTRICTED_CHOWN.
7680 * sysdeps/unix/sysv/linux/pathconf.c
7681 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7682 Save and restore errno.
7684 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7687 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7688 arguments using __kernel_casinh.
7689 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7690 arguments using __kernel_casinhf.
7691 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7692 arguments using __kernel_casinhl.
7693 * math/libm-test.inc (cacosh_test): Add more tests.
7694 * sysdeps/i386/fpu/libm-test-ulps: Update.
7695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7697 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7699 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7702 * bench/Makefile (bench): Add sin and slowsin.
7703 * benchtests/sin-inputs: New file.
7704 * benchtests/slowsin-inputs: New file.
7705 * benchtests/slowsin.c: New file.
7707 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7708 (bench): Add slowexp and slowpow.
7709 (exp-ITER): Increase iterations.
7710 (pow-ITER): Likewise.
7711 * benchtests/exp-inputs: Change input.
7712 * benchtests/pow-inputs: Likewise.
7713 * benchtests/slowexp-inputs: New file.
7714 * benchtests/slowexp.c: New file.
7715 * benchtests/slowpow-inputs: New file.
7716 * benchtests/slowpow.c: New file.
7718 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7722 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7723 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7724 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7725 * benchtests/Makefile: Add rint benchtest.
7726 * benchtests/rint-inputs: Input for rint benchtest.
7728 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7730 * Versions.def (libm): Add GLIBC_2.18.
7731 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7732 hidden libm prototypes.
7733 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7734 * math/Makefile (libm-calls): Add s_issignaling.
7735 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7736 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7737 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7739 * math/math.h [__USE_GNU] (issignaling): New macro.
7740 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7741 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7743 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7746 * manual/arith.texi (issignaling): New section.
7747 * manual/libm-err-tab.pl (@all_functions): Update comment.
7748 * math/gen-libm-test.pl (parse_args): Apply special handling for
7750 * math/libm-test.inc (print_float, issignaling_test): New
7752 (check_float_internal): Add issignaling checks.
7753 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7755 * sysdeps/powerpc/math-tests.h: New file.
7756 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7758 * math/test-snan.c (TEST_FUNC): Likewise.
7760 2013-03-30 David S. Miller <davem@davemloft.net>
7762 * po/de.po: Update from translation team.
7764 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7768 imaginary part less than 1.0 and real part less than 0.5
7770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7773 (cacos_test): Add more tests.
7774 (casin_test): Likewise.
7775 (casinh_test): Likewise.
7776 * sysdeps/i386/fpu/libm-test-ulps: Update.
7777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7779 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7781 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7784 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7785 (__pow_mp): Replace ONE and MONE with their values.
7786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7789 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7790 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7793 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7795 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7796 (__pow_mp): Replace ZERO and MZERO with their values.
7797 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7799 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7801 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7802 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7805 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7807 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7809 2013-03-28 Roland McGrath <roland@hack.frob.com>
7811 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7812 Declare with __attribute__ ((weak)).
7813 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7814 Call __call_tls_dtors only if it's not NULL.
7816 2013-03-28 Roland McGrath <roland@hack.frob.com>
7818 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7819 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7820 magic __ehdr_start linker symbol if it's defined.
7821 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7822 them up here if it was already done.
7824 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7825 (_dl_aux_init): Use const in cast when setting it.
7826 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7827 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7828 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7832 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7833 * csu/libc-tls.c: Nor here.
7834 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7836 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7837 (__libc_message): Never call vsyslog.
7839 2013-03-28 Alan Modra <amodra@gmail.com>
7841 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7843 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7846 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7853 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7856 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7857 Don't add gid passed as argument.
7859 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7861 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7864 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7865 imaginary part between 1.0 and 1.5 and real part less than 0.5
7867 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7868 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7869 * math/libm-test.inc (cacos_test): Add more tests.
7870 (casin_test): Likewise.
7871 (casinh_test): Likewise.
7872 * sysdeps/i386/fpu/libm-test-ulps: Update.
7873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7875 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7877 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7881 (__dbl_mp): Likewise.
7882 (add_magnitudes): Likewise.
7883 (sub_magnitudes): Likewise.
7891 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7893 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7894 (__dubcos): Likewise.
7895 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7896 (__ieee754_acos): Likewise.
7897 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7898 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7903 (my_log2): Likewise.
7904 (checkint): Likewise.
7905 * sysdeps/ieee754/dbl-64/e_remainder.c
7906 (__ieee754_remainder): Likewise.
7907 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7912 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7914 MANTISSA_STORE_T to store computations on mantissa. Use
7915 macros for rounding and division.
7917 (__dbl_mp): Likewise.
7918 (add_magnitudes): Likewise.
7919 (sub_magnitudes): Likewise.
7922 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7923 powers of two in terms of TWOPOW macro.
7924 (mp_no): Make type of mantissa as MANTISSA_T.
7925 [!RADIXI]: Define RADIXI.
7926 [!TWO52]: Define TWO52.
7927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7929 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7931 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7932 llroundl symbol when building for PPC32.
7934 2013-03-24 Mark H Weaver <mhw@netris.org>
7936 * manual/arith.texi (Normalization Functions): Fix prototypes for
7937 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7939 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7943 high value to check if expl overflow.
7944 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7945 to check for underflow and overflow.
7946 * math/libm-test.inc: Add exp test.
7948 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7951 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7954 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7956 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7959 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7961 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7962 wrap blocks consisting of several statements.
7964 * sysdeps/generic/math-tests.h: New file.
7965 * sysdeps/i386/fpu/math-tests.h: Likewise.
7966 * math/test-snan.c: Include it.
7967 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7969 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7972 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7973 (__ieee754_j0l): Do not improve calculations using cos of twice
7974 input for inputs above LDBL_MAX / 2.0L.
7975 (__ieee754_y0l): Likewise.
7976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7977 (__ieee754_j1l): Do not improve calculations using cos of twice
7978 input for inputs above LDBL_MAX / 2.0L.
7979 (__ieee754_y1l): Likewise.
7980 * math/libm-test.inc (j0_test): Add another test.
7981 (j1_test): Likewise.
7982 (y0_test): Likewise.
7983 (y1_test): Likewise.
7984 * sysdeps/i386/fpu/libm-test-ulps: Update.
7986 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7988 * Rules ($(objpfx)bench-%.c): Include code from a C source
7991 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7994 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7995 imaginary part 1.0 and real part less than 0.5 specially.
7996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7998 * math/libm-test.inc (cacos_test): Add more tests.
7999 (casin_test): Likewise.
8000 (casinh_test): Likewise.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8004 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8007 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8009 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8011 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8012 * config.make.in (config-cflags-sse4): Remove variable.
8013 (config-cflags-avx): Likewise.
8014 (config-cflags-sse2avx): Likewise.
8015 (config-cflags-novzeroupper): Likewise.
8016 (config-asflags-i686): Likewise.
8017 (have-mfma4): Likewise.
8018 (have-as-vis3): Likewise.
8020 * configure.in (MIG): Do not AC_SUBST.
8021 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8022 (libc_cv_cc_sse4): Do not AC_SUBST.
8023 (libc_cv_cc_avx): Likewise.
8024 (libc_cv_cc_sse2avx): Likewise.
8025 (libc_cv_cc_novzeroupper): Likewise.
8026 (libc_cv_cc_fma4): Likewise.
8027 (libc_cv_as_i686): Likewise.
8028 (libc_cv_sparc_as_vis3): Likewise.
8029 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8031 (config-asflags-i686): Likewise.
8032 (config-cflags-avx): Likewise.
8033 (config-cflags-sse2avx): Likewise.
8034 (have-mfma4): Likewise.
8035 (config-cflags-novzeroupper): Likewise.
8036 * sysdeps/mach/configure.in (MIG): Likewise.
8037 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8038 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8040 (config-cflags-avx): Likewise.
8041 (config-cflags-sse2avx): Likewise.
8042 (have-mfma4): Likewise.
8043 (config-cflags-novzeroupper): Likewise.
8044 * configure: Regenerated.
8045 * sysdeps/i386/configure: Likewise.
8046 * sysdeps/mach/configure: Likewise.
8047 * sysdeps/sparc/configure: Likewise.
8048 * sysdeps/x86_64/configure: Likewise.
8050 2013-03-20 Roland McGrath <roland@hack.frob.com>
8053 * locale/programs/localedef.c (options): Put N_ translation marker
8054 on argument names, not just descriptions.
8056 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8058 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8060 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8063 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8065 2013-03-19 Roland McGrath <roland@hack.frob.com>
8067 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8068 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8069 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8070 [!BEFORE_ABORT] (before_abort): New function.
8071 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8072 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8073 (writev_for_fatal): New function.
8074 (WRITEV_FOR_FATAL): New macro; call that.
8075 (backtrace_and_maps): New function.
8076 (BEFORE_ABORT): New macro; call that.
8077 (struct str_list): Type removed.
8078 (__libc_message, __libc_fatal): Functions removed.
8079 Include <sysdeps/posix/libc_fatal.c> instead.
8081 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8083 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8085 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8088 2013-03-19 Andreas Schwab <schwab@suse.de>
8090 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8091 * sysdeps/gnu/configure: Regenerate.
8093 * configure.in: Substitute libc_cv_rtlddir.
8094 * configure: Regenerate.
8095 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8096 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8097 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8098 * elf/Makefile (install-others, CFLAGS-interp.c)
8099 (ldso_install, common-ldd-rewrite): Likewise.
8100 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8101 $(inst_slibdir)/$(rtld-installed-name).
8102 * scripts/rellns-sh: Add -p option.
8103 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8106 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8108 * manual/nptl.texi: Renamed to ...
8109 * manual/threads.texi: ... this.
8110 * manual/Makefile (chapters): Update.
8112 2013-03-18 Roland McGrath <roland@hack.frob.com>
8115 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8116 on argument names, not just descriptions.
8117 * malloc/memusagestat.c (options): Likewise.
8118 * nss/getent.c (options): Likewise.
8120 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8123 * iconv/iconv_prog.c (options): Put N_ translation marker
8124 on argument names, not just descriptions.
8125 * iconv/iconvconfig.c (options): Likewise.
8127 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8129 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8130 implementation which is faster on all x86_64 architectures.
8131 Tested on AMD, Intel Nehalem, SNB, IVB.
8132 * sysdeps/x86_64/strnlen.S: Likewise.
8134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8135 Remove all multiarch strlen and strnlen versions.
8136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8137 Remove strlen and strnlen related parts.
8139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8143 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8145 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8146 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8147 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8148 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8150 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8152 * manual/memory.texi (Malloc Tunable Parameters):
8153 Sort parameters alphabetically. Add comments for missing entries.
8155 2013-03-17 David S. Miller <davem@davemloft.net>
8157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8159 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8162 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8163 for arguments at most half maximum finite value.
8164 * math/libm-test.inc (j0_test): Add more tests.
8165 (j1_test): Likewise.
8166 (y0_test): Likewise.
8167 (y1_test): Likewise.
8168 * sysdeps/i386/fpu/libm-test-ulps: Update.
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8172 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8173 1 / x and functions P and Q for arguments above 0x1p256L.
8174 (__ieee754_y0l): Likewise.
8175 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8176 (__ieee754_y1l): Likewise.
8177 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8178 (j1_test): Likewise.
8179 (y0_test): Likewise.
8180 (y1_test): Likewise.
8182 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8184 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8187 2013-03-15 Roland McGrath <roland@hack.frob.com>
8189 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8190 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8191 zero since it's initialized to EXEC_PAGESIZE.
8193 * sysdeps/unix/sysv/linux/ldsodefs.h
8194 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8195 * sysdeps/generic/ldsodefs.h: ... here.
8197 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8199 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8201 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8203 * math/test-snan.c: Renamed from
8204 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8205 * math/Makefile (tests): Add test-snan.
8206 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8209 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8210 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8212 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8213 __builtin_nan family of functions.
8214 * math/libm-test.inc (initialize): Initialize qnan_value with
8215 __builtin_nan family of functions.
8216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8218 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8220 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8221 storage class. Initialize qNaN_var and sNaN_var with
8222 __builtin_nan and __builtin_nans families of functions,
8225 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8226 (sqrt_test): Remove duplicate test with qNaN input.
8227 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8228 (round_test, signbit_test, significand_test): Note missing +/-Inf
8229 as well as qNaN tests.
8231 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8232 qNaN_var. Fix a few strings, too.
8233 * math/libm-test.inc (nan_value): Rename to qnan_value.
8234 * math/gen-libm-test.pl (%beautify): Adjust to that.
8235 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8236 * math/test-misc.c (main): Likewise.
8237 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8238 to __qnan_bytes, and __qnan_union, respectively.
8239 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8241 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8242 and lqnanval, respectively.
8243 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8244 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8245 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8246 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8248 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8249 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8252 * math/test-misc.c (main): Fix copy'n'pastos.
8253 * misc/tst-efgcvt.c (special): Likewise.
8255 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8256 Remove declarations.
8258 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8260 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8261 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8262 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8263 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8265 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8268 macro to return vdso values correctly in IFUNC implementations.
8269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8270 Optimization by using IFUNC.
8272 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8273 Richard Henderson <rth@redhat.com>
8274 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8276 * Makefile.in (bench): New target.
8277 * NEWS: Mention the benchmark framework.
8278 * Rules (bench): Likewise.
8279 (binaries-bench): Generate binaries for functions to
8281 * benchtests/Makefile: New makefile for benchmark tests.
8282 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8284 * benchtests/exp-inputs: New input file for EXP function.
8285 * benchtests/pow-inputs: New input file for POW function.
8286 * scripts/bench.pl: New script to generate source files for
8289 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8291 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8293 computations on mantissa. Use macros for rounding and
8296 (__dbl_mp): Likewise.
8297 (add_magnitudes): Likewise.
8298 (sub_magnitudes): Likewise.
8301 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8302 powers of two in terms of TWOPOW macro.
8303 (mp_no): Make type of mantissa as MANTISSA_T.
8304 [!RADIXI]: Define RADIXI.
8305 [!TWO52]: Define TWO52.
8306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8308 * manual/nptl.texi (cindex): Modify threads to pthreads.
8310 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8312 * sysdeps/x86_64/preconfigure: Regenerated.
8314 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8317 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8319 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8320 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8322 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8323 * math/libm-test.inc (j0_test): Do not allow one spurious
8324 underflow exception.
8325 (y1_test): Likewise.
8327 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8329 * manual/Makefile (chapters): Add nptl.
8330 * manual/debug.texi (Debugging Support): Add link to Threads
8332 * manual/nptl.texi: New file.
8334 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8336 2013-03-14 Petr Baudis <pasky@ucw.cz>
8338 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8339 for non-NULL pointer before the memory validity test. Pointed
8340 out by Holger Brunck <holger.brunck@keymile.com>.
8342 2013-03-13 Andreas Schwab <schwab@suse.de>
8344 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8347 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8349 * timezone/zic.c: Update from tzcode 2013b.
8351 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8353 * manual/install.texi (Configuring and compiling):
8354 Mention i686 and i586.
8355 * INSTALL: Regenerate.
8357 2013-03-12 Roland McGrath <roland@hack.frob.com>
8359 * sysdeps/init_array/elf-init.c: New file.
8361 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8362 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8364 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8365 __gmon_start__ as global, but as static with a .preinit_array pointer.
8366 * sysdeps/init_array/gmon-start.c: New file. Use that.
8367 * sysdeps/init_array/crti.S: New file, empty except for comments.
8368 * sysdeps/init_array/crtn.S: Likewise.
8370 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8372 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8375 Remove Prefer_SSE_for_memop.
8376 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8377 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8378 HAS_PREFER_SSE_FOR_MEMOP.
8379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8382 Remove bzero, memset ifunc support.
8383 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8384 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8385 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8386 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8388 2013-03-11 Andreas Schwab <schwab@suse.de>
8391 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8394 (GLIBC_2.16): Remove pthread_atfork.
8396 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8398 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8399 (ptestcases.h): Likewise.
8401 2013-03-08 Roland McGrath <roland@hack.frob.com>
8403 * Makeconfig ($(common-objpfx)config.status): Depend on
8404 sysdeps/*/preconfigure{,.in} too.
8406 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8408 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8409 (__free_hook): Use void * instead of __malloc_ptr_t.
8410 (__malloc_hook): Likewise.
8411 (__realloc_hook): Likewise.
8412 (__memalign_hook): Likewise.
8413 (__after_morecore_hook): Likewise.
8414 * malloc/arena.c (save_malloc_hook): Likewise.
8415 (save_free_hook): Likewise.
8416 * malloc/hooks.c (malloc_hook_ini): Likewise.
8417 (realloc_hook_ini): Likewise.
8418 (memalign_hook_ini): Likewise.
8419 * malloc/malloc.c (malloc_hook_ini): Likewise.
8420 (realloc_hook_ini): Likewise.
8421 (memalign_hook_ini): Likewise.
8422 (__free_hook): Likewise.
8423 (__malloc_hook): Likewise.
8424 (__realloc_hook): Likewise.
8425 (__memalign_hook): Likewise.
8426 (__libc_malloc): Likewise.
8427 (__libc_free): Likewise.
8428 (__libc_realloc): Likewise.
8429 (__libc_memalign): Likewise.
8430 (__libc_valloc): Likewise.
8431 (__libc_pvalloc): Likewise.
8432 (__libc_calloc): Likewise.
8433 (__posix_memalign): Likewise.
8434 * malloc/morecore.c (__sbrk): Likewise.
8435 (__default_morecore): Likewise.
8437 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8439 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8440 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8443 * malloc/malloc.h (__malloc_size_t): Remove macro.
8444 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8446 (old_memalign_hook): Likewise.
8447 (old_realloc_hook): Likewise.
8448 (struct hdr): Likewise.
8450 (mallochook): Likewise.
8451 (memalignhook): Likewise.
8452 (reallochook): Likewise.
8453 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8454 (tr_old_realloc_hook): Likewise.
8455 (tr_old_memalign_hook): Likewise.
8456 (tr_mallochook): Likewise.
8457 (tr_reallochook): Likewise.
8458 (tr_memalignhook): Likewise.
8460 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8463 default_ldbl_pack and using as default implementation.
8464 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8466 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8467 redundant definition.
8468 (ldbl_insert_mantissa): Likewise.
8469 (ldbl_canonicalize): Likewise.
8470 (ldbl_nearbyint): Likewise.
8471 (ldbl_pack): Rename to ldbl_pack_ppc.
8472 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8473 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8474 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8476 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8479 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8481 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8483 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8484 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8485 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8487 2013-03-07 Andreas Jaeger <aj@suse.de>
8489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8492 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8494 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8495 Include mpa.h and declare __MPEXP.
8496 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8498 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8499 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8502 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8504 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8505 (__slowpow): Use long double EXPL and LOGL functions to
8507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8508 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8510 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8515 intermediate variable to calculate exponent.
8517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8521 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8522 [!NO__SQR]: Define __sqr.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8524 and NO__SQR. Remove all code except __mul and __sqr. Include
8525 sysdeps/ieee754/dbl-64/mpa.c.
8526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8529 * posix/Makefile (tests): Add tst-pathconf.
8530 * posix/tst-pathconf.c: New test case.
8531 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8533 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8535 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8537 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8539 2013-03-06 Andreas Jaeger <aj@suse.de>
8541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8542 definition via __MAP_ANONYMOUS.
8544 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8545 it's not part of Linux headers.
8547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8548 (MAP_HUGE_MASK): Define.
8550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8556 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8563 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8564 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8565 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8566 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8567 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8568 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8574 Handle f2fs and efivarfs.
8576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8579 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8580 (EFIVARFS_MAGIC): Add.
8581 (F2FS_LINK_MAX): Add.
8583 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8585 * stdio-common/vfprintf.c: Replace __builtin_expect with
8588 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8591 * sysdeps/generic/bp-sym.h: Remove file.
8592 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8593 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8594 <bp-sym.h> and <bp-asm.h>.
8595 (__longjmp): Don't use BP_SYM.
8596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8598 (memcpy): Don't use BP_SYM.
8599 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8600 <bp-sym.h> and <bp-asm.h>.
8601 (memcpy): Don't use BP_SYM.
8602 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8604 (memcpy): Don't use BP_SYM.
8605 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8607 (memset): Don't use BP_SYM.
8608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8610 (__bzero): Don't use BP_SYM.
8611 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8612 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8614 <bp-sym.h> and <bp-asm.h>.
8615 (memcmp): Don't use BP_SYM. Remove comment about bounded
8617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8618 <bp-sym.h> and <bp-asm.h>.
8619 (memcpy): Don't use BP_SYM.
8620 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8621 <bp-sym.h> and <bp-asm.h>.
8622 (memset): Don't use BP_SYM.
8623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8625 (__bzero): Don't use BP_SYM.
8626 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8627 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8628 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8629 <bp-sym.h> and <bp-asm.h>.
8630 (strncmp): Don't use BP_SYM. Remove comment about bounded
8632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8633 <bp-sym.h> and <bp-asm.h>.
8634 (memcpy): Don't use BP_SYM.
8635 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8636 <bp-sym.h> and <bp-asm.h>.
8637 (memset): Don't use BP_SYM.
8638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8640 (__bzero): Don't use BP_SYM.
8641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8644 <bp-sym.h> and <bp-asm.h>.
8645 (__memchr): Don't use BP_SYM.
8646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8647 <bp-sym.h> and <bp-asm.h>.
8648 (memcmp): Don't use BP_SYM. Remove comment about bounded
8650 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8651 <bp-sym.h> and <bp-asm.h>.
8652 (memcpy): Don't use BP_SYM.
8653 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8654 <bp-sym.h> and <bp-asm.h>.
8655 (__mempcpy): Don't use BP_SYM.
8656 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8657 <bp-sym.h> and <bp-asm.h>.
8658 (__memrchr): Don't use BP_SYM.
8659 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8660 <bp-sym.h> and <bp-asm.h>.
8661 (memset): Don't use BP_SYM.
8662 (__bzero): Likewise.
8663 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8664 <bp-sym.h> and <bp-asm.h>.
8665 (__rawmemchr): Don't use BP_SYM.
8666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8667 <bp-sym.h> and <bp-asm.h>.
8668 (__STRCMP): Don't use BP_SYM.
8669 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8670 <bp-sym.h> and <bp-asm.h>.
8671 (strchr): Don't use BP_SYM.
8672 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8673 <bp-sym.h> and <bp-asm.h>.
8674 (__strchrnul): Don't use BP_SYM.
8675 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8676 <bp-sym.h> and <bp-asm.h>.
8677 (strlen): Don't use BP_SYM.
8678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8679 <bp-sym.h> and <bp-asm.h>.
8680 (strncmp): Don't use BP_SYM. Remove comment about bounded
8682 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8683 <bp-sym.h> and <bp-asm.h>.
8684 (__strnlen): Don't use BP_SYM.
8685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8686 <bp-sym.h> and <bp-asm.h>.
8687 (__GI__setjmp): Don't use BP_SYM.
8688 (_setjmp): Likewise.
8689 (__sigsetjmp): Likewise.
8690 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8691 (L(start_addresses)): Don't use BP_SYM.
8693 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8695 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8696 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8697 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8698 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8699 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8701 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8702 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8703 about bounded pointers.
8704 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8705 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8706 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8708 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8709 about bounded pointers. Remove GKM FIXME comments.
8710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8711 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8713 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8714 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8715 Remove GKM FIXME comments.
8716 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8717 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8718 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8720 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8721 about bounded pointers. Remove GKM FIXME comment.
8722 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8724 (strncmp): Don't use BP_SYM. Remove comment about bounded
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8727 <bp-sym.h> and <bp-asm.h>.
8728 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8730 <bp-sym.h> and <bp-asm.h>.
8731 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8734 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8736 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8739 2013-03-05 David S. Miller <davem@davemloft.net>
8741 * po/es.po: Update from translation team.
8743 2013-03-05 Andreas Jaeger <aj@suse.de>
8745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8746 <bits/mman-linux.h>.
8747 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8750 <bits/mman-linux.h> to end of file.
8751 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8754 <bits/mman-linux.h> to end of file.
8755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8758 <bits/mman-linux.h> to end of file.
8760 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8761 (MCL_CURRENT, MCL_FUTURE): Define here.
8763 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8770 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8773 fourth parameter needed for rt_sigprocmask syscall.
8774 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8775 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8776 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8778 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8779 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8781 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8784 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8785 comment about bounded pointers.
8786 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8787 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8789 2013-03-04 Andreas Jaeger <aj@suse.de>
8791 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8795 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8796 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8801 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8805 __ieee754_sqrl instead of __sqrl.
8807 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8809 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8810 * sysdeps/powerpc/fpu_control.h: ... here.
8811 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8812 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8813 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8814 * sysdeps/powerpc/bits/mathinline.h: ... here.
8816 2013-03-01 Roland McGrath <roland@hack.frob.com>
8818 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8819 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8820 to just [NEED_DL_SYSINFO_DSO].
8821 * elf/dl-support.c: Likewise.
8822 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8823 * elf/rtld.c (dl_main): Likewise.
8824 * elf/setup-vdso.h (setup_vdso): Likewise.
8825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8826 * sysdeps/unix/sysv/linux/dl-sysdep.c
8827 (_dl_discover_osversion): Likewise.
8829 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8831 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8832 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8834 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8836 * NEWS: Mention libm performance improvements and non-x86 PI
8839 * csu/libc-start.c (__pthread_initialize_minimal): Change
8841 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8843 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8846 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8847 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8848 <bp-sym.h> and <bp-asm.h>.
8849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8852 (memcpy): Don't use BP_SYM.
8853 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8855 (__mpn_add_n): Don't use BP_SYM.
8856 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8857 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8859 (__mpn_addmul_1): Don't use BP_SYM.
8860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8861 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8863 (_setjmp): Don't use BP_SYM.
8864 (__novmx_setjmp): Likewise.
8865 (__GI__setjmp): Likewise.
8866 (__vmx_setjmp): Likewise.
8867 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8869 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8870 (__bzero): Don't use BP_SYM.
8871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8873 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8874 <bp-sym.h> and <bp-asm.h>.
8875 (memcpy): Don't use BP_SYM.
8876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8877 <bp-sym.h> and <bp-asm.h>.
8878 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8880 <bp-sym.h> and <bp-asm.h>.
8881 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8882 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8884 (__mpn_lshift): Don't use BP_SYM.
8885 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8886 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8888 (memset): Don't use BP_SYM.
8889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8891 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8893 (__mpn_mul_1): Don't use BP_SYM.
8894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8895 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8896 <bp-sym.h> and <bp-asm.h>.
8897 (memcmp): Don't use BP_SYM.
8898 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8899 <bp-sym.h> and <bp-asm.h>.
8900 (memcpy): Don't use BP_SYM.
8901 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8902 <bp-sym.h> and <bp-asm.h>.
8903 (memset): Don't use BP_SYM.
8904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8905 <bp-sym.h> and <bp-asm.h>.
8906 (strncmp): Don't use BP_SYM.
8907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8908 <bp-sym.h> and <bp-asm.h>.
8909 (memcpy): Don't use BP_SYM.
8910 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8911 <bp-sym.h> and <bp-asm.h>.
8912 (memset): Don't use BP_SYM.
8913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8914 <bp-sym.h> and <bp-asm.h>.
8915 (__memchr): Don't use BP_SYM.
8916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8917 <bp-sym.h> and <bp-asm.h>.
8918 (memcmp): Don't use BP_SYM.
8919 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8920 <bp-sym.h> and <bp-asm.h>.
8921 (memcpy): Don't use BP_SYM.
8922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8923 <bp-sym.h> and <bp-asm.h>.
8924 (__mempcpy): Don't use BP_SYM.
8925 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8926 <bp-sym.h> and <bp-asm.h>.
8927 (__memrchr): Don't use BP_SYM.
8928 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8929 <bp-sym.h> and <bp-asm.h>.
8930 (memset): Don't use BP_SYM.
8931 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8932 <bp-sym.h> and <bp-asm.h>.
8933 (__rawmemchr): Don't use BP_SYM.
8934 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8935 <bp-sym.h> and <bp-asm.h>.
8936 (__STRCMP): Don't use BP_SYM.
8937 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8938 <bp-sym.h> and <bp-asm.h>.
8939 (strchr): Don't use BP_SYM.
8940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8941 <bp-sym.h> and <bp-asm.h>.
8942 (__strchrnul): Don't use BP_SYM.
8943 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8944 <bp-sym.h> and <bp-asm.h>.
8945 (strlen): Don't use BP_SYM.
8946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8947 <bp-sym.h> and <bp-asm.h>.
8948 (strncmp): Don't use BP_SYM.
8949 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8950 <bp-sym.h> and <bp-asm.h>.
8951 (__strnlen): Don't use BP_SYM.
8952 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8954 (__mpn_rshift): Don't use BP_SYM.
8955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8956 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8957 <bp-sym.h> and <bp-asm.h>.
8958 (__sigsetjmp): Don't use BP_SYM.
8959 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8960 (L(start_addresses)): Don't use BP_SYM.
8962 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8964 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8965 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8966 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8967 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8969 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8970 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8971 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8972 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8974 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8977 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8979 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8983 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8987 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8989 (strncmp): Don't use BP_SYM,
8990 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8992 (__mpn_sub_n): Don't use BP_SYM.
8993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8994 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8996 (__mpn_submul_1): Don't use BP_SYM.
8997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8999 <bp-sym.h> and <bp-asm.h>.
9000 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9002 <bp-sym.h> and <bp-asm.h>.
9003 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9006 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9009 Use ZK to minimize writes to Z.
9010 (sub_magnitudes): Simplify code a bit.
9011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9012 Use ZK to minimize writes to Z.
9013 (sub_magnitudes): Simplify code a bit.
9015 2013-02-27 Roland McGrath <roland@hack.frob.com>
9017 * csu/gmon-start.c: Add special exception to license text.
9019 2013-02-27 Richard Henderson <rth@redhat.com>
9021 * scripts/config.guess: Update from config.git.
9022 * scripts/config.sub: Likewise.
9024 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9028 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9030 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9032 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9034 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9036 2013-02-26 Roland McGrath <roland@hack.frob.com>
9038 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9039 [$(build-shared = yes].
9041 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9043 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9044 (__mul): Reduce iterations for calculating mantissa.
9046 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9048 (__mpranred): Likewise.
9051 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9052 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9054 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9056 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9057 Define __attribute__.
9059 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9061 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9063 * posix/regex_internal.h (__attribute): Remove.
9064 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9065 (re_string_context_at): Likewise.
9066 (bitset_not): Use __attribute__ and mark function as possibly
9068 (bitset_merge): Likewise.
9069 (bitset_mask): Likewise.
9070 (re_string_char_size_at): Likewise.
9071 (re_string_wchar_at): Likewise.
9072 (re_string_elem_size_at): Likewise.
9074 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9076 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9080 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9085 (__dbl_mp): Likewise.
9086 (add_magnitudes): Likewise.
9087 (sub_magnitudes): Likewise.
9091 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9094 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9097 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9101 up changes with default code.
9102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9105 2013-02-24 Allan McRae <allan@archlinux.org>
9107 * manual/socket.texi (The Internet Namespace): Order menu items
9108 to match that in the file.
9110 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9111 node listing of the info page menu.
9113 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9116 * sysdeps/i386/bp-asm.h: Remove file.
9117 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9118 (PARMS): Do not use macros from bp-asm.h.
9122 (__mpn_add_n): Do not use BP_SYM
9123 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9125 (PARMS): Do not use macros from bp-asm.h.
9128 (__mpn_addmul_1): Do not use BP_SYM
9129 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9131 (PARMS): Do not use macros from bp-asm.h.
9133 (_setjmp): Likewise. Do not use BP_SYM.
9134 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9136 (PARMS): Do not use macros from bp-asm.h.
9138 (setjmp): Likewise. Do not use BP_SYM.
9139 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9141 (PARMS): Do not use macros from bp-asm.h.
9142 (__frexp): Do not use BP_SYM.
9144 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9146 (PARMS): Do not use macros from bp-asm.h.
9147 (__frexpf): Do not use BP_SYM.
9149 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9151 (PARMS): Do not use macros from bp-asm.h.
9152 (__frexpl): Do not use BP_SYM.
9154 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9156 (PARMS): Do not use macros from bp-asm.h.
9157 (__remquo): Do not use BP_SYM.
9159 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9161 (PARMS): Do not use macros from bp-asm.h.
9162 (__remquof): Do not use BP_SYM.
9163 (remquof): Likewise.
9164 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9166 (PARMS): Do not use macros from bp-asm.h.
9167 (__remquol): Do not use BP_SYM.
9168 (remquol): Likewise.
9169 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9171 (PARMS): Do not use macros from bp-asm.h.
9174 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9175 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9177 (PARMS): Do not use macros from bp-asm.h.
9178 (strlen): Do not use BP_SYM.
9179 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9181 (PARMS): Do not use macros from bp-asm.h.
9185 (__mpn_add_n): Do not use BP_SYM.
9186 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9188 (PARMS): Do not use macros from bp-asm.h.
9191 (__mpn_addmul_1): Do not use BP_SYM.
9192 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9195 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9197 (PARMS): Do not use macros from bp-asm.h.
9200 (__mpn_lshift): Do not use BP_SYM.
9201 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9203 (PARMS): Do not use macros from bp-asm.h.
9207 (memcpy): Likewise. Do not use BP_SYM.
9208 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9209 libc_hidden_def and weak_alias.
9210 (mempcpy): Do not use BP_SYM in weak_alias.
9211 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9213 (PARMS): Do not use macros from bp-asm.h.
9216 [!BZERO_P] (CHR): Likewise.
9217 (memset): Likewise. Do not use BP_SYM.
9218 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9220 (PARMS): Do not use macros from bp-asm.h.
9223 (__mpn_mul_1): Do not use BP_SYM.
9224 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9226 (PARMS): Do not use macros from bp-asm.h.
9229 (__mpn_rshift): Do not use BP_SYM.
9230 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9232 (PARMS): Do not use macros from bp-asm.h.
9235 (strchr): Likewise. Do not use BP_SYM.
9236 (index): Do not use BP_SYM in weak_alias.
9237 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9239 (PARMS): Do not use macros from bp-asm.h.
9242 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9243 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9245 (PARMS): Do not use macros from bp-asm.h.
9246 (strlen): Do not use BP_SYM.
9247 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9249 (PARMS): Do not use macros from bp-asm.h.
9253 (__mpn_sub_n): Do not use BP_SYM.
9254 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9256 (PARMS): Do not use macros from bp-asm.h.
9259 (__mpn_submul_1): Do not use BP_SYM.
9260 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9262 (PARMS): Do not use macros from bp-asm.h.
9266 (__mpn_add_n): Do not use BP_SYM.
9267 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9270 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9272 (PARMS): Do not use macros from bp-asm.h.
9275 (memcmp): Do not use BP_SYM.
9276 (bcmp): Do not use BP_SYM in weak_alias.
9277 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9279 (PARMS): Do not use macros from bp-asm.h.
9283 (memcpy): Likewise. Do not use BP_SYM.
9284 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9286 (PARMS): Do not use macros from bp-asm.h.
9290 (memmove): Likewise. Do not use BP_SYM.
9291 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9293 (PARMS): Do not use macros from bp-asm.h.
9297 (__mempcpy): Likewise. Do not use BP_SYM.
9298 (mempcpy): Do not use BP_SYM in weak_alias.
9299 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9301 (PARMS): Do not use macros from bp-asm.h.
9304 [!BZERO_P] (CHR): Likewise.
9305 (memset): Likewise. Do not use BP_SYM.
9306 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9308 (PARMS): Do not use macros from bp-asm.h.
9310 (strcmp): Do not use BP_SYM.
9311 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9313 (PARMS): Do not use macros from bp-asm.h.
9316 [USE_AS_STRTOK_R] (SAVE): Likewise.
9317 (FUNCTION): Likewise. Do not use BP_SYM.
9318 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9320 (strtok_r): Likewise.
9321 (__GI___strtok_r): Likewise.
9322 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9323 (PARMS): Do not use macros from bp-asm.h.
9326 (__mpn_lshift): Do not use BP_SYM.
9327 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9328 (PARMS): Do not use macros from bp-asm.h.
9331 (__memchr): Do not use BP_SYM.
9332 (memchr): Do not use BP_SYM in weak_alias.
9333 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9334 (PARMS): Do not use macros from bp-asm.h.
9337 (memcmp): Do not use BP_SYM.
9338 (bcmp): Do not use BP_SYM in weak_alias.
9339 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9340 (PARMS): Do not use macros from bp-asm.h.
9343 (__mpn_mul_1): Do not use BP_SYM.
9344 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9346 (PARMS): Do not use macros from bp-asm.h.
9349 (__rawmemchr): Do not use BP_SYM.
9350 (rawmemchr): Do not use BP_SYM in weak_alias.
9351 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9352 (PARMS): Do not use macros from bp-asm.h.
9355 (__mpn_rshift): Do not use BP_SYM.
9356 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9357 (PARMS): Do not use macros from bp-asm.h.
9359 (__sigsetjmp): Likewise. Do not use BP_SYM.
9360 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9361 (_start): Do not use BP_SYM.
9362 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9363 (PARMS): Do not use macros from bp-asm.h.
9366 (__stpcpy): Likewise. Do not use BP_SYM.
9367 (stpcpy): Do not use BP_SYM in weak_alias.
9368 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9370 (PARMS): Do not use macros from bp-asm.h.
9374 (__stpncpy): Likewise. Do not use BP_SYM.
9375 (stpncpy): Do not use BP_SYM in weak_alias.
9376 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9377 (PARMS): Do not use macros from bp-asm.h.
9380 (strchr): Likewise. Do not use BP_SYM.
9381 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9383 (PARMS): Do not use macros from bp-asm.h.
9386 (__strchrnul): Likewise. Do not use BP_SYM.
9387 (strchrnul): Do not use BP_SYM in weak_alias.
9388 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9390 (PARMS): Do not use macros from bp-asm.h.
9392 (strcspn): Do not use BP_SYM.
9393 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9395 (PARMS): Do not use macros from bp-asm.h.
9398 (strpbrk): Likewise. Do not use BP_SYM.
9399 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9401 (PARMS): Do not use macros from bp-asm.h.
9404 (strrchr): Likewise. Do not use BP_SYM.
9405 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9406 (PARMS): Do not use macros from bp-asm.h.
9408 (strspn): Do not use BP_SYM.
9409 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9410 (PARMS): Do not use macros from bp-asm.h.
9414 (FUNCTION): Likewise. Do not use BP_SYM.
9415 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9417 (strtok_r): Likewise.
9418 (__GI___strtok_r): Likewise.
9419 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9420 (PARMS): Do not use macros from bp-asm.h.
9424 (__mpn_sub_n): Do not use BP_SYM.
9425 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9427 (PARMS): Do not use macros from bp-asm.h.
9430 (__mpn_submul_1): Do not use BP_SYM.
9431 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9433 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9435 (PARMS): Do not use macros from bp-asm.h.
9440 (__clone): Do not use BP_SYM.
9441 (clone): Do not use BP_SYM in weak_alias.
9442 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9444 (PARMS): Do not use macros from bp-asm.h.
9446 (__mmap64): Do not use BP_SYM.
9447 (mmap64): Do not use BP_SYM in weak_alias.
9448 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9449 <bp-sym.h> and <bp-asm.h>.
9450 (PARMS): Do not use macros from bp-asm.h.
9451 (__posix_fadvise64_l64): Do not use BP_SYM.
9452 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9453 (PARMS): Do not use macros from bp-asm.h.
9455 (semtimedop): Do not use BP_SYM.
9456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9459 2013-02-21 Allan McRae <allan@archlinux.org>
9461 * manual/message.texi (Charset conversion in gettext):
9462 Move @end statement to beginning of line.
9464 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9476 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9478 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9479 tail-call to the resolved function if pltexit isn't needed.
9481 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9484 or Y being zero as being unlikely.
9485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9488 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9490 * manual/nss.texi (System Databases and Name Service Switch):
9491 Remove frobnicate @pxref.
9493 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9495 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9496 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9498 2013-02-20 Petr Machata <pmachata@redhat.com>
9500 * elf/elf.h (R_ARM_TARGET1): New macro.
9501 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9502 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9503 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9504 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9505 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9506 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9507 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9508 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9509 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9510 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9511 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9512 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9513 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9514 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9515 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9516 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9517 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9518 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9519 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9520 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9521 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9522 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9523 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9524 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9525 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9526 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9527 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9528 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9529 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9530 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9531 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9532 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9533 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9534 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9535 (R_ARM_THM_GOT_BREL12): Likewise.
9536 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9537 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9538 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9539 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9540 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9541 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9542 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9543 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9544 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9546 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9548 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9549 __attribute_used__ to __attribute__ ((unused)).
9551 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9559 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9562 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9564 (ENTER): Remove both macro definitions.
9566 (CHECK_BOUNDS_LOW): Likewise.
9567 (CHECK_BOUNDS_HIGH): Likewise.
9568 (CHECK_BOUNDS_BOTH): Likewise.
9569 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9570 (RETURN_BOUNDED_POINTER): Likewise.
9571 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9572 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9573 (POP_ERRNO_LOCATION_RETURN): Likewise.
9574 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9576 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9578 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9579 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9580 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9581 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9582 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9583 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9584 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9585 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9586 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9587 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9588 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9589 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9590 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9591 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9593 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9594 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9597 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9598 * sysdeps/i386/i586/memset.S (memset): Likewise.
9599 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9600 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9601 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9604 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9605 Change uses of L(2) to L(out).
9606 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9607 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9608 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9609 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9610 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9612 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9613 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9615 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9616 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9617 (RETURN): Do not use macro LEAVE.
9618 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9619 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9620 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9621 * sysdeps/i386/i686/memset.S (memset): Likewise.
9622 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9623 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9625 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9627 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9628 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9629 L(1_2) and L(1_3) into L(1).
9630 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9631 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9632 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9633 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9634 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9635 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9636 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9638 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9640 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9641 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9642 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9643 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9644 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9645 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9646 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9647 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9648 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9649 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9650 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9651 * sysdeps/i386/strspn.S (strspn): Likewise.
9652 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9654 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9655 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9657 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9659 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9660 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9661 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9663 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9665 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9667 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9670 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9672 * math/atest-exp.c (exp_mpn): Remove ROUND.
9673 * math/atest-exp2.c (exp_mpn): Likewise.
9674 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9676 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9677 * stdlib/tst-tls-atexit-lib.c: Likewise.
9678 * stdlib/tst-tls-atexit.c: Likewise.
9680 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9682 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9683 and __attribute_alloc_size__.
9685 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9687 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9688 __attribute_alloc_size__.
9689 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9690 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9692 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9694 * include/programs/xmalloc.h: New file.
9695 * catgets/gencat.c: Include it.
9696 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9697 * elf/pldd.c: Likewise.
9698 * iconv/iconv_charmap.c: Likewise.
9699 * iconv/iconvconfig.c: Likewise.
9700 * iconv/strtab.c: Likewise.
9701 * locale/programs/locale.c: Likewise.
9702 * locale/programs/localedef.h: Likewise.
9703 * locale/programs/simple-hash.c: Likewise.
9704 * nscd/nscd.h: Likewise.
9705 * nss/makedb.c: Likewise.
9706 * sysdeps/generic/ldconfig.h: Likewise.
9708 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9710 * Versions.def: Add GLIBC_2.18.
9711 * include/link.h (struct link_map): New member l_tls_dtor_count.
9712 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9713 (__call_tls_dtors): Likewise.
9714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9715 __cxa_thread_atexit_impl.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9732 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9733 (tests): Add test case tst-tls-atexit.
9734 (modules-names): Add shared library for tst-tls-atexit.
9735 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9736 (GLIBC_PRIVATE): Add __call_tls_dtors.
9737 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9739 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9740 * stdlib/tst-tls-atexit.c: New test case.
9741 * stdlib/tst-tls-atexit-lib.c: New test case.
9743 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9745 * elf/Versions (ld): Add _dl_find_dso_for_object.
9746 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9747 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9748 (dl_open_worker): Use _dl_find_dso_for_object.
9749 * elf/dl-sym.c (do_sym): Likewise.
9750 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9752 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9754 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9755 Syntactic changes only.
9756 (_dl_runtime_profile): Do a tail-call to the resolved function.
9758 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9761 * sysdeps/x86_64/bp-asm.h: Remove file.
9762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9763 <bp-sym.h> and <bp-asm.h>.
9764 (__clone): Do not use BP_SYM.
9765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9766 <bp-sym.h> and <bp-asm.h>.
9767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9768 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9770 (_setjmp): Do not use BP_SYM.
9771 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9773 (setjmp): Do not use BP_SYM.
9774 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9776 (mempcpy): Do not use BP_SYM in weak_alias.
9777 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9779 (strchr): Do not use BP_SYM.
9780 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9782 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9783 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9784 (_start): Do not use BP_SYM.
9785 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9787 (strcat): Do not use BP_SYM.
9788 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9790 (STRCMP): Do not use BP_SYM.
9791 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9793 (STRCPY): Do not use BP_SYM.
9794 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9796 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9798 (FUNCTION): Do not use BP_SYM.
9799 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9801 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9803 2013-02-17 Andreas Jaeger <aj@suse.de>
9805 * time/Versions: Sort entries.
9806 * string/Versions: Likewise.
9807 * resolv/Versions: Likewise.
9808 * posix/Versions: Likewise.
9809 * iconv/Versions: Likewise.
9810 * elf/Versions: Likewise.
9811 * wcsmbs/Versions: Likewise.
9813 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9815 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9816 loop termination condition.
9818 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9819 variable to calculate EZ.
9822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9823 the lower precision input.
9825 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9828 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9829 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9830 (run-via-rtld-prefix): Do not handle %-bp tests.
9831 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9832 (all-object-suffixes): Remove .ob.
9833 (bppfx): Remove variable.
9834 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9835 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9836 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9837 [$(build-bounded) = yes] (libtype.ob): Likewise.
9838 * Makerules (elide-routines.ob): Remove variable.
9839 (do-tests-clean): Do not handle *-bp.out.
9840 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9841 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9842 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9843 (tests): Do not include $(tests-bp.out).
9844 (xtests): Do not include $(xtests-bp.out).
9845 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9846 [$(build-bounded) = yes] ($(addprefix
9847 $(objpfx),$(binaries-bounded))): Remove rule.
9848 ($(objpfx)%-bp.out): Remove rule.
9849 * config.make.in (build-bounded): Remove variable.
9850 * crypt/Makefile [$(build-bounded) = yes]
9851 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9852 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9854 [$(build-bounded) = yes] (install-lib): Likewise.
9855 [$(build-bounded) = yes] (generated): Likewise.
9856 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9858 * intl/Makefile [$(build-bounded) = yes]
9859 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9860 * math/Makefile [$(build-bounded) = yes]
9861 ($(tests:%=$(objpfx)%-bp): Likewise.
9862 * misc/Makefile [$(build-bounded) = yes]
9863 ($(objpfx)tst-tsearch-bp): Likewise.
9864 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9865 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9867 * string/Makefile (o-objects.ob): Remove variable.
9868 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9869 (CFLAGS-.ob): Remove variable.
9870 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9872 both definitions of variable.
9873 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9874 (ASFLAGS-.ob): Remove variable.
9876 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9879 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9880 Remove __BOUNDED_POINTERS__ from condition.
9881 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9882 * string/bits/string2.h [!__NO_STRING_INLINES &&
9883 !__BOUNDED_POINTERS__]: Likewise.
9884 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9886 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9887 Remove conditional code.
9888 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9889 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9890 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9894 * csu/libc-start.c: Do not include <bp-sym.h>.
9895 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9896 * elf/dl-open.c: Do not include <bp-sym.h>.
9897 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9898 * math/fegetenv.c: Do not include <bp-sym.h>.
9899 (fegetenv): Do not use BP_SYM in versioned symbols.
9900 * nptl/sysdeps/pthread/bits/libc-lockP.h
9901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9904 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9906 (__pthread_mutex_destroy): Likewise.
9907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9908 (__pthread_mutex_lock): Likewise.
9909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9910 (__pthread_mutex_trylock): Likewise.
9911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9912 (__pthread_mutex_unlock): Likewise.
9913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9914 (__pthread_mutexattr_init): Likewise.
9915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9916 (__pthread_mutexattr_destroy): Likewise.
9917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9918 (__pthread_mutexattr_settype): Likewise.
9919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9920 (__pthread_rwlock_init): Likewise.
9921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9922 (__pthread_rwlock_destroy): Likewise.
9923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9924 (__pthread_rwlock_rdlock): Likewise.
9925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9926 (__pthread_rwlock_tryrdlock): Likewise.
9927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9928 (__pthread_rwlock_wrlock): Likewise.
9929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9930 (__pthread_rwlock_trywrlock): Likewise.
9931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9932 (__pthread_rwlock_unlock): Likewise.
9933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9934 (__pthread_key_create): Likewise.
9935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9936 (__pthread_setspecific): Likewise.
9937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9938 (__pthread_getspecific): Likewise.
9939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9942 (_pthread_cleanup_push_defer): Likewise.
9943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9944 (_pthread_cleanup_pop_restore): Likewise.
9945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9946 (pthread_setcancelstate): Likewise.
9947 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9949 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9950 (memchr): Do not use BP_SYM in weak_alias.
9951 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9952 (fegetenv): Do not use BP_SYM in versioned symbols.
9953 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9954 (fesetenv): Do not use BP_SYM in versioned symbols.
9955 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9956 (feupdateenv): Do not use BP_SYM in versioned symbols.
9957 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9958 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9959 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9960 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9961 (open64): Do not use BP_SYM in weak_alias.
9962 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9963 (fegetenv): Do not use BP_SYM in versioned symbols.
9964 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9965 (fesetenv): Do not use BP_SYM in versioned symbols.
9966 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9967 (feupdateenv): Do not use BP_SYM in versioned symbols.
9968 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9969 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9970 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9971 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9972 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9973 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9976 (__libc_start_main): Do not use BP_SYM.
9978 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9981 redundant return line.
9985 (sub_magnitudes): Likewise.
9991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9995 (sub_magnitudes): Likewise.
10002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10008 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10009 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10011 of __mul for squares.
10012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10019 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10022 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10024 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10025 prototype or function definition. Rename ubp_* variables and
10026 parameters. Remove argv definitions conditional on
10027 [__BOUNDED_POINTERS__].
10028 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10029 * elf/dl-runtime.c (_dl_fixup): Likewise.
10030 * include/set-hooks.h (RUN_HOOK): Likewise.
10031 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10033 * string/strcpy.c (strcpy): Do not use __unbounded.
10034 * sysdeps/generic/frame.h (struct layout): Likewise.
10035 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10036 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10037 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10038 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10039 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10040 (__backtrace): Likewise.
10041 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10043 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10045 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10047 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10048 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10050 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10051 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10052 Do not use __unbounded.
10053 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10054 Rename __unboundedrlimits parameter to rlimits in prototype.
10055 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10056 Do not use __unbounded.
10057 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10058 not use __ptrvalue.
10059 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10060 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10061 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10062 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10063 __ptrvalue or __unbounded.
10064 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10065 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10067 (__new_msgctl): Do not use __ptrvalue.
10068 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10070 (__libc_msgrcv): Do not use __ptrvalue.
10071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10072 startup_info): Do not use __unbounded.
10073 (__libc_start_main): Likewise. Rename ubp_* variables and
10074 parameters. Remove argv definitions conditional on
10075 [__BOUNDED_POINTERS__].
10076 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10078 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10080 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10082 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10084 (__new_shmctl): Do not use __ptrvalue.
10085 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10086 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10088 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10090 (__libc_sigaction): Likewise.
10091 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10094 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10096 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10098 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10100 * string/mempcpy.c: Implement by calling memcpy.
10102 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10110 values in the mantissa.
10112 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10113 minimize writes to Z.
10114 (sub_magnitudes): Simplify code a bit.
10116 2013-02-12 Roland McGrath <roland@hack.frob.com>
10118 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10119 from the message. The linker prefixes all warnings with that already.
10121 2013-02-12 Andreas Schwab <schwab@suse.de>
10124 * posix/regexec.c (extend_buffers): Add parameter min_len.
10125 (check_matching): Pass minimum needed length.
10126 (clean_state_log_if_needed): Likewise.
10127 (get_subexp): Likewise.
10128 * posix/Makefile (tests): Add bug-regex34.
10129 (bug-regex34-ENV): Define.
10130 * posix/bug-regex34.c: New file.
10133 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10134 elements compare against the byte sequence of it, not its name.
10135 * posix/Makefile (tests): Add bug-regex35.
10136 (bug-regex35-ENV): Define.
10137 * posix/bug-regex35.c: New file.
10139 2013-02-11 Tom de Vries <tom@codesourcery.com>
10141 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10143 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10144 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10145 (CHECK_EOL): Add undef.
10147 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10149 * bits/stdlib-bsearch.h: New file.
10150 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10151 * stdlib/stdlib.h: Likewise.
10153 2013-02-11 Roland McGrath <roland@hack.frob.com>
10155 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10156 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10158 * manual/search.texi (Array Search Function): Add missing const in
10160 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10161 declaration to use rlim_t.
10162 (Basic Scheduling Functions): Remove erroneous const from
10163 sched_getparam prototype. Remove erroneous * from
10164 sched_get_priority_max and sched_get_priority_min prototypes.
10165 (Resource Usage): Fix summary @comment on vtimes to refer to
10166 sys/vtimes.h rather than vtimes.h.
10167 Add missing *s in vtimes prototype.
10168 (Limits on Resources): Fix ulimit prototype to return long int.
10169 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10170 prototypes to use long int rather than double.
10171 (BSD Random): Fix initstate and setstate to use char *, not void *.
10172 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10173 prototype to make second argument 'struct aiocb64 *const[]'.
10174 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10175 (Status of AIO Operations): Remove erroneous const in aio_return and
10176 aio_return64 prototypes.
10177 (Synchronizing I/O): Fix sync prototype to return void.
10178 * manual/startup.texi (Suboptions): Remove an erroneous const in
10179 getsubopt prototype.
10180 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10181 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10182 use size_t rather than int.
10183 (Scanning All Users): Likewise for getpwent_r.
10184 (Setting Groups): Add missing const to setgroups prototype.
10185 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10186 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10187 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10188 'const void *' rather than 'const char *'.
10189 (Host Address Functions): Likewise for inet_ntop.
10190 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10191 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10192 ssize_t for return value.
10193 (Sending Data): Likewise for send, sendto, sendmsg.
10194 (Socket Option Functions): Add a missing const in setsockopt prototype.
10195 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10196 use wchar_t for the argument.
10197 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10198 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10200 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10201 double/float/long double for second argument.
10202 Fix return types of significand, significandf, significandl.
10203 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10204 argument in fchmod prototype.
10205 (File Owner): Use uid_t and gid_t in fchown prototype.
10206 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10207 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10208 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10209 use 'const struct dirent **' as argument types to CMP function pointer
10211 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10212 (File Times): Fix summary magic @comment for struct utimbuf and utime
10213 to refer to utime.h, not time.h.
10214 * manual/string.texi (Argz Functions): Add missing const in
10215 argz_extract and argz_next prototypes.
10216 (Finding Tokens in a String): Likewise for basename.
10217 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10218 (Copying and Concatenation): Fix typo in wmemmove prototype.
10219 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10220 (Signal Stack): Remove erroneous const in sigstack prototype.
10221 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10223 (Simple Calendar Time): Likewise for stime.
10224 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10226 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10227 say sys/sysctl.h instead.
10228 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10229 and vsyslog prototypes.
10231 2013-02-11 Tom de Vries <tom@codesourcery.com>
10233 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10236 2013-02-11 Roland McGrath <roland@hack.frob.com>
10238 * misc/sys/mman.h: Fix typo in mremap comment.
10240 2013-02-08 Roland McGrath <roland@hack.frob.com>
10242 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10243 the '\0' terminator.
10245 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10248 * debug/segfault.c: Don't include <bp-checks.h>.
10249 * sysdeps/generic/bp-checks.h: Remove file.
10250 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10251 (__GETDENTS): Don't use CHECK_N.
10252 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10253 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10254 (__getgroups): Don't use CHECK_N.
10255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10256 (setgroups): Don't use CHECK_N.
10257 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10258 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10259 (__libc_msgrcv): Don't use CHECK_N.
10260 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10261 (__libc_msgsnd): Don't use CHECK_N.
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10264 (__libc_pread): Don't use CHECK_N.
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10266 include <bp-checks.h>.
10267 (__libc_pread64): Don't use CHECK_N.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10269 include <bp-checks.h>.
10270 (__libc_pwrite): Don't use CHECK_N.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10272 include <bp-checks.h>.
10273 (__libc_pwrite64): Don't use CHECK_N.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10276 (__libc_pread): Don't use CHECK_N.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10278 include <bp-checks.h>.
10279 (__libc_pread64): Don't use CHECK_N.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10281 include <bp-checks.h>.
10282 (__libc_pwrite): Don't use CHECK_N.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10284 include <bp-checks.h>.
10285 (__libc_pwrite64): Don't use CHECK_N.
10286 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10287 (do_pread): Don't use CHECK_N.
10288 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10289 (do_pread64): Don't use CHECK_N.
10290 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10291 (do_pwrite): Don't use CHECK_N.
10292 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10293 (do_pwrite64): Don't use CHECK_N.
10294 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10295 (__libc_readv): Don't use CHECK_N.
10296 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10297 (semop): Don't use CHECK_N.
10298 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10300 (semtimedop): Don't use CHECK_N.
10301 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10302 (__libc_pread): Don't use CHECK_N.
10303 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10305 (__libc_pread64): Don't use CHECK_N.
10306 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10308 (__libc_pwrite): Don't use CHECK_N.
10309 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10311 (__libc_pwrite64): Don't use CHECK_N.
10312 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10314 (__libc_msgrcv): Don't use CHECK_N.
10315 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10316 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10317 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10318 (__libc_writev): Don't use CHECK_N.
10320 2013-02-08 Roland McGrath <roland@hack.frob.com>
10322 * string/strcpy.c: Removed unused variable.
10324 * Makeconfig (+sysdep-includes): Define with := rather than =.
10325 Use an existing include/ subdir of each sysdeps dir before it.
10327 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10329 * nscd/connection.c (register_traced_file): Comment function.
10330 [HAVE_INOTIFY] (union __inev): Define.
10331 [HAVE_INOTIFY] (inotify_check_files): New function.
10332 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10333 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10335 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10337 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10339 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10340 loaded if not already and that a failure is permanent.
10342 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10345 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10346 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10348 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10351 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10352 (CHECK_1_NULL_OK): Likewise.
10353 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10354 (__fxstat): Do not use CHECK_1.
10355 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10357 (___fxstat64): Do not use CHECK_1.
10358 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10360 (__fxstatat): Do not use CHECK_1.
10361 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10363 (__fxstatat64): Do not use CHECK_1.
10364 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10366 (__fxstat): Do not use CHECK_1.
10367 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10369 (__fxstatat): Do not use CHECK_1.
10370 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10372 (__getresgid): Do not use CHECK_1.
10373 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10375 (__getresuid): Do not use CHECK_1.
10376 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10378 (__lxstat): Do not use CHECK_1.
10379 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10381 (__old_msgctl): Do not use CHECK_1.
10382 (__new_msgctl): Likewise.
10383 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10385 (__new_setrlimit): Do not use CHECK_1.
10386 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10388 (__old_shmctl): Do not use CHECK_1.
10389 (__new_shmctl): Likewise.
10390 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10392 (__xstat): Do not use CHECK_1.
10393 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10394 (__lxstat): Do not use CHECK_1.
10395 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10397 (___lxstat64): Do not use CHECK_1.
10398 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10399 (__old_msgctl): Do not use CHECK_1.
10400 (__new_msgctl): Likewise.
10401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10403 (__gettimeofday): Do not use CHECK_1.
10404 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10405 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10406 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10408 (__gettimeofday): Do not use CHECK_1.
10409 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10410 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10411 (__new_shmctl): Do not use CHECK_1.
10412 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10414 (do_sigtimedwait): Do not use CHECK_1.
10415 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10417 (do_sigwaitinfo): Do not use CHECK_1.
10418 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10420 (msgctl): Do not use CHECK_1.
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10423 (shmctl): Do not use CHECK_1.
10424 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10425 (ustat): Do not use CHECK_1.
10426 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10428 (__fxstat): Do not use CHECK_1.
10429 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10431 (__fxstatat): Do not use CHECK_1.
10432 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10434 (__lxstat): Do not use CHECK_1.
10435 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10437 (__xstat): Do not use CHECK_1.
10438 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10439 (__xstat): Do not use CHECK_1.
10440 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10441 (___xstat64): Do not use CHECK_1.
10444 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10446 (CHECK_BOUNDS_HIGH): Likewise.
10447 * string/strcpy.c: Do not include <bp-checks.h>.
10448 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10450 2013-02-07 Roland McGrath <roland@hack.frob.com>
10452 * nscd/nscd-client.h (__nscd_drop_map_ref):
10453 Add __attribute__ ((unused)).
10454 * nis/nss-nisplus.h (niserr2nss): Likewise.
10456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10457 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10459 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10460 Remove inline keyword.
10461 * include/rounding-mode.h (round_away): Likewise.
10462 * libio/wfileops.c (adjust_wide_data): Likewise.
10463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10464 (__m128i_strloadu_tolower): Likewise.
10465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10466 (__m128i_strloadu_tolower): Likewise.
10467 * time/mktime.c (ydhms_diff): Likewise.
10468 * locale/elem-hash.h (elem_hash): Likewise.
10469 * locale/setlocale.c (setdata): Likewise.
10470 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10471 (re_string_wchar_at): Likewise.
10472 (bitset_not, bitset_merge, bitset_mask): Likewise.
10473 [!(__GNUC__ > 3)] (inline): Remove macro.
10474 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10475 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10476 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10477 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10478 * string/memcmp.c (memcmp_bytes): Likewise.
10479 * locale/programs/locarchive.c (compute_hashval): Likewise.
10480 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10481 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10482 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10483 * nss/getent.c (print_rpc, print_protocols): Likewise.
10484 (print_passwd, print_group, print_aliases): Likewise.
10485 * nis/nss-nisplus.h (niserr2nss): Likewise.
10486 * nscd/connections.c (restart_p): Likewise.
10487 Change return type to bool.
10489 2013-02-05 Roland McGrath <roland@hack.frob.com>
10491 * Makeconfig (all-Depend-files): Add existing
10492 $(sorted-subdirs:=/Depend) files.
10493 (all-subdirs): Remove nss.
10494 * sysdeps/unix/inet/Subdirs: Add it here instead.
10495 * hesiod/Depend: New file.
10497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10498 instead of calling alloca.
10500 * io/lseek.c (__lseek): Rename to __libc_lseek.
10501 Define __lseek as an alias.
10503 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10505 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10507 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10508 else clause and remove check for non-standard endianness.
10510 2013-02-04 David S. Miller <davem@davemloft.net>
10512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10514 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10517 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10518 (__ubp_memchr): Remove prototype.
10519 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10520 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10521 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10522 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10523 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10525 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10526 (__ubp_memchr): Likewise.
10527 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10528 (__ubp_memchr): Likewise.
10529 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10530 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10531 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10532 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10534 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10535 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10536 (__getcwd): Do not use CHECK_STRING.
10537 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10539 (__real_chown): Do not use CHECK_STRING.
10540 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10542 (fchownat): Do not use CHECK_STRING.
10543 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10545 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10547 (__lchown): Do not use CHECK_STRING.
10548 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10549 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10550 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10551 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10553 include <bp-checks.h>.
10554 (truncate64): Do not use CHECK_STRING.
10555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10557 (__real_chown): Do not use CHECK_STRING.
10558 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10560 (__lchown): Do not use CHECK_STRING.
10561 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10563 (__chown): Do not use CHECK_STRING.
10564 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10566 (truncate64): Do not use CHECK_STRING.
10567 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10569 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10570 (__xmknod): Do not use CHECK_STRING.
10571 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10573 (__xmknodat): Do not use CHECK_STRING.
10574 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10575 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10577 2013-02-04 Andreas Schwab <schwab@suse.de>
10580 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10581 * include/netdb.h: Likewise for h_errno.
10582 * elf/tst-stackguard1.c: Include <tls.h>.
10584 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10586 * elf/link.h (struct link_map): Extend the l_addr comment.
10587 * include/link.h (struct link_map): Likewise.
10589 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10592 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10593 (BOUNDED_1): Remove macro.
10594 * debug/backtrace.c: Don't include <bp-checks.h>.
10595 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10596 (__backtrace): Likewise.
10597 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10599 (__backtrace): Don't use BOUNDED_1.
10600 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10602 (__backtrace): Don't use BOUNDED_1.
10603 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10604 (__backtrace): Don't use BOUNDED_1.
10605 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10606 (shmat): Don't use BOUNDED_N.
10608 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10611 * sysdeps/generic/bp-start.h: Remove file.
10612 * csu/libc-start.c: Don't include <bp-start.h>.
10613 (LIBC_START_MAIN): Set up __environ directly instead of using
10614 INIT_ARGV_and_ENVIRON.
10615 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10619 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10621 (CHECK_FCNTL): Likewise.
10622 (CHECK_N_PAGES): Likewise.
10625 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10627 (CHECK_SIGSET_NULL_OK): Likewise.
10628 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10630 (sigpending): Don't use CHECK_SIGSET.
10631 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10633 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10634 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10636 (do_sigsuspend): Don't use CHECK_SIGSET.
10637 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10639 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10640 (do_sigwait): Don't use CHECK_SIGSET.
10641 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10644 include <bp-checks.h>.
10645 (sigpending): Don't use CHECK_SIGSET.
10646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10647 include <bp-checks.h>.
10648 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10649 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10651 (sigpending): Don't use CHECK_SIGSET.
10652 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10657 * sysdeps/generic/bp-semctl.h: Remove file.
10658 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10659 <bp-checks.h> and <bp-semctl.h>.
10660 (__old_semctl): Don't use CHECK_SEMCTL.
10661 (__new_semctl): Likewise.
10662 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10664 (__old_semctl): Don't use CHECK_SEMCTL.
10665 (__new_semctl): Likewise.
10666 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10667 <bp-checks.h> and <bp-semctl.h>.
10668 (__old_semctl): Don't use CHECK_SEMCTL.
10669 (__new_semctl): Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10671 <bp-checks.h> and <bp-semctl.h>.
10672 (semctl): Don't use CHECK_SEMCTL.
10675 * Makerules (elide-bp-thunks): Remove variable.
10676 (elide-routines.oS): Don't use $(elide-bp-thunks).
10677 (elide-routines.os): Likewise.
10678 (elide-routines.o): Likewise.
10679 (elide-routines.op): Likewise.
10680 (elide-routines.og): Likewise.
10681 (objects): Don't use $(bp-thunks).
10682 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10684 (common-generated): Do not add s-proto-bp.d.
10685 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10688 Do not generate makefile rules for bounded-pointer thunks.
10689 * sysdeps/generic/bp-thunks.h: Remove file.
10690 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10691 * sysdeps/unix/s-proto-bp.S: Likewise.
10694 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10695 parts of result separately when argument is not close to line from
10696 -i to i and one part of argument is small.
10697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10699 * math/libm-test.inc (cacos_test): Add more tests.
10700 (casin_test): Likewise.
10701 (casinh_test): Likewise.
10702 * sysdeps/i386/fpu/libm-test-ulps: Update.
10703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705 2013-01-31 David S. Miller <davem@davemloft.net>
10707 * po/de.po: Update from translation team.
10709 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10711 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10713 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10715 * configure.in (_AC_PROG_CC_C89): New definition.
10716 * configure: Regenerate.
10718 * configure.in (AC_PROG_CPP): New definition.
10719 * configure: Regenerate.
10721 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10723 * debug/tst-backtrace.h: New file.
10724 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10725 (ret): Remove variable.
10727 (FAIL): Remove macro.
10728 (NO_INLINE): Likewise.
10729 (fn1): Use match function instead of strstr.
10730 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10731 (ret): Remove variable.
10733 (FAIL): Remove macro.
10734 (NO_INLINE): Likewise.
10735 (fn): Use match function instead of strstr.
10736 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10737 (ret): Remove variable.
10739 (FAIL): Remove macro.
10740 (NO_INLINE): Likewise.
10741 (handle_signal): Use match function instead of strstr.
10742 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10743 (ret): Remove variable.
10745 (FAIL): Remove macro.
10746 (NO_INLINE): Likewise.
10747 (handle_signal): Use match function instead of strstr.
10749 2013-01-23 Roland McGrath <roland@hack.frob.com>
10751 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10753 2013-01-23 David S. Miller <davem@davemloft.net>
10755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10756 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10757 argument of CAS if possible.
10758 * sysdeps/sparc/sparc64/bits/atomic.h
10759 (__arch_compare_and_exchange_val_32_acq): Likewise.
10760 (__arch_compare_and_exchange_val_64_acq): Likewise.
10762 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10764 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10765 * sysdeps/posix/ulimit.c: ... this.
10766 Include <limits.h>.
10767 * sysdeps/unix/bsd/ulimit.c: Remove file.
10769 2013-01-23 Adam Conrad <adconrad@0c3.net>
10771 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10772 (LDFLAGS-tst-array5): Likewise.
10774 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10777 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10778 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10779 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10782 2013-01-21 David S. Miller <davem@davemloft.net>
10784 * sysdeps/sparc/backtrace.c: New file.
10785 * sysdeps/sparc/sparc32/backtrace.h: New file.
10786 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10787 * sysdeps/sparc/sparc64/backtrace.h: New file.
10788 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10789 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10792 2013-01-21 Andreas Schwab <schwab@suse.de>
10795 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10798 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10804 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10805 Mark Mitchell <mark@codesourcery.com>
10806 Tom de Vries <tom@codesourcery.com>
10807 Paul Pluzhnikov <ppluzhnikov@google.com>
10809 * debug/tst-backtrace2.c: New file.
10810 * debug/tst-backtrace3.c: Likewise.
10811 * debug/tst-backtrace4.c: Likewise.
10812 * debug/tst-backtrace5.c: Likewise.
10813 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10814 (CFLAGS-tst-backtrace3.c): Likewise.
10815 (CFLAGS-tst-backtrace4.c): Likewise.
10816 (CFLAGS-tst-backtrace5.c): Likewise.
10817 (LDFLAGS-tst-backtrace2): Likewise.
10818 (LDFLAGS-tst-backtrace3): Likewise.
10819 (LDFLAGS-tst-backtrace4): Likewise.
10820 (LDFLAGS-tst-backtrace5): Likewise.
10821 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10822 tst-backtrace4 and tst-backtrace5.
10824 2013-01-18 Anton Blanchard <anton@samba.org>
10825 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10827 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10828 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10829 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10830 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10832 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10833 "+r" and remove output regs list as redundant. Add explicit inline
10834 asm to specify register of return val to work around compiler codegen
10835 bug. Remove (int) cast on return value. Add return type parameter to
10836 use in macro so that this macro does not truncate return value for
10838 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10839 pass to INTERNAL_VSYSCALL_NCS.
10840 (INLINE_VSYSCALL): Add 'long int' as return type to
10841 INTERNAL_VSYSCALL_NCS macro invocation.
10842 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10843 INTERNAL_VSYSCALL_NCS macro invocation.
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10846 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10849 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10850 Fix application of SIMD FP exception mask.
10852 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10853 mp_no from a power of two.
10854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10855 __mpexp_twomm1. Use __pow_mp.
10857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10860 2013-01-17 David S. Miller <davem@davemloft.net>
10862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10864 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10867 * include/complex.h: Condition contents on [!_COMPLEX_H].
10868 (__kernel_casinhf): New prototype.
10869 (__kernel_casinh): Likewise.
10870 (__kernel_casinhl): Likewise.
10871 * math/Makefile (libm_calls): Add k_casinh.
10872 * math/k_casinh.c: New file.
10873 * math/k_casinhf.c: Likewise.
10874 * math/k_casinhl.c: Likewise.
10875 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10876 finite nonzero arguments.
10877 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10878 finite nonzero arguments.
10879 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10880 finite nonzero arguments.
10881 * math/s_casinh.c: Do not include <float.h>.
10882 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10883 * math/s_casinhf.c: Do not include <float.h>.
10884 (__casinhf): Move code for finite nonzero arguments to
10886 * math/s_casinhl.c: Do not include <float.h>.
10887 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10889 (__casinhl): Move code for finite nonzero arguments to
10891 * math/libm-test.inc (cacos_test): Add more tests.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10895 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10897 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10898 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10899 [!HAVE_MREMAP]: Remove [defined linux] case.
10900 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10902 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10904 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10906 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10908 * elf/elf.h (R_386_SIZE32): New relocation.
10909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10911 (elf_machine_rela): Likewise.
10912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10913 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10915 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10917 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10918 (FP_FAST_FMA): Do not define.
10919 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10920 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10921 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10922 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10923 !_SOFT_FLOAT]: Likewise.
10924 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10928 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10929 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10931 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10932 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10935 2013-01-16 Andreas Schwab <schwab@suse.de>
10938 * include/stdlib.h (__mktemp): Add declaration.
10939 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10940 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10942 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10944 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10946 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10947 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10948 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10950 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10951 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10955 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10956 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10959 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10960 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10962 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10964 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10966 2013-01-15 David S. Miller <davem@davemloft.net>
10968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10969 trunc{,f} to libm-sysdep_routes.
10970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10980 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10981 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10982 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10983 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10984 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10985 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10988 nearbyint{,f} to libm-sysdep_routes.
10989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11006 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11007 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11010 libc_feholdexcept and libc_fesetenv.
11012 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11014 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11016 2013-01-14 David S. Miller <davem@davemloft.net>
11018 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11019 (SPARC_ASM_VIS2_IFUNC): Likewise.
11020 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11022 use of 'siam' instruction.
11023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11056 routines to libm-sysdep_routines.
11057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11060 fdim/fdimf to libm-sysdep_routines.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11069 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11070 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11071 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11074 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11077 to optimize copies.
11079 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11084 local variable MPTWO.
11085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11088 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11090 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11093 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11095 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11097 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11099 * manual/pattern.texi (glob_t): Document gl_flags.
11100 (glob64_t): Likewise.
11102 2013-01-11 David S. Miller <davem@davemloft.net>
11104 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11105 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11106 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11107 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11108 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11109 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11110 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11111 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11112 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11113 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11114 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11115 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11116 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11118 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11119 sparc V9 rather than using V8 code.
11120 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11121 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11123 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11125 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11128 2013-01-11 Roland McGrath <roland@hack.frob.com>
11130 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11131 not in the main loop.
11132 * configure: Regenerated.
11134 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11136 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11137 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11139 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11140 [!__GLIBC_HAVE_LONG_LONG] case.
11141 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11142 condition to just #else.
11143 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11144 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11145 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11146 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11148 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11149 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11150 #elif condition to just #else.
11151 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11152 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11153 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11154 #elif condition to just #else.
11156 2013-01-11 Steve Ellcey <sellcey@mips.com>
11158 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11159 (EF_MIPS_ARCH_64): Fix value.
11160 (EF_MIPS_ARCH_32R2): New.
11161 (EF_MIPS_ARCH_64R2): New.
11163 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11165 * Makeconfig (+link-pie-before-libc): New.
11166 (+link-pie-after-libc): Likewise.
11167 (+link-pie-tests): Likewise.
11168 (+link-pie): Rewritten.
11169 (link-before-libc): Remove $(config-LDFLAGS).
11170 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11171 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11172 (config-LDFLAGS): Renamed to ...
11173 (rtld-LDFLAGS): This.
11174 (rtld-tests-LDFLAGS): New macro.
11175 (link-libc-rpath-link): Likewise.
11176 (link-libc-tests-rpath-link): Likewise.
11177 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11178 (link-libc): Prepand $(link-libc-rpath-link).
11179 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11180 (test-program-prefix): New macro.
11181 (test-via-rtld-prefix): Likewise.
11182 (test-program-cmd): Likewise.
11183 (host-test-program-cmd): Likewise.
11184 * Makefile ($(common-objpfx)testrun.sh): Replace
11185 $(run-program-prefix) with $(test-program-prefix).
11186 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11188 ($(common-objpfx)shlib.lds): Likewise.
11189 (build-module-helper): Likewise.
11190 ($(common-objpfx)format.lds): Likewise.
11191 * Rules (binaries-pie-tests): New.
11192 (binaries-pie-notests): Likewise.
11193 (binaries-pie): Rewritten.
11194 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11195 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11196 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11197 (make-test-out): Replace $(host-built-program-cmd) with
11198 $(host-test-program-cmd).
11199 * config.make.in (build-hardcoded-path-in-tests): New variable.
11200 * configure.in (--enable-hardcoded-path-in-tests): New configure
11202 (hardcoded_path_in_tests): New AC_SUBST.
11203 * configure: Regenerated.
11204 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11205 $(built-program-cmd) with $(test-program-cmd).
11206 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11207 (test_program_cmd): This.
11208 * elf/Makefile ($(objpfx)order.out): Run test with
11209 $(test-program-prefix).
11210 ($(objpfx)order2.out): Likewise.
11211 ($(objpfx)tst-initorder.out): Likewise.
11212 ($(objpfx)tst-initorder2.out): Likewise.
11213 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11214 $(test-program-cmd).
11215 ($(objpfx)tst-array1-static.out): Likewise.
11216 ($(objpfx)tst-array2.out): Likewise.
11217 ($(objpfx)tst-array3.out): Likewise.
11218 ($(objpfx)tst-array4.out): Likewise.
11219 ($(objpfx)tst-array5.out): Likewise.
11220 ($(objpfx)tst-array5-static.out): Likewise.
11221 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11222 $(test-program-cmd).
11223 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11224 $(run-program-prefix) with $(test-program-prefix).
11225 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11226 (test_program_prefix): This.
11227 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11228 $(run-program-prefix) with $(test-program-prefix).
11229 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11230 (test_program_prefix): This.
11231 * iconvdata/tst-tables.sh: Likewise.
11232 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11233 $(run-program-prefix) with $(test-program-prefix).
11234 ($(objpfx)tst-translit.out): Likewise.
11235 ($(objpfx)tst-gettext2.out): Likewise.
11236 ($(objpfx)tst-gettext4.out): Likewise.
11237 ($(objpfx)tst-gettext6.out): Likewise.
11238 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11239 (test_program_prefix): This.
11240 * intl/tst-gettext2.sh: Likewise.
11241 * intl/tst-gettext4.sh Likewise.
11242 * intl/tst-gettext6.sh: Likewise.
11243 * intl/tst-translit.sh: Likewise.
11244 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11245 with $(test-program-cmd).
11246 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11247 $(run-program-prefix) with $(test-program-prefix).
11248 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11249 (test_program_prefix): This.
11250 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11251 $(run-program-prefix) with $(test-program-prefix).
11252 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11253 (test_program_prefix): This.
11254 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11255 * posix/Makefile ($(objpfx)globtest.out): Replace
11256 $(run-via-rtld-prefix) and $(test-wrapper) with
11257 $(test-program-prefix) and $(test-via-rtld-prefix).
11258 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11259 $(test-program-prefix).
11260 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11261 $(host-test-program-cmd).
11262 (tst-spawn-ARGS): Likewise.
11263 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11264 $(test-program-prefix).
11265 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11266 (test_via_rtld_prefix): This.
11267 (test_wrapper): Renamed to ...
11268 (test_program_prefix): This.
11269 (run_program_prefix): Replaced by test_program_prefix.
11270 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11271 (test_program_prefix): This.
11272 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11273 with $(host-test-program-cmd).
11274 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11275 $(run-program-prefix) with $(test-program-prefix).
11276 ($(objpfx)tst-printf.out): Likewise.
11277 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11278 $(test-program-cmd).
11279 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11280 (test_program_prefix): This.
11281 * stdio-common/tst-unbputc.sh: Likewise.
11282 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11283 $(run-program-prefix) with $(test-program-prefix).
11284 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11285 (test_program_prefix): This.
11286 * string/Makefile ($(objpfx)tst-svc.out): Replace
11287 $(built-program-cmd) with $(test-program-cmd).
11289 2013-01-11 Andreas Jaeger <aj@suse.de>
11292 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11293 value. Sync with Linux 3.7.
11295 2013-01-10 David S. Miller <davem@davemloft.net>
11297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11298 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11299 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11301 2013-01-10 Roland McGrath <roland@hack.frob.com>
11303 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11305 * configure: Regenerated.
11307 2013-01-10 David S. Miller <davem@davemloft.net>
11309 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11310 sparc V9 rather than using V8 code.
11311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11314 2013-01-10 Roland McGrath <roland@hack.frob.com>
11316 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11317 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11318 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11319 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11320 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11321 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11322 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11323 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11324 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11325 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11326 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11327 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11328 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11329 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11330 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11331 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11332 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11333 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11334 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11335 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11336 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11337 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11338 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11339 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11340 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11341 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11342 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11344 2013-01-10 David S. Miller <davem@davemloft.net>
11346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11348 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11350 * posix/Makefile (tests-static): New variable.
11351 (tests): Add $(tests-static).
11352 (tst-exec-static-ARGS): New variable.
11353 (tst-spawn-static-ARGS): Likewise.
11354 * posix/tst-exec-static.c: New file.
11355 * posix/tst-spawn-static.c: Likewise.
11356 * posix/tst-exec.c: Support run directly.
11357 * posix/tst-spawn.c: Likewise.
11359 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11361 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11363 * math/bits/mathcalls.h (llrint): Likewise.
11364 (llround): Likewise.
11365 * stdlib/stdlib.h (struct drand48_data): Likewise.
11366 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11367 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11370 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11372 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11373 (elf_greg_t): Likewise.
11374 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11375 (__jmp_buf): Likewise.
11376 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11378 (llrint): Likewise, for all definitions.
11379 (llrintl): Likewise.
11381 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11382 Remove [__GNUC__] condition.
11383 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11384 condition to just [__USE_ISOC99].
11385 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11387 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11390 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11391 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11393 (_POSIX_V6_ILP32_OFF32): Likewise.
11394 (_XBS5_ILP32_OFF32): Likewise.
11395 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11396 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11398 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11400 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11403 doubles __mpexp_twomm1. Adjust usage.
11404 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11407 2013-01-10 Andreas Schwab <schwab@suse.de>
11410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11411 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11413 2013-01-09 David S. Miller <davem@davemloft.net>
11416 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11417 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11418 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11419 TCP_FASTOPEN): Define.
11420 (tcp_repair_opt): New structure.
11421 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11423 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11424 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11425 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11426 (tcp_cookie_transactions): New structure.
11428 2013-01-09 Anton Blanchard <anton@samba.org>
11430 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11431 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11433 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11435 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11437 * include/features.h (__USE_ANSI): Remove.
11439 2013-01-09 Roland McGrath <roland@hack.frob.com>
11441 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11443 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11445 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11447 * sysdeps/s390/fpu/libm-test-ulps: Update.
11449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11451 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11455 (denorm): Likewise.
11456 (__mp_dbl): Likewise.
11457 (__dbl_mp): Likewise.
11458 (add_magnitudes): Likewise.
11459 (sub_magnitudes): Likewise.
11465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11469 (denorm): Likewise.
11470 (__mp_dbl): Likewise.
11471 (__dbl_mp): Likewise.
11472 (add_magnitudes): Likewise.
11473 (sub_magnitudes): Likewise.
11479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11483 (denorm): Likewise.
11484 (__mp_dbl): Likewise.
11485 (__dbl_mp): Likewise.
11486 (add_magnitudes): Likewise.
11487 (sub_magnitudes): Likewise.
11494 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11496 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11497 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11498 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11499 2 && __USE_EXTERN_INLINES]: Likewise.
11501 2013-01-08 Andreas Jaeger <aj@suse.de>
11504 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11506 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11507 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11509 2013-01-07 Anton Blanchard <anton@samba.org>
11511 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11513 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11514 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11515 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11516 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11517 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11518 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11520 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11527 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11529 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11532 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11534 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11535 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11536 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11538 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11540 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11541 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11545 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11550 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11551 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11555 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11557 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11558 (__MALLOC_PMT): Likewise.
11559 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11560 [__GNUC__], only on [_LIBC].
11561 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11562 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11563 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11564 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11565 forward declaration.
11566 (realloc_hook_ini): Likewise.
11567 (memalign_hook_ini): Likewise.
11568 (__libc_memalign): Do not use __MALLOC_PMT in variable
11570 (__libc_valloc): Likewise.
11571 (__libc_pvalloc): Likewise.
11572 (__libc_calloc): Likewise.
11573 (__posix_memalign): Likewise.
11576 * math/s_casinh.c: Include <float.h>.
11577 (__casinh): Do not do computation with squaring and square root
11578 for large arguments.
11579 * math/s_casinhf.c: Include <float.h>.
11580 (__casinhf): Do not do computation with squaring and square root
11581 for large arguments.
11582 * math/s_casinhl.c: Include <float.h>.
11583 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11584 (__casinhl): Do not do computation with squaring and square root
11585 for large arguments.
11586 * math/libm-test.inc (casin_test): Add more tests.
11587 (casinh_test): Likewise.
11588 * sysdeps/i386/fpu/libm-test-ulps: Update.
11589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11591 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11593 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11594 (__x86_64_raw_data_cache_size): Likewise.
11595 (__x86_64_data_cache_size_half): Likewise.
11596 (__x86_64_raw_data_cache_size_half): Likewise.
11597 (__x86_64_shared_cache_size): Likewise.
11598 (__x86_64_raw_shared_cache_size): Likewise.
11599 (__x86_64_shared_cache_size_half): Likewise.
11600 (__x86_64_raw_shared_cache_size_half): Likewise.
11601 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11603 (__x86_data_cache_size): This.
11604 (__x86_64_raw_data_cache_size): Renamed to ...
11605 (__x86_raw_data_cache_size): This.
11606 (__x86_64_data_cache_size_half): Renamed to ...
11607 (__x86_data_cache_size_half): This.
11608 (__x86_64_raw_data_cache_size_half): Renamed to ...
11609 (__x86_raw_data_cache_size_half): This.
11610 (__x86_64_shared_cache_size): Renamed to ...
11611 (__x86_shared_cache_size): This.
11612 (__x86_64_raw_shared_cache_size): Renamed to ...
11613 (__x86_raw_shared_cache_size): This.
11614 (__x86_64_shared_cache_size_half): Renamed to ...
11615 (__x86_shared_cache_size_half): This.
11616 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11617 (__x86_raw_shared_cache_size_half): This.
11618 * sysdeps/x86_64/memcpy.S: Updated.
11619 * sysdeps/x86_64/memset.S: Likewise.
11620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11624 2013-01-04 David S. Miller <davem@davemloft.net>
11626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11628 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11631 1 to avoid redefinition warning.
11632 (__USE_GNU): Don't define.
11633 (init_signaling_nan): Protoize.
11635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11637 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11639 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11641 (__cpymn): Likewise.
11642 (norm): Remove commented code.
11643 (denorm): Likewise.
11644 (__mp_dbl): Likewise.
11646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11647 (__cpymn): Likewise.
11648 (norm): Remove commented code.
11649 (denorm): Likewise.
11650 (__mp_dbl): Likewise.
11653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11654 mp_no value for 1.0 and 2.0.
11655 (norm): Use RADIXI instead of radixi.d.
11656 (denorm): Likewise.
11657 (__mul): Use 0.0 instead of zero.d.
11658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11659 mp_no value for 1.0 and 2.0.
11660 (norm): Use RADIXI instead of radixi.d.
11661 (denorm): Likewise.
11662 (__mul): Use 0.0 instead of zero.d.
11664 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11667 * math/s_casinh.c (__casinh): Reduce finite argument to first
11668 quadrant then set signs of results at the end.
11669 * math/s_casinhf.c (__casinhf): Likewise.
11670 * math/s_casinhl.c (__casinhl): Likewise.
11671 * math/libm-test.inc (casin_test): Add more tests.
11672 (casinh_test): Likewise.
11673 * sysdeps/i386/fpu/libm-test-ulps: Update.
11674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11676 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11678 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11680 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11682 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11684 (denorm): Likewise.
11685 (__mp_dbl): Likewise.
11688 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11689 and adjust the header comment.
11691 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11692 variable name from declaration.
11694 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11697 Initialize COMMON_CPUID_INDEX_7 element.
11698 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11699 (CPUID_RTM): Likewise.
11700 (HAS_RTM): Likewise.
11701 (COMMON_CPUID_INDEX_7): New enum.
11703 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11706 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11707 size is zero, record memory as freed.
11709 2013-01-03 Andreas Jaeger <aj@suse.de>
11711 * po/ia.po: Add new Interlingua translation.
11713 2012-01-03 Allan McRae <allan@archlinux.org>
11715 * locale/programs/localedef.c: Fix description of '--posix' flag.
11717 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11719 * NEWS: Update dates in second copyright notice.
11720 * README: Update copyright dates in example.
11721 * manual/libc.texinfo: Update copyright dates.
11722 * scripts/test-installation.pl: Update copyright date in --version
11725 * hurd/ctty-input.c: Fix copyright notice formatting.
11726 * hurd/ctty-output.c: Likewise.
11727 * hurd/dtable.c: Likewise.
11728 * hurd/hurd-raise.c: Likewise.
11729 * hurd/hurdprio.c: Likewise.
11730 * hurd/msgportdemux.c: Likewise.
11731 * misc/sys/file.h: Likewise.
11732 * misc/sys/ioctl.h: Likewise.
11733 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11734 * sysdeps/mach/hurd/chdir.c: Likewise.
11735 * sysdeps/mach/hurd/fchdir.c: Likewise.
11736 * sysdeps/mach/hurd/rename.c: Likewise.
11737 * sysdeps/mach/hurd/rmdir.c: Likewise.
11738 * sysdeps/mach/hurd/seekdir.c: Likewise.
11739 * sysdeps/mach/hurd/setsid.c: Likewise.
11740 * sysdeps/posix/wait3.c: Likewise.
11742 * All files with FSF copyright notices: Update copyright dates
11743 using scripts/update-copyrights.
11744 * intl/plural.c: Regenerated.
11745 * locale/programs/charmap-kw.h: Likewise.
11746 * locale/programs/locfile-kw.h: Likewise.
11748 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11750 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11754 calculation loop and add branch prediction.
11756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11757 check access beyond bounds of m1np.
11759 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11761 (__inv): Remove local variable MPTWO to use the global
11763 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11766 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11767 MP3HALFS static const.
11769 2013-01-01 David S. Miller <davem@davemloft.net>
11771 * po/ca.po: Update from translation team.
11773 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11775 * scripts/update-copyrights: New file.
11776 * Makeconfig: Reformat copyright notice.
11777 * ctype/ctype.h: Likewise.
11778 * debug/swprintf_chk.c: Likewise.
11779 * elf/dl-cache.c: Likewise.
11780 * elf/dl-debug.c: Likewise.
11781 * elf/dl-object.c: Likewise.
11782 * grp/initgroups.c: Likewise.
11783 * hurd/Makefile: Likewise.
11784 * hurd/hurd/signal.h: Likewise.
11785 * hurd/hurdfault.c: Likewise.
11786 * hurd/hurdioctl.c: Likewise.
11787 * hurd/hurdlookup.c: Likewise.
11788 * hurd/intr-msg.c: Likewise.
11789 * iconv/gconv_open.c: Likewise.
11790 * libio/swprintf.c: Likewise.
11791 * locale/lc-ctype.c: Likewise.
11792 * locale/nl_langinfo.c: Likewise.
11793 * mach/Machrules: Likewise.
11794 * mach/Makefile: Likewise.
11795 * malloc/obstack.h: Likewise.
11796 * manual/Makefile: Likewise.
11797 * manual/tsort.awk: Likewise.
11798 * misc/bits/stab.def: Likewise.
11799 * nis/nis_print_group_entry.c: Likewise.
11800 * nis/nis_table.c: Likewise.
11801 * nis/nss_compat/compat-pwd.c: Likewise.
11802 * nis/nss_compat/compat-spwd.c: Likewise.
11803 * po/Makefile: Likewise.
11804 * posix/fnmatch.c: Likewise.
11805 * posix/regex.h: Likewise.
11806 * resolv/Makefile: Likewise.
11807 * resolv/nss_dns/dns-network.c: Likewise.
11808 * resolv/res_hconf.c: Likewise.
11809 * scripts/gen-sorted.awk: Likewise.
11810 * soft-fp/soft-fp.h: Likewise.
11811 * stdio-common/printf.h: Likewise.
11812 * stdlib/monetary.h: Likewise.
11813 * stdlib/random.c: Likewise.
11814 * stdlib/random_r.c: Likewise.
11815 * sysdeps/generic/Makefile: Likewise.
11816 * sysdeps/gnu/Makefile: Likewise.
11817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11827 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11840 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11841 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11845 * sysdeps/mach/hurd/errnos.awk: Likewise.
11846 * sysdeps/mach/hurd/fork.c: Likewise.
11847 * sysdeps/mach/hurd/getcwd.c: Likewise.
11848 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11849 * sysdeps/mach/hurd/mmap.c: Likewise.
11850 * sysdeps/mach/hurd/utimes.c: Likewise.
11851 * sysdeps/mach/hurd/xmknod.c: Likewise.
11852 * sysdeps/posix/profil.c: Likewise.
11853 * sysdeps/posix/readdir_r.c: Likewise.
11854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11855 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11856 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11857 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11859 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11865 * sysdeps/pthread/lio_listio.c: Likewise.
11866 * sysdeps/sparc/dl-procinfo.h: Likewise.
11867 * sysdeps/unix/i386/sysdep.S: Likewise.
11868 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11869 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11870 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11871 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11873 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11874 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11875 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11876 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11877 * sysdeps/wordsize-32/divdi3.c: Likewise.
11878 * time/sys/time.h: Likewise.
11879 * wcsmbs/Makefile: Likewise.
11881 2013-01-01 David S. Miller <davem@davemloft.net>
11883 * po/fr.po: Update from translation team.
11885 * catgets/gencat.c: Update copyright year.
11886 * csu/version.c: Likewise.
11887 * debug/catchsegv.sh: Likewise.
11888 * debug/pcprofiledump.c: Likewise.
11889 * debug/xtrace.sh: Likewise.
11890 * elf/ldconfig.c: Likewise.
11891 * elf/ldd.bash.in: Likewise.
11892 * elf/pldd.c: Likewise.
11893 * elf/sotruss.ksh: Likewise.
11894 * elf/sprof.c: Likewise.
11895 * iconv/iconv_prog.c: Likewise.
11896 * iconv/iconvconfig.c: Likewise.
11897 * locale/programs/locale.c: Likewise.
11898 * locale/programs/localedef.c: Likewise.
11899 * login/programs/pt_chown.c: Likewise.
11900 * malloc/memusage.sh: Likewise.
11901 * malloc/memusagestat.c: Likewise.
11902 * malloc/mtrace.pl: Likewise.
11903 * nscd/nscd.c: Likewise.
11904 * nss/getent.c: Likewise.
11905 * nss/makedb.c: Likewise.
11906 * posix/getconf.c: Likewise.
11908 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11910 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11913 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11915 * math/bits/mathcalls.h (modf): Use __nonnull.
11917 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11919 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11920 (split): Use macro CN instead of the bare value.
11921 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11924 instead of the bare value.
11925 (power1): Likewise.
11927 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11933 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11935 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11937 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11938 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11940 2012-12-28 Andreas Jaeger <aj@suse.de>
11942 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11943 values are from Linux 3.7.
11945 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11946 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11948 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11953 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11955 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11956 variables with preprocessor constants.
11957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11959 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11961 2012-12-27 Bruno Haible <bruno@clisp.org>
11964 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11967 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11970 and use variable directly.
11971 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11973 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11975 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11980 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11981 include directive. Remove local variable MPONE.
11982 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11984 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11986 2012-12-25 David S. Miller <davem@davemloft.net>
11988 * version.h (RELEASE): Set to "development".
11989 (VERSION): Set to "2.17.90".
11990 * NEWS: Add 2.18 section.
11992 2012-12-21 David S. Miller <davem@davemloft.net>
11994 * po/hr.po: Update from translation team.
11996 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11998 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12000 2012-12-19 Steve Ellcey <sellcey@mips.com>
12002 * NEWS: Mention new memcpy for MIPS.
12004 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12006 * manual/contrib.texi (Contributors): Spelling correction.
12008 2012-12-15 David S. Miller <davem@davemloft.net>
12010 * po/ru.po: Update from translation team.
12012 2012-12-13 David S. Miller <davem@davemloft.net>
12014 * NEWS: Mention IFUNC testsuite enhancements.
12016 * po/pl.po: Update from translation team.
12017 * po/bg.po: Likewise.
12019 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12020 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12022 2012-12-11 David S. Miller <davem@davemloft.net>
12024 * po/sv.po: Update from translation team.
12026 * po/vi.po: Update from translation team.
12028 * po/cs.po: Update from translation team.
12030 * po/de.po: Update from translation team.
12031 * po/eo.po: Likewise.
12032 * po/nl.po: Likewise.
12034 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12037 * manual/argp.texi (Argp Helper Functions): Move node to follow
12038 Argp Parsing State.
12041 * manual/conf.texi (Limits on File System Capacity): Mention if
12042 terminating null is included in the max size.
12044 2012-12-10 Andreas Jaeger <aj@suse.de>
12046 * po/cs.po: Update from translation team.
12048 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12050 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12051 void pointer and cast to uintptr_t.
12052 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12054 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12055 * sysdeps/s390/s390-64/memset.S: Likewise.
12057 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12060 * menual/message.texi (Message Translation): Fix typos.
12061 (Helper programs for gettext): Likewise.
12063 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12066 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12069 2012-12-07 David S. Miller <davem@davemloft.net>
12071 * po/libc.pot: Update.
12073 2012-12-07 Richard Henderson <rth@redhat.com>
12076 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12077 normal/normal case to before the switch.
12078 (_FP_DIV): Likewise.
12080 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12081 Mike Frysinger <vapier@gentoo.org>
12083 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12084 check for __NR_fadvise64_64.
12086 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12088 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12089 0, not just to plain "0" as a statement.
12090 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12093 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12095 * NEWS: Use sourceware.org in Bugzilla URL.
12097 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12100 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12102 * stdio-common/tst-put-error.c (do_test): Add newline to the
12103 padded test to ensure flush.
12105 2012-12-05 Jeff Law <law@redhat.com>
12107 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12109 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12111 * README: Don't refer to ports add-on as distributed separately.
12112 Mention AArch64 in list of systems supported in the ports add-on.
12114 * LICENSES: Add more non-FSF copyright and license notices.
12116 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12121 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12122 10000 as width of padded output.
12124 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12126 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12129 variable LX with __attribute__ ((unused)).
12130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12132 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12135 with __attribute__ ((unused)).
12137 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12139 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12141 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12143 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12144 (CFLAGS-nldbl-acos.c): New variable.
12145 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12146 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12147 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12148 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12149 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12150 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12151 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12152 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12153 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12154 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12155 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12156 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12157 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12158 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12159 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12160 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12161 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12162 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12163 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12164 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12165 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12166 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12167 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12168 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12169 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12170 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12171 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12172 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12173 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12174 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12175 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12176 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12177 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12178 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12179 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12180 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12181 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12182 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12183 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12184 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12185 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12186 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12187 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12188 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12189 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12190 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12191 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12192 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12193 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12194 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12195 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12196 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12197 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12198 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12199 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12200 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12201 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12202 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12203 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12204 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12205 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12206 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12207 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12208 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12209 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12210 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12211 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12212 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12213 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12214 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12215 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12216 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12217 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12218 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12219 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12220 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12221 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12222 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12223 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12224 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12225 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12226 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12227 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12228 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12229 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12230 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12231 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12232 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12233 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12234 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12235 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12236 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12237 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12238 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12239 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12240 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12241 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12248 whole low double instead of just low 47 bits when splitting values
12251 2012-12-03 Allan McRae <allan@archlinux.org>
12253 * manual/stdio.texi (Predefined Printf Handlers): Remove
12254 @hsep and @vsep usage.
12256 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12258 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12259 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12261 2012-12-03 Jeff Law <law@redhat.com>
12263 * time/sys/time.h (settimeofday): Do not mark TV argument
12266 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12268 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12269 when currently writing and seek to current position when not.
12270 * libio/Makefile (tests): Remove bug-fclose1.
12271 * libio/bug-fclose1.c: Delete.
12273 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12275 * manual/arith.texi (feenableexcept): Fix typo.
12276 (fedisableexcept): Likewise.
12278 2012-11-30 Roland McGrath <roland@hack.frob.com>
12280 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12281 second, differently-typed declaration, rather than a cast.
12283 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12285 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12286 * include/rpc/svc.h: ... here.
12288 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12291 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12292 depending n and resplen2 to catch cases where answer
12295 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12298 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12300 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12304 2012-11-29 Roland McGrath <roland@hack.frob.com>
12306 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12308 2012-11-28 Jeff Law <law@redhat.com>
12311 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12312 dataset_temporary. Track alloca usage into alloca_used.
12313 If dataset is large allocate and release it via malloc/free.
12315 2012-06-04 Florian Weimer <fweimer@redhat.com>
12318 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12320 2012-11-28 David S. Miller <davem@davemloft.net>
12322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12324 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12327 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12328 of pi/2 rounded to nearest to 64 bits.
12329 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12330 nearest to 64 bits.
12331 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12334 2012-11-28 Jeff Law <law@redhat.com>
12335 Martin Osvald <mosvald@redhat.com>
12338 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12339 * sunrpc/svc.c: Include time.h.
12340 (__svc_accept_failed): New function.
12341 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12342 any reason other than EINTR, call __svc_accept_failed.
12343 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12344 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12346 2012-11-28 Andreas Schwab <schwab@suse.de>
12348 * scripts/abilist.awk: Also handle indirect functions in .opd
12351 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12354 * sysdeps/x86/fpu/powl_helper.c: New file.
12355 * sysdeps/x86/fpu/Makefile: Likewise.
12356 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12358 (__ieee754_powl): Use __powl_helper for finite arguments except
12359 integer exponents below 8.
12360 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12362 (__ieee754_powl): Use __powl_helper for finite arguments except
12363 integer exponents below 8.
12364 * math/libm-test.inc (pow_test): Add more tests and enable some
12365 previously disabled tests.
12366 * sysdeps/i386/fpu/libm-test-ulps: Update.
12367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12369 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12370 Carlos O'Donell <carlos_odonell@mentor.com>
12372 * nss/makedb.c (is_prime): Assert that input is odd and greater
12373 than 4. Note that fact in a comment too.
12374 (next_prime): Add 4 to input.
12376 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12379 * libio/Makefile (tests): Add test case tst-fwrite-error.
12380 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12381 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12382 * libio/tst-fwrite-error.c: New test case.
12384 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12386 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12387 before casting to void *.
12388 * include/libc-internal.h (__pointer_type): New macro.
12389 (__integer_if_pointer_type_sub): Likewise.
12390 (__integer_if_pointer_type): Likewise.
12391 (cast_to_integer): Likewise.
12392 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12393 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12394 before casting to atomic64_t.
12395 (atomic_exchange_acq): Likewise.
12396 (__arch_exchange_and_add_body): Likewise.
12397 (__arch_add_body): Likewise.
12398 (atomic_add_negative): Likewise.
12399 (atomic_add_zero): Likewise.
12401 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12403 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12404 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12405 (add_fdes): Likewise.
12406 (linear_search_fdes): Likewise.
12407 (binary_search_unencoded_fdes): Likewise.
12409 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12411 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12413 2012-11-24 Adam Conrad <adconrad@0c3.net>
12415 * configure.in: Autodetect C++ header directories.
12416 * configure: Regenerated.
12418 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12420 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12422 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12426 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12428 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12429 LDBL_MANT_DIG == 106]: Disable some tests.
12430 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12432 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12436 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12437 input for small inputs. Return +/- pi/2 for large inputs.
12438 * math/libm-test.inc (atan_test): Add more tests.
12440 * sysdeps/generic/unwind-dw2-fde-glibc.c
12441 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12442 __attribute__ ((unused)).
12445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12446 x * y if x and y are nonzero and z is zero.
12449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12450 nonzero exponents with absolute value below 0x1p-117 to +/-
12454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12455 up arguments below 2**-450, not just those below 2**-500.
12456 * math/libm-test.inc (hypot_test): Add another test.
12459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12460 Return a+b for ratio over 2**120, not 2**60.
12461 * math/libm-test.inc (hypot_test): Add another test.
12463 * math/libm-test.inc (clog_test): Use
12464 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12465 (clog10_test): Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12470 2012-11-22 Andreas Schwab <schwab@suse.de>
12472 * sysdeps/i386/fpu/libm-test-ulps: Update.
12474 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12476 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12477 printf output with newline.
12479 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12482 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12483 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12484 -z nodlopen, -z initfirst and -z execstack support.
12485 * configure: Regenerated.
12487 * elf/elf.h (DF_1_NODIRECT): New macro.
12488 (DF_1_IGNMULDEF): Likewise.
12489 (DF_1_NOKSYMS): Likewise.
12490 (DF_1_NOHDR): Likewise.
12491 (DF_1_EDITED): Likewise.
12492 (DF_1_NORELOC): Likewise.
12493 (DF_1_SYMINTPOSE): Likewise.
12494 (DF_1_GLOBAUDIT): Likewise.
12495 (DF_1_SINGLETON): Likewise.
12496 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12497 DT_1_SUPPORTED_MASK bits.
12498 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12500 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12502 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12504 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12506 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12510 (sendmmsg): Move declarations...
12511 * socket/sys/socket.h: ... here.
12512 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12513 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12515 * socket/recvmmsg.c: ... this new file.
12516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12517 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12518 definition of __sendmmsg hidden.
12519 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12520 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12521 Move ENOSYS stub into and include it from...
12522 * socket/sendmmsg.c: ... this new file.
12523 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12524 (sysdep_routines): Move recvmmsg and sendmmsg...
12525 * socket/Makefile (routines): ... here.
12526 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12527 (GLIBC_PRIVATE): Add __sendmmsg.
12528 * include/sys/socket.h (__sendmmsg): Add declarations.
12529 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12532 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12535 variable I1 with __attribute__ ((unused)).
12536 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12538 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12540 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12541 DUMMY variables with __attribute__ ((unused)).
12543 * bits/byteswap.h: Include <bits/types.h>.
12544 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12546 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12548 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12549 string_t. Do not manually set errno.
12550 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12551 length with __strnlen. Make sure to both set errno and return it on
12554 2012-11-19 David S. Miller <davem@davemloft.net>
12556 With help from Joseph Myers.
12557 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12558 very large arguments properly.
12559 * math/libm-test.inc (atan_test): New tests.
12560 (atan2_test): New tests.
12561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12564 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12567 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12570 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12571 [POSIX] (EADDRNOTAVAIL): Likewise.
12572 [POSIX] (EAFNOSUPPORT): Likewise.
12573 [POSIX] (EALREADY): Likewise.
12574 [POSIX] (ECONNABORTED): Likewise.
12575 [POSIX] (ECONNREFUSED): Likewise.
12576 [POSIX] (ECONNRESET): Likewise.
12577 [POSIX] (EDESTADDRREQ): Likewise.
12578 [POSIX] (EDQUOT): Likewise.
12579 [POSIX] (EHOSTUNREACH): Likewise.
12580 [POSIX] (EIDRM): Likewise.
12581 [POSIX] (EISCONN): Likewise.
12582 [POSIX] (ELOOP): Likewise.
12583 [POSIX] (EMULTIHOP): Likewise.
12584 [POSIX] (ENETDOWN): Likewise.
12585 [POSIX] (ENETUNREACH): Likewise.
12586 [POSIX] (ENOBUFS): Likewise.
12587 [POSIX] (ENODATA): Likewise.
12588 [POSIX] (ENOLINK): Likewise.
12589 [POSIX] (ENOMSG): Likewise.
12590 [POSIX] (ENOPROTOOPT): Likewise.
12591 [POSIX] (ENOSR): Likewise.
12592 [POSIX] (ENOSTR): Likewise.
12593 [POSIX] (ENOTCONN): Likewise.
12594 [POSIX] (ENOTSOCK): Likewise.
12595 [POSIX] (EOPNOTSUPP): Likewise.
12596 [POSIX] (EOVERFLOW): Likewise.
12597 [POSIX] (EPROTO): Likewise.
12598 [POSIX] (EPROTONOSUPPORT): Likewise.
12599 [POSIX] (EPROTOTYPE): Likewise.
12600 [POSIX] (ESTALE): Likewise.
12601 [POSIX] (ETIME): Likewise.
12602 [POSIX] (ETXTBSY): Likewise.
12603 [POSIX] (EWOULDBLOCK): Likewise.
12604 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12605 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12606 [POSIX] (SEEK_CUR): Likewise.
12607 [POSIX] (SEEK_END): Likewise.
12608 [POSIX || UNIX98] (mode_t): Do not require.
12609 [POSIX] (off_t): Likewise.
12610 [POSIX] (pid_t): Likewise.
12611 [POSIX] (sys/stat.h): Do not allow header.
12612 [POSIX] (unistd.h): Likewise.
12613 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12614 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12615 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12616 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12618 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12619 sigevent): Specify elements.
12620 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12622 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12623 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12625 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12626 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12627 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12628 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12629 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12630 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12631 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12632 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12633 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12635 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12636 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12637 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12644 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12646 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12648 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12649 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12650 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12651 Specify lower bound on value.
12652 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12653 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12654 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12655 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12656 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12657 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12658 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12659 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12663 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12664 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12665 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12666 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12667 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12668 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12669 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12670 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12671 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12672 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12673 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12674 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12675 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12676 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12677 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12678 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12680 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12682 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12684 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12685 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12689 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12691 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12692 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12693 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12694 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12701 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12702 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12703 specify as optional.
12704 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12707 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12708 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12709 [XPG3] (NL_LANGMAX): Likewise.
12710 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12711 [POSIX || XPG3] (NL_NMAX): Likewise.
12712 [POSIX || XPG3] (NL_SETMAX): Likewise.
12713 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12714 [XPG3] (NZERO): Likewise.
12715 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12716 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12717 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12718 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12719 (REG_ERANGE): Expect.
12720 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12722 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12723 Use (void) in prototype.
12724 [POSIX] (*_t): Allow.
12725 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12726 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12727 (WRDE_BADVAL): Expect.
12729 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12731 [XPG3 || XPG4] (O_RSYNC): Likewise.
12732 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12734 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12735 [XPG3 || XPG4] (sigqueue): Likewise.
12736 [XPG3 || XPG4] (sigtimedwait): Likewise.
12737 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12738 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12739 [XPG3 || XPG4] (vsnprintf): Likewise.
12740 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12742 [XPG3 || XPG4] (blksize_t): Likewise.
12743 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12745 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12746 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12747 [XPG3 || XPG4] (struct itimerspec): Likewise.
12748 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12749 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12750 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12751 [XPG3 || XPG4] (clockid_t): Likewise.
12752 [XPG3 || XPG4] (timer_t): Likewise.
12753 [XPG3 || XPG4] (clock_getres): Likewise.
12754 [XPG3 || XPG4] (clock_gettime): Likewise.
12755 [XPG3 || XPG4] (clock_settime): Likewise.
12756 [XPG3 || XPG4] (nanosleep): Likewise.
12757 [XPG3 || XPG4] (timer_create): Likewise.
12758 [XPG3 || XPG4] (timer_delete): Likewise.
12759 [XPG3 || XPG4] (timer_gettime): Likewise.
12760 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12761 [XPG3 || XPG4] (timer_settime): Likewise.
12762 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12763 [XPG3 || XPG4] (getlogin_r): Likewise.
12764 [XPG3 || XPG4] (pread): Likewise.
12765 [XPG3 || XPG4] (pthread_atfork): Likewise.
12766 [XPG3 || XPG4] (pwrite): Likewise.
12769 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12772 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12774 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12775 finalizing MALLSTREAM.
12777 * sysdeps/mach/hurd/syncfs.c: New file.
12779 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12783 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12784 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12785 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12786 (_nss_dns_gethostbyname4_r): Likewise.
12787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12788 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12790 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12793 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12795 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12797 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12798 * elf/cache.c (print_entry): Print ",AArch64" for
12801 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12802 * elf/cache.c (print_entry): Print ",hard-float" for
12805 2012-11-18 David S. Miller <davem@davemloft.net>
12807 With help from Joseph Myers.
12808 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12810 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12812 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12813 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12815 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12816 * math/libm-test.inc (y0_test): New tests.
12817 (y1_test): New tests.
12818 * sysdeps/i386/fpu/libm-test-ulps: Update.
12819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12822 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12824 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12826 * configure: Regenerated.
12828 2012-11-17 David S. Miller <davem@davemloft.net>
12831 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12832 nonzero exponents with absolute value below 0x1p-128 to +/-
12835 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12837 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12839 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12841 * posix/getconf-speclist.c: New file.
12842 * posix/posix-envs.def: Likewise.
12843 * posix/confstr.c (START_ENV_GROUP): New macro.
12844 (END_ENV_GROUP): Likewise.
12845 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12846 (KNOWN_PRESENT_ENV_STRING): Likewise.
12847 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12848 (UNKNOWN_ENVIRONMENT): Likewise.
12849 (confstr): Include posix-envs.def instead of handling
12850 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12851 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12852 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12853 (END_ENV_GROUP): Likewise.
12854 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12855 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12856 (UNKNOWN_ENVIRONMENT): Likewise.
12857 (__sysconf): Include posix-envs.def instead of handling associated
12858 cases directly here.
12859 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12860 preprocessing getconf-speclist.c rather than running getconf or
12861 generating empty file.
12863 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12865 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12867 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12870 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12872 2012-11-16 David S. Miller <davem@davemloft.net>
12874 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12875 smaller than LDBL_EPSILON/2.0L, just return xm1.
12877 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12879 * elf/tst-array1.c (init): Set constructor priority to 1000.
12880 (fini): Set destructor priority to 1000.
12881 * elf/tst-array2dep.c: Likewise.
12883 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12886 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12887 (_IO_new_file_xsputn): Also return EOF if none of the input
12888 data was written when overflow failed.
12889 * libio/iopadn.c (_IO_padn): Likewise.
12890 * libio/iowpadn.c (_IO_wpadn): Likewise.
12891 * stdio-common/tst-put-error.c: Add copyright notice.
12892 (do_test): Add case for printing padded string.
12893 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12894 _IO_padn returned error.
12895 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12896 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12899 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12901 * libio/libioP.h: Add comment note that the references to C++
12902 bits are now obsolete.
12904 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12906 * math/libm-test.inc (check_complex): Use asprintf.
12908 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12910 * debug/pcprofiledump.c (print_version): Update copyright year.
12911 * malloc/memusagestat.c (print_version): Likewise.
12913 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12916 * elf/Makefile (tests): Add tst-audit8.
12917 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12918 ($(objpfx)tst-audit8.out): New target.
12919 (tst-audit8-ENV): New variable.
12920 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12921 audit if l_reloc_result is NULL.
12922 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12923 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12924 * elf/tst-audit8.c: New file.
12926 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12928 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12929 * misc/Makefile (CFLAGS-select.c): Define.
12930 * posix/Makefile (CFLAGS-pause.c): Define.
12932 2012-11-13 David S. Miller <davem@davemloft.net>
12934 * crypt/Makefile: Move test targets after toplevel Rules
12935 inclusion. Grab any necessary sysdep routines when linking.
12936 * crypt/md5.c (md5_process_block): Remove define, we will always
12937 name it __md5_process_block.
12938 (md5_finish_ctx): Update md5_process_block call.
12939 (md5_stream): Likewise.
12940 (md5_process_bytes): Likewise.
12941 (md5_process_block): Rename to __md5_process_block and move to ...
12942 * crypt/md5-block.c: ... here.
12943 * crypt/sha256.c (sha256_process_block): Move to ...
12944 * crypt/sha256-block.c: ... here.
12945 * crypt/sha512.c (sha512_process_block): Move to ...
12946 * crypt/sha512-block.c: ... here.
12947 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12949 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12950 * sysdeps/sparc/sparc64/multiarch/Makefile
12951 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12953 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12956 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12957 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12958 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12959 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12960 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12961 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12962 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12963 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12966 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12971 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12973 * timezone/tzselect.ksh: Update from tzcode git revision
12974 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12975 * timezone/zdump.c: Likewise.
12976 * timezone/zic.c: Likewise.
12977 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12978 in TZVERSION setting, not $(PKGVERSION).
12979 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12980 REPORT_BUGS_TO settings.
12983 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12986 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12989 detection to immediately after _FP_ROUND().
12990 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12993 2012-11-11 David S. Miller <davem@davemloft.net>
12995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12997 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12998 __close rather than their public counterparts.
13000 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13002 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13004 [UNIX98] (sem_timedwait): Do not expect.
13005 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13006 [XPG4 || UNIX98] (sockatmark): Do not expect.
13007 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13008 (clock_getcpuclockid): Do not expect.
13009 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13010 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13012 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13013 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13014 [UNIX98] (vwscanf): Likewise.
13015 [UNIX98] (vswscanf): Likewise.
13017 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13019 * timezone/version.h: Remove file.
13020 * timezone/README: Do not refer to version.h.
13021 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13022 $(objpfx)version.h.
13023 ($(objpfx)zdump.o): Likewise.
13024 ($(objpfx)version.h): New target.
13026 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13028 * timezone/README: Don't mention modification to tzselect.ksh.
13029 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13030 work on unmodified tzselect.ksh. Substitute version numbers in
13033 * Makefile (format-me): Remove.
13034 (INSTALL): Adjust indentation. Use commands directly instead of
13035 using $(format-me).
13037 * aclocal.m4 (ACX_PKGVERSION): New macro.
13038 (ACX_BUGURL): Likewise.
13039 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13040 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13041 (REPORT_BUGS_TO): Likewise.
13042 * configure: Regenerated.
13043 * config.h.in (PKGVERSION): New macro.
13044 (REPORT_BUGS_TO): Likewise.
13045 * config.make.in (PKGVERSION): New variable.
13046 (PKGVERSION_TEXI): Likewise.
13047 (REPORT_BUGS_TO): Likewise.
13048 (REPORT_BUGS_TEXI): Likewise.
13049 * Makefile (format-me): Use -I$(common-objpfx)manual.
13050 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13051 ($(common-objpfx)manual/%): New target.
13052 (manual/%): Remove target.
13053 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13054 (print_version): Use PKGVERSION.
13055 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13056 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13057 and REPORT_BUGS_TO.
13058 ($(objpfx)xtrace): Likewise.
13059 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13060 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13061 (print_version): Use PKGVERSION.
13062 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13063 (do_version): Use PKGVERSION.
13064 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13066 (common-ldd-rewrite): Likewise.
13067 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13068 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13069 (print_version): Use PKGVERSION.
13070 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13071 * elf/pldd.c (argp_program_bug_address): Remove variable.
13072 (more_help): New function.
13073 (argp): Use more_help.
13074 (print_version): Use PKGVERSION.
13075 * elf/sln.c (main): Use PKGVERSION.
13076 (usage): Use REPORT_BUGS_TO.
13077 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13078 (top level): Use PKGVERSION.
13079 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13080 (print_version): Use PKGVERSION.
13081 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13082 (print_version): Use PKGVERSION.
13083 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13084 (print_version): Use PKGVERSION.
13085 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13086 (print_version): Use PKGVERSION.
13087 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13088 (print_version): Use PKGVERSION.
13089 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13090 (print_version): Use PKGVERSION.
13091 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13093 ($(objpfx)memusage): Likewise.
13094 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13095 (do_version): Use PKGVERSION.
13096 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13097 (print_version): Use PKGVERSION.
13098 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13099 ($PKGVERSION): New variable.
13100 ($REPORT_BUGS_TO): Likewise.
13101 (usage): Use $REPORT_BUGS_TO.
13102 (top level): Use $PKGVERSION.
13103 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13104 ($(objpfx)pkgvers.texi): New rule.
13105 ($(objpfx)stamp-pkgvers): Likewise.
13106 * manual/install.texi: Include pkgvers.texi.
13107 (--with-pkgversion): Document new configure option.
13108 (--with-bugurl): Likewise.
13109 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13110 than necessarily for this particular distribution. Use
13111 REPORT_BUGS_TO for where to report bugs.
13112 * INSTALL: Regenerated.
13113 * manual/libc.texinfo: Include pkgvers.texi.
13114 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13115 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13116 (print_version): Use PKGVERSION.
13117 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13118 (print_version): Use PKGVERSION.
13119 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13120 (print_version): Use PKGVERSION.
13121 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13122 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13124 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13125 (print_version): Use PKGVERSION.
13126 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13127 (print_version): Use PKGVERSION.
13128 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13131 * timezone/checktab.awk: Update from tzcode 2012i.
13132 * timezone/ialloc.c: Likewise.
13133 * timezone/private.h: Likewise.
13134 * timezone/scheck.c: Likewise.
13135 * timezone/tzfile.h: Likewise.
13136 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13137 (TZVERSION): Hardcode tzcode version number.
13138 * timezone/zdump.c: Update from tzcode 2012i.
13139 * timezone/zic.c: Likewise.
13140 * timezone/version.h: New file.
13141 * timezone/README: Describe version.h. Update upstream location.
13144 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13145 (mktemp): Enable declaration.
13146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13163 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13164 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13165 for copies of such integer values.
13166 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13167 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13169 2012-11-09 Andreas Jaeger <aj@suse.de>
13171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13172 definitions and declarations that are provided by
13173 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13175 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13177 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13178 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13179 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13182 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13184 * elf/elf.h: Update comment before AArch64 relocations.
13186 2012-11-07 David S. Miller <davem@davemloft.net>
13188 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13189 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13190 (__start_context): Declare.
13191 (__makecontext_ret): Delete.
13192 (__makecontext): Hook up __start_context instead of
13194 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13195 (sysdep_routines): Add __start_context when in stdlib.
13197 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13199 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13200 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13201 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13203 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13204 (READELF): New variable. Use it instead of hardcoded "readelf".
13206 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13208 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13209 * sysdeps/x86/Makefile: Here.
13210 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13211 * sysdeps/x86/tst-xmmymm.sh: This.
13213 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13215 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13217 [UNIX98] (pthread_barrier_t): Do not expect.
13218 [UNIX98] (pthread_barrierattr_t): Likewise.
13219 [UNIX98] (pthread_spinlock_t): Likewise.
13220 [UNIX98] (pthread_barrier_destroy): Likewise.
13221 [UNIX98] (pthread_barrier_init): Likewise.
13222 [UNIX98] (pthread_barrier_wait): Likewise.
13223 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13224 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13225 [UNIX98] (pthread_barrierattr_init): Likewise.
13226 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13227 [UNIX98] (pthread_getcpuclockid): Likewise.
13228 [UNIX98] (pthread_mutex_timedlock): Likewise.
13229 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13230 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13231 [UNIX98] (pthread_sigmask): Likewise.
13232 [UNIX98] (pthread_spin_destroy): Likewise.
13233 [UNIX98] (pthread_spin_init): Likewise.
13234 [UNIX98] (pthread_spin_lock): Likewise.
13235 [UNIX98] (pthread_spin_trylock): Likewise.
13236 [UNIX98] (pthread_spin_unlock): Likewise.
13237 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13239 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13240 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13241 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13242 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13243 [XPG3 || XPG4] (pthread_key_t): Likewise.
13244 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13245 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13246 [XPG3 || XPG4] (pthread_once_t): Likewise.
13247 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13248 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13249 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13250 [XPG3 || XPG4] (pthread_t): Likewise.
13252 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13254 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13256 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13257 Change function return type to int.
13259 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13260 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13261 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13262 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13263 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13264 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13265 [!POSIX] (posix_madvise): Likewise.
13266 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13268 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13269 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13270 (mode_t): Likewise.
13271 (posix_mem_offset): Likewise.
13272 (posix_typed_mem_get_info): Likewise.
13273 (posix_typed_mem_open): Likewise.
13275 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13276 Change condition to [XOPEN2K8].
13278 * conform/conformtest.pl: Preprocess allow-header data with -x c
13279 instead of from stdin.
13280 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13281 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13282 [C99-based standards] (cerfc): Likewise.
13283 [C99-based standards] (cexp2): Likewise.
13284 [C99-based standards] (cexpm1): Likewise.
13285 [C99-based standards] (clog10): Likewise.
13286 [C99-based standards] (clog1p): Likewise.
13287 [C99-based standards] (clog2): Likewise.
13288 [C99-based standards] (clgamma): Likewise.
13289 [C99-based standards] (ctgamma): Likewise.
13290 [C99-based standards] (cerff): Likewise.
13291 [C99-based standards] (cerfcf): Likewise.
13292 [C99-based standards] (cexp2f): Likewise.
13293 [C99-based standards] (cexpm1f): Likewise.
13294 [C99-based standards] (clog10f): Likewise.
13295 [C99-based standards] (clog1pf): Likewise.
13296 [C99-based standards] (clog2f): Likewise.
13297 [C99-based standards] (clgammaf): Likewise.
13298 [C99-based standards] (ctgammaf): Likewise.
13299 [C99-based standards] (cerfl): Likewise.
13300 [C99-based standards] (cerfcl): Likewise.
13301 [C99-based standards] (cexp2l): Likewise.
13302 [C99-based standards] (cexpm1l): Likewise.
13303 [C99-based standards] (clog10l): Likewise.
13304 [C99-based standards] (clog1pl): Likewise.
13305 [C99-based standards] (clog2l): Likewise.
13306 [C99-based standards] (clgammal): Likewise.
13307 [C99-based standards] (ctgammal): Likewise.
13308 * conform/data/inttypes.h-data [C99-based standards]: Include
13309 stdint.h-data. Remove all expectations for stdint.h contents.
13310 [C99-based standards] (PRI*): Do not allow.
13311 [C99-based standards] (SCN*): Likewise.
13312 [C99-based standards] (*_t): Likewise.
13313 [C99-based-standards] (PRId8): Expect macro.
13314 [C99-based-standards] (PRIi8): Likewise.
13315 [C99-based-standards] (PRIo8): Likewise.
13316 [C99-based-standards] (PRIu8): Likewise.
13317 [C99-based-standards] (PRIx8): Likewise.
13318 [C99-based-standards] (PRIX8): Likewise.
13319 [C99-based-standards] (SCNd8): Likewise.
13320 [C99-based-standards] (SCNi8): Likewise.
13321 [C99-based-standards] (SCNo8): Likewise.
13322 [C99-based-standards] (SCNu8): Likewise.
13323 [C99-based-standards] (SCNx8): Likewise.
13324 [C99-based-standards] (PRIdLEAST8): Likewise.
13325 [C99-based-standards] (PRIiLEAST8): Likewise.
13326 [C99-based-standards] (PRIoLEAST8): Likewise.
13327 [C99-based-standards] (PRIuLEAST8): Likewise.
13328 [C99-based-standards] (PRIxLEAST8): Likewise.
13329 [C99-based-standards] (PRIXLEAST8): Likewise.
13330 [C99-based-standards] (SCNdLEAST8): Likewise.
13331 [C99-based-standards] (SCNiLEAST8): Likewise.
13332 [C99-based-standards] (SCNoLEAST8): Likewise.
13333 [C99-based-standards] (SCNuLEAST8): Likewise.
13334 [C99-based-standards] (SCNxLEAST8): Likewise.
13335 [C99-based-standards] (PRIdFAST8): Likewise.
13336 [C99-based-standards] (PRIiFAST8): Likewise.
13337 [C99-based-standards] (PRIoFAST8): Likewise.
13338 [C99-based-standards] (PRIuFAST8): Likewise.
13339 [C99-based-standards] (PRIxFAST8): Likewise.
13340 [C99-based-standards] (PRIXFAST8): Likewise.
13341 [C99-based-standards] (SCNdFAST8): Likewise.
13342 [C99-based-standards] (SCNiFAST8): Likewise.
13343 [C99-based-standards] (SCNoFAST8): Likewise.
13344 [C99-based-standards] (SCNuFAST8): Likewise.
13345 [C99-based-standards] (SCNxFAST8): Likewise.
13346 [C99-based-standards] (PRId16): Likewise.
13347 [C99-based-standards] (PRIi16): Likewise.
13348 [C99-based-standards] (PRIo16): Likewise.
13349 [C99-based-standards] (PRIu16): Likewise.
13350 [C99-based-standards] (PRIx16): Likewise.
13351 [C99-based-standards] (PRIX16): Likewise.
13352 [C99-based-standards] (SCNd16): Likewise.
13353 [C99-based-standards] (SCNi16): Likewise.
13354 [C99-based-standards] (SCNo16): Likewise.
13355 [C99-based-standards] (SCNu16): Likewise.
13356 [C99-based-standards] (SCNx16): Likewise.
13357 [C99-based-standards] (PRIdLEAST16): Likewise.
13358 [C99-based-standards] (PRIiLEAST16): Likewise.
13359 [C99-based-standards] (PRIoLEAST16): Likewise.
13360 [C99-based-standards] (PRIuLEAST16): Likewise.
13361 [C99-based-standards] (PRIxLEAST16): Likewise.
13362 [C99-based-standards] (PRIXLEAST16): Likewise.
13363 [C99-based-standards] (SCNdLEAST16): Likewise.
13364 [C99-based-standards] (SCNiLEAST16): Likewise.
13365 [C99-based-standards] (SCNoLEAST16): Likewise.
13366 [C99-based-standards] (SCNuLEAST16): Likewise.
13367 [C99-based-standards] (SCNxLEAST16): Likewise.
13368 [C99-based-standards] (PRIdFAST16): Likewise.
13369 [C99-based-standards] (PRIiFAST16): Likewise.
13370 [C99-based-standards] (PRIoFAST16): Likewise.
13371 [C99-based-standards] (PRIuFAST16): Likewise.
13372 [C99-based-standards] (PRIxFAST16): Likewise.
13373 [C99-based-standards] (PRIXFAST16): Likewise.
13374 [C99-based-standards] (SCNdFAST16): Likewise.
13375 [C99-based-standards] (SCNiFAST16): Likewise.
13376 [C99-based-standards] (SCNoFAST16): Likewise.
13377 [C99-based-standards] (SCNuFAST16): Likewise.
13378 [C99-based-standards] (SCNxFAST16): Likewise.
13379 [C99-based-standards] (PRId32): Likewise.
13380 [C99-based-standards] (PRIi32): Likewise.
13381 [C99-based-standards] (PRIo32): Likewise.
13382 [C99-based-standards] (PRIu32): Likewise.
13383 [C99-based-standards] (PRIx32): Likewise.
13384 [C99-based-standards] (PRIX32): Likewise.
13385 [C99-based-standards] (SCNd32): Likewise.
13386 [C99-based-standards] (SCNi32): Likewise.
13387 [C99-based-standards] (SCNo32): Likewise.
13388 [C99-based-standards] (SCNu32): Likewise.
13389 [C99-based-standards] (SCNx32): Likewise.
13390 [C99-based-standards] (PRIdLEAST32): Likewise.
13391 [C99-based-standards] (PRIiLEAST32): Likewise.
13392 [C99-based-standards] (PRIoLEAST32): Likewise.
13393 [C99-based-standards] (PRIuLEAST32): Likewise.
13394 [C99-based-standards] (PRIxLEAST32): Likewise.
13395 [C99-based-standards] (PRIXLEAST32): Likewise.
13396 [C99-based-standards] (SCNdLEAST32): Likewise.
13397 [C99-based-standards] (SCNiLEAST32): Likewise.
13398 [C99-based-standards] (SCNoLEAST32): Likewise.
13399 [C99-based-standards] (SCNuLEAST32): Likewise.
13400 [C99-based-standards] (SCNxLEAST32): Likewise.
13401 [C99-based-standards] (PRIdFAST32): Likewise.
13402 [C99-based-standards] (PRIiFAST32): Likewise.
13403 [C99-based-standards] (PRIoFAST32): Likewise.
13404 [C99-based-standards] (PRIuFAST32): Likewise.
13405 [C99-based-standards] (PRIxFAST32): Likewise.
13406 [C99-based-standards] (PRIXFAST32): Likewise.
13407 [C99-based-standards] (SCNdFAST32): Likewise.
13408 [C99-based-standards] (SCNiFAST32): Likewise.
13409 [C99-based-standards] (SCNoFAST32): Likewise.
13410 [C99-based-standards] (SCNuFAST32): Likewise.
13411 [C99-based-standards] (SCNxFAST32): Likewise.
13412 [C99-based-standards] (PRId64): Likewise.
13413 [C99-based-standards] (PRIi64): Likewise.
13414 [C99-based-standards] (PRIo64): Likewise.
13415 [C99-based-standards] (PRIu64): Likewise.
13416 [C99-based-standards] (PRIx64): Likewise.
13417 [C99-based-standards] (PRIX64): Likewise.
13418 [C99-based-standards] (SCNd64): Likewise.
13419 [C99-based-standards] (SCNi64): Likewise.
13420 [C99-based-standards] (SCNo64): Likewise.
13421 [C99-based-standards] (SCNu64): Likewise.
13422 [C99-based-standards] (SCNx64): Likewise.
13423 [C99-based-standards] (PRIdLEAST64): Likewise.
13424 [C99-based-standards] (PRIiLEAST64): Likewise.
13425 [C99-based-standards] (PRIoLEAST64): Likewise.
13426 [C99-based-standards] (PRIuLEAST64): Likewise.
13427 [C99-based-standards] (PRIxLEAST64): Likewise.
13428 [C99-based-standards] (PRIXLEAST64): Likewise.
13429 [C99-based-standards] (SCNdLEAST64): Likewise.
13430 [C99-based-standards] (SCNiLEAST64): Likewise.
13431 [C99-based-standards] (SCNoLEAST64): Likewise.
13432 [C99-based-standards] (SCNuLEAST64): Likewise.
13433 [C99-based-standards] (SCNxLEAST64): Likewise.
13434 [C99-based-standards] (PRIdFAST64): Likewise.
13435 [C99-based-standards] (PRIiFAST64): Likewise.
13436 [C99-based-standards] (PRIoFAST64): Likewise.
13437 [C99-based-standards] (PRIuFAST64): Likewise.
13438 [C99-based-standards] (PRIxFAST64): Likewise.
13439 [C99-based-standards] (PRIXFAST64): Likewise.
13440 [C99-based-standards] (SCNdFAST64): Likewise.
13441 [C99-based-standards] (SCNiFAST64): Likewise.
13442 [C99-based-standards] (SCNoFAST64): Likewise.
13443 [C99-based-standards] (SCNuFAST64): Likewise.
13444 [C99-based-standards] (SCNxFAST64): Likewise.
13445 [C99-based-standards] (PRIdMAX): Likewise.
13446 [C99-based-standards] (PRIiMAX): Likewise.
13447 [C99-based-standards] (PRIoMAX): Likewise.
13448 [C99-based-standards] (PRIuMAX): Likewise.
13449 [C99-based-standards] (PRIxMAX): Likewise.
13450 [C99-based-standards] (PRIXMAX): Likewise.
13451 [C99-based-standards] (SCNdMAX): Likewise.
13452 [C99-based-standards] (SCNiMAX): Likewise.
13453 [C99-based-standards] (SCNoMAX): Likewise.
13454 [C99-based-standards] (SCNuMAX): Likewise.
13455 [C99-based-standards] (SCNxMAX): Likewise.
13456 [C99-based-standards] (PRIdPTR): Likewise.
13457 [C99-based-standards] (PRIiPTR): Likewise.
13458 [C99-based-standards] (PRIoPTR): Likewise.
13459 [C99-based-standards] (PRIuPTR): Likewise.
13460 [C99-based-standards] (PRIxPTR): Likewise.
13461 [C99-based-standards] (PRIXPTR): Likewise.
13462 [C99-based-standards] (SCNdPTR): Likewise.
13463 [C99-based-standards] (SCNiPTR): Likewise.
13464 [C99-based-standards] (SCNoPTR): Likewise.
13465 [C99-based-standards] (SCNuPTR): Likewise.
13466 [C99-based-standards] (SCNxPTR): Likewise.
13467 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13469 * conform/data/stdint.h-data: Update comments to clarify
13471 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13473 [C99-based standards] (INT8_MAX): Likewise.
13474 [C99-based standards] (INT16_MIN): Likewise.
13475 [C99-based standards] (INT16_MAX): Likewise.
13476 [C99-based standards] (INT32_MIN): Likewise.
13477 [C99-based standards] (INT32_MAX): Likewise.
13478 [C99-based standards] (INT64_MIN): Likewise.
13479 [C99-based standards] (INT64_MAX): Likewise.
13480 [C99-based standards] (UINT8_MAX): Likewise.
13481 [C99-based standards] (UINT16_MAX): Likewise.
13482 [C99-based standards] (UINT32_MAX): Likewise.
13483 [C99-based standards] (UINT64_MAX): Likewise.
13484 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13485 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13486 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13487 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13488 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13489 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13490 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13491 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13492 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13493 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13494 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13495 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13496 [C99-based standards] (INT_FAST8_MIN): Likewise.
13497 [C99-based standards] (INT_FAST8_MAX): Likewise.
13498 [C99-based standards] (INT_FAST16_MIN): Likewise.
13499 [C99-based standards] (INT_FAST16_MAX): Likewise.
13500 [C99-based standards] (INT_FAST32_MIN): Likewise.
13501 [C99-based standards] (INT_FAST32_MAX): Likewise.
13502 [C99-based standards] (INT_FAST64_MIN): Likewise.
13503 [C99-based standards] (INT_FAST64_MAX): Likewise.
13504 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13505 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13506 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13507 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13508 [C99-based standards] (INTPTR_MIN): Likewise.
13509 [C99-based standards] (INTPTR_MAX): Likewise.
13510 [C99-based standards] (UINTPTR_MAX): Likewise.
13511 [C99-based standards] (INTMAX_MIN): Likewise.
13512 [C99-based standards] (INTMAX_MAX): Likewise.
13513 [C99-based standards] (UINTMAX_MAX): Likewise.
13514 [C99-based standards] (PTRDIFF_MIN): Likewise.
13515 [C99-based standards] (PTRDIFF_MAX): Likewise.
13516 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13517 [C99-based standards] (SIZE_MAX): Likewise.
13518 [C99-based standards] (WCHAR_MAX): Likewise.
13519 [C99-based standards] (WINT_MAX): Likewise.
13520 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13521 constraint on value.
13522 [C99-based standards] (WCHAR_MIN): Likewise.
13523 [C99-based standards] (WINT_MIN): Likewise.
13524 [C99-based standards] (*_t): Allow.
13525 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13526 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13527 Include math.h-data and complex.h-data. Remove all expectations
13528 of math.h and complex.h contents.
13529 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13531 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13532 (struct tm): Expect tag.
13533 [C99-based-standards] (wcstof): Expect function.
13534 [C99-based-standards] (wcstold): Likewise.
13535 [C99-based-standards] (wcstoll): Likewise.
13536 [C99-based-standards] (wcstoull): Likewise.
13537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13538 macro-int-constant. Specify type.
13539 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13540 constraint on value.
13541 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13543 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13545 [ISO C standards]: Do not allow headers.
13546 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13547 wcs[abcdefghijklmnopqrstuvwxyz]*.
13548 [ISO C standards] (*_t): Do not allow.
13549 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13551 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13552 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13554 [ISO C standards]: Do not allow headers.
13555 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13556 is[abcdefghijklmnopqrstuvwxyz]*.
13557 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13558 to[abcdefghijklmnopqrstuvwxyz]*.
13559 [ISO C standards] (*_t): Do not allow.
13560 * conform/data/stdalign.h-data: New file.
13561 * conform/data/stdbool.h-data: Likewise.
13562 * conform/data/stdnoreturn.h-data: Likewise.
13564 2012-11-07 Roland McGrath <roland@hack.frob.com>
13567 * manual/filesys.texi (Directory Entries): Typo fix.
13568 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13570 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13572 * elf/elf.h (EM_AARCH64): New macro.
13573 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13574 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13575 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13576 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13577 (R_AARCH64_TLSDESC): Likewise.
13578 (NT_ARM_TLS): Likewise.
13579 (NT_ARM_HW_BREAK): Likewise.
13580 (NT_ARM_HW_WATCH): Likewise.
13582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13585 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13586 (__ieee754_powl): Saturate nonzero exponents with absolute value
13587 below 0x1p-79 to +/- 0x1p-79.
13588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13589 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13590 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13591 nonzero exponents with absolute value below 0x1p-32 to +/-
13593 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13594 (__ieee754_powl): Saturate nonzero exponents with absolute value
13595 below 0x1p-79 to +/- 0x1p-79.
13596 * math/libm-test.inc (pow_test): Add more tests.
13598 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13600 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13601 _dl_s390_cap_flags with kernel. Increase string length.
13602 (_dl_s390_platforms): Add z196 and zEC12.
13604 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13606 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13607 Change XOPEN21K to XOPEN2K.
13609 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13611 * string/memmove.c: Use memcpy when possible.
13613 2012-11-06 Andreas Jaeger <aj@suse.de>
13615 * po/eo.po: Update from translation team.
13617 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13621 exponent and small x and y exponents, scale x or y up. Increase
13622 by 2 the exponent used in scaling up.
13623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13625 * math/libm-test.inc (fma_test): Add more tests.
13626 (fma_test_towardzero): Likewise.
13627 (fma_test_downward): Likewise.
13628 (fma_test_upward): Likewise.
13630 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13633 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13637 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13638 namespace for names of struct fields.
13639 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13641 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13642 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13644 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13647 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13649 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13651 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13655 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13658 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13662 definitely overflow as x * y not x * y + z.
13663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13665 * math/libm-test.inc (fma_test): Add more tests.
13666 (fma_test_towardzero): Likewise.
13667 (fma_test_downward): Likewise.
13668 (fma_test_upward): Likewise.
13670 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13674 * include/stub-tag.h: Remove file.
13675 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13677 * manual/maint.texi (Porting): Don't reference it.
13678 * Makerules ($(objpfx)stubs): Likewise.
13679 * dirent/closedir.c: Don't include <stub-tag.h>.
13680 * dirent/dirfd.c: Likewise.
13681 * dirent/fdopendir.c: Likewise.
13682 * dirent/getdents.c: Likewise.
13683 * dirent/getdents64.c: Likewise.
13684 * dirent/opendir.c: Likewise.
13685 * dirent/readdir.c: Likewise.
13686 * dirent/readdir64.c: Likewise.
13687 * dirent/readdir64_r.c: Likewise.
13688 * dirent/readdir_r.c: Likewise.
13689 * dirent/rewinddir.c: Likewise.
13690 * dirent/seekdir.c: Likewise.
13691 * dirent/telldir.c: Likewise.
13692 * gmon/profil.c: Likewise.
13693 * grp/setgroups.c: Likewise.
13694 * inet/if_index.c: Likewise.
13695 * io/access.c: Likewise.
13696 * io/chdir.c: Likewise.
13697 * io/chmod.c: Likewise.
13698 * io/chown.c: Likewise.
13699 * io/close.c: Likewise.
13700 * io/dup.c: Likewise.
13701 * io/dup2.c: Likewise.
13702 * io/dup3.c: Likewise.
13703 * io/euidaccess.c: Likewise.
13704 * io/faccessat.c: Likewise.
13705 * io/fchdir.c: Likewise.
13706 * io/fchmod.c: Likewise.
13707 * io/fchmodat.c: Likewise.
13708 * io/fchown.c: Likewise.
13709 * io/fchownat.c: Likewise.
13710 * io/fcntl.c: Likewise.
13711 * io/flock.c: Likewise.
13712 * io/fstatfs.c: Likewise.
13713 * io/fstatfs64.c: Likewise.
13714 * io/fstatvfs.c: Likewise.
13715 * io/fstatvfs64.c: Likewise.
13716 * io/futimens.c: Likewise.
13717 * io/fxstat.c: Likewise.
13718 * io/fxstat64.c: Likewise.
13719 * io/fxstatat.c: Likewise.
13720 * io/fxstatat64.c: Likewise.
13721 * io/getcwd.c: Likewise.
13722 * io/isatty.c: Likewise.
13723 * io/lchmod.c: Likewise.
13724 * io/lchown.c: Likewise.
13725 * io/link.c: Likewise.
13726 * io/linkat.c: Likewise.
13727 * io/lseek.c: Likewise.
13728 * io/lseek64.c: Likewise.
13729 * io/lxstat64.c: Likewise.
13730 * io/mkdir.c: Likewise.
13731 * io/mkdirat.c: Likewise.
13732 * io/mkfifo.c: Likewise.
13733 * io/mkfifoat.c: Likewise.
13734 * io/open.c: Likewise.
13735 * io/open64.c: Likewise.
13736 * io/openat.c: Likewise.
13737 * io/openat64.c: Likewise.
13738 * io/pipe.c: Likewise.
13739 * io/pipe2.c: Likewise.
13740 * io/poll.c: Likewise.
13741 * io/posix_fadvise.c: Likewise.
13742 * io/posix_fadvise64.c: Likewise.
13743 * io/posix_fallocate.c: Likewise.
13744 * io/posix_fallocate64.c: Likewise.
13745 * io/read.c: Likewise.
13746 * io/readlink.c: Likewise.
13747 * io/readlinkat.c: Likewise.
13748 * io/rmdir.c: Likewise.
13749 * io/sendfile.c: Likewise.
13750 * io/sendfile64.c: Likewise.
13751 * io/statfs.c: Likewise.
13752 * io/statfs64.c: Likewise.
13753 * io/statvfs.c: Likewise.
13754 * io/statvfs64.c: Likewise.
13755 * io/symlink.c: Likewise.
13756 * io/symlinkat.c: Likewise.
13757 * io/ttyname.c: Likewise.
13758 * io/ttyname_r.c: Likewise.
13759 * io/umask.c: Likewise.
13760 * io/unlink.c: Likewise.
13761 * io/unlinkat.c: Likewise.
13762 * io/utime.c: Likewise.
13763 * io/utimensat.c: Likewise.
13764 * io/write.c: Likewise.
13765 * io/xmknod.c: Likewise.
13766 * io/xmknodat.c: Likewise.
13767 * io/xstat.c: Likewise.
13768 * io/xstat64.c: Likewise.
13769 * login/getpt.c: Likewise.
13770 * login/grantpt.c: Likewise.
13771 * login/unlockpt.c: Likewise.
13772 * math/e_acoshl.c: Likewise.
13773 * math/e_acosl.c: Likewise.
13774 * math/e_asinl.c: Likewise.
13775 * math/e_atan2l.c: Likewise.
13776 * math/e_atanhl.c: Likewise.
13777 * math/e_coshl.c: Likewise.
13778 * math/e_expl.c: Likewise.
13779 * math/e_fmodl.c: Likewise.
13780 * math/e_gammal_r.c: Likewise.
13781 * math/e_hypotl.c: Likewise.
13782 * math/e_j0l.c: Likewise.
13783 * math/e_j1l.c: Likewise.
13784 * math/e_jnl.c: Likewise.
13785 * math/e_lgammal_r.c: Likewise.
13786 * math/e_log10l.c: Likewise.
13787 * math/e_log2l.c: Likewise.
13788 * math/e_logl.c: Likewise.
13789 * math/e_powl.c: Likewise.
13790 * math/e_rem_pio2l.c: Likewise.
13791 * math/e_sinhl.c: Likewise.
13792 * math/e_sqrtl.c: Likewise.
13793 * math/fclrexcpt.c: Likewise.
13794 * math/fedisblxcpt.c: Likewise.
13795 * math/feenablxcpt.c: Likewise.
13796 * math/fegetenv.c: Likewise.
13797 * math/fegetexcept.c: Likewise.
13798 * math/fegetround.c: Likewise.
13799 * math/feholdexcpt.c: Likewise.
13800 * math/fesetenv.c: Likewise.
13801 * math/fesetround.c: Likewise.
13802 * math/feupdateenv.c: Likewise.
13803 * math/fgetexcptflg.c: Likewise.
13804 * math/fraiseexcpt.c: Likewise.
13805 * math/fsetexcptflg.c: Likewise.
13806 * math/ftestexcept.c: Likewise.
13807 * math/k_cosl.c: Likewise.
13808 * math/k_rem_pio2l.c: Likewise.
13809 * math/k_sinl.c: Likewise.
13810 * math/k_tanl.c: Likewise.
13811 * math/s_asinhl.c: Likewise.
13812 * math/s_atanl.c: Likewise.
13813 * math/s_cbrtl.c: Likewise.
13814 * math/s_erfl.c: Likewise.
13815 * math/s_expm1l.c: Likewise.
13816 * math/s_log1pl.c: Likewise.
13817 * math/s_tanhl.c: Likewise.
13818 * misc/acct.c: Likewise.
13819 * misc/brk.c: Likewise.
13820 * misc/chflags.c: Likewise.
13821 * misc/chroot.c: Likewise.
13822 * misc/fchflags.c: Likewise.
13823 * misc/fgetxattr.c: Likewise.
13824 * misc/flistxattr.c: Likewise.
13825 * misc/fremovexattr.c: Likewise.
13826 * misc/fsetxattr.c: Likewise.
13827 * misc/fsync.c: Likewise.
13828 * misc/ftruncate.c: Likewise.
13829 * misc/futimes.c: Likewise.
13830 * misc/futimesat.c: Likewise.
13831 * misc/getdomain.c: Likewise.
13832 * misc/getdtsz.c: Likewise.
13833 * misc/gethostid.c: Likewise.
13834 * misc/gethostname.c: Likewise.
13835 * misc/getloadavg.c: Likewise.
13836 * misc/getpagesize.c: Likewise.
13837 * misc/getsysstats.c: Likewise.
13838 * misc/getxattr.c: Likewise.
13839 * misc/gtty.c: Likewise.
13840 * misc/ioctl.c: Likewise.
13841 * misc/lgetxattr.c: Likewise.
13842 * misc/listxattr.c: Likewise.
13843 * misc/llistxattr.c: Likewise.
13844 * misc/lremovexattr.c: Likewise.
13845 * misc/lsetxattr.c: Likewise.
13846 * misc/lutimes.c: Likewise.
13847 * misc/madvise.c: Likewise.
13848 * misc/mincore.c: Likewise.
13849 * misc/mlock.c: Likewise.
13850 * misc/mlockall.c: Likewise.
13851 * misc/mmap.c: Likewise.
13852 * misc/mprotect.c: Likewise.
13853 * misc/msync.c: Likewise.
13854 * misc/munlock.c: Likewise.
13855 * misc/munlockall.c: Likewise.
13856 * misc/munmap.c: Likewise.
13857 * misc/preadv.c: Likewise.
13858 * misc/preadv64.c: Likewise.
13859 * misc/ptrace.c: Likewise.
13860 * misc/pwritev.c: Likewise.
13861 * misc/pwritev64.c: Likewise.
13862 * misc/readv.c: Likewise.
13863 * misc/reboot.c: Likewise.
13864 * misc/remap_file_pages.c: Likewise.
13865 * misc/removexattr.c: Likewise.
13866 * misc/revoke.c: Likewise.
13867 * misc/select.c: Likewise.
13868 * misc/setdomain.c: Likewise.
13869 * misc/setegid.c: Likewise.
13870 * misc/seteuid.c: Likewise.
13871 * misc/sethostid.c: Likewise.
13872 * misc/sethostname.c: Likewise.
13873 * misc/setregid.c: Likewise.
13874 * misc/setreuid.c: Likewise.
13875 * misc/setxattr.c: Likewise.
13876 * misc/sstk.c: Likewise.
13877 * misc/stty.c: Likewise.
13878 * misc/swapoff.c: Likewise.
13879 * misc/swapon.c: Likewise.
13880 * misc/sync.c: Likewise.
13881 * misc/syncfs.c: Likewise.
13882 * misc/syscall.c: Likewise.
13883 * misc/truncate.c: Likewise.
13884 * misc/ualarm.c: Likewise.
13885 * misc/usleep.c: Likewise.
13886 * misc/ustat.c: Likewise.
13887 * misc/utimes.c: Likewise.
13888 * misc/vhangup.c: Likewise.
13889 * misc/writev.c: Likewise.
13890 * posix/_exit.c: Likewise.
13891 * posix/alarm.c: Likewise.
13892 * posix/execve.c: Likewise.
13893 * posix/fexecve.c: Likewise.
13894 * posix/fork.c: Likewise.
13895 * posix/fpathconf.c: Likewise.
13896 * posix/getaddrinfo.c: Likewise.
13897 * posix/getegid.c: Likewise.
13898 * posix/geteuid.c: Likewise.
13899 * posix/getgid.c: Likewise.
13900 * posix/getgroups.c: Likewise.
13901 * posix/getlogin.c: Likewise.
13902 * posix/getlogin_r.c: Likewise.
13903 * posix/getpgid.c: Likewise.
13904 * posix/getpid.c: Likewise.
13905 * posix/getppid.c: Likewise.
13906 * posix/getresgid.c: Likewise.
13907 * posix/getresuid.c: Likewise.
13908 * posix/getsid.c: Likewise.
13909 * posix/getuid.c: Likewise.
13910 * posix/glob64.c: Likewise.
13911 * posix/nanosleep.c: Likewise.
13912 * posix/pathconf.c: Likewise.
13913 * posix/pause.c: Likewise.
13914 * posix/posix_madvise.c: Likewise.
13915 * posix/pread.c: Likewise.
13916 * posix/pread64.c: Likewise.
13917 * posix/pwrite.c: Likewise.
13918 * posix/pwrite64.c: Likewise.
13919 * posix/sched_getaffinity.c: Likewise.
13920 * posix/sched_getp.c: Likewise.
13921 * posix/sched_gets.c: Likewise.
13922 * posix/sched_primax.c: Likewise.
13923 * posix/sched_primin.c: Likewise.
13924 * posix/sched_rr_gi.c: Likewise.
13925 * posix/sched_setaffinity.c: Likewise.
13926 * posix/sched_setp.c: Likewise.
13927 * posix/sched_sets.c: Likewise.
13928 * posix/sched_yield.c: Likewise.
13929 * posix/setgid.c: Likewise.
13930 * posix/setlogin.c: Likewise.
13931 * posix/setpgid.c: Likewise.
13932 * posix/setresgid.c: Likewise.
13933 * posix/setresuid.c: Likewise.
13934 * posix/setsid.c: Likewise.
13935 * posix/setuid.c: Likewise.
13936 * posix/sleep.c: Likewise.
13937 * posix/spawni.c: Likewise.
13938 * posix/sysconf.c: Likewise.
13939 * posix/times.c: Likewise.
13940 * posix/wait.c: Likewise.
13941 * posix/wait3.c: Likewise.
13942 * posix/wait4.c: Likewise.
13943 * posix/waitpid.c: Likewise.
13944 * resolv/gai_sigqueue.c: Likewise.
13945 * resource/getpriority.c: Likewise.
13946 * resource/getrlimit.c: Likewise.
13947 * resource/getrusage.c: Likewise.
13948 * resource/nice.c: Likewise.
13949 * resource/setpriority.c: Likewise.
13950 * resource/setrlimit.c: Likewise.
13951 * resource/ulimit.c: Likewise.
13952 * rt/aio_cancel.c: Likewise.
13953 * rt/aio_fsync.c: Likewise.
13954 * rt/aio_read.c: Likewise.
13955 * rt/aio_sigqueue.c: Likewise.
13956 * rt/aio_suspend.c: Likewise.
13957 * rt/aio_write.c: Likewise.
13958 * rt/clock_getres.c: Likewise.
13959 * rt/clock_gettime.c: Likewise.
13960 * rt/clock_nanosleep.c: Likewise.
13961 * rt/clock_settime.c: Likewise.
13962 * rt/lio_listio.c: Likewise.
13963 * rt/mq_close.c: Likewise.
13964 * rt/mq_getattr.c: Likewise.
13965 * rt/mq_notify.c: Likewise.
13966 * rt/mq_open.c: Likewise.
13967 * rt/mq_receive.c: Likewise.
13968 * rt/mq_send.c: Likewise.
13969 * rt/mq_setattr.c: Likewise.
13970 * rt/mq_timedreceive.c: Likewise.
13971 * rt/mq_timedsend.c: Likewise.
13972 * rt/mq_unlink.c: Likewise.
13973 * rt/shm_open.c: Likewise.
13974 * rt/shm_unlink.c: Likewise.
13975 * rt/timer_create.c: Likewise.
13976 * rt/timer_delete.c: Likewise.
13977 * rt/timer_getoverr.c: Likewise.
13978 * rt/timer_gettime.c: Likewise.
13979 * rt/timer_settime.c: Likewise.
13980 * setjmp/__longjmp.c: Likewise.
13981 * setjmp/setjmp.c: Likewise.
13982 * signal/kill.c: Likewise.
13983 * signal/killpg.c: Likewise.
13984 * signal/raise.c: Likewise.
13985 * signal/sigaction.c: Likewise.
13986 * signal/sigaltstack.c: Likewise.
13987 * signal/sigblock.c: Likewise.
13988 * signal/sigignore.c: Likewise.
13989 * signal/sigintr.c: Likewise.
13990 * signal/signal.c: Likewise.
13991 * signal/sigpause.c: Likewise.
13992 * signal/sigpending.c: Likewise.
13993 * signal/sigqueue.c: Likewise.
13994 * signal/sigreturn.c: Likewise.
13995 * signal/sigset.c: Likewise.
13996 * signal/sigsetmask.c: Likewise.
13997 * signal/sigstack.c: Likewise.
13998 * signal/sigsuspend.c: Likewise.
13999 * signal/sigtimedwait.c: Likewise.
14000 * signal/sigvec.c: Likewise.
14001 * signal/sigwait.c: Likewise.
14002 * signal/sigwaitinfo.c: Likewise.
14003 * signal/sysv_signal.c: Likewise.
14004 * socket/accept.c: Likewise.
14005 * socket/accept4.c: Likewise.
14006 * socket/bind.c: Likewise.
14007 * socket/connect.c: Likewise.
14008 * socket/getpeername.c: Likewise.
14009 * socket/getsockname.c: Likewise.
14010 * socket/getsockopt.c: Likewise.
14011 * socket/isfdtype.c: Likewise.
14012 * socket/listen.c: Likewise.
14013 * socket/recv.c: Likewise.
14014 * socket/recvfrom.c: Likewise.
14015 * socket/recvmsg.c: Likewise.
14016 * socket/send.c: Likewise.
14017 * socket/sendmsg.c: Likewise.
14018 * socket/sendto.c: Likewise.
14019 * socket/setsockopt.c: Likewise.
14020 * socket/shutdown.c: Likewise.
14021 * socket/sockatmark.c: Likewise.
14022 * socket/socket.c: Likewise.
14023 * socket/socketpair.c: Likewise.
14024 * stdio-common/ctermid.c: Likewise.
14025 * stdio-common/cuserid.c: Likewise.
14026 * stdio-common/remove.c: Likewise.
14027 * stdio-common/rename.c: Likewise.
14028 * stdio-common/renameat.c: Likewise.
14029 * stdio-common/tempname.c: Likewise.
14030 * stdlib/getcontext.c: Likewise.
14031 * stdlib/makecontext.c: Likewise.
14032 * stdlib/setcontext.c: Likewise.
14033 * stdlib/swapcontext.c: Likewise.
14034 * stdlib/system.c: Likewise.
14035 * streams/fattach.c: Likewise.
14036 * streams/fdetach.c: Likewise.
14037 * streams/getmsg.c: Likewise.
14038 * streams/getpmsg.c: Likewise.
14039 * streams/putmsg.c: Likewise.
14040 * streams/putpmsg.c: Likewise.
14041 * sysdeps/unix/bsd/getpt.c: Likewise.
14042 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14043 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14044 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14047 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14049 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14050 * sysvipc/msgctl.c: Likewise.
14051 * sysvipc/msgget.c: Likewise.
14052 * sysvipc/msgrcv.c: Likewise.
14053 * sysvipc/msgsnd.c: Likewise.
14054 * sysvipc/semctl.c: Likewise.
14055 * sysvipc/semget.c: Likewise.
14056 * sysvipc/semop.c: Likewise.
14057 * sysvipc/semtimedop.c: Likewise.
14058 * sysvipc/shmat.c: Likewise.
14059 * sysvipc/shmctl.c: Likewise.
14060 * sysvipc/shmdt.c: Likewise.
14061 * sysvipc/shmget.c: Likewise.
14062 * termios/tcdrain.c: Likewise.
14063 * termios/tcflow.c: Likewise.
14064 * termios/tcflush.c: Likewise.
14065 * termios/tcgetattr.c: Likewise.
14066 * termios/tcgetpgrp.c: Likewise.
14067 * termios/tcsendbrk.c: Likewise.
14068 * termios/tcsetattr.c: Likewise.
14069 * termios/tcsetpgrp.c: Likewise.
14070 * time/adjtime.c: Likewise.
14071 * time/clock.c: Likewise.
14072 * time/getitimer.c: Likewise.
14073 * time/gettimeofday.c: Likewise.
14074 * time/setitimer.c: Likewise.
14075 * time/settimeofday.c: Likewise.
14076 * time/stime.c: Likewise.
14077 * time/time.c: Likewise.
14079 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14081 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14084 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14086 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14088 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14092 FE_TONEAREST before applying Dekker multiplication and Knuth
14093 addition. Clear inexact exceptions and check for exact zero
14094 results afterwards.
14095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14096 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14098 * math/libm-test.inc (fma_test): Add more tests.
14099 (fma_test_towardzero): Likewise.
14100 (fma_test_downward): Likewise.
14101 (fma_test_upward): Likewise.
14102 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14104 (libc_fesetround): New macro.
14105 (libc_fesetroundf): Likewise.
14106 (libc_fesetroundl): Likewise.
14107 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14109 (libc_fesetround_387): Likewise.
14110 (libc_fesetroundf): New macro.
14111 (libc_fesetround): Likewise.
14112 (libc_fesetroundl): Likewise.
14113 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14115 (libc_fesetroundf): New macro.
14116 (libc_fesetround): Likewise.
14117 (libc_fesetroundl): Likewise.
14118 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14119 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14120 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14122 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14123 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14125 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14126 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14128 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14132 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14133 integer constant usable in #if and use that to give value to enum
14135 (FE_DIVBYZERO): Likewise.
14136 (FE_UNDERFLOW): Likewise.
14137 (FE_OVERFLOW): Likewise.
14138 (FE_INVALID): Likewise.
14139 (FE_INVALID_SNAN): Likewise.
14140 (FE_INVALID_ISI): Likewise.
14141 (FE_INVALID_IDI): Likewise.
14142 (FE_INVALID_ZDZ): Likewise.
14143 (FE_INVALID_IMZ): Likewise.
14144 (FE_INVALID_COMPARE): Likewise.
14145 (FE_INVALID_SOFTWARE): Likewise.
14146 (FE_INVALID_SQRT): Likewise.
14147 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14148 (FE_TONEAREST): Likewise.
14149 (FE_TOWARDZERO): Likewise.
14150 (FE_UPWARD): Likewise.
14151 (FE_DOWNWARD): Likewise.
14152 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14153 (FE_DIVBYZERO): Likewise.
14154 (FE_OVERFLOW): Likewise.
14155 (FE_UNDERFLOW): Likewise.
14156 (FE_INEXACT): Likewise.
14157 (FE_TONEAREST): Likewise.
14158 (FE_DOWNWARD): Likewise.
14159 (FE_UPWARD): Likewise.
14160 (FE_TOWARDZERO): Likewise.
14161 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14162 (FE_UNDERFLOW): Likewise.
14163 (FE_OVERFLOW): Likewise.
14164 (FE_DIVBYZERO): Likewise.
14165 (FE_INVALID): Likewise.
14166 (FE_TONEAREST): Likewise.
14167 (FE_TOWARDZERO): Likewise.
14168 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14169 (FE_OVERFLOW): Likewise.
14170 (FE_UNDERFLOW): Likewise.
14171 (FE_DIVBYZERO): Likewise.
14172 (FE_INEXACT): Likewise.
14173 (FE_TONEAREST): Likewise.
14174 (FE_TOWARDZERO): Likewise.
14175 (FE_UPWARD): Likewise.
14176 (FE_DOWNWARD): Likewise.
14177 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14178 (FE_DIVBYZERO): Likewise.
14179 (FE_OVERFLOW): Likewise.
14180 (FE_UNDERFLOW): Likewise.
14181 (FE_INEXACT): Likewise.
14182 (FE_TONEAREST): Likewise.
14183 (FE_DOWNWARD): Likewise.
14184 (FE_UPWARD): Likewise.
14185 (FE_TOWARDZERO): Likewise.
14187 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14189 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14191 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14193 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14194 commands. Quote $PWD.
14195 (blacklist_exports): Don't use remove_newlines. Replace "declare
14197 (remove_newlines): Remove.
14199 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14201 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14202 * stdlib/stdlib.h (atof): Moved to ...
14203 * include/bits/stdlib-float.h: Here. New file.
14204 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14205 * stdlib/bits/stdlib-float.h: New file.
14206 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14211 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14213 * conform/conformtest.pl (@headers): Add fenv.h.
14214 * conform/data/fenv.h-data: New file.
14215 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14216 include of <math/fenv.h>.
14218 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14219 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14220 && !UNIX98]. Enables tests for XOPEN2K8.
14221 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14222 POSIX2008]: Likewise.
14224 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14225 (struct rusage): Do not expect type or its members.
14228 * math/math.h (FP_NAN): Define macro to integer constant usable in
14229 #if and use that to give value to enum constant.
14230 (FP_INFINITE): Likewise.
14231 (FP_ZERO): Likewise.
14232 (FP_SUBNORMAL): Likewise.
14233 (FP_NORMAL): Likewise.
14235 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14237 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14238 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14241 2012-11-02 Roland McGrath <roland@hack.frob.com>
14243 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14244 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14245 autoconf-time if not.
14246 * configure.in: Remove AC_PREREQ.
14248 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14250 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14251 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14252 of the internal implementation.
14254 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14256 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14257 except include of <misc/sys/syslog.h>.
14259 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14262 function returns with a NULL context exit with zero.
14264 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14266 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14268 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14270 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14271 (run_program_cmd): This.
14272 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14273 (tst_langinfo): New variable. Use it.
14275 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14277 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14278 floating point opcodes.
14280 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14282 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14285 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14287 * sysdeps/mach/hurd/powerpc: Remove directory.
14288 * sysdeps/mach/powerpc: Likewise.
14290 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14292 * scripts/check-local-headers.sh: Ignore c++ headers.
14294 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14296 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14297 __libc_cleanup_region_start argument.
14299 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14304 x * y using scaling, not as x * y + z.
14305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14307 * math/libm-test.inc (fma_test): Add more tests.
14308 (fma_test_towardzero): Likewise.
14309 (fma_test_downward): Likewise.
14310 (fma_test_upward): Likewise.
14312 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14314 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14316 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14318 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14321 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14323 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14325 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14332 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14335 Fix the order of the list for glibc 2.17.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14339 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14343 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14346 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14347 for low part of x being zero before using __atanl (y).
14348 * math/libm-test.inc (atan2_test): Add another test.
14350 * manual/install.texi (Configuring and compiling): Document
14351 general use of test-wrapper and test-wrapper-env.
14352 * INSTALL: Regenerated.
14354 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14355 (__fma): Do not extract and scale down low bits on after-rounding
14356 systems when result rounded to normal precision would have normal
14358 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14359 (__fmal): Do not extract and scale down low bits on after-rounding
14360 systems when result rounded to normal precision would have normal
14362 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14363 (__fmal): Do not extract and scale down low bits on after-rounding
14364 systems when result rounded to normal precision would have normal
14366 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14368 (fma_test): Add more tests.
14369 (fma_test_towardzero): Likewise.
14370 (fma_test_downward): Likewise.
14371 (fma_test_upward): Likewise.
14373 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14375 * sysdeps/i386/tininess.h: Renamed to ...
14376 * sysdeps/x86/tininess.h: This.
14377 * sysdeps/x86_64/tininess.h: Removed.
14379 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14381 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14382 input. Use $(build-program-cmd).
14383 ($(objpfx)tst-array1-static.out): Likewise.
14384 ($(objpfx)tst-array2.out): Likewise.
14385 ($(objpfx)tst-array3.out): Likewise.
14386 ($(objpfx)tst-array4.out): Likewise.
14387 ($(objpfx)tst-array5.out): Likewise.
14388 ($(objpfx)tst-array5-static.out): Likewise.
14390 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14392 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14395 * nss/nsswitch.h (nss_interface_function): Provide new
14396 macro for use with NSS functions.
14397 * grp/initgroups.c: Use new macro.
14398 * nss/getXXbyYY.c: Likewise.
14399 * nss/getXXbyYY_r.c: Likewise.
14400 * nss/getXXent.c: Likewise.
14401 * nss/getXXent_r.c: Likewise.
14402 * sysdeps/posix/getaddrinfo.c: Likewise.
14404 2012-10-30 Andreas Jaeger <aj@suse.de>
14406 * po/ru.po: Update Russion translation from translation project.
14408 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14413 result and shift together with sticky bit instead of replicating
14414 round-to-nearest rounding.
14415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14417 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14418 missing underflow exceptions.
14419 (fma_test_towardzero): Add more tests.
14420 (fma_test_downward): Likewise.
14421 (fma_test_upward): Likewise.
14424 * sysdeps/generic/tininess.h: New file.
14425 * sysdeps/i386/tininess.h: Likewise.
14426 * sysdeps/sh/tininess.h: Likewise.
14427 * sysdeps/x86_64/tininess.h: Likewise.
14428 * stdlib/tst-strtod-underflow.c: Likewise.
14429 * stdlib/tst-tininess.c: Likewise.
14430 * stdlib/strtod_l.c: Include <tininess.h>.
14431 (round_and_return): Do not set errno for exact underflow cases.
14432 Force an underflow exception when setting errno for underflow.
14433 Determine underflow based on rounding to normal precision if
14434 TININESS_AFTER_ROUNDING.
14435 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14436 ERANGE for exact underflow cases.
14437 * stdlib/Makefile (tests): Add tst-tininess and
14438 tst-strtod-underflow.
14439 ($(objpfx)tst-tininess): Use $(link-libm).
14440 ($(objpfx)tst-strtod-underflow): Likewise.
14442 2012-10-30 Andreas Jaeger <aj@suse.de>
14445 * elf/Makefile (tests): Remove conditional for have-initfini-array
14446 since this is now always required and the variable does not exist
14448 (tests-static): Likewise.
14449 (modules-names): Likewise.
14451 * po/eo.po: Add Esperanto translation from translation project.
14453 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14454 merged with constructor/destructor.
14455 (init_array): Likewise.
14456 * elf/tst-array2dep.c (fini_array): Likewise.
14457 (init_array): Likewise.
14459 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14461 * manual/message.texi: Delete @cartouche tags.
14463 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14465 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14467 * sysdeps/mach/hurd/fsync.c: Likewise.
14469 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14470 [_POSIX_REALTIME_SIGNALS]: Change condition to
14471 [_POSIX_REALTIME_SIGNALS > 0].
14473 2012-10-27 Andreas Jaeger <aj@suse.de>
14475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14476 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14478 [__WORDSIZE != 64]: Likewise.
14480 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14482 * iconvdata/tst-table.sh: Remove ${SHELL}.
14483 * iconvdata/tst-tables.sh: Likewise.
14485 2012-10-25 David S. Miller <davem@davemloft.net>
14487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14488 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14494 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14495 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14498 2012-10-25 Roland McGrath <roland@hack.frob.com>
14500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14501 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14504 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14505 Jim Blandy <jimb@codesourcery.com>
14507 * scripts/cross-test-ssh.sh: New file.
14508 * manual/install.texi (Configuring and compiling): Document use of
14510 * INSTALL: Regenerated.
14512 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14514 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14517 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14519 * Makeconfig (run-program-prefix): Fix comment.
14521 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14522 Jim Blandy <jimb@codesourcery.com>
14524 * Makeconfig (test-wrapper): New variable,
14525 (test-wrapper-env): Likewise.
14526 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14527 (run-built-tests): Define to yes.
14528 (run-program-prefix): Use $(test-wrapper).
14529 (built-program-cmd): Likewise.
14530 * Rules (make-test-out): Use $(test-wrapper-env) and
14531 $(host-built-program-cmd).
14532 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14533 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14535 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14536 $(test-wrapper-env) to tst-rtld-load-self.sh.
14537 ($(objpfx)order2.out): Use $(test-wrapper).
14538 ($(objpfx)tst-initorder.out): Likewise.
14539 ($(objpfx)tst-initorder2.out): Likewise.
14540 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14541 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14542 (test_wrapper_env): New variable. Use it to run ld.so.
14543 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14544 Use it to run ld.so.
14545 (test_wrapper_env): Likewise.
14546 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14547 $(test-wrapper) to run-iconv-test.sh.
14548 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14549 (ICONV): Use $test_wrapper.
14550 * posix/Makefile ($(objpfx)globtest.out): Pass
14551 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14552 globtest.sh, not $(run-program-prefix).
14553 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14554 (test_wrapper): Likewise.
14555 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14556 set together with run_via_rtld_prefix.
14557 (run_program_prefix): Define in terms of test_wrapper and
14558 run_via_rtld_prefix.
14560 2012-10-24 Roland McGrath <roland@hack.frob.com>
14562 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14563 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14567 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14568 Declare __clock_getres, __clock_gettime, __clock_settime,
14569 __clock_nanosleep, and __clock_getcpuclockid.
14570 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14571 Remove librt_hidden_def (clock_gettime).
14572 * sysdeps/unix/clock_gettime.c: Likewise.
14573 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14575 * rt/clock_getres.c: Define __clock_getres as an alias.
14576 * sysdeps/posix/clock_getres.c: Likewise.
14577 * rt/clock_settime.c: Define __clock_settime as an alias.
14578 * sysdeps/unix/clock_settime.c: Likewise.
14579 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14580 * sysdeps/unix/clock_nanosleep.c: Likewise.
14581 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14582 * rt/clock-compat.c: New file.
14583 * rt/Makefile (librt-routines): Add clock-compat and move
14584 $(clock-routines) to ...
14585 (routines): ... here, new variable.
14586 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14587 Don't add get_clockfreq here.
14588 * rt/Versions (libc: GLIBC_2.17): New version set.
14589 Add clock_* symbols here.
14590 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14592 (GLIBC_2.17): Add clock_* symbols.
14593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14604 * NEWS: Mention the move.
14606 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14607 Use __open, __read, __close rather than their public counterparts.
14608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14609 (__get_clockfreq_via_cpuinfo): Likewise.
14610 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14611 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14613 * config.h.in (HAVE_IFUNC): New #undef.
14614 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14616 * configure: Regenerated.
14618 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14620 * configure.in: Move READELF check to start of file.
14621 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14622 libc_cv_asm_gnu_indirect_function in the process.
14623 * configure: Regenerated.
14625 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14627 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14628 send the output to /dev/null.
14629 (libc_cv_cc_with_libunwind): Likewise.
14630 (libc_cv_as_noexecstack): Likewise.
14631 * configure: Regenerate.
14633 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14635 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14637 * posix/globtest.sh (TMPDIR): Do not set.
14638 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14639 (testout): Likewise.
14641 2012-10-24 Andreas Jaeger <aj@suse.de>
14643 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14644 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14645 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14646 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14647 posix_fadvise64, posix_fallocate64.
14649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14650 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14651 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14653 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14655 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14658 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14659 <bits/fcntl-linux.h>.
14660 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14663 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14664 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14665 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14666 [__WORDSIZE != 64]: Likewise.
14668 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14670 * Makeconfig (run-built-tests): New variable.
14671 * Rules [$(cross-compiling) = yes]: Change condition to
14672 [$(run-built-tests) = no].
14673 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14674 to [$(run-built-tests) = yes].
14675 * elf/Makefile [$(cross-compiling) = no]: Likewise
14676 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14677 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14678 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14679 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14680 * io/Makefile [$(cross-compiling) = no]: Likewise.
14681 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14682 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14683 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14684 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14685 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14686 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14687 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14688 * string/Makefile [$(cross-compiling) = no]: Likewise.
14690 * posix/Makefile ($(objpfx)globtest.out): Pass
14691 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14692 $(rtld-installed-name).
14693 * posix/globtest.sh (elf_objpfx): Remove variable.
14694 (rtld_installed_name): Likewise.
14695 (library_path): Likewise.
14696 (run_program_prefix): New variable. Use for running globtest
14699 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14700 Joseph Myers <joseph@codesourcery.com>
14702 * Makeconfig (host-built-program-cmd): New variable.
14703 * elf/Makefile (tst-stackguard1-ARGS): Use
14704 $(host-built-program-cmd).
14705 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14706 (tst-spawn-ARGS): Likewise.
14707 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14709 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14710 Jim Blandy <jimb@codesourcery.com>
14712 * Makeconfig (run-via-rtld-prefix): New variable.
14713 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14714 (built-program-cmd): Likewise.
14716 2012-10-22 Andreas Jaeger <aj@suse.de>
14718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14719 __O_RSYNC if it exists, otherwise to O_SYNC.
14721 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14722 Joseph Myers <joseph@codesourcery.com>
14724 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14726 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14728 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14731 2012-10-22 Andreas Jaeger <aj@suse.de>
14733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14738 bits/fcntl-linux.h.
14740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14741 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14748 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14749 Joseph Myers <joseph@codesourcery.com>
14751 * config.make.in (NM): New variable.
14753 2012-10-21 Andreas Jaeger <aj@suse.de>
14755 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14756 definitions and declarations that are provided by
14757 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14759 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14762 * elf/Makefile (tests-static): Add tst-leaks1-static.
14763 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14764 ($(objpfx)tst-leaks1-static): New rule.
14765 ($(objpfx)tst-leaks1-static-mem): Likewise.
14766 (tst-leaks1-static-ENV): New macro.
14767 * elf/dl-open.c (dl_open_worker): Check the main application
14768 only if SHARED is defined.
14769 * elf/tst-leaks1-static.c: New file.
14771 2012-10-20 Andreas Jaeger <aj@suse.de>
14773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14774 generic values for Linux.
14775 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14776 and declarations that are provided by <bits/fcntl-linux.h> and
14777 include <bits/fcntl-linux.h>.
14778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14779 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14781 2012-10-20 Roland McGrath <roland@hack.frob.com>
14783 * io/fcntl.h: Move include of <bits/types.h> to the top and
14784 include it unconditionally.
14786 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14788 * wcsmbs/Makefile (tests-ifunc): New variable.
14789 (tests): Add $(tests-ifunc).
14790 * wcsmbs/test-wcschr-ifunc.c: New file.
14791 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14792 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14793 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14794 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14795 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14797 * string/Makefile (tests-ifunc): New variable.
14798 (tests): Add $(tests-ifunc).
14799 * string/test-memccpy.c (TEST_NAME): New macro.
14800 * string/test-memchr.c (TEST_NAME): Likewise.
14801 * string/test-memcmp.c (TEST_NAME): Likewise.
14802 * string/test-memcpy.c (TEST_NAME): Likewise.
14803 * string/test-memmem.c (TEST_NAME): Likewise.
14804 * string/test-memmove.c (TEST_NAME): Likewise.
14805 * string/test-memset.c (TEST_NAME): Likewise.
14806 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14807 * string/test-stpcpy.c (TEST_NAME): Likewise.
14808 * string/test-stpncpy.c (TEST_NAME): Likewise.
14809 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14810 * string/test-strcasestr.c (TEST_NAME): Likewise.
14811 * string/test-strcat.c (TEST_NAME): Likewise.
14812 * string/test-strchr.c (TEST_NAME): Likewise.
14813 * string/test-strcmp.c(TEST_NAME): Likewise.
14814 * string/test-strcpy.c (TEST_NAME): Likewise.
14815 * string/test-strcspn.c (TEST_NAME): Likewise.
14816 * string/test-strlen.c (TEST_NAME): Likewise.
14817 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14818 * string/test-strncmp.c (TEST_NAME): Likewise.
14819 * string/test-strncpy.c (TEST_NAME): Likewise.
14820 * string/test-strnlen.c (TEST_NAME): Likewise.
14821 * string/test-strpbrk.c (TEST_NAME): Likewise.
14822 * string/test-strrchr.c (TEST_NAME): Likewise.
14823 * string/test-strspn.c (TEST_NAME): Likewise.
14824 * string/test-strstr.c (TEST_NAME): Likewise.
14825 * string/test-bcopy-ifunc.c: New file.
14826 * string/test-bzero-ifunc.c: Likewise.
14827 * string/test-memccpy-ifunc.c: Likewise.
14828 * string/test-memchr-ifunc.c: Likewise.
14829 * string/test-memcmp-ifunc.c: Likewise.
14830 * string/test-memcpy-ifunc.c: Likewise.
14831 * string/test-memmem-ifunc.c: Likewise.
14832 * string/test-memmove-ifunc.c: Likewise.
14833 * string/test-mempcpy-ifunc.c: Likewise.
14834 * string/test-memset-ifunc.c: Likewise.
14835 * string/test-rawmemchr-ifunc.c: Likewise.
14836 * string/test-stpcpy-ifunc.c: Likewise.
14837 * string/test-stpncpy-ifunc.c: Likewise.
14838 * string/test-strcasecmp-ifunc.c: Likewise.
14839 * string/test-strcasestr-ifunc.c: Likewise.
14840 * string/test-strcat-ifunc.c: Likewise.
14841 * string/test-strchr-ifunc.c: Likewise.
14842 * string/test-strchrnul-ifunc.c: Likewise.
14843 * string/test-strcmp-ifunc.c: Likewise.
14844 * string/test-strcpy-ifunc.c: Likewise.
14845 * string/test-strcspn-ifunc.c: Likewise.
14846 * string/test-strlen-ifunc.c: Likewise.
14847 * string/test-strncasecmp-ifunc.c: Likewise.
14848 * string/test-strncat-ifunc.c: Likewise.
14849 * string/test-strncmp-ifunc.c: Likewise.
14850 * string/test-strncpy-ifunc.c: Likewise.
14851 * string/test-strnlen-ifunc.c: Likewise.
14852 * string/test-strpbrk-ifunc.c: Likewise.
14853 * string/test-strrchr-ifunc.c: Likewise.
14854 * string/test-strspn-ifunc.c: Likewise.
14855 * string/test-strstr-ifunc.c: Likewise.
14857 * debug/Makefile (tests-ifunc): New variable.
14858 (tests): Add $(tests-ifunc).
14859 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14860 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14861 * debug/test-stpcpy_chk-ifunc.c: New file.
14862 * debug/test-strcpy_chk-ifunc.c: Likewise.
14864 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14867 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14868 header is not read in.
14870 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14872 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14873 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14874 directly. Pass built executable to script as
14875 $(built-program-cmd).
14876 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14877 $testprogram without using LD_LIBRARY_PATH and $ldso.
14879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14880 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14881 $(rtld-installed-name).
14882 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14883 (rtld_installed_name): Likewise.
14884 (library_path): Likewise.
14885 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14886 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14887 $(run-program-prefix) to tst-tables.sh.
14888 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14889 it to run tst-table-from and tst-table-to.
14890 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14891 Pass it to tst-table.sh.
14892 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14893 $(run-program-prefix) to tst-gettext.sh.
14894 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14896 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14898 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14899 to run tst-gettext.
14900 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14901 to run tst-gettext2.
14902 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14903 to run tst-translit.
14904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14905 $(run-program-prefix) to tst-mtrace.sh.
14906 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14908 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14909 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14910 $(rtld-installed-name).
14911 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14912 (rtld_installed_name): Likewise.
14913 (run_program_prefix): New variable. Use it to run wordexp-test.
14915 * Makeconfig (ARCH): Remove all definitions.
14916 (machine): Likewise.
14917 [ARCH]: Remove conditional code.
14918 [!objdir]: Give error.
14919 [!objdir] (objpfx): Remove.
14920 [!objdir] (common-objpfx): Likewise.
14921 [!objdir] (common-objdir): Likewise.
14922 * configure.in (config_makefile): Remove. Hardcode Makefile in
14923 AC_CONFIG_FILES call.
14924 * configure: Regenerated.
14927 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14929 (testout): Likewise.
14931 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14932 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14933 $(rtld-installed-name).
14934 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14935 (rtld_installed_name): Likwise.
14936 (runit): Remove function.
14937 (run_getconf): New variable, Use it for running getconf binary.
14939 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14942 * string/test-memmem.c (check_result): New function.
14943 (do_one_test): Use it.
14944 (check1): New function.
14945 (test_main): Use it.
14947 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14949 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14951 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14953 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14954 (_G_LSEEK64): Likewise.
14955 (_G_MMAP64): Likewise.
14956 (_G_FSTAT64): Likewise.
14957 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14958 (_G_LSEEK64): Likewise.
14959 (_G_MMAP64): Likewise.
14960 (_G_FSTAT64): Likewise.
14961 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14962 unconditional. Call __mmap64 directly.
14963 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14964 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14965 __lseek64 directly.
14966 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14967 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14969 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14970 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14971 __lseek64 directly.
14972 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14973 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14974 __lseek64 directly.
14975 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14976 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14977 __lseek64 directly.
14978 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14979 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14980 __fxstat64 directly.
14981 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14982 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14984 (freopen64) [!_G_OPEN64]: Remove conditional code.
14985 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14987 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14988 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14990 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14991 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14993 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14994 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14996 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14997 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14999 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15000 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15002 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15003 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15005 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15007 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15010 * manual/memory.texi (Malloc Tunable Parameters): Add note
15011 about free list pointers overwriting some perturb bytes.
15012 Wording suggested by Roland McGrath.
15014 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15016 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15017 (lgamma_test): Likewise.
15018 (tgamma_test): Likewise.
15020 2012-10-16 Florian Weimer <fweimer@redhat.com>
15023 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15024 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15026 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15028 * NEWS: Mention BZ #14716.
15029 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15030 when removing AVAILABLE1_USES_J macro.
15032 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15034 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15035 (__bswap_64): __uint64_t for unsigned 64-bit int.
15037 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15039 * include/string.h (memmem): Declare libc hidden alias.
15040 * string/memmem.c (memmem): Define libc hidden alias.
15041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15042 __read, __close instead of open, read, close.
15044 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15047 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15049 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15050 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15051 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15053 (__rawmemchr_sse2): Likewise.
15054 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15055 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15056 (__strchr_sse2): Likewise.
15057 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15058 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15059 (__strcasecmp_sse2): Likewise.
15060 (__strncasecmp_sse2): Likewise.
15061 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15062 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15063 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15064 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15065 (__strrchr_sse2): Likewise.
15066 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15068 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15069 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15070 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15072 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15073 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15076 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15077 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15078 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15079 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15080 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15081 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15082 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15083 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15084 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15085 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15086 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15087 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15088 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15089 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15090 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15091 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15092 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15094 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15095 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15096 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15097 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15099 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15101 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15102 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15103 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15104 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15106 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15108 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15109 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15110 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15111 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15115 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15116 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15117 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15118 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15119 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15120 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15121 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15122 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15123 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15124 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15125 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15126 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15127 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15135 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15136 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15138 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15139 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15140 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15141 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15142 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15143 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15146 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15155 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15156 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15157 * include/ifunc-impl-list.h: New file.
15158 * misc/ifunc-impl-list.c: Likewise.
15159 * misc/Makefile (routines): Add ifunc-impl-list.
15160 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15161 * string/test-string.h: Include <ifunc-impl-list.h>.
15162 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15163 impl_array): New variables.
15164 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15166 (test_init): Call __libc_ifunc_impl_list to initialize
15167 func_list if TEST_IFUNC and TEST_NAME are defined.
15169 * string/Makefile (strop-tests): Add bcopy and bzero.
15170 * string/test-bcopy.c: New file.
15171 * string/test-bzero.c: Likewise.
15172 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15174 * string/test-memset.c: Support bzero test if TEST_BZERO is
15176 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15178 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15180 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15183 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15185 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15186 * configure: Regenerated.
15188 * Makeconfig (+link-static-before-libc): Don't include
15189 $(link-static-libc).
15191 * libio/libio.h (_IO_pos_t): Remove.
15193 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15195 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15198 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15200 * crypt/crypt-entry.c: Include fips-private.h.
15201 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15202 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15203 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15204 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15206 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15208 * crypt/crypt-private.h: Include stdbool.h.
15209 (_ufc_setup_salt_r): Return bool.
15210 * crypt/crypt-entry.c: Include errno.h.
15211 (__crypt_r): Return NULL with EINVAL for bad salt.
15212 * crypt/crypt_util.c (bad_for_salt): New.
15213 (_ufc_setup_salt_r): Check that salt is long enough and within
15214 the specified alphabet.
15215 * crypt/badsalttest.c: New file.
15216 * crypt/Makefile (tests): Add it.
15217 ($(objpfx)badsalttest): New.
15219 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15221 * NEWS: Add entry for BZ #14602.
15223 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15225 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15227 * math/libm-test.inc: Update comment listing what functions and
15229 (isgreater_test): New function.
15230 (isgreaterequal_test): Likewise.
15231 (isless_test): Likewise.
15232 (islessequal_test): Likewise.
15233 (islessgreater_test): Likewise.
15234 (isunordered_test): Likewise.
15235 (main): Call the new functions.
15237 2012-10-09 Roland McGrath <roland@hack.frob.com>
15239 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15240 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15241 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15242 * sysdeps/i386/configure: Regenerated.
15243 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15244 * sysdeps/mach/configure: Regenerated.
15245 * sysdeps/mach/hurd/configure: Regenerated.
15246 * sysdeps/powerpc/configure: Regenerated.
15247 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15248 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15249 * sysdeps/s390/s390-32/configure: Regenerated.
15250 * sysdeps/s390/s390-64/configure: Regenerated.
15251 * sysdeps/sh/configure: Regenerated.
15252 * sysdeps/sparc/configure: Regenerated.
15253 * sysdeps/unix/sysv/linux/configure: Regenerated.
15254 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15255 * sysdeps/x86_64/configure: Regenerated.
15257 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15258 defined. Don't check if MAP is NULL.
15260 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15263 (_G_stat64): Likewise.
15264 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15265 (_G_stat64): Likewise.
15266 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15267 instead of struct _G_stat64.
15268 * libio/fileops.c (mmap_remap_check): Likewise.
15269 (decide_maybe_mmap): Likewise.
15270 (_IO_new_file_seekoff): Likewise.
15271 (_IO_file_stat): Likewise.
15272 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15274 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15275 instead of struct _G_stat64.
15276 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15278 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15281 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15283 (CHECK_EOL): New macro.
15284 (two_way_short_needle): Check beginning of haystack for EOL. Use
15286 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15287 Replace with CHECK_EOL.
15288 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15289 Replace with CHECK_EOL.
15291 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15293 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15295 * math/libm-test.inc: Update comment listing what functions and
15297 (finite_test): New function.
15298 (isinf_test): Likewise.
15299 (isnan_test): Likewise.
15300 (fpclassify_test): Test subnormal input.
15301 (isfinite_test): Likewise.
15302 (isnormal_test): Likewise.
15303 (main): Call the new functions.
15305 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15308 * Makerules (%.dynsym): Force C locale when running
15309 $(OBJDUMP) --dynamic-syms.
15311 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15313 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15316 2012-10-06 David S. Miller <davem@davemloft.net>
15318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15319 upper 32-bits of the length value in %o2 since we use branch-on-register
15320 tests which consider the entire 64-bit register.
15322 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15324 * string/test-strstr.c (check2): Add a test for page boundary.
15326 2012-10-05 David S. Miller <davem@davemloft.net>
15328 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15329 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15331 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15334 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15335 and bzero when HWCAP_SPARC_CRYPTO is present.
15337 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15340 * string/test-strstr.c (check2): New function.
15341 (test_main): Call check2.
15343 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15345 * string/bug-strcasestr1.c (do_test): Moved to ...
15346 * string/test-strcasestr.c (check1): Here. New function.
15347 (do_one_test): Break out result checking code into ...
15348 (check_result): This. New function.
15349 (do_one_test): Call check_result.
15350 (test_main): Call check1.
15351 * string/bug-strchr1.c (do_test): Moved to ...
15352 * string/test-strchr.c (check1): Here. New function.
15353 (do_one_test): Break out result checking code into ...
15354 (check_result): This. New function.
15355 (do_one_test): Call check_result.
15356 (test_main): Call check1.
15357 * string/bug-strstr1.c (main): Moved to ...
15358 * string/test-strstr.c (check1): Here. New function.
15359 (do_one_test): Break out result checking code into ...
15360 (check_result): This. New function.
15361 (do_one_test): Call check_result.
15362 (test_main): Call check1.
15363 * string/bug-strcasestr1.c: Removed.
15364 * string/bug-strchr1.c: Likewise.
15365 * string/bug-strstr1.c: Likewise.
15367 * elf/Makefile (dl-routines): Add hwcaps.
15368 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15369 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15370 (_dl_important_hwcaps): Moved to ...
15371 * elf/dl-hwcaps.c: Here. New file.
15372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15375 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15376 if IS_IN_rtld isn't defined.
15378 * elf/dl-support.c (_dl_sysinfo_map): New.
15379 Include "get-dynamic-info.h" and "setup-vdso.h".
15380 (_dl_non_dynamic_init): Call setup_vdso.
15381 * elf/dynamic-link.h: Don't include <assert.h>.
15382 (elf_get_dynamic_info): Moved to ...
15383 * elf/get-dynamic-info.h: Here. New file.
15384 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15385 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15386 * elf/setup-vdso.h: Here. New file.
15387 * elf/rtld.c: Include "setup-vdso.h".
15388 (dl_main): Call setup_vdso.
15390 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15392 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15393 creal in comment listing functions tested. List finite, isinf,
15394 isnan, isless, islessequal, isgreater, isgreaterequal,
15395 islessgreater, isunordered, lgamma_r and pow10 as functions and
15396 macros not tested. Mention which functions not tested are aliases
15397 for other functions. Fix typo. Note that signs of NaNs are not
15400 * scripts/config.guess: Update from config.git.
15401 * scripts/config.sub: Likewise.
15403 2012-10-04 Roland McGrath <roland@hack.frob.com>
15405 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15406 * misc/madvise.c (madvise): Renamed to __madvise.
15407 Make madvise a weak alias.
15408 * include/sys/mman.h: Declare __madvise.
15409 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15410 * sysdeps/unix/syscalls.list
15411 (madvise): Make __madvise the strong name, and madvise a weak alias.
15412 * sysdeps/unix/sysv/linux/syscalls.list
15413 (madvise, mmap): Remove redundant entries.
15414 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15415 * malloc/malloc.c (mtrim): Likewise.
15416 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15418 2012-10-03 Roland McGrath <roland@hack.frob.com>
15420 * sysdeps/mach/hurd/dl-cache.c: File removed.
15421 * config.h.in (USE_LDCONFIG): New #undef.
15422 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15423 * configure: Regenerated.
15424 * elf/Makefile (dl-routines): Add dl-cache only under
15425 [$(use-ldconfig) = yes].
15426 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15427 cache on [USE_LDCONFIG].
15428 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15430 * elf/rtld.c (dl_main): Likewise.
15432 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15434 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15435 _SC_LEVEL4_CACHE_LINESIZE.
15437 2012-10-03 Roland McGrath <roland@hack.frob.com>
15439 * sysdeps/unix/bsd/confstr.h: File removed.
15441 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15443 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15446 2012-10-02 Roland McGrath <roland@hack.frob.com>
15448 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15449 Make 'mapoff' field ElfW(Off) rather than off_t.
15451 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15453 * nscd/Makefile: Remove nscd-cflags and all its users.
15454 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15455 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15458 * malloc.c (malloc_printerr): Clarify error message.
15460 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15464 Set bit_FMA_Usable if FMA is supported.
15465 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15467 (bit_FMA4_Usable): Updated.
15468 (index_FMA_Usable): New macro.
15469 (CPUID_FMA): Likewise
15470 (HAS_FMA): Defined with bit_FMA_Usable.
15472 2012-10-01 Roland McGrath <roland@hack.frob.com>
15474 * bits/types.h (__swblk_t): Type removed.
15475 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15476 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15478 (__SWBLK_T_TYPE): Likewise.
15479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15480 (__SWBLK_T_TYPE): Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15482 (__SWBLK_T_TYPE): Likewise.
15483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15484 (__SWBLK_T_TYPE): Likewise.
15486 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15487 Honza Horak <hhorak@redhat.com>
15489 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15490 (xdr_mapname): Use YPMAXMAP as maxsize.
15491 (xdr_peername): Use YPMAXPEER as maxsize.
15492 (xdr_keydat): Use YPAXRECORD as maxsize.
15493 (xdr_valdat): Use YPMAXRECORD as maxsize.
15495 2012-10-01 Roland McGrath <roland@hack.frob.com>
15497 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15499 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15500 * csu/init-first.c: ... here.
15501 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15502 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15503 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15504 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15505 * sysdeps/i386/init-first.c: File removed.
15506 * sysdeps/sh/init-first.c: File removed.
15508 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15512 if x * y might underflow to zero and z is zero.
15513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15515 * math/libm-test.inc (min_subnorm_value): New variable.
15516 (fma_test): Add more tests.
15517 (fma_test_towardzero): Likewise.
15518 (fma_test_downward): Likewise
15519 (fma_test_upward): Likewise.
15520 (initialize): Set min_subnorm_value.
15522 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15528 mode for addition resulting in exact zero.
15529 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15532 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15534 * math/libm-test.inc (fma_test): Add more tests.
15535 (fma_test_towardzero): New function.
15536 (fma_test_downward): Likewise.
15537 (fma_test_upward): Likewise.
15538 (main): Call the new functions.
15540 2012-09-28 David S. Miller <davem@davemloft.net>
15542 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15544 2012-09-28 Roland McGrath <roland@hack.frob.com>
15546 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15547 instead of SIGALRM.
15549 * sysdeps/gnu/_G_config.h: Moved to ...
15550 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15551 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15552 * sysdeps/generic/_G_config.h: ... here.
15554 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15556 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15558 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15559 Conditionalize target on [libnss_test1.so-version].
15561 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15563 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15564 (elfobjdir): Move out of conditionals.
15566 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15567 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15568 (__nss_lookup_function): Conditionalize label remove_from_tree on
15569 [!DO_STATIC_NSS || SHARED], matching its only use.
15571 2012-09-28 David S. Miller <davem@davemloft.net>
15573 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15576 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15580 when HWCAP_SPARC_CRYPTO is present.
15582 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15584 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15586 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15589 * stdio-common/vfprintf.c (process_string_arg): Revert
15592 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15594 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15596 * stdio-common/tst-sprintf.c: Include <locale.h>
15597 (main): Test sprintf's handling of incomplete multibyte
15600 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15602 * elf/dl-runtime.c (VERSYMIDX): Removed.
15603 * elf/dl-version.c (VERSYMIDX): Likewise.
15604 * elf/do-rel.h (VERSYMIDX): Likewise.
15605 (VALIDX): Likewise.
15606 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15607 * elf/rtld.c (VALIDX): Likewise.
15608 (ADDRIDX): Likewise.
15609 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15610 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15611 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15612 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15613 (VALIDX): Likewise.
15614 (ADDRIDX): Likewise.
15616 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15618 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15620 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15623 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15625 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15626 addresses are in the same scope as 192.0.2/24.
15627 * posix/gai.conf: Document new scope table defaults.
15629 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15632 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15633 for ftell. Compute offsets from write pointers instead.
15634 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15636 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 * libio/Makefile (tests): New test case tst-fseek.
15640 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15641 combination works in wide mode.
15642 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15643 state when the external buffer state changes.
15645 2012-09-27 David S. Miller <davem@davemloft.net>
15648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15649 pass reloc->r_addend in as the 'high' argument to
15650 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15654 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15656 * rt/tst-aio2.c: Include <pthread.h>.
15657 * rt/tst-aio3.c: Likewise.
15659 2012-09-27 Steve Ellcey <sellcey@mips.com>
15661 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15663 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15665 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15666 contents on [SHARED].
15668 2012-09-26 Marek Polacek <polacek@redhat.com>
15672 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15673 for C++ and GCC <4.3 as well as for non GCC compilers.
15675 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15679 2012-09-25 Roland McGrath <roland@hack.frob.com>
15681 * Makefile.in (all, install): Declare with .PHONY.
15682 Reported by Michael Hope <michael.hope@linaro.org>.
15684 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15686 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15687 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15689 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15691 (sydep_routines): Add the new and the internal functions.
15692 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15693 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15695 (GLIBC_2.17): Add the new function.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15697 (GLIBC_2.17): Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15699 (GLIBC_2.17): Likewise.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15701 (GLIBC_2.17): Likewise.
15702 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15704 2012-09-25 Alan Modra <amodra@gmail.com>
15706 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15707 Add release barrier before setting once_control to say
15708 initialisation is done. Add hints on lwarx. Use macro in
15710 (clear_once_control): Add release barrier.
15712 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15715 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15717 * math/s_clog10.c (__clog10): Likewise.
15718 * math/s_clog10f.c (__clog10f): Likewise.
15719 * math/s_clog10l.c (__clog10l): Likewise.
15720 * math/s_clogf.c (__clogf): Likewise.
15721 * math/s_clogl.c (__clogl): Likewise.
15722 * math/Makefile (libm-calls): Add x2y2m1.
15723 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15724 (__x2y2m1): Likewise.
15725 (__x2y2m1l): Likewise.
15726 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15727 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15730 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15731 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15732 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15733 * sysdeps/i386/fpu/libm-test-ulps: Update.
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15738 int as type of variable DEPTH.
15739 (glob): Use size_t instead of int as type of variables NEWCOUNT
15742 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15744 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15745 Add s_sincosf-sse2.
15746 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15747 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15748 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15749 macros for using routine as __sincosf_ia32.
15750 Use macro for function declaration and weak_alias.
15751 * sysdeps/i386/fpu/libm-test-ulps: Update.
15753 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15756 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15757 subnormal argument.
15758 * math/s_cexpf.c (__cexpf): Likewise.
15759 * math/s_csinf.c (__csinf): Likewise.
15760 * math/s_csinhf.c (__csinhf): Likewise.
15761 * math/s_ctanf.c (__ctanf): Likewise.
15762 * math/s_ctanhf.c (__ctanhf): Likewise.
15763 * math/s_ccosh.c (__ccoshf): Likewise.
15764 * math/s_cexp.c (__cexpl): Likewise.
15765 * math/s_csin.c (__csin): Likewise.
15766 * math/s_csinh.c (__csinh): Likewise.
15767 * math/s_ctan.c (__ctan): Likewise.
15768 * math/s_ctanh.c (ctanh): Likewise.
15769 * math/s_ccoshl.c (__ccoshl): Likewise.
15770 * math/s_cexpl.c (__cexpl): Likewise.
15771 * math/s_csinl.c (__csinl): Likewise.
15772 * math/s_csinhl.c (__csinhl): Likewise.
15773 * math/s_ctanl.c (__ctanl): Likewise.
15774 * math/s_ctanhl.c (__ctanhl): Likewise.
15776 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15778 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15779 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15780 (_IO_off_t): Define to __off_t, not _G_off_t.
15781 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15782 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15783 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15784 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15785 type of __dummy and __dummy2 fields.
15786 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15787 (_G_ssize_t): Likewise.
15788 (_G_off_t): Likewise.
15789 (_G_pid_t): Likewise.
15790 (_G_uid_t): Likewise.
15791 (_G_wchar_t): Likewise.
15792 (_G_wint_t): Likewise.
15793 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15794 (_G_ssize_t): Likewise.
15795 (_G_off_t): Likewise.
15796 (_G_pid_t): Likewise.
15797 (_G_uid_t): Likewise.
15798 (_G_wchar_t): Likewise.
15799 (_G_wint_t): Likewise.
15800 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15801 (_G_ssize_t): Likewise.
15802 (_G_off_t): Likewise.
15803 (_G_pid_t): Likewise.
15804 (_G_uid_t): Likewise.
15805 (_G_wchar_t): Likewise.
15806 (_G_wint_t): Likewise.
15808 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15810 * malloc/arena.c: Include malloc-sysdep.h.
15811 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15812 is sufficient to shrink the heap or an unmap is needed.
15813 * sysdeps/generic/malloc-sysdep.h: New file. Define
15814 new function check_may_shrink_heap.
15815 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15816 new function check_may_shrink_heap.
15818 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15820 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15823 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15825 * catgets/test-gencat.sh: Add "set -e".
15826 * elf/tst-pathopt.sh: Likewise.
15827 * grp/tst_fgetgrent.sh: Likewise.
15828 * iconvdata/run-iconv-test.sh: Likewise.
15829 * intl/tst-gettext.sh: Likewise.
15830 * intl/tst-gettext2.sh: Likewise.
15831 * intl/tst-gettext4.sh: Likewise.
15832 * intl/tst-gettext6.sh: Likewise.
15833 * intl/tst-translit.sh: Likewise.
15834 * io/ftwtest-sh: Likewise.
15835 * libio/test-freopen.sh: Likewise.
15836 * malloc/tst-mtrace.sh: Likewise.
15837 * posix/globtest.sh: Likewise.
15838 * posix/tst-getconf.sh: Likewise.
15839 * posix/wordexp-tst.sh: Likewise.
15840 * stdio-common/tst-printf.sh: Likewise.
15841 * stdio-common/tst-unbputc.sh: Likewise.
15842 * stdlib/tst-fmtmsg.sh: Likewise.
15843 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15844 * catgets/Makefile: Do not specify -e option when running
15845 testsuite shell scripts.
15846 * elf/Makefile: Likewise.
15847 * grp/Makefile: Likewise.
15848 * iconvdata/Makefile: Likewise.
15849 * intl/Makefile: Likewise.
15850 * io/Makefile: Likewise.
15851 * libio/Makefile: Likewise.
15852 * malloc/Makefile: Likewise.
15853 * posix/Makefile: Likewise.
15854 * stdio-common/Makefile: Likewise.
15855 * stdlib/Makefile: Likewise.
15856 * sysdeps/x86_64/Makefile: Likewise.
15858 * io/ftwtest-sh: Add copyright header.
15859 * posix/globtest.sh: Likewise.
15860 * posix/tst-getconf.sh: Likewise.
15861 * posix/wordexp-tst.sh: Likewise.
15862 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15864 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15867 * Makeconfig (+link): Defined as $(+link-static) if
15868 $(build-shared) isn't yes.
15869 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15871 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15873 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15876 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15877 new chunk size with MALLOC_ALIGN_MASK.
15879 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15882 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15884 (__printf_fphex): Determine rounding using get_rounding_mode and
15886 * stdio-common/tst-printf-round.c (struct hex_test): New
15888 (hex_tests): New variable.
15889 (test_hex_in_one_mode): New function.
15890 (do_test): Also run tests for hex float output.
15892 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15894 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15895 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15896 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15897 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15899 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15900 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15901 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15903 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15905 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15906 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15907 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15908 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15910 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15913 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15915 * elf/tst-rtld-load-self.sh: New test.
15916 * elf/Makefile: Run it.
15918 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15920 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15921 (tst-writev-ENV): Remove.
15922 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15924 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15926 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15928 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15930 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15932 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15934 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15935 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15936 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15939 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15942 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15943 * config.make.in (have-cpp-asm-debuginfo): Removed.
15944 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15945 * configure: Regenerated.
15947 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15950 * stdio-common/printf_fp.c: Include <stdbool.h> and
15952 (___printf_fp): Determine rounding using get_rounding_mode and
15954 * stdio-common/tst-printf-round.c: New file.
15955 * stdio-common/Makefile (tests): Add tst-printf-round.
15956 (link-libm): New variable.
15957 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15959 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15962 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15963 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15965 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15968 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15970 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15971 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15972 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15975 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15978 * include/rounding-mode.h: New file.
15979 * sysdeps/generic/get-rounding-mode.h: Likewise.
15980 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15981 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15982 (MAX_VALUE): New macro.
15983 (MIN_VALUE): Likewise.
15984 (overflow_value): New function.
15985 (underflow_value): Likewise.
15986 (round_and_return): Use overflow_value and underflow_value to
15987 determine return values in overflow and underflow cases. Use
15988 round_away to determine rounding depending on rounding mode.
15989 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15990 determine return values in overflow and underflow cases.
15991 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15992 (struct test_results): New structure.
15993 (struct test): Use struct test_results to store expected results
15994 for all rounding modes.
15995 (TEST): Include expected results for all rounding modes.
15996 (test_in_one_mode): New function.
15997 (do_test): Use test_in_one_mode to compute and check results.
15998 Check results for all rounding modes.
15999 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16002 2012-12-09 Allan McRae <allan@archlinux.org>
16004 * sysdeps/i386/fpu/libm-test-ulps: Update
16006 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16008 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16009 (_G_int32_t): Likewise.
16010 (_G_uint16_t): Likewise.
16011 (_G_uint32_t): Likewise.
16012 (_G_HAVE_BOOL): Likewise.
16013 (_G_HAVE_ATEXIT): Likewise.
16014 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16015 (_G_HAVE_IO_FILE_OPEN): Likewise.
16016 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16017 (_G_int32_t): Likewise.
16018 (_G_uint16_t): Likewise.
16019 (_G_uint32_t): Likewise.
16020 (_G_HAVE_BOOL): Likewise.
16021 (_G_HAVE_ATEXIT): Likewise.
16022 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16023 (_G_HAVE_IO_FILE_OPEN): Likewise.
16024 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16025 (_G_int32_t): Likewise.
16026 (_G_uint16_t): Likewise.
16027 (_G_uint32_t): Likewise.
16028 (_G_HAVE_BOOL): Likewise.
16029 (_G_HAVE_ATEXIT): Likewise.
16030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16031 (_G_HAVE_IO_FILE_OPEN): Likewise.
16033 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16035 * csu/libc-tls.c: Update copyright years.
16037 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16039 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16040 [!_G_USING_THUNKS]: Remove conditional code.
16041 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16042 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16044 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16045 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16046 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16047 (_G_VTABLE_LABEL_PREFIX): Likewise.
16048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16049 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16050 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16051 (_G_VTABLE_LABEL_PREFIX): Likewise.
16052 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16053 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16054 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16055 (_G_VTABLE_LABEL_PREFIX): Likewise.
16056 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16058 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16060 * libio/Makefile: Include ../Makeconfig before tests.
16061 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16062 only if $(build-shared) is yes.
16064 * iconv/gconv_db.c: Update copyright years.
16066 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16068 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16069 unwind info if defined PIC. Fix special cases description.
16070 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16072 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16074 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16076 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16078 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16080 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16083 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16084 (LDLIBS-tst-chk4): This.
16085 (LDFLAGS-tst-chk5): Renamed to ...
16086 (LDLIBS-tst-chk5): This.
16087 (LDFLAGS-tst-chk6): Renamed to ...
16088 (LDLIBS-tst-chk6): This.
16089 (LDFLAGS-tst-lfschk4): Renamed to ...
16090 (LDLIBS-tst-lfschk4): This.
16091 (LDFLAGS-tst-lfschk5): Renamed to ...
16092 (LDLIBS-tst-lfschk5): This.
16093 (LDFLAGS-tst-lfschk6): Renamed to ...
16094 (LDLIBS-tst-lfschk6): This.
16096 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16097 on $(common-objpfx)soversions.mk.
16099 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16102 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16105 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16107 * malloc/arena.c (arena_get_retry): New function that gets
16108 another arena for the caller to try its request on.
16109 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16110 current arena cannot fulfill the request.
16111 (__libc_memalign): Likewise.
16112 (__libc_memalign): Likewise.
16113 (__libc_pvalloc): Likewise.
16114 (__libc_calloc): Likewise.
16116 2012-09-05 John Tobey <john.tobey@gmail.com>
16119 * manual/arith.texi (Operations on Complex): Fix description
16120 of carg branch cut.
16122 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16125 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16129 * manual/memory.texi (Memory): Make order of menu items match
16132 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16134 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16135 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16136 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16138 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16140 * csu/libc-tls.c (static_dtv): Renamed to ...
16141 (_dl_static_dtv): This. Make it global.
16142 (_dl_initial_dtv): Removed.
16143 (__libc_setup_tls): Updated.
16144 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16145 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16148 2012-09-06 Petr Machata <pmachata@redhat.com>
16150 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16151 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16152 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16153 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16155 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16158 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16159 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16162 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16165 * Makeconfig (link-static-before-libc): Replace $(+prector)
16167 (link-static-after-libc): Replace $(+postctor) with
16169 (link-bounded): Replace $(+prector)/$(+postctor) with
16170 $(+prectorT)/$(+postctorT).
16171 (+prectorT): New macro.
16172 (+postctorT): Likewise.
16174 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16176 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16177 (round_str): Handle values above the maximum for IBM long double
16179 * stdlib/tst-strtod-round.c (tests): Regenerated.
16181 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16183 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16185 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16186 zarch_nohighgprs around the zarch optimized routines.
16187 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16188 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16192 2012-09-05 David S. Miller <davem@davemloft.net>
16194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16196 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16197 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16198 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16199 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16202 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16204 * malloc/arena.c: Fold copyright years.
16205 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16207 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16209 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16211 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16213 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16215 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16217 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16218 change internal state upon failure.
16220 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16222 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16223 * malloc/memusage.c (mmap): Likewise.
16224 (mmap64, mremap): Likewise. Adjust name in comment.
16226 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16228 * libio/fileops.c: Fix typos in comments.
16229 * libio/oldfileops.c: Likewise.
16230 * libio/wfileops.c: Likewise.
16232 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16235 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16236 (tst-malloc-usable-ENV): Set environment for test case.
16237 * malloc/hooks.c (malloc_check_get_size): New function to get
16239 * malloc/malloc.c (musable): Use malloc_check_get_size.
16240 * malloc/tst-malloc-usable.c: New test case.
16242 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16244 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16246 2012-09-05 Allan McRae <allan@archlinux.org>
16249 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16250 determine header location.
16251 * configure: Regenerated.
16253 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16255 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16257 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16258 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16260 (test): Regenerate.
16262 2012-09-04 David S. Miller <davem@davemloft.net>
16264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16268 2012-09-04 Florian Weimer <fweimer@redhat.com>
16270 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16273 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16275 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16278 * libio/iogetdelim.c: Include <limits.h>.
16279 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16280 + len + 1 would overflow.
16282 2012-09-03 Andreas Jaeger <aj@suse.de>
16284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16285 * sysdeps/i386/fpu/libm-test-ulps: Update.
16287 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16289 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16290 Add s_sinf-sse2, s_conf-sse2.
16292 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16293 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16294 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16295 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16297 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16298 for using routine as __sinf_ia32.
16299 Use macro for function declaration and weak_alias.
16300 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16301 for using routine as __cosf_ia32.
16302 Use macro for function declaration and weak_alias.
16304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16305 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16307 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16308 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16311 * math/libm-test.inc (cos_test): Add more test cases.
16312 (sin_test): Likewise.
16313 (sincos_test): Likewise.
16315 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16318 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16320 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16322 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16325 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16326 first element of the GOT.
16327 (elf_machine_load_address): Return the difference between
16328 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16330 2012-09-01 Allan McRae <allan@archlinux.org>
16333 * configure.in (AWK): Require gawk version 3.0 or later.
16334 * configure: Regenerated.
16336 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16338 * sysdeps/unix/sysv/linux/kernel-features.h
16339 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16341 [__NR_clock_getres]: Make code unconditional.
16342 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16343 (clock_getcpuclockid): Remove code left unreachable by removal of
16345 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16346 code unconditional.
16347 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16348 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16349 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16350 Make code unconditional.
16351 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16353 * sysdeps/unix/sysv/linux/clock_settime.c
16354 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16356 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16359 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16362 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16363 scripts/test-installation.pl.
16365 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16366 and $ld_so_version if it is set.
16368 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16372 failure if reading from procfs failed.
16373 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16375 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16377 * sysdeps/unix/sysv/linux/kernel-features.h
16378 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16379 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16380 Remove conditional code.
16381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16382 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16383 Remove conditional code.
16384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16385 * sysdeps/unix/sysv/linux/i386/fxstat.c
16386 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16388 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16391 * sysdeps/unix/sysv/linux/i386/lxstat.c
16392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16394 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16395 Remove conditional code.
16396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16397 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16398 Remove conditional code.
16399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16400 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16401 <kernel-features.h>.
16402 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16404 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16405 Remove conditional code.
16406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16407 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16408 Remove conditional.
16410 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16413 * NEWS: Add fixed bug number.
16415 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16418 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16419 underflowing exponent in case of negative sign.
16420 * stdlib/tst-strtod-round-data: Add more tests.
16421 * stdlib/tst-strtod-round.c (tests): Regenerated.
16424 * stdlib/strtod_l.c (NDIG): Remove.
16425 (HEXNDIG): Likewise.
16426 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16427 smallest representable value.
16428 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16429 lie within an exact representation of 1/2 ulp of the result.
16430 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16432 (TENS_P9_IDX): Define unconditionally.
16433 (TENS_P9_SIZE): Likewise.
16434 (TENS_P10_IDX): Likewise.
16435 (TENS_P10_SIZE): Likewise.
16436 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16437 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16439 entries for 10^2^13 and 10^2^14.
16440 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16441 (TENS_P13_IDX): Define.
16442 (TENS_P13_SIZE): Likewise.
16443 (TENS_P14_IDX): Likewise.
16444 (TENS_P14_SIZE): Likewise.
16445 (_fpioconst_pow10): Change array size to
16446 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16448 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16449 1024]: Add entries for 10^2^13 and 10^2^14.
16450 [LAST_POW10 > _LAST_POW10]: Remove #error.
16451 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16452 (_fpioconst_pow10): Change array size to
16453 FPIOCONST_POW10_ARRAY_SIZE.
16454 * stdlib/gen-fpioconst.c: New file.
16455 * stdlib/gen-tst-strtod-round.c: Likewise.
16456 * stdlib/tst-strtod-round-data: Likewise.
16457 * stdlib/tst-strtod-round.c: Likewise.
16458 * stdlib/Makefile (tests): Add tst-strtod-round.
16461 * stdlib/strtod_l.c: Include <stdint.h>.
16462 (NDEBUG): Do not define.
16463 (round_and_return): Change EXPONENT parameter to type intmax_t.
16464 Rearrange calculations to avoid internal overflow possibilities.
16465 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16466 Rearrange calculations to avoid internal overflow possibilities.
16467 Assert that number fits inside MPNSIZE limbs.
16468 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16469 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16470 calculations and add assertions to avoid internal overflow
16471 possibilities. Add casts to avoid signed/unsigned operations.
16472 * stdlib/tst-strtod-overflow.c: New file.
16473 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16475 2012-08-25 Marek Polacek <polacek@redhat.com>
16477 * time/time.h: Fix some typos in comments.
16479 2012-08-23 Roland McGrath <roland@hack.frob.com>
16481 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16482 * posix/tst-rfc3484-2.c: Likewise.
16483 * posix/tst-rfc3484-3.c: Likewise.
16485 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16487 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16488 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16490 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16492 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16493 #include of fxstatat64.c.
16495 2012-08-22 Roland McGrath <roland@hack.frob.com>
16497 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16498 * shadow/getspent_r.c: Likewise.
16499 * shadow/getspnam.c: Likewise.
16500 * shadow/getspnam_r.c: Likewise.
16501 * gshadow/getsgent.c: Likewise.
16502 * gshadow/getsgent_r.c: Likewise.
16503 * gshadow/getsgnam.c: Likewise.
16504 * gshadow/getsgnam_r.c: Likewise.
16505 * inet/getnetbyad.c: Likewise.
16506 * inet/getnetbyad_r.c: Likewise.
16507 * inet/getnetbynm.c: Likewise.
16508 * inet/getnetbynm_r.c: Likewise.
16509 * inet/getnetent.c: Likewise.
16510 * inet/getnetent_r.c: Likewise.
16511 * inet/getproto.c: Likewise.
16512 * inet/getproto_r.c: Likewise.
16513 * inet/getprtent.c: Likewise.
16514 * inet/getprtent_r.c: Likewise.
16515 * inet/getprtname.c: Likewise.
16516 * inet/getprtname_r.c: Likewise.
16517 * inet/getrpcbyname.c: Likewise.
16518 * inet/getrpcbyname_r.c: Likewise.
16519 * inet/getrpcbynumber.c: Likewise.
16520 * inet/getrpcbynumber_r.c: Likewise.
16521 * inet/getrpcent.c: Likewise.
16522 * inet/getrpcent_r.c: Likewise.
16523 * inet/getaliasent.c: Likewise.
16524 * inet/getaliasent_r.c: Likewise.
16525 * inet/getaliasname.c: Likewise.
16526 * inet/getaliasname_r.c: Likewise.
16527 * nscd/getgrgid_r.c: Likewise.
16528 * nscd/getgrnam_r.c: Likewise.
16529 * nscd/gethstbyad_r.c: Likewise.
16530 * nscd/gethstbynm3_r.c: Likewise.
16531 * nscd/getpwnam_r.c: Likewise.
16532 * nscd/getpwuid_r.c: Likewise.
16533 * nscd/getsrvbynm_r.c: Likewise.
16534 * nscd/getsrvbypt_r.c: Likewise.
16535 * nscd/gai.c: Likewise.
16537 * configure.in (build_nscd): New substituted variable, set
16538 by --disable-build-nscd and defaults to $use_nscd.
16539 * configure: Regenerated.
16540 * config.make.in (build-nscd): New substituted variable.
16541 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16542 Change conditional to require [$(build-nscd) = yes] as well.
16543 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16546 * configure.in (use_nscd): New substituted variable, set by
16547 --disable-nscd. If enabled, define USE_NSCD.
16548 * configure: Regenerated.
16549 * config.h.in: Add USE_NSCD.
16550 * config.make.in (use-nscd): New substituted variable.
16551 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16552 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16553 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16554 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16555 (CFLAGS-getgrnam_r.c): Likewise.
16556 (CFLAGS-initgroups.c): Likewise.
16557 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16558 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16560 * inet/getnetgrent_r.c
16561 (nscd_setnetgrent): New function, broken out of ...
16562 (setnetgrent): ... here. Call it.
16563 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16564 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16565 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16566 * nscd/Makefile (routines, aux): Move definitions after include of
16567 Makeconfig. Conditionalize on [$(use-nscd) != no].
16568 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16569 Conditionalize on [USE_NSCD].
16570 (is_nscd, nscd_init_cb): Likewise.
16571 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16572 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16573 * nss/nss_db/db-init.c: Likewise.
16574 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16576 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16577 (make_request): Use it.
16578 (cache_valid_p): New function.
16579 (__check_pf): Use it.
16580 * NEWS: Add item for --disable-nscd.
16582 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16584 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16585 to support sed >= 4.2.1-20-ga9bf076.
16586 * configure: Regenerated.
16588 2012-08-22 Roland McGrath <roland@hack.frob.com>
16590 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16591 Conditionalize whole body on [IREL].
16593 2012-08-22 Jeff Law <law@redhat.com>
16596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16597 if the family is PF_UNSPEC.
16599 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16601 * Makerules (lib-version): Rename from V.
16602 (install-lib-nosubdir): Change V to lib-version.
16604 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16607 * powerpc32/power6/wcschr.c: New file.
16608 * powerpc32/power6/wcscpy.c: New file.
16609 * powerpc32/power6/wcsrchr.c: New file.
16610 * powerpc64/power6/wcschr.c: New file.
16611 * powerpc64/power6/wcscpy.c: New file.
16612 * powerpc64/power6/wcsrchr.c: New file.
16614 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16616 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16617 (two_way_short_needle): Use it.
16618 * string/strstr.c (AVAILABLE1_USES_J): Define.
16619 * string/strcasestr.c: Likewise.
16621 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16623 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16626 * NEWS: Add an entry.
16627 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16628 define their defaults.
16629 (two_way_short_needle): Detect end-of-string on-the-fly.
16630 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16631 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16632 * string/bug-strcasestr1.c: New test.
16633 * string/Makefile: Run it.
16635 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16638 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16639 the first character.
16641 2012-08-21 Roland McGrath <roland@hack.frob.com>
16643 * csu/elf-init.c (__libc_csu_irel): Function removed.
16644 * csu/libc-start.c (apply_irel): New function.
16645 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16647 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16649 * sysdeps/unix/sysv/linux/kernel-features.h
16650 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16652 <kernel-features.h>.
16653 [__NR_fadvise64_64]: Make code unconditional.
16654 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16655 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16656 !__NR_fadvise64_64)]: Likewise.
16657 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16658 !__NR_fadvise64_64))]: Likewise.
16659 [__NR_fadvise64]: Make code unconditional.
16660 [!__NR_fadvise64]: Remove conditional code.
16661 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16662 <kernel-features.h>.
16663 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16665 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16668 not include <kernel-features.h>.
16669 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16671 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16673 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16674 include <kernel-features.h>.
16675 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16677 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16680 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16683 slight instruction rearrangements per scrollpipe analysis.
16684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16686 2012-08-20 Roland McGrath <roland@hack.frob.com>
16688 * manual/syslog.texi (syslog; vsyslog, closelog):
16689 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16690 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16692 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16693 DSOCAPS to match condition on defining it.
16695 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/unix/sysv/linux/kernel-features.h
16698 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16700 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16701 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16709 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16710 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16712 * sysdeps/unix/sysv/linux/kernel-features.h
16713 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16714 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16716 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16717 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16718 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16719 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16720 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16721 Make code unconditional.
16722 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16723 (__mmap64) [!__NR_mmap2]: Likewise.
16724 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16725 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16726 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16728 [__NR_mmap2]: Make code unconditional.
16729 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16730 (__mmap64) [!__NR_mmap2]: Likewise.
16732 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16734 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16736 2012-08-18 Andreas Jaeger <aj@suse.de>
16738 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16740 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16742 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16743 * include/unistd.h (__have_sock_cloexec): Likewise.
16744 (__have_pipe2): Likewise.
16745 (__have_dup3): Likewise.
16747 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16750 * include/unistd.h (__have_pipe2): Change define into an extern int.
16751 (__have_dup3): Likewise.
16752 * socket/have_sock_cloexec.c: Include fcntl.h.
16753 (__have_pipe2): New variable.
16754 (__have_dup3): Likewise.
16756 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16758 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16760 2012-08-17 Marek Polacek <polacek@redhat.com>
16762 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16763 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16765 2012-08-17 Roland McGrath <roland@hack.frob.com>
16767 * configure.in: Add AC_SUBST for sysheaders.
16768 * configure: Regenerated.
16769 * config.make.in (sysheaders): New substituted variable.
16771 * sysdeps/unix/mkfifo.c: Moved ...
16772 * sysdeps/posix/mkfifo.c: ... here.
16773 * sysdeps/unix/mkfifoat.c: Moved ...
16774 * sysdeps/posix/mkfifoat.c: ... here.
16776 * sysdeps/unix/utime.c: Moved ...
16777 * sysdeps/posix/utime.c: ... here.
16779 * sysdeps/unix/time.c: Moved ...
16780 * sysdeps/posix/time.c: ... here.
16781 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16782 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16784 * sysdeps/unix/nice.c: Moved ...
16785 * sysdeps/posix/nice.c: ... here.
16787 * sysdeps/unix/alarm.c: Moved ...
16788 * sysdeps/posix/alarm.c: ... here.
16790 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16792 2012-08-17 Jeff Law <law@redhat.com>
16794 * intl/Makefile (codeset_mo): New variable.
16795 ($(codeset_mo)): New target.
16796 (tst-codeset.out): Depend on that. Remove explicit rule.
16797 (tst-gettext3.out, tst-gettext5.out): Likewise.
16798 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16799 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16800 * intl/tst-codeset.sh: Remove.
16801 * intl/tst-gettext3.sh: Likewise.
16802 * intl/tst-gettext5.sh: Likewise.
16804 2012-08-17 Roland McGrath <roland@hack.frob.com>
16806 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16807 * sysdeps/unix/syscalls.list: ... here.
16809 * sysdeps/posix/getaddrinfo.c
16810 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16811 (gaiconf_init, gaiconf_reload): Use them.
16812 [!_STATBUF_ST_NSEC]
16813 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16814 Define using time_t rather than struct timespec.
16816 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16817 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16819 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16821 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16822 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16825 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16826 __libc_cleanup_push argument.
16828 * bits/param.h: New file.
16829 * misc/sys/param.h: New file.
16830 * include/sys/param.h: New file.
16831 * misc/Makefile (headers): Add bits/param.h.
16832 * sysdeps/generic/sys/param.h: File removed.
16833 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16834 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16835 * sysdeps/mach/hurd/bits/param.h: New file.
16836 * sysdeps/mach/hurd/sys/param.h: File removed.
16838 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16841 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16843 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16844 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16847 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16848 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16849 rather than -D_IO_MTSAFE_IO conditionally.
16850 * stdio-common/Makefile (CPPFLAGS): Likewise.
16851 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16852 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16853 Use $(libio-mtsafe).
16854 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16855 of -D_IO_MTSAFE_IO.
16856 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16857 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16858 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16859 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16860 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16861 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16862 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16863 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16864 (CFLAGS-fread_u_chk.c): Likewise.
16865 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16866 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16867 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16868 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16869 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16870 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16871 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16872 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16873 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16875 * libio/Makefile: Test [$(libc-reentrant) = yes]
16876 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16879 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16880 * sysdeps/pthread/configure: File removed.
16881 * sysdeps/pthread/Makeconfig: New file.
16882 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16883 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16885 2012-08-16 Gary Benson <gbenson@redhat.com>
16887 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16888 unmapping the first object in a namespace.
16890 2012-08-16 Roland McGrath <roland@hack.frob.com>
16892 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16893 (__internal_setnetgrent): ... this. Add internal_function to
16894 definition. Add libc_hidden_def.
16895 (setnetgrent): Update caller.
16896 (internal_endnetgrent): Renamed to ...
16897 (__internal_endnetgrent): ... this. Add internal_function to
16898 definition. Add libc_hidden_def.
16899 (endnetgrent): Update caller.
16900 (internal_getnetgrent_r): Renamed to ...
16901 (__internal_getnetgrent_r): ... this. Add internal_function to
16902 definition. Add libc_hidden_def.
16903 (__getnetgrent_r): Update caller.
16904 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16906 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16908 * stdlib/longlong.h: Update from GCC.
16910 2012-08-16 Roland McGrath <roland@hack.frob.com>
16912 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16913 on _QL, which is set by umul_ppmm but never used.
16914 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16915 variables, which are set by GMP macros but never used.
16916 * stdio-common/_itowa.c (_itowa): Likewise.
16917 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16918 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16920 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16922 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16923 struct La_sh_regs is not constant.
16924 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16925 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16926 and struct La_sparc64_regs are not constant.
16928 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16930 * sysdeps/unix/sysv/linux/kernel-features.h
16931 (__ASSUME_POSIX_TIMERS): Remove.
16932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16934 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16935 Make code unconditional.
16936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16937 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16938 Make code unconditional.
16939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16940 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16941 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16943 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16944 Make code unconditional.
16945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16946 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16947 (__libc_missing_posix_timers): Remove.
16949 2012-08-15 Roland McGrath <roland@hack.frob.com>
16951 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16952 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16954 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16956 * elf/dl-sym.c: Include <stdlib.h>.
16958 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16959 constants, which avoids warnings in 32-bit builds.
16961 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16962 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16964 * misc/lseek.c: File moved to ...
16965 * io/lseek.c: ... here.
16967 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16969 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16970 shifting LEN more than 31 bits at once.
16972 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16975 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16976 segmentation fault for a case of two empty input strings.
16977 * string/test-strncasecmp.c (check1): Renamed to...
16978 (bz12205): ...this.
16979 (bz14195): Add new testcase for two empty input strings and N > 0.
16980 (test_main): Call new testcase, adapt for renamed function.
16982 2012-08-15 Andreas Jaeger <aj@suse.de>
16985 * crypt/md5test2.c: New test, based on test supplied by Serge
16986 Belyshev <belyshev@depni.sinp.msu.ru>.
16987 * crypt/Makefile (xtests): Add md5test-giant..
16988 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16990 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16993 * crypt/md5.c (md5_process_block): Don't assume the buffer
16994 length is less than 2**32.
16995 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16996 length is less than 2**64.
16998 2012-08-15 Roland McGrath <roland@hack.frob.com>
17000 * string/str-two-way.h: Include <sys/param.h>.
17001 (MAX): Macro removed.
17003 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17004 Move #define and #undef of memmove to just before and after
17005 including <string.h>.
17007 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17008 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17009 and after including <string.h>. Move declarations of
17010 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17011 to before #include "string/memmove.c".
17013 * include/dirent.h: Declare __getdirentries.
17015 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17016 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17018 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17020 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17021 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17022 * sysdeps/i386/configure: Regenerated.
17023 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17024 STABS_CURRENT_FILE, and STABS_FUN.
17025 (END): Remove call to STABS_FUN_END.
17026 (STABS_CURRENT_FILE1): Delete.
17027 (STABS_CURRENT_FILE): Likewise.
17028 (STABS_FUN): Likewise.
17029 (STABS_FUN_END): Likewise.
17030 (STABS_FUN2): Likewise.
17031 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17032 * sysdeps/x86_64/configure: Regenerated.
17034 2012-08-14 Roland McGrath <roland@hack.frob.com>
17036 * elf/dl-open.c: Include <atomic.h>.
17037 * elf/dl-lookup.c: Likewise.
17039 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17041 * sysdeps/unix/sysv/linux/kernel-features.h
17042 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17043 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17045 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17047 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17048 condition on __ASSUME_CLONE_THREAD_FLAGS.
17050 2012-08-14 Andreas Jaeger <aj@suse.de>
17052 * sysdeps/i386/fpu/libm-test-ulps: Update.
17054 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17056 * include/atomic.h (atomic_exchange_and_add): Split into ...
17057 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17060 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17064 2012-08-13 Jeff Law <law@redhat.com>
17066 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17067 null byte in the output string.
17069 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17071 * sysdeps/unix/sysv/linux/kernel-features.h
17072 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17073 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17074 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17075 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17076 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17077 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17078 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17080 2012-08-09 Jeff Law <law@redhat.com>
17083 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17084 When avoid_arena is set, don't retry in the that arena. Pick the
17085 next one, whatever it might be.
17086 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17087 (arena_lock): Pass in new parameter to arena_get2.
17088 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17090 (__libc_malloc): Unify retrying after main arena failure with
17091 __libc_memalign version.
17092 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17094 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17097 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17098 to __redirect_strstr.
17099 (__strstr_sse42): Use typeof __redirect_strstr.
17100 (__strstr_ia32): Likewise.
17101 (__libc_strstr): New prototype.
17102 (strstr): Renamed to ...
17103 (__libc_strstr): This.
17104 (strstr): New strong alias of __libc_strstr.
17105 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17106 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17109 (__libc_time): New prototype.
17110 (time_ifunc): Replace time with __libc_time.
17111 (time): New strong alias and hidden definition of __libc_time.
17112 (__GI_time): Remove strong alias.
17113 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17114 Include <stddef.h>.
17115 (memmove): Redefined to __redirect_memmove.
17116 (__memmove_sse2): Use typeof __redirect_memmove.
17117 (__memmove_ssse3): Likewise.
17118 (__memmove_ssse3_back): Likewise.
17119 (__libc_memmove): New prototype.
17120 (memmove): Renamed to ...
17121 (__libc_memmove): This.
17122 (memmove): New strong alias of __libc_memmove.
17124 2012-08-08 Mark Salter <msalter@redhat.com>
17127 (R_MN10300_TLS_GD): Define.
17128 (R_MN10300_TLS_LD): Likewise.
17129 (R_MN10300_TLS_LDO): Likewise.
17130 (R_MN10300_TLS_GOTIE): Likewise.
17131 (R_MN10300_TLS_IE): Likewise.
17132 (R_MN10300_TLS_LE): Likewise.
17133 (R_MN10300_TLS_DTPMOD): Likewise.
17134 (R_MN10300_TLS_DTPOFF): Likewise.
17135 (R_MN10300_TLS_TPOFF): Likewise.
17136 (R_MN10300_SYM_DIFF): Likewise.
17137 (R_MN10300_ALIGN): Likewise.
17138 (R_MN10300_NUM): Update.
17140 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17145 2012-08-08 Roland McGrath <roland@hack.frob.com>
17147 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17149 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17150 sysdeps/unix -> sysdeps/posix move.
17151 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17153 2012-08-07 Allan McRae <allan@archlinux.org>
17156 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17157 (SUNOS_CPP): Likewise.
17158 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17160 (open_input): Call CPP using execvp.
17162 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17164 * sysdeps/unix/sysv/linux/kernel-features.h
17165 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17166 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17167 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17168 (__ASSUME_WAITID_SYSCALL): Likewise.
17169 * sysdeps/unix/sysv/linux/dl-execstack.c
17170 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17171 code unconditional.
17172 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17175 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17176 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17178 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17180 [__ASSUME_WAITID_SYSCALL]: Likewise.
17181 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17183 2012-08-07 Roland McGrath <roland@hack.frob.com>
17185 * sysdeps/unix/closedir.c: Renamed to ...
17186 * sysdeps/posix/closedir.c: ... here.
17187 * sysdeps/unix/dirfd.c: Renamed to ...
17188 * sysdeps/posix/dirfd.c: ... here.
17189 * sysdeps/unix/dirstream.h: Renamed to ...
17190 * sysdeps/posix/dirstream.h: ... here.
17191 * sysdeps/unix/fdopendir.c: Renamed to ...
17192 * sysdeps/posix/fdopendir.c: ... here.
17193 * sysdeps/unix/opendir.c: Renamed to ...
17194 * sysdeps/posix/opendir.c: ... here.
17195 * sysdeps/unix/readdir.c: Renamed to ...
17196 * sysdeps/posix/readdir.c: ... here.
17197 * sysdeps/unix/readdir_r.c: Renamed to ...
17198 * sysdeps/posix/readdir_r.c: ... here.
17199 * sysdeps/unix/rewinddir.c: Renamed to ...
17200 * sysdeps/posix/rewinddir.c: ... here.
17201 * sysdeps/unix/seekdir.c: Renamed to ...
17202 * sysdeps/posix/seekdir.c: ... here.
17203 * sysdeps/unix/telldir.c: Renamed to ...
17204 * sysdeps/posix/telldir.c: ... here.
17205 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17206 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17207 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17208 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17210 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17211 * bits/fcntl.h: ... here.
17213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17215 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17216 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17217 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17218 (struct flock): Move l_start, l_len to the beginning.
17219 Use __pid_t for l_pid.
17220 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17221 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17222 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17223 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17224 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17225 [__USE_LARGEFILE64] (struct flock64): New type.
17226 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17228 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17229 * bits/dirent.h: ... here.
17231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17232 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17234 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17237 Change from 2.6.0 to 2.6.16.
17238 * sysdeps/unix/sysv/linux/configure: Regenerated.
17239 * sysdeps/unix/sysv/linux/kernel-features.h
17240 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17241 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17243 (__ASSUME_UTIMES): Likewise.
17244 (__ASSUME_CLONE_STOPPED): Remove.
17245 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17246 architectures, not kernel version.
17247 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17248 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17249 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17250 (__ASSUME_WAITID_SYSCALL): Likewise.
17251 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17252 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17253 * README: State 2.6.16 as minimum Linux kernel version. Do not
17254 refer to older versions.
17256 2012-08-06 Roland McGrath <roland@hack.frob.com>
17258 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17259 Define alphasort64 as an alias.
17260 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17261 Define versionsort64 as an alias.
17262 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17263 Define scandir64 as an alias.
17264 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17265 Define scandirat64 as an alias.
17266 * dirent/alphasort64.c (alphasort64):
17267 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17268 * dirent/versionsort64.c: Likewise.
17269 * dirent/scandir64.c: Likewise.
17270 * dirent/scandirat64.c: Likewise.
17271 * sysdeps/wordsize-64/alphasort.c: File removed.
17272 * sysdeps/wordsize-64/alphasort64.c: File removed.
17273 * sysdeps/wordsize-64/scandir.c: File removed.
17274 * sysdeps/wordsize-64/scandir64.c: File removed.
17275 * sysdeps/wordsize-64/scandirat.c: File removed.
17276 * sysdeps/wordsize-64/scandirat64.c: File removed.
17277 * sysdeps/wordsize-64/versionsort.c: File removed.
17278 * sysdeps/wordsize-64/versionsort64.c: File removed.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17288 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17290 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17292 [defined __arch64__ || defined __sparcv9]
17293 (__INO_T_MATCHES_INO64_T): New macro.
17294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17295 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17296 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17297 * sysdeps/unix/sysv/linux/bits/dirent.h
17298 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17299 (_DIRENT_MATCHES_DIRENT64): New macro.
17301 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17302 Define lockf64 as an alias.
17303 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17304 Define fseeko64 as an alias.
17305 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17306 Define ftello64 as an alias.
17307 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17308 Define _IO_fgetpos64 and fgetpos64 as aliases.
17309 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17310 Define _IO_fsetpos64 and fsetpos64 as aliases.
17311 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17312 Conditionalize body on this.
17313 * libio/fseeko64.c: Likewise.
17314 * libio/ftello64.c: Likewise.
17315 * libio/iofgetpos64.c: Likewise.
17316 * libio/iofsetpos64.c: Likewise.
17317 * sysdeps/wordsize-64/lockf.c: File removed.
17318 * sysdeps/wordsize-64/lockf64.c: File removed.
17319 * sysdeps/wordsize-64/fseeko.c: File removed.
17320 * sysdeps/wordsize-64/fseeko64.c: File removed.
17321 * sysdeps/wordsize-64/ftello.c: File removed.
17322 * sysdeps/wordsize-64/ftello64.c: File removed.
17323 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17324 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17325 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17326 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17327 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17338 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17340 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17342 [defined __arch64__ || defined __sparcv9]
17343 (__OFF_T_MATCHES_OFF64_T): New macro.
17344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17345 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17347 (__OFF_T_MATCHES_OFF64_T): New macro.
17349 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17351 * stdlib/secure-getenv.c (__secure_getenv): Replace
17352 GLIBC_2_16 with GLIBC_2_17.
17354 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17356 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17357 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17359 2012-08-03 David S. Miller <davem@davemloft.net>
17361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17363 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17367 (__ASSUME_CORRECT_SI_PID): Likewise.
17368 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17369 (__ASSUME_TMPFS_NAME): Likewise.
17370 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17371 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17372 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17373 (HAVE_AUX_SECURE): Make definition unconditional.
17374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17375 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17377 2012-08-03 Roland McGrath <roland@hack.frob.com>
17379 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17380 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17381 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17383 __eloop_threshold instead of SYMLOOP_MAX.
17385 * sysdeps/generic/eloop-threshold.h: New file.
17386 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17388 * elf/chroot_canon.c (chroot_canon): Likewise.
17390 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17394 Change to 2.6.0 everywhere.
17395 * sysdeps/unix/sysv/linux/configure: Regenerated.
17396 * sysdeps/unix/sysv/linux/kernel-features.h
17397 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17398 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17400 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17401 (__ASSUME_FUTEX_REQUEUE): Remove.
17402 (__ASSUME_STATFS64): Define unconditionally.
17403 (__ASSUME_AT_SECURE): Likewise.
17404 (__ASSUME_CORRECT_SI_PID): Likewise.
17405 (__ASSUME_TGKILL): Define without depending on kernel version for
17407 (__ASSUME_UTIMES): Likewise.
17408 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17410 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17411 (__ASSUME_TMPFS_NAME): Likewise.
17412 * README: Update reference to Linux kernel versions.
17414 2012-08-02 Marek Polacek <polacek@redhat.com>
17417 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17418 libc_cv_asm_type_prefix with %.
17419 * configure: Regenerated.
17420 * include/libc-symbols.h: Remove comment about
17421 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17422 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17423 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17424 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17425 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17426 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17427 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17428 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17429 * elf/tst-unique2mod1.c: Likewise.
17430 * elf/tst-unique1mod2.c: Likewise.
17431 * elf/tst-unique1mod1.c: Likewise.
17432 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17433 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17434 Replace ASM_TYPE_DIRECTIVE with .type.
17435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17436 * sysdeps/i386/sysdep.h: Likewise.
17437 * sysdeps/x86_64/sysdep.h: Likewise.
17438 * sysdeps/sh/sysdep.h: Likewise.
17439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17440 Do not define ASM_TYPE_DIRECTIVE.
17441 * sysdeps/powerpc/sysdep.h: Likewise.
17442 * sysdeps/powerpc/powerpc32/sysdep.h:
17443 Replace ASM_TYPE_DIRECTIVE with .type.
17444 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17446 * sysdeps/i386/fpu/e_powf.S: Likewise.
17447 * sysdeps/i386/fpu/e_expl.S: Likewise.
17448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17450 * sysdeps/i386/fpu/e_pow.S: Likewise.
17451 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17452 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17453 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17454 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17455 * sysdeps/i386/fpu/e_log2.S: Likewise.
17456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17458 * sysdeps/i386/fpu/e_powl.S: Likewise.
17459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17461 * sysdeps/i386/fpu/e_logl.S: Likewise.
17462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17463 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17464 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17465 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17467 * sysdeps/i386/fpu/e_log.S: Likewise.
17468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17469 * sysdeps/i386/fpu/e_logf.S: Likewise.
17470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17472 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17473 * sysdeps/i386/fpu/e_log10.S: Likewise.
17474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17480 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17481 * sysdeps/i386/i686/strtok.S: Likewise.
17482 * sysdeps/i386/i386-mcount.S: Likewise.
17483 * sysdeps/i386/strtok.S: Likewise.
17484 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17487 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17490 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17491 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17493 * sysdeps/x86_64/_mcount.S: Likewise.
17494 * sysdeps/x86_64/strtok.S: Likewise.
17495 * sysdeps/sh/_mcount.S: Likewise.
17497 2012-08-01 Roland McGrath <roland@hack.frob.com>
17499 * libio/iofopen.c: Include <fcntl.h>.
17500 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17501 (_IO_fopen64, fopen64): Define as aliases.
17502 * libio/iofopen64.c: Include <fcntl.h>.
17503 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17504 Conditionalize body on this.
17505 * sysdeps/wordsize-64/iofopen.c: File removed.
17506 * sysdeps/wordsize-64/iofopen64.c: File removed.
17508 2012-08-01 Marek Polacek <polacek@redhat.com>
17510 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17511 Use dlfcn directly instead of a variable.
17512 (binfmt-subdir): Do not define.
17515 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17518 Remove all definitions.
17519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17520 <kernel-features.h>.
17521 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17522 (miss_F_GETOWN_EX): Remove all definitions.
17523 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17525 [!__ASSUME_FCNTL64]: Remove conditional code.
17526 [__ASSUME_FCNTL64]: Make code unconditional.
17527 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17528 <kernel-features.h>.
17529 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17530 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17531 (lockf64) [__NR_fcntl64]: Make code unconditional.
17532 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17534 * sysdeps/unix/sysv/linux/kernel-features.h
17535 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17536 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17537 Make code unconditional.
17538 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17539 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17541 [__NR_vfork]: Make code unconditional.
17542 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17543 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17545 [__NR_vfork]: Make code unconditional.
17546 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17547 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17549 2012-08-01 Roland McGrath <roland@hack.frob.com>
17551 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17552 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17554 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17555 Define mkstemp64 as an alias.
17556 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17557 Define mkstemps64 as an alias.
17558 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17559 Define mkostemp64 as an alias.
17560 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17561 Define mkostemps64 as an alias.
17562 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17563 Conditionalize body on this.
17564 * misc/mkostemp64.c: Likewise.
17565 * misc/mkostemps64.c: Likewise.
17566 * misc/mkstemps64.c: Likewise.
17567 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17568 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17569 * sysdeps/wordsize-64/mkostemp.c: File removed.
17570 * sysdeps/wordsize-64/mkstemp.c: File removed.
17571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17573 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17577 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17579 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17580 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17582 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17583 compat_symbol macros from <shlib-compat.h> rather than the underlying
17584 default_symbol_version and symbol_version macros, so that DEFAULT
17585 lines in shlib-versions are respected.
17586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17588 2012-08-01 Florian Weimer <fweimer@redhat.com>
17590 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17591 Declare with warn_unused_result.
17592 (setgid, setregid, setegid, setresgid): Likewise.
17593 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17595 * WUR-REPORT: Remove set*id functions.
17597 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17599 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17601 2012-07-31 Roland McGrath <roland@hack.frob.com>
17604 * include/sys/socket.h (__libc_accept, __libc_accept4):
17605 Add attribute_hidden.
17606 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17610 * inet/getnetgrent_r.c (setup): Likewise.
17612 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17614 2012-07-31 David S. Miller <davem@davemloft.net>
17616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17618 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17621 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17622 value between 1.0 and 2.0 and smaller part has absolute value less
17624 * math/s_clog10.c (__clog10): Likewise.
17625 * math/s_clog10f.c (__clog10f): Likewise.
17626 * math/s_clog10l.c (__clog10l): Likewise.
17627 * math/s_clogf.c (__clogf): Likewise.
17628 * math/s_clogl.c (__clogl): Likewise.
17629 * math/libm-test.inc (clog_test): Add more tests.
17630 (clog10_test): Likewise.
17631 * sysdeps/i386/fpu/libm-test-ulps: Update.
17632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17634 2012-07-31 Florian Weimer <fweimer@redhat.com>
17636 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17637 Exit with zero in case no suitable GID is found, and write a
17638 message to standard error.
17640 2012-07-30 Roland McGrath <roland@hack.frob.com>
17642 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17644 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17645 (MAXPATHLEN): Removed.
17646 (NOGROUP, NODEV): New macros.
17647 (setbit, clrbit, isset, isclr): New macros.
17648 (howmany, roundup, powerof2): New macros.
17649 (DEV_BSIZE): New macro.
17651 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17652 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17654 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17655 definition on [!__NO_LONG_DOUBLE_MATH].
17657 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17658 PTR_MANGLE and PTR_DEMANGLE.
17660 * socket/accept4.c (accept4): Rename to __libc_accept4.
17661 Define accept4 as a weak alias.
17663 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17664 on [_DIRENT_HAVE_D_TYPE].
17665 * io/ftw.c (ftw_dir): Likewise.
17667 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17669 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17671 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17672 Use the BSD numbers rather than the arbitrary ones we had.
17673 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17674 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17675 (SIGXCPU, SIGXFSZ): New macros.
17678 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17679 initializer on [_LIBC_REENTRANT].
17681 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17682 definitions inside [_POSIX_MAPPED_FILES].
17684 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17686 * dirent/opendir.c: Include <fcntl.h>.
17688 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17689 (__libc_getspecific): Likewise.
17690 (__libc_key_create): Likewise.
17692 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17693 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17694 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17695 (tmpfile64): Define as alias.
17696 * sysdeps/wordsize-64/tmpfile.c: File removed.
17697 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17701 * stdio-common/vfscanf.c: Include <stdbool.h>.
17702 * nss/makedb.c: Likewise.
17703 * stdio-common/_i18n_number.h: Likewise.
17704 * argp/argp-help.c: Likewise.
17705 * posix/wordexp.c: Likewise.
17706 * sysdeps/posix/spawni.c: Likewise.
17707 * nss/nss_files/files-initgroups.c: Likewise.
17708 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17709 * nss/nss_files/files-initgroups.c: Likewise.
17710 * nss/nss_db/db-netgrp.c: Likewise.
17711 * nss/nss_db/db-initgroups.c: Likewise.
17712 * io/fchmodat.c: Include <sys/stat.h>.
17714 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17715 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17717 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17720 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17721 Add multiple inclusion protection.
17723 2012-07-27 David S. Miller <davem@davemloft.net>
17725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17727 2012-07-27 Gary Benson <gbenson@redhat.com>
17730 * elf/rtld.c: Include <stap-probe.h>.
17731 (dl_main): Added static probes "init_start" and "init_complete".
17732 * elf/dl-load.c: Include <stap-probe.h>.
17733 (lose): Take new parameter "nsid".
17734 Added static probe "map_failed".
17735 (_dl_map_object_from_fd): Pass namespace id to lose.
17736 Added static probe "map_start".
17737 (open_verify): Pass namespace id to lose.
17738 * elf/dl-open.c: Include <stap-probe.h>.
17739 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17740 and "reloc_complete".
17741 * elf/dl-close.c: Include <stap-probe.h>.
17742 (_dl_close_worker): Added static probes "unmap_start" and
17744 * elf/rtld-debugger-interface.txt: New file documenting the above.
17746 2012-07-26 Roland McGrath <roland@hack.frob.com>
17748 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17749 rather than a string variable.
17750 * sunrpc/rpc_main.c (h_output): Likewise.
17751 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17753 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17755 * inet/check_native.c: New file.
17757 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17760 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17761 if larger part has absolute value 1.0.
17762 * math/s_clog10.c (__clog10): Likewise.
17763 * math/s_clog10f.c (__clog10f): Likewise.
17764 * math/s_clog10l.c (__clog10l): Likewise.
17765 * math/s_clogf.c (__clogf): Likewise.
17766 * math/s_clogl.c (__clogl): Likewise.
17767 * math/libm-test.inc (clog_test): Add more tests.
17768 (clog10_test): Likewise.
17769 * sysdeps/i386/fpu/libm-test-ulps: Update.
17770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17772 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17773 (pltexit): Likewise.
17774 (La_regs): Likewise.
17775 (La_retval): Likewise.
17776 (int_retval): Likewise.
17777 Update #error for removed macros to refer only to definitions in
17779 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17781 (pltexit): Likewise.
17782 (La_regs): Likewise.
17783 (La_retval): Likewise.
17784 (int_retval): Likewise.
17785 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17787 (pltexit): Likewise.
17788 (La_regs): Likewise.
17789 (La_retval): Likewise.
17790 (int_retval): Likewise.
17791 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17793 (pltexit): Likewise.
17794 (La_regs): Likewise.
17795 (La_retval): Likewise.
17796 (int_retval): Likewise.
17797 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17799 (pltexit): Likewise.
17800 (La_regs): Likewise.
17801 (La_retval): Likewise.
17802 (int_retval): Likewise.
17803 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17805 (pltexit): Likewise.
17806 (La_regs): Likewise.
17807 (La_retval): Likewise.
17808 (int_retval): Likewise.
17809 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17811 (pltexit): Likewise.
17812 (La_regs): Likewise.
17813 (La_retval): Likewise.
17814 (int_retval): Likewise.
17815 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17816 macro definitions in tst-audit.h.
17817 * sysdeps/i386/tst-audit.h: New file.
17818 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17819 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17820 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17821 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17822 * sysdeps/sh/tst-audit.h: Likewise.
17823 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17824 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17825 * sysdeps/x86_64/tst-audit.h: Likewise.
17827 2012-07-26 Andreas Jaeger <aj@suse.de>
17829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17832 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17833 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17834 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17836 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17837 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17840 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17843 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17845 (si_call_addr, si_syscall, si_arch): Define new macro.
17846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17848 (si_call_addr, si_syscall, si_arch): Define new marcro.
17849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17851 (si_call_addr, si_syscall, si_arch): Define new macro.
17852 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17854 (si_call_addr, si_syscall, si_arch): Define new macro.
17856 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17860 Change to 2.4.21 where previously 2.4.1.
17861 * sysdeps/unix/sysv/linux/configure: Regenerated.
17862 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17863 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17864 Linux kernel version.
17865 (__ASSUME_STD_AUXV): Remove.
17866 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17868 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17869 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17870 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17871 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17872 (__ASSUME_NETLINK_SUPPORT): Likewise.
17873 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17874 (__no_netlink_support): Remove conditional definition.
17875 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17877 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17878 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17879 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17880 (if_nameindex_ioctl): Remove.
17881 (if_nameindex_netlink): Do not handle __no_netlink_support.
17882 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17884 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17885 Remove conditional code.
17886 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17888 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17890 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17891 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17892 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17894 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17895 [!__ASSUME_STD_AUXV]: Remove conditional code.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17897 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17898 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17900 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17903 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17905 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17906 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17908 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17910 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17913 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17916 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17917 code unconditional.
17918 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17920 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17922 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17925 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17927 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17930 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17931 code unconditional.
17932 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17934 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17936 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17939 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17940 code unconditional.
17941 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17943 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17945 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17948 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17950 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17951 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17952 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17953 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17954 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17955 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17957 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17958 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17959 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17960 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17961 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17962 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17963 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17965 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17966 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17968 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17971 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17974 2012-07-25 Florian Weimer <fweimer@redhat.com>
17976 * Versions.def: Add GLIBC_2.17.
17977 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17978 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17979 Introduce __libc_secure_getenv.
17980 * stdlib/Versions (2.17): Add secure_getenv
17981 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17982 * stdlib/secure-getenv.c: Rename __secure_getenv to
17983 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17984 symbol __secure_getenv for GLIBC_2.0.
17985 * stdlib/tst-secure-getenv.c: New.
17986 * stdlib/Makefile (tests): Add testcase.
17987 * manual/startup.texi (Environment Access): Document
17989 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17990 __libc_secure_getenv.
17991 * inet/ruserpass.c (ruserpass): Likewise.
17992 * malloc/mtrace.c (mtrace): Likewise.
17993 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17994 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17995 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17996 * sysdeps/posix/tempname.c: Likewise. Evaluate
17997 HAVE_SECURE_GETENV.
17998 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17999 __secure_getenv to __libc_secure_getenv.
18000 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18013 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18015 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18016 (struct La_i86_retval): Likewise.
18017 (struct La_x86_64_regs): Likewise.
18018 (struct La_x86_64_retval): Likewise.
18019 (struct La_x32_regs): Likewise.
18020 (struct La_x32_retval): Likewise.
18021 (struct La_ppc32_regs): Likewise.
18022 (struct La_ppc32_retval): Likewise.
18023 (struct La_ppc64_regs): Likewise.
18024 (struct La_ppc64_retval): Likewise.
18025 (struct La_sh_regs): Likewise.
18026 (struct La_sh_retval): Likewise.
18027 (struct La_s390_32_regs): Likewise.
18028 (struct La_s390_32_retval): Likewise.
18029 (struct La_s390_64_regs): Likewise.
18030 (struct La_s390_64_retval): Likewise.
18031 (struct La_sparc32_regs): Likewise.
18032 (struct La_sparc32_retval): Likewise.
18033 (struct La_sparc64_regs): Likewise.
18034 (struct La_sparc64_retval): Likewise.
18035 (struct audit_ifaces): Remove architecture-specific pltenter and
18037 * sysdeps/i386/ldsodefs.h: New file.
18038 * sysdeps/powerpc/ldsodefs.h: Likewise.
18039 * sysdeps/s390/ldsodefs.h: Likewise.
18040 * sysdeps/sh/ldsodefs.h: Likewise.
18041 * sysdeps/sparc/ldsodefs.h: Likewise.
18042 * sysdeps/x86_64/ldsodefs.h: Likewise.
18044 2012-07-25 Marek Polacek <polacek@redhat.com>
18047 * math/libm-test.inc (yn_test): Add another test.
18048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18049 to ERANGE when the result is +-Inf.
18050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18051 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18052 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18053 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18055 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18057 * conform/data/time.h-data (NULL): Use macro-constant. Require
18059 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18061 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18063 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18065 * configure.in <sysdeps resolving>: Correct printing
18067 * configure: Regenerate.
18069 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18071 * math/w_ilogb.c: Include <limits.h>.
18072 * math/w_ilogbl.c: Likewise.
18074 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18076 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18077 va_copy. Document allowing for unavailable va_copy only as
18078 pre-C99 compatibility.
18079 * manual/string.texi (Copying and Concatenation): Use va_copy
18080 instead of __va_copy in concat example.
18082 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18084 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18085 (__sendto): Use create_address_port. Initialize APORT and deallocate
18088 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18089 with O_NOLINK passed to __file_name_lookup.
18091 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18092 with O_NOLINK passed to __file_name_lookup.
18094 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18095 negative N or less than NGIDS.
18097 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18098 type to string_t. Set ERANGE as errno and return it if NAME is not big
18099 enough. Use memcpy instead of strncpy.
18101 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18103 * elf/Makefile (check-data): Remove.
18104 (localplt.data): New vpath directive.
18105 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18106 instead of $(check-data).
18107 * scripts/data/localplt-generic.data: Move to ...
18108 * sysdeps/generic/localplt.data: ... here.
18109 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18110 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18111 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18114 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18117 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18120 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18123 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18126 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18130 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18132 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18133 PPC32 and PPC64 files.
18134 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18135 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18137 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18139 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18140 __makecontext_ret to ...
18141 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18142 ... here and call exit if uc_link is NULL. New file.
18143 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18144 __makecontext_ret.S.
18145 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18146 __makecontext_ret to ...
18147 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18148 ... here and call exit if uc_link is NULL. New file.
18149 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18150 __makecontext_ret.S.
18152 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18154 * elf/elf.h (R_390_IRELATIVE): New definition.
18155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18156 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18157 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18158 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18159 (elf_machine_lazy_rel): Likewise.
18160 * sysdeps/s390/dl-irel.h: New file.
18161 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18162 * sysdeps/s390/s390-64/memset.S: New asm code.
18163 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18164 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18166 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18167 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18168 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18169 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18170 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18171 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18172 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18173 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18174 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18175 * sysdeps/s390/s390-32/memset.S: New asm code.
18176 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18178 2012-07-17 Marek Polacek <polacek@redhat.com>
18181 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18182 * sysdeps/s390/s390-64/configure.in: Likewise.
18183 * sysdeps/sparc/configure.in: Likewise.
18184 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18185 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18186 * sysdeps/i386/configure.in: Likewise.
18187 * sysdeps/x86_64/configure.in: Likewise.
18188 * sysdeps/sh/configure.in: Likewise.
18189 * sysdeps/s390/s390-32/configure: Regenerated.
18190 * sysdeps/s390/s390-64/configure: Likewise.
18191 * sysdeps/x86_64/configure: Likewise.
18192 * sysdeps/sh/configure: Likewise.
18193 * sysdeps/powerpc/powerpc64/configure: Likewise.
18194 * sysdeps/powerpc/powerpc32/configure: Likewise.
18195 * sysdeps/sparc/configure: Likwise.
18196 * sysdeps/i386/configure: Likewise.
18198 * elf/dl-open.c: Comment fixes.
18200 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18202 * Makefile [CXX] (check-data): Remove.
18203 [CXX] (c++-types.data): New vpath directive.
18204 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18205 vpath. Do not allow for C++ type data being missing.
18206 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18207 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18208 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18209 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18210 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18211 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18212 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18215 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18218 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18221 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18224 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18227 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18230 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18233 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18236 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18237 definitions to architecture-specific files.
18238 (TLS_IE): Likewise.
18239 (TLS_LD): Likewise.
18240 (TLS_GD): Likewise.
18241 * sysdeps/i386/tls-macros.h: New file.
18242 * sysdeps/powerpc/tls-macros.h: Likewise.
18243 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18244 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18245 * sysdeps/sh/tls-macros.h: Likewise.
18246 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18247 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18248 * sysdeps/x86_64/tls-macros.h: Likewise.
18250 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18253 zero value for regular exit case.
18255 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18256 (__start_context): Preserve zero value for regular exit case.
18258 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18259 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18261 * manual/setjmp.texi (setcontext): Clarify normal process
18262 termination when uc_link is the null pointer.
18263 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18266 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18268 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18269 preprocessor. Test for each exception mask separately.
18271 2012-07-16 Andreas Jaeger <aj@suse.de>
18273 * po/ru.po: Update from translation team.
18275 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18277 * conform/data/string.h-data (NULL): Use macro-constant. Require
18279 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18280 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18281 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18282 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18285 2012-07-13 Andreas Jaeger <aj@suse.de>
18287 * po/fr.po: Update from translation team.
18289 2012-07-12 Marek Polacek <polacek@redhat.com>
18292 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18296 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18300 Change to 2.4.1 where previously 2.4.0.
18301 * sysdeps/unix/sysv/linux/configure: Regenerated.
18302 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18303 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18305 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18306 (__ASSUME_AT_CLKTCK): Remove.
18307 (__ASSUME_AT_PAGESIZE): Likewise.
18308 (__ASSUME_AT_XID): Likewise.
18309 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18310 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18311 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18313 (HAVE_AUX_PAGESIZE): Likewise.
18314 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18315 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18316 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18318 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18322 the temporary buffer used to invoke __gethostbyname2_r,
18323 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18324 host_data / struct gaih_addrtuple.
18325 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18326 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18327 header file nss/nsswitch.h.
18328 * nss/nsswitch.h (global scope): Add definition of implementation
18329 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18330 resolv/nss_dns/dns-host.c).
18332 2012-07-11 Andreas Jaeger <aj@suse.de>
18334 * po/fr.po: Update from translation team.
18336 * po/sv.po: Update from translation team
18337 * po/fr.po: Another update from translation team.
18339 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18342 for subnormals or multiply small sinh result by itself.
18343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18346 2012-07-11 David S. Miller <davem@davemloft.net>
18348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18350 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18353 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18354 (INTERNAL_MARK): Shift it here.
18356 2012-07-10 Marek Polacek <polacek@redhat.com>
18359 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18360 libc_cv_asm_global_directive with .globl.
18361 * configure: Regenerated.
18362 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18364 * sysdeps/i386/configure: Regenerated.
18365 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18367 * sysdeps/x86_64/configure: Regenerated.
18368 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18369 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18370 * elf/tst-unique2mod2.c: Likewise.
18371 * elf/tst-unique2mod1.c: Likewise.
18372 * elf/tst-unique1mod2.c: Likewise.
18373 * elf/tst-unique1mod1.c: Likewise.
18374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18375 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18378 * sysdeps/mach/sysdep.h: Likewise.
18379 * sysdeps/i386/sysdep.h: Likewise.
18380 * sysdeps/i386/i386-mcount.S: Likewise.
18381 * sysdeps/x86_64/_mcount.S: Likewise.
18382 * sysdeps/x86_64/sysdep.h: Likewise.
18383 * sysdeps/sh/_mcount.S: Likewise.
18384 * sysdeps/sh/sysdep.h: Likewise.
18385 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18386 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18387 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18389 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18390 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18391 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18392 * locale/localeinfo.h: Likewise.
18393 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18394 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18396 2012-07-09 Roland McGrath <roland@hack.frob.com>
18399 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18401 * manual/message.texi (The Uniforum approach): Likewise.
18402 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18403 (glibc iconv Implementation): Likewise.
18405 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18408 * math/s_clog.c (__clog): Avoid scaling a value down where that
18409 could result in underflow.
18410 * math/s_clog10.c (__clog10): Likewise.
18411 * math/s_clog10f.c (__clog10f): Likewise.
18412 * math/s_clog10l.c (__clog10l): Likewise.
18413 * math/s_clogf.c (__clogf): Likewise.
18414 * math/s_clogl.c (__clogl): Likewise.
18415 * math/libm-test.inc (clog_test): Add more tests.
18416 (clog10_test): Likewise.
18417 * sysdeps/i386/fpu/libm-test-ulps: Update.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18420 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18423 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18424 by 7 not 8 to examine high bit of fractional part.
18427 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18428 for call to __mcount_internal.
18429 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18430 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18431 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18433 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18436 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18437 approximation for values within 0x1p-13f of an odd multiple of
18439 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18440 exception. Add more tests.
18441 * sysdeps/i386/fpu/libm-test-ulps: Update.
18444 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18445 inputs and return -1 for them. Do not check for +Inf in case not
18446 reachable for +Inf.
18447 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18448 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18450 and return -1 for them. Do not check for +Inf in case not
18451 reachable for +Inf.
18452 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18455 and return -1 for them. Do not check for +Inf in case not
18456 reachable for +Inf.
18457 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18458 spurious underflow.
18459 * sysdeps/i386/fpu/libm-test-ulps: Update.
18460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18462 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18464 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18466 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18470 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18471 could result in spurious underflow. Scale down values above
18472 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18473 * math/s_csqrtf.c (__csqrtf): Likewise.
18474 * math/s_csqrtl.c (__csqrtl): Likewise.
18475 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18476 spurious underflow.
18477 * sysdeps/i386/fpu/libm-test-ulps: Update.
18478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18480 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18482 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18484 * catgets/xopen-msg.awk: New file.
18485 * catgets/xopen-msg.sed: Removed.
18487 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18489 * intl/po2test.awk: New file.
18490 * intl/po2test.sed: Removed.
18492 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18495 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18496 or multiply small sinh result by itself.
18497 * math/s_ctanf.c (__ctanf): Likewise.
18498 * math/s_ctanh.c (__ctanh): Likewise.
18499 * math/s_ctanhf.c (__ctanhf): Likewise.
18500 * math/s_ctanhl.c (__ctanhl): Likewise.
18501 * math/s_ctanl.c (__ctanl): Likewise.
18502 * math/libm-test.inc (ctan_test_tonearest): New function.
18503 (ctan_test_towardzero): Likewise.
18504 (ctan_test_downward): Likewise.
18505 (ctan_test_upward): Likewise.
18506 (ctanh_test_tonearest): Likewise.
18507 (ctanh_test_towardzero): Likewise.
18508 (ctanh_test_downward): Likewise.
18509 (ctanh_test_upward): Likewise.
18510 (main): Call these new functions.
18511 * sysdeps/i386/fpu/libm-test-ulps: Update.
18512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18514 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18516 * .gitignore: Delete /ports entry.
18518 2012-07-03 Andreas Jaeger <aj@suse.de>
18520 * po/bg.po: Update from translation team.
18521 * po/cs.po: Likewise.
18522 * po/de.po: Likewise.
18523 * po/hr.po: Likewise.
18524 * po/nl.pl: Likewise.
18525 * po/pl.po: Likewise.
18526 * po/vi.po: Likewise.
18528 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18530 * Makeconfig [!+link] (+link-before-libc): New variable.
18531 [!+link] (+link-after-libc): Likewise.
18532 [!+link] (+link-tests): Likewise.
18533 [!+link] (+link): Define in terms of $(+link-before-libc) and
18534 $(+link-after-libc).
18535 [!+link-static] (+link-static-before-libc): New variable.
18536 [!+link-static] (+link-static-after-libc): Likewise.
18537 [!+link-static] (+link-static-tests): Likewise.
18538 [!+link-static] (+link-static): Define in terms of
18539 $(+link-static-before-libc) and $(+link-static-after-libc).
18540 [build-shared] (link-libc-before-gnulib): New variable.
18541 [build-shared] (link-libc-tests): Likewise.
18542 [build-shared] (link-libc): Define in terms of
18543 $(link-libc-before-gnulib).
18544 [!build-shared] (link-libc-tests): New variable.
18545 (link-libc-static-tests): New variable.
18546 [!gnulib] (gnulib-arch): New variable.
18547 [!gnulib] (gnulib-tests): Likewise.
18548 [!gnulib] (static-gnulib-arch): Likewise.
18549 [!gnulib] (static-gnulib-tests): Likewise.
18550 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18551 Define with "=" instead of ":=".
18552 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18553 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18554 * Rules (binaries-all-notests): New variable.
18555 (binaries-all-tests): Likewise.
18556 (binaries-static-notests): Likewise.
18557 (binaries-static-tests): Likewise.
18558 (binaries-all): Define using $(binaries-all-notests) and
18559 $(binaries-all-tests).
18560 (binaries-static): Define using $(binaries-static-notests) and
18561 $(binaries-static-tests).
18562 (binaries-shared-tests): New variable.
18563 (binaries-shared-notests): Likewise.
18564 (binaries-shared): Remove variable.
18565 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18566 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18567 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18568 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18569 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18570 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18571 * elf/Makefile (sln-modules): New variable.
18572 (extra-objs): Add $(sln-modules:=.o).
18573 (ldconfig-modules): Add static-stubs.
18574 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18575 * elf/static-stubs.c: New file.
18578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18579 by 7 not 8 to examine high bit of fractional part. Use volatile
18580 variables when splitting into final array of floats if
18581 __FLT_EVAL_METHOD__ != 0.
18582 * math/libm-test.inc (cos_test): Add another test.
18583 (sin_test): Likewise.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18587 * math/libm-test.inc (cosh_test): Add more tests.
18589 * version.h (RELEASE): Set to "development".
18590 (VERSION): Set to "2.16.90".
18592 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18594 * NEWS: Update copyright. Remove last-updated date.
18595 Mention math library bug fixes and timezone data changes.
18596 * README: Mention GNU/Hurd, x32, and HPPA support status.
18598 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18600 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18602 2012-06-27 Andreas Jaeger <aj@suse.de>
18604 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18606 2012-06-25 Andreas Jaeger <aj@suse.de>
18608 * sysdeps/s390/fpu/libm-test-ulps: Update.
18610 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18611 Thomas Schwinge <thomas@codesourcery.com>
18613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18614 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18618 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18620 * sysdeps/mach/start.c: Remove file.
18621 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18622 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18623 * sysdeps/sh/init-first.c: Likewise.
18625 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18626 registers for frame unwinding purposes, add CFI directives.
18627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18629 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18632 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18633 __fortify_fail returning.
18634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18636 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18637 sysdeps/sh/____longjmp_chk.S.
18638 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18639 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18640 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18641 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18643 * sysdeps/sh/abort-instr.h: New file.
18644 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18645 process in case exit returns.
18647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18648 initialize the GOT register before use.
18650 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18651 calculation of ARGC > 4.
18653 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18654 meaningful names to some local labels.
18656 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18657 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18659 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18660 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18661 (__arch_compare_and_exchange_val_16_acq): Likewise.
18662 (__arch_compare_and_exchange_val_32_acq): Likewise.
18663 (atomic_exchange_and_add): Fix gUSA sequence.
18664 (atomic_add): Likewise.
18665 (atomic_add_negative): Likewise.
18666 (atomic_add_zero): Likewise.
18667 (atomic_bit_test_set): Likewise.
18669 2012-06-22 Andreas Schwab <schwab@redhat.com>
18672 * include/link.h (struct link_map): Add l_free_initfini.
18673 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18675 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18676 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18677 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18680 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18682 * configure.in: Use AC_LANG_SOURCE.
18683 * configure: Regenerate.
18685 2012-06-22 Roland McGrath <roland@hack.frob.com>
18687 * configure.in (libc_cv_localstatedir): New substituted variable.
18688 * configure: Regenerated.
18689 * config.make.in (localstatedir): New variable, substituted from
18690 libc_cv_localstatedir.
18691 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18692 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18693 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18694 * sysdeps/gnu/configure: Regenerated.
18696 2012-06-21 Jeff Law <law@redhat.com>
18699 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18700 free. Simplify list management for _LIBC case.
18702 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18705 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18706 Clear sign bit of 64-bit integer value before comparing against
18709 * sysdeps/mach/configure: Regenerated.
18711 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18714 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18716 2012-06-21 Jeff Law <law@redhat.com>
18719 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18720 uint16_t for elements in the "seen" array to avoid char overflows.
18721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18722 * elf/dl-open.c (dl_open_worker): Likewise.
18724 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18726 * scripts/list-sources.sh: Scan PORTS for translations.
18727 * po/libc.pot: Regenerated.
18729 2012-06-21 Andreas Jaeger <aj@suse.de>
18732 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18734 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18735 * bits/byteswap-16.h (__bswap_16): Likewise.
18736 * bits/byteswap.h (__bswap_constant_16): Likewise.
18738 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18741 * sysdeps/i386/fpu_control.h: Removed.
18742 * sysdeps/x86_64/fpu_control.h: Moved to ...
18743 * sysdeps/x86/fpu_control.h: Here.
18745 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18746 (_FPU_SETCW): Likewise.
18748 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18751 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18752 * sysdeps/x86/fpu/bits/mathinline.h: This.
18753 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18757 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18758 functions if __x86_64__ is defined.
18760 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18762 * string/endian.h: Add !__ASSEMBLER__ condition for including
18763 conversion interfaces.
18765 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18769 of ABS(x) in calculating zero to negative powers other than odd
18771 * math/libm-test.inc (pow_test): Add more tests.
18773 2012-06-15 Andreas Jaeger <aj@suse.de>
18775 * manual/contrib.texi (Contributors): Update entry of Liubov
18776 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18779 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18781 * string/string.h: Add __wur to GNU version of strerror_r.
18783 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18786 * string/Makefile (tests): Add tst-strtok_r.
18787 * string/tst-strtok_r.c: New file.
18788 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18789 RAX_LP/RDX_LP on SAVE_PTR.
18791 2012-06-14 Roland McGrath <roland@hack.frob.com>
18793 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18795 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18797 * libm_test.inc (csqrt_test): Allow more spurious underflow
18799 (j0_test): Likewise.
18800 (j1_test): Likewise.
18801 (y0_test): Likewise.
18802 (y1_test): Likewise.
18804 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18806 * po/Makefile (libc.pot): Use UTF-8 charset.
18808 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18811 Suppress sign-conversion warning from FD_SET.
18812 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18813 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18814 not unsigned long int.
18815 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18817 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18821 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18822 __extern_always_inline instead of __extern_inline.
18823 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18824 (__signbit): Likewise.
18825 (__signbitl): Support C++ namespace.
18826 (lrintf): New inline function.
18828 (llrintf): Likewise.
18829 (llrint): Likewise.
18839 (floorf): Likewise.
18840 (nearbyint): Likewise.
18841 (nearbyintf): Likewise.
18843 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18846 non-default versions.
18848 2012-06-11 Roland McGrath <roland@hack.frob.com>
18851 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18853 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18855 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18856 (FE_UPWARD, FE_DOWNWARD): Don't define.
18857 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18860 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18862 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18863 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18865 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18867 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18870 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18872 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18875 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18876 * sysdeps/i386/fpu/Implies: New file.
18877 * sysdeps/x86_64/fpu/Implies: Likewise.
18878 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18879 * sysdeps/x86/fpu/bits/fenv.h: This.
18881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18884 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18887 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18888 character 0xffff that matches the last element of the
18891 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18896 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18899 values higher than 25.6283.
18901 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18904 subnormal exponent extraction and add some __builtin_expect.
18905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18906 Fix for subnormal mantissa calculation.
18908 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18910 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18911 cpu2 is -1 and errno is not ENOSYS.
18913 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18916 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18917 * sysdeps/x86/bits/string.h: This.
18918 * sysdeps/x86_64/bits/string.h: Removed.
18920 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18921 if not compiling for x86-64, but compiling for >= i486.
18923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18924 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18927 New macro from Linux kernel 3.4.0.
18928 (FP_XSTATE_MAGIC2): Likewise.
18929 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18930 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18931 (struct _fpx_sw_bytes): New struct.
18932 (struct _xsave_hdr): Likewise.
18933 (struct _ymmh_state): Likewise.
18934 (struct _xstate): Likewise.
18936 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18937 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18939 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18941 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18943 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18944 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18945 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18946 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18947 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18948 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18950 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18953 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18954 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18955 (sysdep_headers): Include sys/platform/ppc.h.
18956 * sysdeps/powerpc/test-gettimebase.c: Test for
18957 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18958 * manual/Makefile (appendices): Include platform.texi.
18959 * manual/contrib.texi (Contributors): Update @node pointers.
18960 * manual/maint.texi (Maintenance): Likewise.
18961 (Platform): New node.
18962 * manual/platform.texi: New file. Document the new features.
18964 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18965 Jakub Jelinek <jakub@redhat.com>
18968 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18969 where __builtin_expect is unavailable.
18971 2012-06-03 David S. Miller <davem@davemloft.net>
18973 * stdlib/longlong.h: Updated from GCC.
18975 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18978 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18979 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18982 (GLIBC_2.16): Likewise.
18984 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18986 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18988 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18991 (default-abi): New variable.
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18993 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18995 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18997 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18999 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19002 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19003 definition. Document in comment.
19005 2012-06-01 David S. Miller <davem@davemloft.net>
19007 * stdlib/longlong.h: Updated from GCC.
19009 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19012 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19013 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19014 sys/debugreg.h sys/io.h here.
19015 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19016 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19018 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19019 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19020 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19021 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19022 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19023 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19026 Define only if __x86_64__ is defined.
19028 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19032 Use int64_t for variable i.
19033 * math/libm-test.inc (fmod_test): Add more tests.
19035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19036 z computation is not scheduled after fetestexcept.
19037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19038 Use math_force_eval instead of asm to ensure calculation scheduled
19039 before exception test.
19040 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19041 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19043 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19046 computation is not scheduled after fetestexcept.
19048 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19051 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19052 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19054 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19056 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19057 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19059 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19062 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19064 (__WCHAR_MIN): Support __WORDSIZE == 64.
19065 (__WCHAR_MAX): Likewise.
19067 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19072 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19075 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19079 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19082 Defined to 1 if __x86_64__ isn't defined.
19083 (_STAT_VER_LINUX_OLD): New.
19084 (st_atime): Remove duplicate.
19085 (st_mtime): Likewise.
19086 (st_ctime): Likewise.
19088 2012-05-31 David S. Miller <davem@davemloft.net>
19090 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19093 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19095 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19099 * elf/dl-reloc.c: Include <_itoa.h>.
19100 (_dl_reloc_bad_type): Remove use of INTUSE.
19101 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19102 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19103 * stdio-common/psiginfo.c (psiginfo): Likewise.
19104 * stdio-common/psignal.c (psignal): Likewise.
19105 * string/strsignal.c (strsignal): Likewise.
19106 * include/signal.h (_sys_siglist): Declare hidden proto.
19107 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19108 INTVARDEF with libc_hidden_data_def.
19109 * stdio-common/itoa-udigits.c: Likewise.
19110 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19111 (_itoa_lower_digits_internal): Remove declaration.
19112 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19113 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19114 (_sys_sigabbrev_internal): Remove aliases.
19115 (_sys_siglist): Define hidden alias.
19117 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19122 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19125 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19126 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19128 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19129 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19130 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19131 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19132 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19133 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19135 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19136 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19139 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19151 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19152 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19154 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19156 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19158 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19159 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19161 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19162 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19168 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19169 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19171 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19173 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19174 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19175 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19177 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19179 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19181 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19183 * math/math.h (M_El): Use two more decimal places.
19184 (M_LOG2El): Likewise.
19185 (M_LOG10El): Likewise.
19186 (M_LN2l): Likewise.
19187 (M_LN10l): Likewise.
19189 (M_PI_2l): Likewise.
19190 (M_PI_4l): Likewise.
19191 (M_1_PIl): Likewise.
19192 (M_2_PIl): Likewise.
19193 (M_2_SQRTPIl): Likewise.
19194 (M_SQRT2l): Likewise.
19195 (M_SQRT1_2l): Likewise.
19197 2012-05-31 David S. Miller <davem@davemloft.net>
19199 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19200 values between float registers.
19201 * sysdeps/sparc/sparc64/memset.S: Likewise.
19202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19204 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19206 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19207 -D_FORTIFY_SOURCE=1.
19208 (CPPFLAGS-tst-longjmp_chk.c): Define.
19209 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19210 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19211 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19212 CFLAGS-tst-wchar-h.c.
19214 2012-05-31 Marek Polacek <polacek@redhat.com>
19217 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19218 __endmntent_internal): Remove declaration.
19219 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19220 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19221 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19223 2012-05-30 David S. Miller <davem@davemloft.net>
19225 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19226 (___Q_simulate_exceptions): Use real FP ops rather than writing
19228 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19231 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19234 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19235 * sysdeps/x86/bits/xtitypes.h: This.
19237 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19238 * sysdeps/x86/bits/wordsize.h: This.
19240 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19241 * sysdeps/x86/bits/huge_vall.h: This.
19243 * sysdeps/i386/bits/select.h: Removed.
19244 * sysdeps/x86_64/bits/select.h: Renamed to ...
19245 * sysdeps/x86/bits/select.h: This.
19247 * sysdeps/i386/bits/setjmp.h: Removed.
19248 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19249 * sysdeps/x86/bits/setjmp.h: This.
19251 * sysdeps/i386/bits/mathdef.h: Removed.
19252 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19253 * sysdeps/x86/bits/mathdef.h: This.
19255 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19258 * include/sys/socket.h (__connect_internal)
19259 (__libc_sa_len_internal): Remove declaration.
19260 (__connect, __libc_sa_len): Declare hidden_proto.
19261 (SA_LEN): Remove use of INTUSE.
19262 * socket/connect.c: Add libc_hidden_def.
19263 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19264 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19265 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19267 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19268 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19269 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19270 of adding _internal alias.
19272 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19275 * sysdeps/i386/bits/link.h: Removed.
19276 * sysdeps/i386/bits/linkmap.h: Likewise.
19277 * sysdeps/x86_64/bits/link.h: Renamed to ...
19278 * sysdeps/x86/bits/link.h: This.
19279 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19280 * sysdeps/x86/bits/linkmap.h: This.
19282 * sysdeps/i386/bits/endian.h: Removed.
19283 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19284 * sysdeps/x86/bits/endian.h: This.
19286 * sysdeps/i386/bits/byteswap.h: Removed.
19287 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19288 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19289 * sysdeps/x86/bits/byteswap.h: This.
19290 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19291 * sysdeps/x86/bits/byteswap-16.h: This.
19292 * sysdeps/i386/Implies: Add x86.
19293 * sysdeps/x86_64/Implies: Likewise.
19295 2012-05-30 David S. Miller <davem@davemloft.net>
19297 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19298 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19300 (FP_TRAPPING_EXCEPTIONS): Define.
19301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19302 (FP_TRAPPING_EXCEPTIONS): Define.
19303 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19304 subnormals only when inexact has been signalled or underflow
19305 exceptions are enabled.
19306 (_FP_PACK_CANONICAL): Likewise.
19308 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19312 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19314 2012-05-30 Richard Henderson <rth@twiddle.net>
19316 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19317 with #ifndef NOT_IN_libc.
19319 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19320 marked to avoid plt entry.
19322 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19325 * Makeconfig (default-abi): New macro.
19326 (abi-includes): Likewise.
19327 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19328 $(abi-$(default-abi)-lib-soname) for soname if defined.
19329 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19331 * Makefile (installed-stubs): Likewise.
19332 * include/stubs-biarch.h: Removed.
19333 * scripts/lib-names.awk: Only handle one library at a time.
19334 * scripts/soversions.awk: Remove WORDSIZE support.
19335 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19337 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19339 (syscall-list-default-condition): Likewise.
19340 (syscall-list-default-condition): Likewise.
19341 (syscall-list-includes): Likewise.
19342 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19343 syscall-list-* with abi-*. Handle undefined abi-variants.
19344 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19345 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19346 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19347 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19348 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19349 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19351 (syscall-list-32-options): Likewise.
19352 (syscall-list-32-condition): Likewise.
19353 (syscall-list-64-options): Likewise.
19354 (syscall-list-64-condition): Likewise.
19355 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19357 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19360 (abi-64-ld-soname): New macro.
19361 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19362 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19365 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19366 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19368 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19370 * sysdeps/unix/sysv/linux/kernel-features.h
19371 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19372 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19373 include <kernel-features.h>.
19374 [!__NR_ftruncate64]: Remove conditional code.
19375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19376 [__NR_ftruncate64]: Make code unconditional.
19377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19378 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19379 include <kernel-features.h>.
19380 [!__NR_ftruncate64]: Remove conditional code.
19381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19382 [__NR_ftruncate64]: Make code unconditional.
19383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19385 include <kernel-features.h>.
19386 [!__NR_ftruncate64]: Remove conditional code.
19387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19388 [__NR_ftruncate64]: Make code unconditional.
19389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19391 include <kernel-features.h>.
19392 [!__NR_ftruncate64]: Remove conditional code.
19393 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19394 [__NR_ftruncate64]: Make code unconditional.
19395 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19397 * configure.in (libc_cv_fpie): Weaken to a compile test using
19398 LIBC_TRY_CC_OPTION.
19399 * configure: Regenerated.
19401 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19416 2012-05-27 David S. Miller <davem@davemloft.net>
19418 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19420 (__Q_simulate_exceptions): Return void. Change to simulate
19421 exceptions by writing into the %fsr.
19422 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19423 (__Qp_handle_exceptions): Likewise.
19425 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19426 __Qp_handle_exceptions.
19427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19428 __Qp_handle_exceptions.
19429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19430 as unused and give dummy FP_RND_NEAREST initializer.
19431 (FP_INHIBIT_RESULTS): Define.
19432 (___Q_simulate_exceptions): Update declaration.
19433 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19436 as unused and give dummy FP_RND_NEAREST initializer.
19437 (__Qp_handle_exceptions): Update declaration.
19438 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19441 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19443 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19444 the temporary FPU control word.
19445 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19446 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19448 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19450 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19451 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19452 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19453 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19454 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19455 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19457 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19462 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19464 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19465 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19466 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19467 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19469 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19470 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19473 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19475 * po/h.po: Update from translation team.
19477 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19479 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19481 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19482 handling of denormals.
19483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19484 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19485 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19492 2012-05-26 Marek Polacek <polacek@redhat.com>
19495 * math/libm-test.inc (fma_test): Don't always expect underflow
19498 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19501 * elf/tst-execstack.c: Include stackinfo.h.
19502 (do_test): Adjust test case to ensure that pthread_getattr_np
19503 behaviour remains the same after marking stack executable.
19505 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19507 * sysdeps/unix/sysv/linux/kernel-features.h
19508 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19509 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19511 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19512 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19513 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19515 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19516 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19518 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19520 * configure.in: Define the default includes to being none.
19521 * configure: Regenerated.
19523 2012-05-25 Roland McGrath <roland@hack.frob.com>
19525 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19526 * sysdeps/x86_64/setjmp.S: Likewise.
19527 * sysdeps/i386/bsd-setjmp.S: Likewise.
19528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19529 * sysdeps/i386/setjmp.S: Likewise.
19530 * sysdeps/i386/__longjmp.S: Likewise.
19531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19532 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19534 * include/stap-probe.h: New file.
19535 * configure.in: Handle --enable-systemtap.
19536 * configure: Regenerated.
19537 * config.h.in (USE_STAP_PROBE): New #undef.
19538 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19539 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19540 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19542 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19546 to 2.4.0 where earlier.
19547 * sysdeps/unix/sysv/linux/configure: Regenerated.
19548 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19549 <kernel-features.h>.
19550 [__ASSUME_32BITUIDS]: Make code unconditional.
19551 [!__ASSUME_32BITUIDS]: Remove conditional code.
19552 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19553 <kernel-features.h>.
19554 [__ASSUME_32BITUIDS]: Make code unconditional.
19555 [!__ASSUME_32BITUIDS]: Remove conditional code.
19556 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19557 [__ASSUME_32BITUIDS]: Make code unconditional.
19558 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19559 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19560 <kernel-features.h>.
19561 [__ASSUME_32BITUIDS]: Make code unconditional.
19562 [!__ASSUME_32BITUIDS]: Remove conditional code.
19563 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19564 <kernel-features.h>.
19565 [__ASSUME_32BITUIDS]: Make code unconditional.
19566 [!__ASSUME_32BITUIDS]: Remove conditional code.
19567 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19568 <kernel-features.h>.
19569 [__ASSUME_32BITUIDS]: Make code unconditional.
19570 [!__ASSUME_32BITUIDS]: Remove conditional code.
19571 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19572 <kernel-features.h>.
19573 [__ASSUME_32BITUIDS]: Make code unconditional.
19574 [!__ASSUME_32BITUIDS]: Remove conditional code.
19575 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19576 <kernel-features.h>.
19577 [__ASSUME_32BITUIDS]: Make code unconditional.
19578 [!__ASSUME_32BITUIDS]: Remove conditional code.
19579 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19580 <kernel-features.h>.
19581 [__ASSUME_32BITUIDS]: Make code unconditional.
19582 [!__ASSUME_32BITUIDS]: Remove conditional code.
19583 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19584 <kernel-features.h>.
19585 [__ASSUME_32BITUIDS]: Make code unconditional.
19586 [!__ASSUME_32BITUIDS]: Remove conditional code.
19587 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19588 <kernel-features.h>.
19589 [__ASSUME_32BITUIDS]: Make code unconditional.
19590 [!__ASSUME_32BITUIDS]: Remove conditional code.
19591 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19592 <kernel-features.h>.
19593 [__ASSUME_32BITUIDS]: Make code unconditional.
19594 [!__ASSUME_32BITUIDS]: Remove conditional code.
19595 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19596 <kernel-features.h>.
19597 [__ASSUME_32BITUIDS]: Make code unconditional.
19598 [!__ASSUME_32BITUIDS]: Remove conditional code.
19599 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19600 <kernel-features.h>.
19601 [__NR_setresgid] (__setresgid): Do not declare.
19602 [__ASSUME_32BITUIDS]: Make code unconditional.
19603 [!__ASSUME_32BITUIDS]: Remove conditional code.
19604 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19605 <kernel-features.h>.
19606 [__NR_setresuid] (__setresuid): Do not declare.
19607 [__ASSUME_32BITUIDS]: Make code unconditional.
19608 [!__ASSUME_32BITUIDS]: Remove conditional code.
19609 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19610 <kernel-features.h>.
19611 [__ASSUME_32BITUIDS]: Make code unconditional.
19612 [!__ASSUME_32BITUIDS]: Remove conditional code.
19613 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19614 <kernel-features.h>.
19615 [__ASSUME_32BITUIDS]: Make code unconditional.
19616 [!__ASSUME_32BITUIDS]: Remove conditional code.
19617 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19618 <kernel-features.h>.
19619 [__ASSUME_32BITUIDS]: Make code unconditional.
19620 [!__ASSUME_32BITUIDS]: Remove conditional code.
19621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19622 <kernel-features.h>.
19623 [__ASSUME_32BITUIDS]: Make code unconditional.
19624 [!__ASSUME_32BITUIDS]: Remove conditional code.
19625 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19626 <kernel-features.h>.
19627 [__ASSUME_32BITUIDS]: Make code unconditional.
19628 [!__ASSUME_32BITUIDS]: Remove conditional code.
19629 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19630 <kernel-features.h>.
19631 [__ASSUME_32BITUIDS]: Make code unconditional.
19632 [!__ASSUME_32BITUIDS]: Remove conditional code.
19633 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19634 <kernel-features.h>.
19635 [__ASSUME_32BITUIDS]: Make code unconditional.
19636 [!__ASSUME_32BITUIDS]: Remove conditional code.
19637 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19638 <kernel-features.h>.
19639 [__ASSUME_32BITUIDS]: Make code unconditional.
19640 [!__ASSUME_32BITUIDS]: Remove conditional code.
19641 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19642 <kernel-features.h>.
19643 [__ASSUME_32BITUIDS]: Make code unconditional.
19644 [!__ASSUME_32BITUIDS]: Remove conditional code.
19645 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19646 <kernel-features.h>.
19647 [__ASSUME_32BITUIDS]: Make code unconditional.
19648 [!__ASSUME_32BITUIDS]: Remove conditional code.
19649 * sysdeps/unix/sysv/linux/kernel-features.h
19650 (__ASSUME_SETRESUID_SYSCALL): Remove.
19651 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19652 (__ASSUME_32BITUIDS): Likewise.
19653 (__ASSUME_LDT_WORKS): Likewise.
19654 (__ASSUME_O_DIRECTORY): Likewise.
19655 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19656 architecture but not kernel version.
19657 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19658 (__ASSUME_MMAP2_SYSCALL): Likewise.
19659 (__ASSUME_STAT64_SYSCALL): Likewise.
19660 (__ASSUME_IPC64): Likewise.
19661 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19662 <kernel-features.h>.
19663 [__ASSUME_32BITUIDS]: Make code unconditional.
19664 [!__ASSUME_32BITUIDS]: Remove conditional code.
19665 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19666 <kernel-features.h>.
19667 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19668 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19669 132096]: Remove conditional code.
19670 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19671 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19672 <kernel-features.h>.
19673 [__ASSUME_32BITUIDS]: Make code unconditional.
19674 [!__ASSUME_32BITUIDS]: Remove conditional code.
19675 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19676 <kernel-features.h>.
19677 [__ASSUME_32BITUIDS]: Make code unconditional.
19678 [!__ASSUME_32BITUIDS]: Remove conditional code.
19679 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19680 <kernel-features.h>.
19681 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19683 (__setresgid): Do not declare.
19684 [__ASSUME_32BITUIDS]: Make code unconditional.
19685 [!__ASSUME_32BITUIDS]: Remove conditional code.
19686 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19687 <kernel-features.h>.
19688 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19690 (__setresuid): Do not declare.
19691 [__ASSUME_32BITUIDS]: Make code unconditional.
19692 [!__ASSUME_32BITUIDS]: Remove conditional code.
19693 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19694 <kernel-features.h>.
19695 [__ASSUME_32BITUIDS]: Make code unconditional.
19696 [!__ASSUME_32BITUIDS]: Remove conditional code.
19697 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19698 <kernel-features.h>.
19699 [__ASSUME_32BITUIDS]: Make code unconditional.
19700 [!__ASSUME_32BITUIDS]: Remove conditional code.
19702 2012-05-25 Richard Henderson <rth@twiddle.net>
19704 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19705 dl_hwcap to ifunc resolver.
19706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19708 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19709 dl_hwcap to ifunc resolver.
19710 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19712 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19715 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19716 for |x| <= 2**-26, not 2**-57.
19717 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19720 2012-05-24 Jeff Law <law@redhat.com>
19722 * stdio-common/Makefile (tests): Add bug25.
19723 * stdio-common/bug25.c: New test.
19725 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19728 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19729 multiple of MALLOC_ALIGNMENT in size.
19730 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19732 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19734 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19736 (FILENAME_MAX): Use macro-int-constant.
19737 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19738 (_IOFBF): Use macro-int-constant.
19739 (_IOLBF): Likewise.
19740 (_IONBF): Likewise.
19741 (SEEK_CUR): Likewise.
19742 (SEEK_END): Likewise.
19743 (SEEK_SET): Likewise.
19744 (TMP_MAX): Likewise.
19745 (EOF): Use macro-int-constant. Require < 0.
19746 (NULL): Use macro-constant. Require == 0.
19747 (stdin): Require type to be FILE *.
19748 (stdout): Likewise.
19749 (stderr): Likewise.
19750 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19751 macro-int-constant.
19752 (EXIT_SUCCESS): Likewise.
19753 (NULL): Use macro-constant. Require == 0.
19754 (RAND_MAX): Use macro-int-constant.
19755 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19756 [C99-based standards] (strtof): Require function.
19757 [C99-based standards] (strtold): Likewise.
19758 [C99-based standards] (strtoll): Likewise.
19759 [C99-based standards] (strtoull): Likewise.
19760 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19761 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19762 [ISO || ISO99 || ISO11] (math.h): Likewise.
19763 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19764 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19767 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19770 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19771 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19772 * intl/dgettext.c (DCGETTEXT): Likewise.
19773 * intl/gettext.c (DCGETTEXT): Likewise.
19774 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19775 * posix/regex_internal.h (gettext): Likewise.
19776 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19777 Remove declaration.
19778 * include/argz.h (__argz_count_internal)
19779 (__argz_stringify_internal): Remove declaration.
19780 (__argz_count, __argz_stringify): Declare hidden proto.
19781 * intl/dcgettext.c: Remove use of INTDEF.
19782 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19783 * string/argz-stringify.c: Likewise.
19784 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19785 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19786 Declare hidden proto.
19787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19789 Declare hidden proto.
19790 * include/stdio.h (__asprintf_internal): Don't declare.
19791 (__asprintf): Don't define as macro. Declare hidden proto.
19792 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19793 (__fsetlocking): Declare hidden proto.
19794 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19795 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19797 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19798 (_IO_setlinebuf): Remove use of INTUSE.
19799 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19800 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19801 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19802 Remove declaration.
19803 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19804 (_IO_do_flush): Remove use of INTUSE.
19805 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19806 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19807 (_IO_adjust_column, _IO_least_wmarker)
19808 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19809 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19810 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19811 (_IO_default_doallocate, _IO_wdefault_doallocate)
19812 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19813 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19814 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19815 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19816 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19817 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19818 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19819 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19820 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19821 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19822 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19823 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19824 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19826 (_IO_flush_all_internal, _IO_adjust_column_internal)
19827 (_IO_default_uflow_internal, _IO_default_finish_internal)
19828 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19829 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19830 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19831 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19832 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19833 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19834 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19835 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19836 (_IO_file_close_internal, _IO_file_close_it_internal)
19837 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19838 (_IO_file_init_internal, _IO_file_attach_internal)
19839 (_IO_file_fopen_internal, _IO_file_read_internal)
19840 (_IO_file_sync_internal, _IO_file_seek_internal)
19841 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19842 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19843 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19844 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19845 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19846 (_IO_list_all_internal, _IO_link_in_internal)
19847 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19848 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19849 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19850 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19851 (_IO_do_write_internal, _IO_padn_internal)
19852 (_IO_getline_info_internal, _IO_getline_internal)
19853 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19854 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19855 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19856 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19857 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19858 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19859 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19860 with libc_hidden_ver, remove use of INTUSE.
19861 * libio/genops.c: Likewise.
19862 * libio/freopen.c: Likewise.
19863 * libio/freopen64.c: Likewise.
19864 * libio/iofclose.c: Likewise.
19865 * libio/iofdopen.c: Likewise.
19866 * libio/iofflush.c: Likewise.
19867 * libio/iofflush_u.c: Likewise.
19868 * libio/iofgets.c: Likewise.
19869 * libio/iofgets_u.c: Likewise.
19870 * libio/iofopen.c: Likewise.
19871 * libio/iofopncook.c: Likewise.
19872 * libio/iofread.c: Likewise.
19873 * libio/iofread_u.c: Likewise.
19874 * libio/ioftell.c: Likewise.
19875 * libio/iofwrite.c: Likewise.
19876 * libio/iogetline.c: Likewise.
19877 * libio/iogets.c: Likewise.
19878 * libio/iogetwline.c: Likewise.
19879 * libio/iopadn.c: Likewise.
19880 * libio/iopopen.c: Likewise.
19881 * libio/ioseekoff.c: Likewise.
19882 * libio/ioseekpos.c: Likewise.
19883 * libio/iosetbuffer.c: Likewise.
19884 * libio/iosetvbuf.c: Likewise.
19885 * libio/ioungetc.c: Likewise.
19886 * libio/ioungetwc.c: Likewise.
19887 * libio/iovdprintf.c: Likewise.
19888 * libio/iovsprintf.c: Likewise.
19889 * libio/iovsscanf.c: Likewise.
19890 * libio/memstream.c: Likewise.
19891 * libio/obprintf.c: Likewise.
19892 * libio/oldfileops.c: Likewise.
19893 * libio/oldiofclose.c: Likewise.
19894 * libio/oldiofdopen.c: Likewise.
19895 * libio/oldiofopen.c: Likewise.
19896 * libio/oldiopopen.c: Likewise.
19897 * libio/oldstdfiles.c: Likewise.
19898 * libio/putc.c: Likewise.
19899 * libio/setbuf.c: Likewise.
19900 * libio/setlinebuf.c: Likewise.
19901 * libio/stdfiles.c: Likewise.
19902 * libio/strops.c: Likewise.
19903 * libio/vasprintf.c: Likewise.
19904 * libio/vscanf.c: Likewise.
19905 * libio/vsnprintf.c: Likewise.
19906 * libio/vswprintf.c: Likewise.
19907 * libio/wfiledoalloc.c: Likewise.
19908 * libio/wfileops.c: Likewise.
19909 * libio/wgenops.c: Likewise.
19910 * libio/wmemstream.c: Likewise.
19911 * libio/wstrops.c: Likewise.
19912 * libio/__fpurge.c: Likewise.
19913 * libio/__fsetlocking.c: Likewise.
19914 * assert/assert.c: Likewise.
19915 * debug/fgets_chk.c: Likewise.
19916 * debug/fgets_u_chk.c: Likewise.
19917 * debug/fread_chk.c: Likewise.
19918 * debug/fread_u_chk.c: Likewise.
19919 * debug/gets_chk.c: Likewise.
19920 * debug/obprintf_chk.c: Likewise.
19921 * debug/vasprintf_chk.c: Likewise.
19922 * debug/vdprintf_chk.c: Likewise.
19923 * debug/vsnprintf_chk.c: Likewise.
19924 * debug/vsprintf_chk.c: Likewise.
19925 * malloc/mtrace.c: Likewise.
19926 * misc/error.c: Likewise.
19927 * misc/syslog.c: Likewise.
19928 * stdio-common/asprintf.c: Likewise.
19929 * stdio-common/fxprintf.c: Likewise.
19930 * stdio-common/getw.c: Likewise.
19931 * stdio-common/isoc99_fscanf.c: Likewise.
19932 * stdio-common/isoc99_scanf.c: Likewise.
19933 * stdio-common/isoc99_vfscanf.c: Likewise.
19934 * stdio-common/isoc99_vscanf.c: Likewise.
19935 * stdio-common/isoc99_vsscanf.c: Likewise.
19936 * stdio-common/printf-prs.c: Likewise.
19937 * stdio-common/printf_fp.c: Likewise.
19938 * stdio-common/printf_fphex.c: Likewise.
19939 * stdio-common/printf_size.c: Likewise.
19940 * stdio-common/putw.c: Likewise.
19941 * stdio-common/scanf.c: Likewise.
19942 * stdio-common/sprintf.c: Likewise.
19943 * stdio-common/tmpfile.c: Likewise.
19944 * stdio-common/vfprintf.c: Likewise.
19945 * stdio-common/vfscanf.c: Likewise.
19946 * stdlib/strfmon_l.c: Likewise.
19947 * sunrpc/openchild.c: Likewise.
19948 * sunrpc/xdr_stdio.c: Likewise.
19949 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19950 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19952 2012-05-24 Roland McGrath <roland@hack.frob.com>
19954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19956 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19957 in the third column, to generate for the shared library an IFUNC
19958 that uses _dl_vdso_vsym.
19959 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19960 * Makeconfig (object-suffixes-noshared): New variable.
19962 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19963 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19964 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19965 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19968 * include/sys/time.h (__gettimeofday): Remove macro.
19969 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19970 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19972 (__gettimeofday): Add libc_hidden_def.
19973 (gettimeofday): Add libc_hidden_weak.
19974 * sysdeps/mach/gettimeofday.c: Likewise.
19975 * sysdeps/posix/gettimeofday.c: Likewise.
19976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19977 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19979 (__gettimeofday_internal): Remove strong_alias.
19980 (__gettimeofday): Add libc_hidden_def.
19981 (gettimeofday): Add libc_hidden_weak.
19982 * sysdeps/unix/syscalls.list (gettimeofday):
19983 Remove __gettimeofday_internal alias.
19985 2012-05-24 Daniel Jacobowitz <drow@false.org>
19986 H.J. Lu <hongjiu.lu@intel.com>
19989 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19990 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19991 (largebin_index_32_big): New.
19992 (largebin_index): Use it for 16-byte alignment.
19993 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19994 correction with front_misalign.
19996 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20024 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20025 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20027 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20031 * math/libm-test.inc (exp_test): Add test from bug 14036.
20032 (pow_test): Add test from bug 10846.
20034 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20036 (special_function): Do not include flags in test name.
20037 (parse_args): Likewise.
20038 * sysdeps/i386/fpu/libm-test-ulps: Update.
20039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20040 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20044 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20046 * math/libm-test.inc ("Philosophy"): Update comment about
20048 (UNDERFLOW_EXCEPTION): New macro.
20049 (UNDERFLOW_EXCEPTION_OK): Likewise.
20050 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20051 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20052 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20053 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20054 (INVALID_EXCEPTION_OK): Update value.
20055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20056 (OVERFLOW_EXCEPTION_OK): Likewise.
20057 (IGNORE_ZERO_INF_SIGN): Likewise.
20058 (test_exceptions): Handle underflow exceptions.
20059 (acos_test): Update for underflow exception expectations.
20060 (cexp_test): Likewise.
20061 (clog_test): Likewise.
20062 (clog10_test): Likewise.
20063 (csqrt_test): Likewise.
20064 (ctan_test): Likewise.
20065 (ctanh_test): Likewise.
20066 (exp_test): Likewise.
20067 (exp10_test): Likewise.
20068 (exp2_test): Likewise.
20069 (expm1_test): Likewise.
20070 (fma_test): Likewise.
20071 (j0_test): Likewise.
20072 (jn_test): Likewise.
20073 (nexttoward_test): Likewise.
20074 (pow_test): Likewise.
20075 (scalbn_test): Likewise.
20076 (scalbln_test): Likewise.
20077 (tan_test): Likewise.
20078 (y1_test): Likewise.
20079 * sysdeps/i386/fpu/libm-test-ulps: Update.
20080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20082 2012-05-23 David S. Miller <davem@davemloft.net>
20084 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20085 (__libc_sigaction): Remove unused local variables.
20087 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20089 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20091 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20093 mktime: avoid signed integer overflow
20094 * time/mktime.c (__mktime_internal): Do not mishandle the case
20095 where diff == INT_MIN.
20097 mktime: simplify computation of average
20098 * time/mktime.c (ranged_convert): Use new time_t_avg function
20099 instead of rolling our own (probably-slower) code.
20101 mktime: do not assume signed right shift propagates sign bit
20102 * time/mktime.c (isdst_differ): New static function.
20103 (__mktime_internal): No need to normalize tm_isdst now.
20104 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20107 mktime: merge another wrapv change from gnulib
20108 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20109 from some compilers.
20111 mktime: remove incorrect attempt at unusual arithmetics
20112 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20113 The code didn't really work on such machines anyway.
20114 (TYPE_MINIMUM): Assume two's complement.
20115 (twos_complement_arithmetic): Verify that long_int and time_t
20116 are two's complement (or unsigned, in the latter case).
20118 mktime: check signed shifts on long_int and time_t, too
20119 * time/mktime.c (SHR): Check that shifts work as desired
20120 on the types long_int and time_t too, as SHR is used on
20123 mktime: do not assume 'long' is wide enough
20124 * time/mktime.c (verify): Move decl up.
20125 (long_int): New type.
20126 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20127 to remove assumption in the code that 'long' is wide enough to
20128 store year values. This assumption is not true on x32 and on
20129 some non-glibc platforms.
20131 mktime: merge wrapv change from gnulib
20132 * time/mktime.c (WRAPV): New macro.
20133 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20134 (guess_time_tm, __mktime_internal): Do not assume that signed
20135 integer overflow wraps around; modern compilers generate code
20136 where this assumption is no longer valid.
20138 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20140 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20141 Replace "jmp L(pseudo_end)" with "ret".
20142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20145 2012-05-23 Andreas Jaeger <aj@suse.de>
20147 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20148 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20150 2012-05-23 Andreas Jaeger <aj@suse.de>
20151 Maximilian Attems <max@stro.at>
20153 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20156 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20159 code so that pseudo_end is just ret and the stack pointer is
20160 correct also for static library in error case.
20162 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20164 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20165 move to syscalls.list.
20166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20171 * manual/install.texi (Running make install): Do not mention Linux
20172 kernel version for which pt_chown is not needed.
20173 (Linux): Do not mention problems with nscd with 2.0 kernels.
20174 * INSTALL: Regenerated.
20176 2012-05-23 Andreas Jaeger <aj@suse.de>
20178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20179 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20181 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20183 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20185 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20191 * sysdeps/unix/sysv/linux/bits/in.h
20192 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20194 2012-05-22 Roland McGrath <roland@hack.frob.com>
20196 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20197 (PREPARE_VERSION): Just use assert instead, it will be elided
20198 under [NDEBUG] anyway.
20200 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20202 * sysdeps/unix/sysv/linux/Makefile: Include
20203 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20204 (sysdep_routines): Remove sysctl.
20205 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20206 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20207 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20208 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20209 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20211 2012-05-22 Andreas Jaeger <aj@suse.de>
20213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20214 that pseudo_end is just ret and the stack pointer is correct also
20215 for static library in error case.
20217 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20220 * nss/nsswitch.c (defconfig_entries): New variable.
20221 (__nss_database_lookup): Don't leak defconfig entries.
20222 (nss_parse_service_list): Don't leak on error paths.
20223 (free_database_entries): New function.
20224 (free_defconfig): New function.
20225 (free_mem): Move common code to free_database_entries.
20227 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20231 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20233 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20234 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20237 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20238 (INTERNAL_SYSCALL_TYPES): Likewise.
20239 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20240 (LOAD_REGS_TYPES_[1-6]): Likewise.
20241 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20242 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20244 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20246 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20247 copysignl for GLIBC_2_0.
20248 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20249 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20251 logbl for GLIBC_2_0.
20252 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20253 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20255 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20260 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20263 * time/mktime.c: Update copyright years.
20265 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20267 mktime: merge comment-quoting-style change from gnulib
20268 * time/mktime.c: Quote 'like this' in comments.
20269 The GNU coding standards suggest that we no longer quote `like this',
20270 as "`" and "'" are typically rendered asymmetrically nowadays.
20271 The typical gnulib style is to quote 'like this' when quoting
20272 code, and "like this" when quoting English.
20274 * time/mktime.c (compile-command): Add "-I.".
20276 mktime: merge mktime-internal.h change from gnulib
20277 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20279 mktime: merge time_r change from gnulib
20280 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20282 mktime: merge DEBUG change from gnulib
20283 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20284 case system <time.h> has a #define.
20286 mktime: merge <sys/types.h> change from gnulib
20287 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20288 since <time.t> is now guaranteed to define time_t.
20290 mktime: merge HAVE_CONFIG_H change from gnulib
20291 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20293 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20298 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20300 (struct rusage): Use anonymous union to pad each field to
20303 2012-05-21 David S. Miller <davem@davemloft.net>
20305 * Makefules (o-iterator): Remove .s cases.
20306 (compile-command.s): Delete.
20307 (COMPILE.s): Delete.
20308 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20310 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20312 * configure.in (libc_cv_predef_stack_protector): Only consider
20313 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20314 * configure: Regenerated.
20316 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20319 New macro. Use R*LP on int and pointer.
20320 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20321 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20322 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20323 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20325 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20326 [__WORDSIZE_TIME64_COMPAT32] instead of
20327 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20328 (struct utmp): Likewise.
20329 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20330 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20332 (__WORDSIZE_TIME64_COMPAT32): This.
20333 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20334 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20335 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20336 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20338 (__WORDSIZE_TIME64_COMPAT32): New macro.
20340 2012-05-21 Andreas Jaeger <aj@suse.de>
20342 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20343 only if [SHARED]. Add prototype for __wcschr_ia32.
20345 2012-05-21 Roland McGrath <roland@hack.frob.com>
20347 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20348 of %rbp unmolested in the jmp_buf while mangling the low bits.
20349 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20350 unmolested high bits of %rbp while demangling the low bits.
20351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20353 2012-05-21 Andreas Jaeger <aj@suse.de>
20355 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20356 * sunrpc/svc_simple.c: Use it for registerrpc.
20357 * sunrpc/xcrypt.c: Use it for passwd2des.
20359 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20361 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20363 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20364 Don't define if [__SYSCALL_WORDSIZE != 32].
20365 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20368 2012-05-21 Bruno Haible <bruno@clisp.org>
20369 Andreas Jaeger <aj@suse.de>
20371 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20372 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20373 inptr and inend for must_buffer_ch.
20374 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20375 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20376 * stdio-common/Makefile (tests): Remove bug15.
20377 (bug15-ENV): Remove macro.
20378 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20381 2012-05-19 Andreas Jaeger <aj@suse.de>
20382 Roland McGrath <roland@hack.frob.com>
20384 * manual/contrib.texi: Completely rewritten. It contains now an
20385 alphabetical list of contributors and their contributions.
20387 2012-05-21 Richard Henderson <rth@twiddle.net>
20389 * misc/getauxval.c (__getauxval): Use unsigned long int.
20390 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20391 (getauxval): Use unsigned long int.
20393 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20395 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20397 2012-05-21 Roland McGrath <roland@hack.frob.com>
20399 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20400 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20401 __alignof__ (long double).
20403 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20407 2012-05-20 Richard Henderson <rth@twiddle.net>
20409 * misc/getauxval.c: New file.
20410 * misc/sys/auxv.h: New file.
20411 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20412 (routines): Add getauxval.
20413 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20414 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20415 * elf/dl-sysdep.c (_dl_auxv): Remove.
20416 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20417 * elf/dl-support.c (_dl_auxv): New variable.
20418 (_dl_aux_init): Initialize it.
20419 * manual/startup.texi (Auxiliary Vector): New node.
20420 * sysdeps/generic/bits/hwcap.h: New file.
20421 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20422 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20423 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20424 * sysdeps/sparc/sysdep.h: ... here. Include it.
20425 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20438 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20442 2012-05-19 David S. Miller <davem@davemloft.net>
20444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20446 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20449 * math/s_ccosh.c: Include <float.h>
20450 (__ccosh): Avoid internal overflow calculating sinh and cosh
20451 values before multiplying by sin and cos values.
20452 * math/s_ccoshf.c: Likewise.
20453 * math/s_ccoshl.c: Likewise.
20454 * math/s_csin.c: Likewise.
20455 * math/s_csinf.c: Likewise.
20456 * math/s_csinl.c: Likewise.
20457 * math/s_csinh.c: Likewise.
20458 * math/s_csinhf.c: Likewise.
20459 * math/s_csinhl.c: Likewise.
20460 * math/libm-test.inc (ccos_test): Add more tests.
20461 (ccosh_test): Likewise.
20462 (csin_test): Likewise.
20463 (csinh_test): Likewise.
20464 * sysdeps/i386/fpu/libm-test-ulps: Update.
20465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20467 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20469 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20470 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20472 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20474 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20476 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20477 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20478 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20479 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20480 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20481 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20482 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20483 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20484 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20485 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20486 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20487 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20488 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20489 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20490 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20491 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20492 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20493 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20494 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20495 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20496 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20497 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20498 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20499 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20500 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20501 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20502 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20503 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20504 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20505 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20506 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20508 2012-05-18 Andreas Jaeger <aj@suse.de>
20510 * csu/.gitignore: Delete.
20512 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20514 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20515 (timex): Use __syscall_slong_t.
20517 2012-05-18 Andreas Jaeger <aj@suse.de>
20518 Carlos O'Donell <carlos_odonell@mentor.com>
20520 * manual/install.texi (Configuring and compiling): Update
20521 description about files modified in the source directory.
20522 * INSTALL: Regenerated.
20524 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20526 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20527 value. Use "or" to set return value to -1.
20528 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20529 negate return value.
20531 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20533 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20534 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20535 failure if the compiler has Graphite support disabled.
20536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20538 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20539 CFLAGS-memmove.c): Likewise.
20540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20543 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20545 * sysdeps/x86_64/x32/_itoa.h: New file.
20547 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20548 getdents system call only if kernel and user dirents have the
20549 same d_ino and d_off.
20551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20552 LLONG_MAX != LONG_MAX.
20553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20554 (_fitoa_word): Likewise.
20556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20560 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20562 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20563 include <bits/wordsize.h>. Check __x86_64__ instead of
20565 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20566 if __x86_64__ is defined. Use anonymous union on fpstate.
20568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20571 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20573 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20574 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20575 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20576 Refer to _rtld_local_ro instead of _rtld_global_ro.
20577 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20579 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20581 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20583 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20584 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20585 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20587 * sysdeps/powerpc/powerpc32/dl-machine.c
20588 (__elf_machine_runtime_setup) [PROF]: Don't reference
20591 2012-05-18 Andreas Jaeger <aj@suse.de>
20593 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20594 function only available for GCCs before 3.4 since GCC 3.4
20595 introduced a builtin.
20597 (llrintf): Likewise.
20598 (llrint): Likewise.
20605 (nearbyint): Likewise.
20606 (nearbyintf): Likewise.
20610 (floorf): Likewise.
20612 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20614 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20615 on both fields and cast pointer to __syscall_ulong_t.
20617 * bits/types.h (__fsword_t): New type.
20618 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20619 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20621 (__FSWORD_T_TYPE): Likewise.
20622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20623 (__FSWORD_T_TYPE): Likewise.
20624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20625 (__FSWORD_T_TYPE): Likewise.
20626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20627 (__FSWORD_T_TYPE): Likewise.
20628 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20629 __SWORD_TYPE with __fsword_t.
20630 (statfs64): Likewise.
20632 2012-05-17 David S. Miller <davem@davemloft.net>
20634 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20636 2012-05-17 Andreas Jaeger <aj@suse.de>
20638 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20641 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20643 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20645 2012-05-17 Andreas Jaeger <aj@suse.de>
20647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20650 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20652 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20654 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20656 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20657 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20659 2012-05-17 Andreas Jaeger <aj@suse.de>
20660 Carlos O'Donell <carlos_odonell@mentor.com>
20663 * sysdeps/x86_64/multiarch/init-arch.h
20664 (bit_YMM_Usable): Rename to...
20665 (bit_AVX_Usable): ... this.
20666 (bit_FMA4_Usable): New macro.
20667 (bit_XMM_state): New macro.
20668 (bit_YMM_state): New macro.
20669 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20670 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20671 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20672 (CPUID_OSXSAVE): New macro.
20673 (CPUID_AVX): New macro.
20674 (CPUID_FMA4): New macro.
20675 (index_YMM_Usable): Rename to...
20676 (index_AVX_Usable): ... this.
20677 (HAS_AVX): Use HAS_ARCH_FEATURE.
20678 (HAS_FMA4): Likewise.
20679 (HAS_YMM_USABLE): Remove.
20680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20681 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20683 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20684 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20685 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20686 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20687 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20689 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20691 * math/libm-test.c: Support platforms without multiple rounding modes.
20692 * math/bug-nextafter.c: Support platforms without FP exceptions.
20693 * math/bug-nexttoward.c: Likewise.
20694 * math/test-fenv.c: Likewise.
20695 * math/test-misc.c: Likewise.
20696 * stdlib/bug-getcontext.c: Likewise.
20698 2012-05-17 Andreas Jaeger <aj@suse.de>
20700 * manual/examples/search.c (critter_cmp): Change signature to
20702 * manual/string.texi (Collation Functions): Likewise.
20704 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20706 * bits/types.h: Fold copyright years.
20707 * bits/typesizes.h: Likewise.
20708 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20712 * time/time.h: Likewise.
20714 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20717 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20718 in instead of returning them. Return void.
20719 (__libc_mallinfo): Accumulate over all arenas.
20720 (__malloc_stats): Adjust for change in int_mallinfo interface.
20722 2012-05-16 Roland McGrath <roland@hack.frob.com>
20725 * configure.in (NM): Add AC_CHECK_TOOL for it.
20726 (libc_extra_cflags): New substituted variable.
20727 Check for -fstack-protector being used implicitly.
20728 * configure: Regenerated.
20729 * config.make.in (config-extra-cflags): New variable,
20730 gets @libc_extra_cflags@.
20731 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20734 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20735 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20736 * configure: Regenerated.
20737 * config.make.in (CPPUNDEFS): New substituted variable.
20738 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20739 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20740 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20742 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20744 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20745 (mq_attr): Use __syscall_slong_t.
20747 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20749 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20750 Check __x86_64__ instead of __WORDSIZE.
20751 (_STAT_VER_LINUX): Likewise.
20752 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20753 __syscall_ulong_t and __syscall_slong_t.
20754 (stat64): Likewise.
20756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20762 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20764 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20766 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20769 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20770 include <bits/wordsize.h>. Check __x86_64__ instead of
20772 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20774 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20777 include <bits/wordsize.h>. Check __x86_64__ instead of
20779 (user_regs_struct): Use "__extension__ unsigned long long"
20780 instead of "unsigned long" if __x86_64__ is defined.
20781 (user): Likewise. Pad after pointer field if __ILP32__ is
20784 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20786 * configure.in (makeinfo): Require version 4.5 or later. Allow
20788 * configure: Regenerated.
20789 * manual/install.texi (texinfo): Increase version requirement to
20791 * INSTALL: Regenerated.
20793 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20797 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20799 * sysdeps/x86_64/x32/ffs.c: New file.
20801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20803 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20804 defined. Use __syscall_ulong_t.
20805 (shminfo): Use __syscall_ulong_t.
20806 (shm_info): Likewise.
20808 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20811 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20813 (msgqnum_t): Use __syscall_ulong_t.
20814 (msglen_t): Likewise.
20815 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20818 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20819 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20821 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20823 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20824 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20826 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20829 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20830 include <bits/wordsize.h>. Check __x86_64__ instead of
20833 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20834 "unsigned long long int" if __x86_64__ is defined.
20835 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20838 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20839 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20841 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20843 (GET_PC): Cast to uintptr_t first.
20844 (GET_FRAME): Likewise.
20845 (GET_STACK): Likewise.
20847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20853 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20854 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20855 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20857 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20875 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20877 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20879 * Makerules (+depfiles): Also collect depfiles from .oS in
20881 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20882 .oS, $(libnldbl-routines)).
20884 * Makerules (native-compile-mkdep-flags): Define.
20885 * sunrpc/Makefile (extra-objs): Add $(addprefix
20886 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20887 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20888 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20889 calling $(make-target-directory).
20891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20893 * bits/types.h (__snseconds_t): Removed.
20894 * time/time.h (struct timespec): Replace __snseconds_t with
20896 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20897 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20900 (__SNSECONDS_T_TYPE): Likewise.
20901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20902 (__SNSECONDS_T_TYPE): Likewise.
20903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20904 (__SNSECONDS_T_TYPE): Likewise.
20906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20908 * sysdeps/mach/hurd/bits/typesizes.h
20909 (__SYSCALL_SLONG_TYPE): New macro.
20910 (__SYSCALL_ULONG_TYPE): Likewise.
20912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20914 * bits/types.h (__syscall_slong_t): New type.
20915 (__syscall_ulong_t): Likewise.
20917 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20918 (__SYSCALL_ULONG_TYPE): Likewise.
20919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20920 (__SYSCALL_SLONG_TYPE): Likewise.
20921 (__SYSCALL_ULONG_TYPE): Likewise.
20922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20923 (__SYSCALL_SLONG_TYPE): Likewise.
20924 (__SYSCALL_ULONG_TYPE): Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20926 (__SYSCALL_SLONG_TYPE): Likewise.
20927 (__SYSCALL_ULONG_TYPE): Likewise.
20929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20931 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20932 Add sigaltstack-offsets.sym.
20933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20934 <sigaltstack-offsets.h>.
20935 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20936 longjmp_msg pointer.
20937 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20938 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20940 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20942 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20944 * elf/stackguard-macros.h: Remove file.
20945 * sysdeps/generic/stackguard-macros.h: New file.
20946 * sysdeps/i386/stackguard-macros.h: Likewise.
20947 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20948 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20949 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20950 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20951 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20952 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20953 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20954 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20955 <elf/stackguard-macros.h>.
20958 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20959 __aligned__ in attribute.
20960 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20961 (gregset_t): Likewise.
20963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20965 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20966 * sysdeps/x86_64/64/Implies-after: Here. New file.
20967 * sysdeps/x86_64/x32/Implies-after: New file.
20969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20971 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20972 and access return value for _dl_profile_fixup. Use R10_LP to
20975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20981 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20982 * sysdeps/x86_64/x32/sysdep.h: New file.
20984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20986 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20987 * sysdeps/x86_64/setjmp.S: Likewise.
20989 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20992 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20993 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20995 remove unused global constant.
20997 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20999 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21000 include of <not-cancel.h>.
21002 2012-05-15 Roland McGrath <roland@hack.frob.com>
21004 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21006 2012-05-15 Jeff Law <law@redhat.com>
21007 Andreas Jaeger <aj@suse.de>
21010 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21012 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21013 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21014 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21015 code changing __hst_map_handle.map.
21017 2012-05-15 Roland McGrath <roland@hack.frob.com>
21019 * configure.in (sysnames): Look for Implies-before and Implies-after
21021 * configure: Regenerated.
21023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21026 8-byte data alignment with LP_SIZE alignment.
21028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21035 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21039 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21040 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21043 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21047 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21048 (stackinfo_sub_sp): Likewise.
21050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21067 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21071 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21072 into R11_LP and load __x86_64_shared_cache_size_half into
21075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21077 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21080 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21089 powerpc32/power7/fpu/s_logb.c via #include.
21090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21091 powerpc32/power7/fpu/s_logbf.c via #include.
21092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21093 powerpc32/power7/fpu/s_logbl.c via #include.
21095 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21097 * README.libm: Remove file.
21099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21101 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21102 count for x32. Use R*_LP and omit operand-size suffix.
21104 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21106 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21107 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21108 * sysdeps/x86_64/x32/shlib-versions: New file.
21110 2012-05-14 Roland McGrath <roland@hack.frob.com>
21112 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21113 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21114 Use _dl_fatal_printf instead.
21116 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21118 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21119 set if not set by the user. Do not allow for being unset.
21120 * sysdeps/unix/sysv/linux/configure: Regenerated.
21122 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21124 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21125 the `q' suffix from lea and replace .quad with ASM_ADDR.
21127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21130 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21132 (PTR_DEMANGLE): Likewise.
21134 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21136 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21138 (ASM_ADDR): Likewise.
21139 (RAX_LP): Likewise.
21140 (RBP_LP): Likewise.
21141 (RBX_LP): Likewise.
21142 (RCX_LP): Likewise.
21143 (RDI_LP): Likewise.
21144 (RSI_LP): Likewise.
21145 (RSP_LP): Likewise.
21148 (R10_LP): Likewise.
21149 (R10_LP): Likewise.
21150 (R11_LP): Likewise.
21151 (R12_LP): Likewise.
21152 (R13_LP): Likewise.
21153 (R14_LP): Likewise.
21154 (R15_LP): Likewise.
21156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21158 * sysdeps/x86_64/x32/dl-machine.h: New file.
21160 2012-05-14 Andreas Jaeger <aj@suse.de>
21162 * manual/Makefile (subdir): Remove export of subdir.
21163 (all): Remove target.
21164 (.PHONY): Remove all from list.
21165 (mkinstalldirs): Remove.
21166 (.PHONY): Remove installdirs from list.
21167 ($(inst_infodir)/libc.info): Use make-target-directory.
21168 (installdirs): Remove.
21169 (subdir_%): Remove.
21170 (glibc-targets): Remove.
21173 ($(objpfx)stubs ../po/manual.pot): Remove.
21174 ($(objpfx)stamp%): Remove.
21175 (make-target-directory): Remove.
21176 (subdir_install): Remove.
21177 (routines): Remove.
21184 * manual/.gitignore: Remove, it's not needed anymore.
21185 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21187 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21189 (texis): Renamed to $(objpfx)texis.
21190 (texis-path): New, contains path to generated files.
21191 (chapters.%): Use texis-path for complete path, add extra argument
21193 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21194 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21195 (summary,texi, stamp-summary): Use complete path of
21196 files. Generate files in build dir.
21197 (dir-add.texi): Build in build dir.
21198 (libm-err.texi,stamp-libm-err): Likewise.
21199 (version.texi, stamp-version): Likewise.
21200 (.%c.texi): Likewise.
21201 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21202 (mostlyclean): Remove target.
21203 (realclean): Remove target.
21204 (generated): Add new variable with contents from mostlyclean and
21205 realclean, remove entries duplicated in common-mostlyclean, add
21206 stamp-libm-err and stamp-version.
21207 (generated-dirs): Add libc directory.
21208 ($(inst_infodir)/libc.info): Install files from build dir.
21210 * manual/install.texi (Configuring and compiling): Adjust since
21211 the info files are not part of the tar ball anymore.
21213 2012-05-14 Andreas Jaeger <aj@suse.de>
21215 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21218 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21222 to 2.2.0 where earlier.
21223 * sysdeps/unix/sysv/linux/configure: Regenerated.
21224 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21225 Remove conditional code.
21226 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21227 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21228 Remove conditional code.
21229 [!__NR_lchown]: Likewise.
21230 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21231 [__NR_lchown]: Likewise.
21232 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21233 comment referencing __ASSUME_LCHOWN_SYSCALL.
21234 * sysdeps/unix/sysv/linux/i386/sigaction.c
21235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21237 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21238 Remove conditional code.
21239 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21240 (__protocol_available): Remove #if 0 code.
21241 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21243 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21244 * sysdeps/unix/sysv/linux/kernel-features.h
21245 (__ASSUME_GETCWD_SYSCALL): Don't define.
21246 (__ASSUME_REALTIME_SIGNALS): Likewise.
21247 (__ASSUME_PREAD_SYSCALL): Likewise.
21248 (__ASSUME_PWRITE_SYSCALL): Likewise.
21249 (__ASSUME_POLL_SYSCALL): Likewise.
21250 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21251 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21253 (__ASSUME_SIOCGIFNAME): Don't define.
21254 (__ASSUME_MSG_NOSIGNAL): Likewise.
21255 (__ASSUME_SENDFILE): Define unconditionally.
21256 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21257 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21259 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21260 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21261 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21262 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21263 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21265 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21279 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21290 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21291 Remove conditional code.
21292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21293 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21294 Remove conditional code.
21295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21296 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21297 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21298 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21299 Remove conditional code.
21300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21301 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21302 Remove conditional code.
21303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21304 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21305 Remove conditional code.
21306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21307 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21308 Remove conditional code.
21309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21310 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21311 Remove conditional code.
21312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21313 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21316 * sysdeps/unix/sysv/linux/sigaction.c
21317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21319 * sysdeps/unix/sysv/linux/sigpending.c
21320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21322 * sysdeps/unix/sysv/linux/sigprocmask.c
21323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21325 * sysdeps/unix/sysv/linux/sigsuspend.c
21326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21329 (__libc_missing_rt_sigs): Remove.
21330 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21331 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21332 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21333 Remove conditional code.
21334 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21335 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21338 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21340 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21342 2012-05-14 Andreas Jaeger <aj@suse.de>
21344 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21345 it's not used in glibc.
21346 (__coshm1): Likewise.
21347 (__acosh1p): Likewise.
21350 * manual/string.texi (Copying and Concatenation): Add missing
21351 variable in concat example.
21352 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21358 __builtin_clzl with __builtin_clzll.
21360 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21363 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21366 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21368 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21369 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21370 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21373 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21375 * NEWS: Update ia64 info.
21377 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21379 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21382 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21384 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21385 * sysdeps/unix/syscalls.list (dup3): Likewise.
21386 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21387 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21389 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21391 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21392 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21394 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21396 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21398 (TLS_IE): Use mov/add instead of movq/addq to load thread
21400 (TLS_GD_PREFIX): New.
21403 2012-05-11 David S. Miller <davem@davemloft.net>
21405 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21406 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21407 (_FPU_SETCW): Likewise.
21409 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21411 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21412 is 32-byte aligned.
21414 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21417 * iconvdata/gb18030.c: Update tables.
21418 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21419 characters specially.
21420 (BODY for TO_LOOP): Add encoding of missing ranges.
21422 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21425 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21426 * sysdeps/mach/hurd/dup3.c: Likewise.
21427 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21428 * sysdeps/powerpc/memmove.c:: Likewise.
21430 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21433 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21435 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21437 * elf/elf.h (R_X86_64_RELATIVE64): New.
21438 (R_X86_64_NUM): Updated.
21439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21440 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21441 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21442 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21443 tst-quad1pie tst-quad2pie
21444 (modules-names): Add tst-quadmod1 tst-quadmod2.
21445 ($(objpfx)tst-quad1): New dependency.
21446 ($(objpfx)tst-quad2): Likewise.
21447 ($(objpfx)tst-quad1pie): Likewise.
21448 ($(objpfx)tst-quad2pie): Likewise.
21449 * sysdeps/x86_64/tst-quad1.c: New file.
21450 * sysdeps/x86_64/tst-quad1pie.c: New file.
21451 * sysdeps/x86_64/tst-quad2.c: Likewise.
21452 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21453 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21454 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21455 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21456 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21460 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21461 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21462 * streams/stropts.h (t_scalar_t): Define type.
21464 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21465 (_PATH_PRESERVE): Set to "/var/lib".
21466 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21468 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21471 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21472 if __dir_mkfile succeeded.
21474 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21475 checking for _hurd_dtablesize. Unlock it right after having
21476 finished _hurd_dtable allocation.
21478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21480 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21481 * sysdeps/mach/hurd/configure: Regenerated.
21482 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21483 special-casing to...
21484 * sysdeps/gnu/configure.in: ... this new file.
21485 * sysdeps/unix/sysv/linux/configure: Regenerated.
21486 * sysdeps/gnu/configure: New generated file.
21488 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21489 for Linux: use nsec instead of usec, as well as:
21490 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21491 members of type struct timespec.
21492 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21494 (struct stat64): Likewise.
21495 (_STATBUF_ST_NSEC): New macro.
21496 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21499 __strtoul_internal rather than strtoul.
21501 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21503 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21508 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21509 which preserves existing values.
21510 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21512 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21514 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21515 TIMEOUT values. Return EINVAL for NFDS values either negative or
21516 greater than FD_SETSIZE.
21518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21520 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21521 allocated, call __vm_protect to finish enabling the existing space, and
21522 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21523 allocate the remainder.
21525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21527 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21528 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21532 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21533 sysdeps/mach/hurd/readlink.c.
21535 * posix/tst-sysconf.c (posix_options): Only use
21536 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21537 _POSIX_SYNCHRONIZED_IO when they are defined
21538 * sysdeps/mach/hurd/bits/posix_opt.h:
21539 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21540 (_XOPEN_REALTIME): Undefine macro.
21541 (_XOPEN_REALTIME_THREADS): Undefine macro.
21542 (_XOPEN_SHM): Undefine macro.
21543 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21545 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21547 (_POSIX_ASYNC_IO): Undefine macro.
21548 (_POSIX_PRIORITIZED_IO): Undefine macro.
21549 (_POSIX_SPIN_LOCKS): Define macro to -1.
21551 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21552 SA_NODEFER, SA_RESETHAND.
21553 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21554 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21559 * elf/Makefile (pldd-modules): Define unconditionally.
21561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21563 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21567 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21568 Return ENOENT when name is empty.
21569 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21573 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21575 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21579 Fix mlock in all cases except non-readable pages.
21580 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21581 instead of VM_PROT_ALL as parameter to __vm_wire function.
21583 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21584 (__mkdir): When path is `/', just fail with EEXIST.
21585 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21589 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21590 <sys/uio.h> (for writev).
21591 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21592 and <sys/param.h> (for MIN).
21594 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21596 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21597 REQUESTED_TIME. Properly set the remaining time and return EINTR
21600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21602 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21603 Depend on against $(link-rpcuserlibs).
21605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21607 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21608 (__libc_stack_end): Do not use attribute_relro.
21609 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21610 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21611 to libthread-provided value.
21612 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21618 * bits/libc-lock.h (__libc_once_get): New macro.
21619 * sysdeps/mach/bits/libc-lock.h: Likewise.
21620 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21622 instead of using implementation details.
21624 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21625 * libio/freopen.c: Likewise.
21626 * libio/freopen64.c: Likewise.
21627 * misc/syslog.c: Likewise.
21628 * nscd/connections.c: Likewise.
21629 * nscd/netgroupcache.c: Likewise.
21630 * sysdeps/posix/getcwd.c: Likewise.
21632 2012-05-10 Roland McGrath <roland@hack.frob.com>
21634 * math/w_ilogbf.c: Add #include <limits.h>.
21636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21638 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21639 path instead of returning without unlocking.
21641 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21642 immediate-write ioctls.
21643 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21647 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21648 __builtin_frame_address instead of making assumptions about the
21649 location of the return address relative to DATA. Force early load of
21650 the return address.
21651 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21652 __builtin_frame_address.
21655 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21656 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21657 implement dup3 and do some further code clean-ups.
21658 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21661 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21663 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21665 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21666 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21667 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21668 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21669 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21672 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21673 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21674 when handler == SIG_ERR, not when handler != SIG_ERR.
21676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21678 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21679 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21682 accept4 for GNU Hurd.
21683 * include/sys/socket.h (__libc_accept4): New prototype.
21684 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21685 to implement __libc_accept4.
21686 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21688 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21690 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21691 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21692 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21693 signal-defines.sym.
21695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21697 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21699 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21701 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21702 assertion on O_CLOEXEC flag.
21703 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21704 * hurd/intern-fd.c: Likewise.
21705 * hurd/port2fd.c: Likewise.
21707 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21710 * bits/in.h (IPV6_PKTINFO): Define new macro.
21711 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21713 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21718 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21720 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21723 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21724 * math/libm-test.inc (logb_test) : Additional logb tests.
21726 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21727 Andreas Jaeger <aj@suse.de>
21729 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21730 * configure: Regenerated.
21731 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21732 * config.make.in (link-obsolete-rpc): New substituted variable.
21733 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21734 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21735 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21736 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21737 so that libc.a contains the symbols.
21738 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21739 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21740 * sunrpc/auth_none.c: Likewise.
21741 * sunrpc/auth_unix.c: Likewise.
21742 * sunrpc/authdes_prot.c: Likewise.
21743 * sunrpc/authuxprot.c: Likewise.
21744 * sunrpc/clnt_gen.c: Likewise.
21745 * sunrpc/clnt_perr.c: Likewise.
21746 * sunrpc/clnt_raw.c: Likewise.
21747 * sunrpc/clnt_simp.c: Likewise.
21748 * sunrpc/clnt_tcp.c: Likewise.
21749 * sunrpc/clnt_udp.c: Likewise.
21750 * sunrpc/clnt_unix.c: Likewise.
21751 * sunrpc/des_crypt.c: Likewise.
21752 * sunrpc/des_soft.c: Likewise.
21753 * sunrpc/get_myaddr.c: Likewise.
21754 * sunrpc/key_call.c: Likewise.
21755 * sunrpc/key_prot.c: Likewise.
21756 * sunrpc/netname.c: Likewise.
21757 * sunrpc/pm_getmaps.c: Likewise.
21758 * sunrpc/pm_getport.c: Likewise.
21759 * sunrpc/pmap_clnt.c: Likewise.
21760 * sunrpc/pmap_prot.c: Likewise.
21761 * sunrpc/pmap_prot2.c: Likewise.
21762 * sunrpc/pmap_rmt.c: Likewise.
21763 * sunrpc/publickey.c: Likewise.
21764 * sunrpc/rpc_cmsg.c: Likewise.
21765 * sunrpc/rpc_common.c: Likewise.
21766 * sunrpc/rpc_dtable.c: Likewise.
21767 * sunrpc/rpc_prot.c: Likewise.
21768 * sunrpc/rpc_thread.c: Likewise.
21769 * sunrpc/rtime.c: Likewise.
21770 * sunrpc/svc.c: Likewise.
21771 * sunrpc/svc_auth.c: Likewise.
21772 * sunrpc/svc_raw.c: Likewise.
21773 * sunrpc/svc_run.c: Likewise.
21774 * sunrpc/svc_tcp.c: Likewise.
21775 * sunrpc/svc_udp.c: Likewise.
21776 * sunrpc/svc_unix.c: Likewise.
21777 * sunrpc/svcauth_des.c: Likewise.
21778 * sunrpc/xcrypt.c: Likewise.
21779 * sunrpc/xdr.c: Likewise.
21780 * sunrpc/xdr_array.c: Likewise.
21781 * sunrpc/xdr_float.c: Likewise.
21782 * sunrpc/xdr_intXX_t.c: Likewise.
21783 * sunrpc/xdr_mem.c: Likewise.
21784 * sunrpc/xdr_rec.c: Likewise.
21785 * sunrpc/xdr_ref.c: Likewise.
21786 * sunrpc/xdr_sizeof.c: Likewise.
21787 * sunrpc/xdr_stdio.c: Likewise.
21789 2012-05-10 Roland McGrath <roland@hack.frob.com>
21791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21792 change. Update copyright years.
21794 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21796 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21798 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21799 Joseph Myers <joseph@codesourcery.com>
21800 Paul Pluzhnikov <ppluzhnikov@google.com>
21803 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21805 [cross-compiling] (extra-libs): Likewise.
21806 [cross-compiling] (extra-libs-others): Likewise.
21807 [cross-compiling] (librpcsvc-routines): Likewise.
21808 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21809 [cross-compiling] (omit-deps): Likewise.
21810 (sunrpc-CPPFLAGS): New variable.
21811 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21812 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21813 (cross-rpcgen-objs): New variable.
21814 (extra-objs): Append $(cross-rpcgen-objs).
21815 ($(cross-rpcgen-objs)): New rule.
21816 ($(objpfx)cross-rpcgen): Likewise.
21817 (rpcgen-cmd): Define to use $(built-program-file). Expand
21819 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21820 ($(objpfx)x%.stmp): Likewise.
21821 * sunrpc/proto.h [IS_IN_build] (_): Define.
21822 [IS_IN_build] (_libc_intl_domainname): Likewise.
21824 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21827 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21828 and R_X86_64_TPOFF64.
21830 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21832 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21833 sysdeps/unix/sysv/syscalls.list.
21836 * sysdeps/unix/sysv/syscalls.list: Remove file.
21838 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21841 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21842 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21843 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21844 (__LC_IDENTIFICATION): Make these macros useful in #if
21845 expressions, as required by C99.
21847 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21849 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21850 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21853 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21855 * stdlib/longlong.h: Updated from GCC.
21857 2012-05-09 Andreas Jaeger <aj@suse.de>
21859 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21860 default is first entry.
21861 (run_mode): Set type.
21862 (main): Remove informal message about syslog.
21863 (options): Fix typo.
21866 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21869 (llrintf): Likewise.
21870 (llrint): Likewise.
21873 (nearbyint): Likewise.
21874 (nearbyintf): Likewise.
21876 2012-05-09 Andreas Jaeger <aj@suse.de>
21877 Pedro Alves <palves@redhat.com>
21879 * nscd/nscd.c (run_mode): Use enum.
21880 (main): Cleanup coding style issue.
21882 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21883 Andreas Jaeger <aj@suse.de>
21885 * nscd/nscd.c (go_background): Replaced with...
21886 (run_mode): ... this.
21887 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21888 (options): Add -F --foreground.
21889 (main): Implement it.
21890 (parse_opt): Parse it.
21892 2012-05-09 Andreas Jaeger <aj@suse.de>
21895 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21896 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21897 -Wconversion warning.
21898 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21901 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21903 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21905 (LC_ALL): Use macro-int-constant.
21906 (LC_COLLATE): Likewise.
21907 (LC_CTYPE): Likewise.
21908 (LC_MESSAGES): Likewise.
21909 (LC_MONETARY): Likewise.
21910 (LC_NUMERIC): Likewise.
21911 (LC_TIME): Likewise.
21912 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21913 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21915 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21917 [C99-based standards] (float_t): Expect type.
21918 [C99-based standards] (double_t): Expect type.
21919 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21921 [C99-based standards] (HUGE_VALL): Likewise.
21922 [C99-based standards] (INFINITY): Likewise.
21923 [C99-based standards] (NAN): Likewise.
21924 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21925 [C99-based standards] (FP_NAN): Likewise.
21926 [C99-based standards] (FP_NORMAL): Likewise.
21927 [C99-based standards] (FP_SUBNORMAL): Likewise.
21928 [C99-based standards] (FP_ZERO): Likewise.
21929 [C99-based standards] (FP_FAST_FMA): Use
21930 optional-macro-int-constant. Specify type. Require == 1.
21931 [C99-based standards] (FP_FAST_FMAF): Likewise.
21932 [C99-based standards] (FP_FAST_FMAL): Likewise.
21933 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21934 [C99-based standards] (FP_ILOGBNAN): Likewise.
21935 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21937 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21938 [C99-based standards] (math_errhandling): Specify type.
21939 [ISO99 || ISO11] (signgam): Do not allow.
21940 [non-C99-based standards] (copysignf): Do not allow.
21941 [non-C99-based standards] (exp2f): Likewise.
21942 [non-C99-based standards] (log2f): Likewise.
21943 [non-C99-based standards] (modff): Allow.
21944 [non-C99-based standards] (erff): Do not allow.
21945 [non-C99-based standards] (erfcf): Likewise.
21946 [non-C99-based standards] (gammaf): Likewise.
21947 [non-C99-based standards] (hypotf): Likewise.
21948 [non-C99-based standards] (j0f): Likewise.
21949 [non-C99-based standards] (j1f): Likewise.
21950 [non-C99-based standards] (jnf): Likewise.
21951 [non-C99-based standards] (lgammaf): Likewise.
21952 [non-C99-based standards] (tgammaf): Likewise.
21953 [non-C99-based standards] (y0f): Likewise.
21954 [non-C99-based standards] (y1f): Likewise.
21955 [non-C99-based standards] (ynf): Likewise.
21956 [non-C99-based standards] (isnanf): Likewise.
21957 [non-C99-based standards] (acoshf): Likewise.
21958 [non-C99-based standards] (asinhf): Likewise.
21959 [non-C99-based standards] (atanhf): Likewise.
21960 [non-C99-based standards] (cbrtf): Likewise.
21961 [non-C99-based standards] (expm1f): Likewise.
21962 [non-C99-based standards] (ilogbf): Likewise.
21963 [non-C99-based standards] (log1pf): Likewise.
21964 [non-C99-based standards] (logbf): Likewise.
21965 [non-C99-based standards] (nextafterf): Likewise.
21966 [non-C99-based standards] (remainderf): Likewise.
21967 [non-C99-based standards] (rintf): Likewise.
21968 [non-C99-based standards] (scalbf): Likewise.
21969 [non-C99-based standards] (copysignl): Likewise.
21970 [non-C99-based standards] (exp2l): Likewise.
21971 [non-C99-based standards] (log2l): Likewise.
21972 [non-C99-based standards] (modfl): Allow.
21973 [non-C99-based standards] (erfl): Do not allow.
21974 [non-C99-based standards] (erfcl): Likewise.
21975 [non-C99-based standards] (gammal): Likewise.
21976 [non-C99-based standards] (hypotl): Likewise.
21977 [non-C99-based standards] (j0l): Likewise.
21978 [non-C99-based standards] (j1l): Likewise.
21979 [non-C99-based standards] (jnl): Likewise.
21980 [non-C99-based standards] (lgammal): Likewise.
21981 [non-C99-based standards] (tgammal): Likewise.
21982 [non-C99-based standards] (y0l): Likewise.
21983 [non-C99-based standards] (y1l): Likewise.
21984 [non-C99-based standards] (ynl): Likewise.
21985 [non-C99-based standards] (isnanl): Likewise.
21986 [non-C99-based standards] (acoshl): Likewise.
21987 [non-C99-based standards] (asinhl): Likewise.
21988 [non-C99-based standards] (atanhl): Likewise.
21989 [non-C99-based standards] (cbrtl): Likewise.
21990 [non-C99-based standards] (expm1l): Likewise.
21991 [non-C99-based standards] (ilogbl): Likewise.
21992 [non-C99-based standards] (log1pl): Likewise.
21993 [non-C99-based standards] (logbl): Likewise.
21994 [non-C99-based standards] (nextafterl): Likewise.
21995 [non-C99-based standards] (remainderl): Likewise.
21996 [non-C99-based standards] (rintl): Likewise.
21997 [non-C99-based standards] (scalbl): Likewise.
21998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21999 [non-C99-based standards] (FP_*): Do not allow.
22000 [C99-based standards] (FP_*): Change to
22001 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22002 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22004 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22005 (SIG_ERR): Likewise.
22006 [X/Open-based standards] (SIG_HOLD): Likewise.
22007 (SIG_IGN): Likewise.
22008 (SIGABRT): Use macro-int-constant. Specify type. Require
22010 (SIGFPE): Likewise.
22011 (SIGILL): Likewise.
22012 (SIGINT): Likewise.
22013 (SIGSEGV): Likewise.
22014 (SIGTER): Likewise.
22015 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22016 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22017 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22018 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22019 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22020 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22021 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22022 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22023 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22025 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22026 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22027 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22028 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22029 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22030 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22031 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22032 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22033 [X/Open-based standards] (SIGTRAP): Likewise.
22034 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22035 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22036 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22037 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22038 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22041 2012-05-08 Ian Wienand <ianw@vmware.com>
22044 * time/tzset.c (__tzset_parse_tz): Update default rules for
22045 daylight time changes in the Energy Policy Act of 2005.
22047 2012-05-09 Andreas Jaeger <aj@suse.de>
22050 * elf/ldconfig.c (parse_conf): Change string to make clear that
22051 ldconfig only issued a warning if ld.so.conf does not exist.
22053 2012-05-08 David S. Miller <davem@davemloft.net>
22055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22056 movxtod instead of popping the value on the stack.
22058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22060 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22062 * config.h.in: Add HAVE_ARM_PCS_VFP.
22064 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22067 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22068 checking but the checks are disabled for any reason.
22070 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22072 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22073 and ELF64_R_TYPE with ELFW(R_TYPE).
22075 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22077 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22078 (ulimit): Likewise.
22080 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22081 (settimeofday): Likewise.
22083 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22085 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22086 a struct th_u2 inside the union, and move tu_block/tu_code into
22087 a new th_u3 union of tu_block/tu_code inside of that. Move
22088 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22089 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22090 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22091 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22092 (th_stuff): Change to th_u1.tu_stuff.
22094 (th_msg): Change to th_u1.th_u2.tu_data.
22096 2012-05-07 David S. Miller <davem@davemloft.net>
22098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22101 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22102 (SETUP_PIC_REG): Use it.
22103 (SETUP_PIC_REG_LEAF): Use it.
22105 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22111 (EXPL_FINITE): Likewise.
22112 (FLDLOG): Likewise.
22113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22114 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22118 (EXPL_FINITE): Likewise.
22119 (FLDLOG): Likewise.
22120 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22121 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22123 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22124 test of -max_value argument for long double.
22125 * sysdeps/i386/fpu/libm-test-ulps: Update.
22126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22128 2012-05-06 David S. Miller <davem@davemloft.net>
22130 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22131 quad soft-float symbols whose references which are compiler
22133 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22135 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22141 (EXPL_FINITE): Likewise.
22142 (FLDLOG): Likewise.
22145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22146 Adjust comments for base varying.
22147 (__expl_finite): Change alias to EXPL_FINITE.
22148 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22150 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22151 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22153 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22156 (EXPL_FINITE): Likewise.
22157 (FLDLOG): Likewise.
22160 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22161 Adjust comments for base varying.
22162 (__expl_finite): Change alias to EXPL_FINITE.
22163 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22168 * math/libm-test.inc (check_float_internal): Correct ulp
22169 calculation for subnormal expected results.
22171 2012-05-06 Andreas Jaeger <aj@suse.de>
22173 * Makeconfig (+math-flags): New, set to -frounding-math.
22174 (+cflags): Add +math-flags so that all of glibc gets compiled with
22177 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22179 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22181 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22187 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22188 (__ieee754_expl): Allow for and saturate large arguments.
22189 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22190 (u_threshold): Likewise.
22191 (__exp): Call __ieee754_exp before checking for overflow and
22193 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22194 (u_threshold): Likewise.
22195 (__expf): Call __ieee754_expf before checking for overflow and
22197 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22198 (u_threshold): Likewise.
22199 (__expl): Call __ieee754_expl before checking for overflow and
22201 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22202 (__ieee754_expl): Allow for and saturate large arguments.
22203 * math/libm-test.inc (exp_test): Add another test. Do not allow
22204 missing overflow exception on overflow.
22205 (expm1_test): Do not allow missing overflow exception on overflow.
22207 * sysdeps/i386/fpu/e_expl.c: Move to ...
22208 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22209 rather than using inline asm.
22210 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22211 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22212 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22214 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22217 (signal): Likewise.
22221 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22223 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22224 sysdeps/unix/common/syscalls.list.
22225 (fchmod): Likewise.
22226 (fchown): Likewise.
22227 (ftruncate): Likewise.
22228 (getrusage): Likewise.
22229 (gettimeofday): Likewise.
22230 (setpgid): Likewise.
22231 (setregid): Likewise.
22232 (setreuid): Likewise.
22233 (sigaction): Likewise.
22234 (truncate): Likewise.
22235 (vhangup): Likewise.
22236 * sysdeps/unix/common/syscalls.list: Remove file.
22237 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22238 * sysdeps/unix/sysv/linux/Implies: Likewise.
22240 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22242 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22244 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22254 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22257 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22260 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22263 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22266 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22270 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22274 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22281 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22285 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22287 * sysdeps/unix/common/bits/dirent.h: Remove file.
22288 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22290 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22291 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22292 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22293 * sysdeps/unix/bsd/isatty.c: Likewise.
22294 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22295 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22296 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22298 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22302 long double comparison inaccuracies.
22303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22306 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22308 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22311 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22314 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22315 nonzero digits before rounding a hex value.
22316 * stdlib/tst-strtod.c (tests): Add another test.
22318 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22320 * sysdeps/s390/fpu/libm-test-ulps: Update.
22322 2012-05-03 Andreas Jaeger <aj@suse.de>
22324 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22325 does not get optimized out.
22326 (malloc_opt_barrier): New.
22328 2012-05-03 Andreas Jaeger <aj@suse.de>
22329 Roland McGrath <roland@hack.frob.com>
22331 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22332 intermediate file deletion.
22333 (generated): Add .symlist files.
22335 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22338 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22339 Redirect under this condition.
22340 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22341 [__USE_GNU] (__dprintf_chk): Not under this condition.
22342 [__USE_GNU] (__vdprintf_chk): Likewise.
22343 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22344 under this condition.
22345 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22346 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22347 [__USE_XOPEN2K8] (vdprintf): Likewise.
22348 [__USE_GNU] (__dprintf_chk): Not under this condition.
22349 [__USE_GNU] (__vdprintf_chk): Likewise.
22350 [__USE_GNU] (dprintf): Likewise.
22351 [__USE_GNU] (vdprintf): Likewise.
22353 2012-05-03 Roland McGrath <roland@hack.frob.com>
22355 * elf/Makefile (common-generated): Set this instead of generated for
22356 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22357 $(all-built-dso)-derived lists.
22359 2012-05-03 Andreas Jaeger <aj@suse.de>
22361 * sysdeps/i386/fpu/libm-test-ulps: Update.
22364 * FAQ.in: Likewise.
22365 * scripts/gen-FAQ.pl: Likewise.
22366 * manual/install.texi (Installation): Point to online location of
22368 * Makefile (files-for-dist): Remove FAQ.
22371 2012-05-02 Allan McRae <allan@archlinux.org>
22373 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22374 (LDFLAGS-reldepmod5.so): Likewise.
22375 (LDFLAGS-reldep6mod1.so): Likewise.
22376 (LDFLAGS-reldep6mod4.so): Likewise.
22377 (LDFLAGS-reldep8mod3.so): Likewise.
22378 (LDFLAGS-unload4mod1.so): Likewise.
22379 (LDFLAGS-unload4mod2.so): Likewise.
22380 (LDFLAGS-tst-initorder): Likewise.
22381 (LDFLAGS-tst-initordera2.so): Likewise.
22382 (LDFLAGS-tst-initordera3.so): Likewise.
22383 (LDFLAGS-tst-initordera4.so): Likewise.
22384 (LDFLAGS-tst-initorderb2.so): Likewise.
22385 (LDFLAGS-noload): Likewise.
22386 (LDFLAGS-next): Likewise.
22387 (LDFLAGS-order2mod1.so): Likewise.
22388 (LDFLAGS-order2mod2.so): Likewise.
22389 (LDFLAGS-tst-initorder2): Likewise.
22390 (LDFLAGS-tst-initorder2a.so): Likewise.
22391 (LDFLAGS-tst-initorder2b.so): Likewise.
22392 (LDFLAGS-tst-initorder2c.so): Likewise.
22393 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22395 2012-05-02 David S. Miller <davem@davemloft.net>
22397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22399 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22402 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22404 2012-05-02 Andreas Jaeger <aj@suse.de>
22406 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22407 since we manipulate rounding mode.
22408 (CPPFLAGS-test-idouble.c): Likewise.
22409 (CPPFLAGS-test-ifloat.c): Likewise.
22410 (CFLAGS-test-ldouble.c): Likewise.
22411 (CFLAGS-test-double.c): Likewise.
22412 (CFLAGS-test-float.c): Likewise.
22413 (CFLAGS-test-misc.c): Likewise.
22414 (CFLAGS-test-test-fenv.c): Likewise.
22416 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22421 comparisons to determine direction to adjust input.
22423 2012-05-01 Roland McGrath <roland@hack.frob.com>
22425 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22426 output to the target.
22428 * scripts/localplt.awk: New file.
22429 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22430 (check-localplt-CFLAGS): Variable removed.
22431 ($(all-built-dso:=.jmprel)): New static pattern rule.
22432 (generated): Add those targets.
22433 (localplt-built-dso): New variable.
22434 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22436 * elf/check-localplt.c: File removed.
22438 * scripts/check-execstack.awk: New file.
22439 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22440 (check-execstack-CFLAGS): Variable removed.
22441 ($(objpfx)check-execstack.h): Target removed.
22442 ($(objpfx)execstack-default): New target.
22443 (generated): Add that instead of check-execstack.h.
22444 ($(all-built-dso:=.phdr)): New static pattern rule.
22445 (generated): Add those targets.
22446 * elf/check-execstack.c: File removed.
22448 * scripts/check-textrel.awk: New file.
22449 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22450 (check-textrel-CFLAGS): Variable removed.
22451 (all-built-dso): Use := to define.o
22452 ($(all-built-dso:=.dyn)): New static pattern rule.
22453 (generated): Add those targets.
22454 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22455 * config.make.in (READELF): New substituted variable.
22456 * elf/check-textrel.c: File removed.
22458 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22460 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22462 * conform/data/ctype.h-data [C99-based standards] (isblank):
22464 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22465 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22467 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22468 Specify type. Require positive value.
22469 (EILSEQ): Likewise.
22470 (ERANGE): Likewise.
22471 [ISO || POSIX] (EILSEQ): Do not expect.
22472 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22473 Specify type. Require positive value.
22474 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22475 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22476 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22477 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22480 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22481 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22482 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22486 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22496 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22502 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22504 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22505 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22506 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22507 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22508 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22513 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22514 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22515 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22516 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22517 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22519 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22520 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22522 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22523 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22524 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22525 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22526 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22527 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22534 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22539 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22548 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22549 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22550 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22552 (FLT_ROUNDS): Expect as macro, not constant.
22553 (FLT_MANT_DIG): Use macro-int-constant.
22554 (DBL_MANT_DIG): Likewise.
22555 (LDBL_MANT_DIG): Likewise.
22556 (FLT_DIG): Likewise.
22557 (DBL_DIG): Likewise.
22558 (LDBL_DIG): Likewise.
22559 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22560 (DBL_MIN_EXP): Likewise.
22561 (LDBL_MIN_EXP): Likewise.
22562 (FLT_MAX_EXP): Use macro-int-constant.
22563 (DBL_MAX_EXP): Likewise.
22564 (LDBL_MAX_EXP): Likewise.
22565 (FLT_MAX_10_EXP): Likewise.
22566 (DBL_MAX_10_EXP): Likewise.
22567 (LDBL_MAX_10_EXP): Likewise.
22568 (FLT_MAX): Use macro-constant.
22569 (DBL_MAX): Likewise.
22570 (LDBL_MAX): Likewise.
22571 (FLT_EPSILON): Use macro-constant. Give upper bound.
22572 (DBL_EPSILON): Likewise.
22573 (LDBL_EPSILON): Likewise.
22574 (FLT_MIN): Likewise.
22575 (DBL_MIN): Likewise.
22576 (LDBL_MIN): Likewise.
22577 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22578 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22579 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22580 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22581 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22582 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22583 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22584 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22585 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22586 [ISO11] (FLT_TRUE_MIN): Likewise.
22587 [ISO11] (LDBL_TRUE_MIN): Likewise.
22588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22589 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22590 (SCHAR_MIN): Use macro-int-constant. Specify type.
22591 (SCHAR_MAX): Likewise.
22592 (UCHAR_MAX): Likewise.
22593 (CHAR_MIN): Likewise.
22594 (CHAR_MAX): Likewise.
22595 (MB_LEN_MAX): Use macro-int-constant.
22596 (SHRT_MIN): Use macro-int-constant. Specify type.
22597 (SHRT_MAX): Likewise.
22598 (USHRT_MAX): Likewise.
22599 (INT_MAX): Likewise.
22600 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22602 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22604 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22606 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22607 bound negative. Suffix upper bound with "L".
22608 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22610 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22612 [C99-based standards] (LLONG_MAX): Likewise.
22613 [C99-based standards] (ULLONG_MAX): Likewise.
22614 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22616 [ISO11] (max_align_t): Require type.
22617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22619 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22620 from $CFLAGS, without defining away __attribute__ calls.
22621 (checknamespace): Use $CFLAGS_namespace.
22623 * conform/conformtest.pl (@keywords): Only include C99 keywords
22624 for standards based on C99 or C11.
22626 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22628 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22631 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22632 usability of symbols in #if.
22634 * conform/conformtest.pl: If macro or constant types start
22635 "promoted:", expect the symbol to be of the following type
22636 promoted by the integer promotions.
22638 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22639 in one place. Also handle "macro-constant".
22641 * conform/conformtest.pl: Only accept expected macro values with
22642 "==". Parse all "macro" lines in one place.
22643 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22645 * conform/conformtest.pl: Handle braced types on "constant" lines
22646 instead of handling "typed-constant".
22647 * conform/data/signal.h-data: Use "constant" instead of
22650 * conform/conformtest.pl: Handle "optional-" at start of lines in
22651 one place rather than duplicating several cases. Handle each
22652 format of "macro" line with initial "optional-".
22654 * conform/conformtest.pl: Only accept expected constant or
22655 optional-constant values with "==". Parse all "constant" lines in
22656 one place. Parse all "optional-constant" lines in one place.
22657 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22658 * conform/data/fmtmsg.h-data: Likewise.
22659 * conform/data/netinet/in.h-data: Likewise.
22660 * conform/data/tar.h-data: Likewise.
22661 * conform/data/limits.h-data: Use "==" form on "constant" and
22662 "optional-constant" lines.
22664 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22665 Use -std=c99 for XOPEN2K.
22666 (@knownproblems): Remove.
22667 (newtoken): Don't check %isknown.
22669 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22670 Do not expect macro.
22671 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22683 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22684 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22701 [XPG3] (acosh): Likewise.
22702 [XPG3] (asinh): Likewise.
22703 [XPG3] (atanh): Likewise.
22704 [XPG3] (cbrt): Likewise.
22705 [XPG3] (expm1): Likewise.
22706 [XPG3] (ilogb): Likewise.
22707 [XPG3] (log1p): Likewise.
22708 [XPG3] (logb): Likewise.
22709 [XPG3] (nextafter): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22712 [XPG3] (remainder): Likewise.
22713 [XPG3] (rint): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22721 [UNIX98 || XOPEN2K] (scalb): Expect.
22722 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22723 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22731 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22732 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22733 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22734 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22735 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22736 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22737 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22738 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22739 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22740 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22741 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22742 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22743 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22744 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22745 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22746 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22747 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22748 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22749 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22750 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22751 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22752 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22753 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22754 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22755 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22756 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22757 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22758 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22759 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22760 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22761 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22762 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22763 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22764 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22765 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22766 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22767 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22768 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22769 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22770 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22771 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22772 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22773 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22774 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22775 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22776 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22777 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22778 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22779 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22780 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22781 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22782 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22783 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22784 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22785 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22786 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22787 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22788 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22789 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22790 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22791 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22792 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22793 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22794 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22795 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22796 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22797 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22798 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22799 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22800 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22801 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22802 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22803 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22804 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22805 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22806 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22807 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22808 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22809 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22810 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22811 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22812 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22813 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22814 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22815 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22816 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22817 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22818 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22819 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22820 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22821 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22822 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22823 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22824 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22825 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22826 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22827 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22828 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22829 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22830 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22831 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22832 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22833 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22834 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22835 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22836 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22837 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22838 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22839 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22840 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22841 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22842 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22843 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22844 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22845 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22846 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22847 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22848 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22849 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22850 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22851 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22852 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22853 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22854 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22855 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22856 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22857 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22858 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22860 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22861 _XOPEN_SOURCE_EXTENDED for XPG4.
22863 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22865 * Makeconfig (localtime): Remove variable.
22866 (inst_localtime-file): Likewise.
22868 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22889 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22893 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22894 comparisons to determine direction to adjust input.
22895 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22896 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22906 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22908 * math/libm-test.inc (nexttoward_test): Add more tests.
22910 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22914 in version GLIBC_2.1, not GLIBC_2.0.
22915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22918 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22921 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22923 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22924 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22925 * math/libm-test.inc (acos_test): Add more tests.
22926 (asin_test): Likewise.
22927 * sysdeps/i386/fpu/libm-test-ulps: Update.
22928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22931 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22933 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22934 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22935 * math/libm-test.inc (acos_test_tonearest): New function.
22936 (acos_test_towardzero): Likewise.
22937 (acos_test_downward): Likewise.
22938 (acos_test_upward): Likewise.
22939 (asin_test_tonearest): Likewise.
22940 (asin_test_towardzero): Likewise.
22941 (asin_test_downward): Likewise.
22942 (asin_test_upward): Likewise.
22943 (main): Call the new functions.
22944 * sysdeps/i386/fpu/libm-test-ulps: Update.
22945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22949 * math/e_exp10.c: Include <float.h>.
22950 (__ieee754_exp10): Handle underflow here rather than multiplying
22951 large negative argument by M_LN10.
22952 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22954 * math/e_exp10l.c: Include <float.h>.
22955 (__ieee754_exp10l): Handle underflow here rather than multiplying
22956 large negative argument by M_LN10l.
22957 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22958 spurious overflow exception on underflow.
22960 2012-04-29 Marek Polacek <polacek@redhat.com>
22962 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22963 (__fortify_function): New macro.
22964 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22965 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22966 __extern_always_inline.
22967 * libio/bits/stdio2.h: Likewise.
22968 * libio/bits/stdio.h: Likewise.
22969 * string/string.h: Likewise.
22970 * string/bits/string3.h: Likewise.
22971 * include/stdio.h: Likewise.
22972 * stdlib/bits/stdlib.h: Likewise.
22973 * stdlib/stdlib.h: Likewise.
22974 * rt/bits/mqueue2.h: Likewise.
22975 * rt/mqueue.h: Likewise.
22976 * posix/bits/unistd.h: Likewise.
22977 * posix/unistd.h: Likewise.
22978 * io/bits/poll2.h: Likewise.
22979 * io/bits/fcntl2.h: Likewise.
22980 * io/fcntl.h: Likewise.
22981 * io/sys/poll.h: Likewise.
22982 * misc/bits/syslog.h: Likewise.
22983 * misc/bits/syslog-ldbl.h: Likewise.
22984 * misc/sys/syslog.h: Likewise.
22985 * socket/bits/socket2.h: Likewise.
22986 * socket/sys/socket.h: Likewise.
22987 * debug/tst-chk1.c: Likewise.
22988 * wcsmbs/bits/wchar2.h: Likewise.
22989 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22990 * wcsmbs/wchar.h: Likewise.
22992 2012-04-29 Andreas Jaeger <aj@suse.de>
22994 * Makerules (tests): Remove enable-check-abi protection.
22995 (check-abi-warn): Remove.
22996 (check-abi-%): Remove check-abi-warn usage.
22998 * configure.in: Remove check-abi configure option.
22999 * configure: Regenerated.
23000 * config.make.in (enable-check-abi): Remove.
23002 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23005 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23006 double functions to double *_finite functions.
23009 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23010 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23012 * stdio-common/Makefile (tests): Add tst-sprintf3.
23013 * stdio-common/tst-sprintf3.c: New file.
23015 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23016 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23018 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23020 * conform/conformtest.pl: Remove duplicate typed-constant
23023 2012-04-28 David S. Miller <davem@davemloft.net>
23025 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23026 (check-abi-%): Remove AWK script prerequisite and explicit
23028 (check-abi): Rewrite to just diff the symlist with the abilist.
23029 (config-tls, config-abi-config): Delete, no longer used.
23030 (update-abi-%): Remove AWK script and explicit abilist directory.
23031 (update-abi): Rewrite to simply compare and conditionally copy the
23032 symlist and the sysdep abilist file. Remove update-abi-config
23034 * abilist/ld.abilist: Remove.
23035 * abilist/libBrokenLocale.abilist: Remove.
23036 * abilist/libanl.abilist: Remove.
23037 * abilist/libcrypt.abilist: Remove.
23038 * abilist/libdl.abilist: Remove.
23039 * abilist/librt.abilist: Remove.
23040 * abilist/libthread_db.abilist: Remove.
23041 * abilist/libutil.abilist: Remove.
23042 * scripts/extract-abilist.awk: Remove.
23043 * scripts/merge-abilist.awk: Remove.
23044 * sysdeps/generic/libcidn.abilist: New file.
23045 * sysdeps/generic/libnss_compat.abilist: New file.
23046 * sysdeps/generic/libnss_db.abilist: New file.
23047 * sysdeps/generic/libnss_dns.abilist: New file.
23048 * sysdeps/generic/libnss_files.abilist: New file.
23049 * sysdeps/generic/libnss_hesiod.abilist: New file.
23050 * sysdeps/generic/libnss_nis.abilist: New file.
23051 * sysdeps/generic/libnss_nisplus.abilist: New file.
23052 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23053 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23054 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23057 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23058 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23059 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23060 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23062 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23063 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23064 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23066 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23068 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23071 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23072 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23074 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23075 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23076 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23078 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23079 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23080 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23185 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23186 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23187 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23190 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23191 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23192 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23193 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23194 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23195 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23196 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23197 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23198 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23250 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23252 * conform/conformtest.pl: Fix typo in handling typed-constant from
23255 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23257 * README: Cut down references to pre-2.6 Linux kernels and
23258 Linuxthreads. Update lists of configurations in libc and ports
23259 and sort alphabetically. Say "or newer" with Linux kernel version
23262 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23264 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23267 * math/libm-test.inc (logb_test_downward): New test to expose
23268 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23271 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23274 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23276 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23277 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23279 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23281 * sysdeps/unix/i386/brk.S: Remove file.
23282 * sysdeps/unix/i386/dl-brk.S: Likewise.
23283 * sysdeps/unix/i386/pipe.S: Likewise.
23284 * sysdeps/unix/i386/sigreturn.S: Likewise.
23285 * sysdeps/unix/i386/syscall.S: Likewise.
23286 * sysdeps/unix/i386/vfork.S: Likewise.
23287 * sysdeps/unix/i386/wait.S: Likewise.
23289 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23290 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23292 * configure.in (arm*-none*): Do not allow without
23293 --enable-hacker-mode.
23294 (netbsd*): Remove case setting base_os.
23295 (386bsd*): Likewise.
23296 (freebsd*): Likewise.
23299 (sunos*): Likewise.
23300 (ultrix*): Likewise.
23301 (newsos*): Likewise.
23302 (dynix*): Likewise.
23308 (minix*): Likewise.
23309 (irix4*): Likewise.
23310 (irix6*): Likewise.
23311 (solaris[2-9]*): Likewise.
23313 * configure: Regenerated.
23315 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23319 overflow or cancellation in calculating denominator.
23320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23322 down expression to avoid unexpected rounding in newer GCCs.
23323 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23325 2012-04-26 David S. Miller <davem@davemloft.net>
23327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23328 long-double compat symbols.
23329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23343 2012-04-25 David S. Miller <davem@davemloft.net>
23345 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23346 HWCAP_* values only after the memory barriers have been defined.
23347 (atomic_full_barrier): Define.
23348 (atomic_read_barrier): Define.
23349 (atomic_write_barrier): Define.
23351 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23353 * shlib-versions: Add libgcc_s version information.
23354 * sysdeps/generic/libgcc_s.h: Remove.
23355 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23357 * sysdeps/gnu/unwind-resume.c: Likewise.
23358 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23360 2012-04-25 David S. Miller <davem@davemloft.net>
23362 * sysdeps/unix/sparc/brk.S: Delete.
23363 * sysdeps/unix/sparc/dl-brk.S: Delete.
23364 * sysdeps/unix/sparc/pipe.S: Delete.
23365 * sysdeps/unix/sparc/sysdep.S: Delete.
23366 * sysdeps/unix/sparc/sysdep.h: Delete.
23367 * sysdeps/unix/sparc/vfork.S: Delete.
23368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23369 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23371 ret_ERRVAL, r0, r1, MOVE): Define.
23372 (JUMPTARGET): Remove.
23373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23374 sysdeps/unix/sparc/sysdep.h
23375 (ENTRY, END): Remove.
23376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23378 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23380 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23381 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23384 * timezone/README: Update upstream location and email address for
23386 * timezone/zdump.c: Update from tzcode 2012b.
23387 * timezone/zic.c: Likewise.
23389 * configure.in (libc_cv_as_needed): Remove test.
23390 * configure: Regenerated.
23391 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23392 conditional definition.
23393 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23394 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23395 * config.make.in (have-as-needed): Remove variable.
23397 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23398 Paul Pluzhnikov <ppluzhnikov@google.com>
23400 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23403 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23405 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23406 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23407 * sysdeps/sh/strlen.S: Likewise.
23409 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23411 * sysdeps/unix/fork.S: Remove file.
23412 * sysdeps/unix/i386/fork.S: Likewise.
23413 * sysdeps/unix/sparc/fork.S: Likewise.
23415 * sysdeps/unix/system.c: Remove file.
23416 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23418 * sysdeps/unix/getegid.S: Remove file.
23419 * sysdeps/unix/geteuid.S: Likewise.
23421 2012-04-24 Roland McGrath <roland@hack.frob.com>
23423 * scripts/check-localplt.awk: New file.
23424 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23426 * scripts/data/localplt-generic.data: Add a comment.
23428 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23429 NODE when __dir_mkfile failed.
23430 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23431 Reported by Ludovic Courtès <ludo@gnu.org>.
23433 2012-04-24 Andreas Jaeger <aj@suse.de>
23435 * Makerules (common-clean): Also remove gen-as-const-headers
23438 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23440 * Makerules (native-compile): Do not change working directory for
23441 build. Use $(OUTPUT_OPTION) in command.
23442 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23444 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23447 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23448 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23449 * math/libm-test.inc (floor_test): Add more tests.
23450 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23452 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23454 * sysdeps/unix/getdents.c: Remove file.
23455 * sysdeps/unix/sysv/getdents.c: Likewise.
23456 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23458 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23459 sysdeps/unix/mman/syscalls.list.
23461 (mprotect): Likewise.
23463 (munmap): Likewise.
23464 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23465 * sysdeps/unix/mman/syscalls.list: Remove.
23466 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23468 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23469 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23470 * configure: Regenerated.
23471 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23472 $(libgcc_s_suffix).
23473 * config.make.in (libgcc_s_suffix): Remove variable.
23475 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23477 * sysdeps/unix/sysv/gethostname.c: Move to ...
23478 * sysdeps/posix/gethostname.c: ... here.
23480 * sysdeps/unix/execve.S: Remove file.
23482 * sysdeps/unix/_exit.S: Remove file.
23484 2012-04-23 Andreas Jaeger <aj@suse.de>
23487 * manual/Makefile: Remove make dist support, there's no
23488 need for a stand-alone documentation tar ball.
23489 (TEXI2DVI): Define always, it's not in Makeconfig.
23492 (edition): Removed.
23493 (glibc-doc-$(edition).tar): Removed
23497 (ETAGS): Remove, it's in Makeconfig.
23498 (move-if-change): Remove, it's in Makeconfig.
23500 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23503 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23504 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23505 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23506 (strtod_l, strtof_l, strtold_l): Remove __wur.
23507 It is not necessarily an error to ignore strtol's return value.
23508 One can reliably look at the stored endptr to decide whether
23509 the number had valid syntax.
23511 2012-04-21 Andreas Jaeger <aj@suse.de>
23514 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23516 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23519 * sysdeps/unix/sysv/Versions: Remove file.
23521 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23526 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23530 version from __vm86.
23532 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23534 * sysdeps/unix/common/lxstat.c: Remove file.
23535 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23537 * sysdeps/unix/sysv/Makefile: Remove file.
23539 * sysdeps/unix/sysv/direct.h: Remove file.
23541 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23542 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23543 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23544 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23545 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23546 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23547 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23549 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23551 * sysdeps/unix/xmknod.c: Remove file.
23552 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23554 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23556 * sysdeps/unix/sysv/i386/time.S: Remove file.
23558 * sysdeps/unix/fxstat.c: Remove file.
23559 * sysdeps/unix/xstat.c: Likewise.
23560 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23562 * sysdeps/unix/sysv/sigaction.c: Remove file.
23564 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23565 (sysdep_headers): Remove variable.
23566 [termio.h not in sysdep_headers] (generated): Likewise.
23567 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23568 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23569 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23570 * sysdeps/unix/sysv/tcflow.c: Likewise.
23571 * sysdeps/unix/sysv/tcflush.c: Likewise.
23572 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23573 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23574 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23575 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23576 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23578 * sysdeps/unix/siglist.c: Remove file.
23580 * sysdeps/unix/getppid.S: Remove file.
23582 * sysdeps/unix/mkdir.c: Remove file.
23583 * sysdeps/unix/rmdir.c: Likewise.
23585 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23587 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23589 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23590 errlist-compat value.
23592 2012-04-18 David S. Miller <davem@davemloft.net>
23594 * sysdeps/generic/memcopy.h (reg_char): Delete.
23595 * debug/strcat_chk.c: Use char, not reg_char.
23596 * debug/strcpy_chk.c: Likewise.
23597 * debug/strncat_chk.c: Likewise.
23598 * debug/strncpy_chk.c: Likewise.
23599 * string/memchr.c: Likewise.
23600 * string/memrchr.c: Likewise.
23601 * string/rawmemchr.c: Likewise.
23602 * string/strcat.c: Likewise.
23603 * string/strchr.c: Likewise.
23604 * string/strchrnul.c: Likewise.
23605 * string/strcmp.c: Likewise.
23606 * string/strcpy.c: Likewise.
23607 * string/strncat.c: Likewise.
23608 * string/strncmp.c: Likewise.
23609 * string/strncpy.c: Likewise.
23611 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23613 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23614 __builtin_memcopy is called when src and dest ranges are known to not
23617 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23620 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23621 fwd_align_merge macro call.
23622 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23623 bwd_align_merge macro call.
23624 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23626 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23628 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23629 bwd_align_merge macros.
23630 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23631 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23634 2012-04-18 David S. Miller <davem@davemloft.net>
23636 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23638 2012-04-18 Andreas Jaeger <aj@suse.de>
23641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23642 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23646 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23649 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23650 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23651 Adjust for changed ldbl-128 files.
23653 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23654 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23657 2012-04-17 David S. Miller <davem@davemloft.net>
23659 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23661 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23663 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23664 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23665 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23666 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23667 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23668 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23670 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23673 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23674 * math/libm-test.inc: Add ilogb errno and exception tests.
23675 * math/w_ilogb.c: New file: ilogb wrapper.
23676 * math/w_ilogbf.c: New file: ilogbf wrapper.
23677 * math/w_ilogbl.c: New file: ilogbl wrapper.
23678 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23679 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23680 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23681 exception being thrown with 0.0 as argument.
23682 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23683 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23684 exception being thrown with 0.0 as argument.
23685 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23686 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23687 exception being thrown with 0.0 as argument.
23688 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23689 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23690 exception being thrown with 0.0 as argument.
23691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23692 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23694 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23697 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23698 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23699 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23701 2012-04-17 Petr Baudis <pasky@ucw.cz>
23703 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23706 2012-04-16 Marek Polacek <polacek@redhat.com>
23708 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23710 2012-04-16 Marek Polacek <polacek@redhat.com>
23712 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23713 operands of fdivp instruction.
23715 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23717 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23718 * elf/tst-auditmod3b.c: Likewise.
23719 * elf/tst-auditmod4b.c: Likewise.
23720 * elf/tst-auditmod5b.c: Likewise.
23721 * elf/tst-auditmod6b.c: Likewise.
23722 * elf/tst-auditmod6c.c: Likewise.
23723 * elf/tst-auditmod7b.c: Likewise.
23724 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23725 * sysdeps/x86_64/preconfigure.in: Likewise.
23726 * sysdeps/x86_64/preconfigure: Regenerated.
23728 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23730 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23733 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23736 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23738 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23741 * locale/iso-639.def: Fix gl language name. Spotted by
23744 2012-04-12 Roland McGrath <roland@hack.frob.com>
23747 * libio/libio.h (__io_write_fn): Update comment.
23749 2012-04-12 Petr Baudis <pasky@ucw.cz>
23752 * stdio.texi (Hook Functions): The user provided writer function
23753 is not allowed to return -1.
23755 2012-04-11 David S. Miller <davem@davemloft.net>
23757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23759 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23761 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23762 Add a leading slash to rtkaio.
23764 2012-04-11 Jim Meyering <meyering@redhat.com>
23767 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23768 It is not necessarily an error to ignore fwrite's return
23769 value. One can reliably use ferror to test for errors after
23772 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23774 * bits/types.h (__snseconds_t): New type.
23775 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23777 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23779 (__SNSECONDS_T_TYPE): Likewise.
23780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23781 (__SNSECONDS_T_TYPE): Likewise.
23782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23783 (__SNSECONDS_T_TYPE): Likewise.
23785 2012-04-10 Andreas Jaeger <aj@suse.de>
23788 * manual/time.texi (Processor Time): Return type of times is
23789 elapsed real time since an arbitrary point in the past.
23790 (CPU Time): Move CLK_TCK from here...
23791 (Processor Time): ...to here. Correct description.
23792 * manual/conf.texi (Constants for Sysconf): Correct description of
23795 2012-04-10 David S. Miller <davem@davemloft.net>
23798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23799 where the is a gap between DT_REL(A) and DT_JMPREL.
23801 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23803 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23804 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23805 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23807 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23809 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23810 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23811 (dl_main): Handle --inhibit-cache.
23812 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23814 * elf/dl-load.c (_dl_map_object): Use it.
23815 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23817 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23820 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23821 (__ieee754_powl): Saturate large exponents rather than testing for
23822 overflow of y*log2(x).
23823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23824 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23828 * math/s_ctan.c: Include <float.h>.
23829 (__ctan): Avoid internal overflow or cancellation in calculating
23831 * math/s_ctanf.c: Likewise.
23832 * math/s_ctanl.c: Likewise.
23833 * math/s_ctanh.c: Likewise.
23834 * math/s_ctanhf.c: Likewise.
23835 * math/s_ctanhl.c: Likewise.
23836 * math/libm-test.inc (ctan_test): Add more tests.
23837 (ctanh_test): Likewise.
23838 * sysdeps/i386/fpu/libm-test-ulps: Update.
23839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23841 2012-04-09 Andreas Jaeger <aj@suse.de>
23844 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23845 is an optional BSD extension.
23848 * manual/stdio.texi (Opening Streams): Document additional fopen
23851 2012-04-09 Roland McGrath <roland@hack.frob.com>
23853 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23854 %eax without telling the compiler.
23856 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23859 * manual/install.texi: Use sourceware.org.
23861 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23864 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23865 (__ieee754_pow): Generate overflow and underflow using huge*huge
23866 and tiny*tiny rather than just returning constant infinity or zero
23867 for large exponents.
23868 * math/libm-test.inc (pow_test): Require overflow exceptions for
23869 applicable cases of large exponents.
23872 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23873 (__ieee754_pow): Use iterative multiplication algorithm only for
23874 integer exponents with absolute value below 1024. Check for odd
23875 integer exponents when using algorithm for real exponents.
23876 * math/libm-test.inc (pow_test): Add more tests.
23877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23879 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23882 * math/libm-test.inc (exp_test): Do not allow overflow exception
23885 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23888 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23889 instead of __kernel_standard_f.
23891 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23893 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23894 * sysdeps/x86_64/memset_chk.S: Likewise.
23896 2012-04-08 Andreas Jaeger <aj@suse.de>
23899 * manual/startup.texi (Environment Access): Describe return value
23900 for putenv and setenv.
23903 * manual/filesys.texi (Directory Entries): Add description for
23907 * manual/filesys.texi (Directory Entries): Clarify that it's file
23908 system not operating system in the description of DT_UNKNOWN.
23911 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23913 2012-04-08 Stephen Compall <s11@member.fsf.org>
23916 * manual/llio.texi (Opening and Closing Files): Add cross
23917 reference to explain mode argument.
23919 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23921 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23922 * sysdeps/x86_64/memset_chk.S: Likewise.
23924 2012-04-07 David S. Miller <davem@davemloft.net>
23926 * elf/elf.h (R_SPARC_WDISP10): Define.
23927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23930 R_SPARC_SIZE64 and R_SPARC_H34.
23932 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23935 conditions and remove no longer applicable assertion.
23937 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23939 * bits/byteswap.h: Include <features.h>.
23940 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23941 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23943 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23945 * bits/byteswap.h (__bswap_16): Removed.
23946 Include <bits/byteswap-16.h> to get __bswap_16.
23947 * sysdeps/i386/bits/byteswap.h: Likewise.
23948 * sysdeps/s390/bits/byteswap.h: Likewise.
23949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23950 * bits/byteswap-16.h: New file.
23951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23952 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23953 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23954 * string/Makefile (headers): Add bits/byteswap-16.h.
23956 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23959 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23961 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23962 * nss/tst-nss-static.c: New.
23964 2012-04-06 Robert Millan <rmh@gnu.org>
23967 * manual/llio.texi (File Position Primitive): lseek
23968 refers to WHENCE when it really means OFFSET.
23970 2012-04-06 Andreas Jaeger <aj@suse.de>
23972 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23973 strncmp declarations.
23975 * abilist/libc.abilist: Add __poll and __ppoll.
23977 2012-04-05 David S. Miller <davem@davemloft.net>
23979 * scripts/check-local-headers.sh: Accept a host triplet in the
23980 path matched by the exclude regexp.
23982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23984 * sysdeps/powerpc/powerpc32/dl-machine.h
23985 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23986 * sysdeps/s390/s390-32/dl-machine.h
23987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23988 * sysdeps/sparc/sparc32/dl-machine.h
23989 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23990 * sysdeps/sparc/sparc64/dl-machine.h
23991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23993 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23995 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23996 undefined symbol errors.
23998 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24001 2012-04-05 Michael Matz <matz@suse.de>
24004 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24006 2012-04-05 Andreas Jaeger <aj@suse.de>
24009 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24012 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24014 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24015 which ROUND is no valid rounding mode.
24017 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24021 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24023 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24026 an exception using FPU order intentionally.
24028 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24030 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24031 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24032 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24033 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24035 2012-04-05 Simon Josefsson <simon@josefsson.org>
24038 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24039 EINVAL when BUFLEN is too smal.
24041 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24044 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24045 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24047 2012-04-03 Andreas Jaeger <aj@suse.de>
24050 * manual/setjmp.texi (System V contexts): Fix sentence.
24053 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24054 New macro for this case.
24055 [!__GNUC__] (__bswap_64): New inline function for this case.
24056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24057 * bits/byteswap.h: Likewise.
24058 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24059 ull, guard with __GLIBC_HAVE_LONG_LONG.
24061 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24062 __GLIBC_HAVE_LONG_LONG.
24064 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24065 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24067 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24070 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24071 inptr and inend, rather than using last_ch.
24073 2012-04-02 David S. Miller <davem@davemloft.net>
24075 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24076 * stdio-common/printf-parse.h (read_int): Change return type to
24077 'int', return -1 on INT_MAX overflow.
24078 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24079 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24080 overflows INT_MAX. Check for overflow of in-format-string precision
24081 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24082 SIZE_MAX not INT_MAX for integer overflow test.
24083 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24084 skip the construct in the format string but do not record anything.
24085 * stdio-common/bug22.c: Adjust to test both width/prevision
24086 INT_MAX overflow as well as total length INT_MAX overflow. Check
24087 explicitly for proper errno values.
24089 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24091 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24093 * string/test-strcmp.c [! WIDE]: Likewise.
24094 * time/tst-mktime2.c: Likewise for INT_MAX.
24095 * string/test-string.h: #include <sys/param.h> for MIN.
24097 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24098 * sysdeps/i386/init-first.c (init): Likewise.
24099 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24100 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24101 * sysdeps/sh/init-first.c (init): Likewise.
24103 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24105 * po/ru.po: Update from translation team.
24106 * po/vi.po: Likewise.
24108 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24110 * resolv/nss_dns/dns-host.c: Merge copyright years.
24112 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24115 Optimize memcpy with prefetch if
24116 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24117 src, dst pointers have unequal 16 byte alignments.
24119 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24122 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24123 from a CNAME entry and return the minimum ttl for the query.
24124 (gaih_getanswer_slice): Likewise.
24126 2012-03-30 Jeff Law <law@redhat.com>
24128 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24130 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24131 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24133 * resolv/nss_dns/dns-host.c: Update copyright year.
24135 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24137 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24138 requests to save a system call. Fix check that all bytes are sent.
24140 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24141 comments for sendmmsg.
24143 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24146 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24147 with only 1 character between 0x0041 and 0x01b0.
24148 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24149 * wcsmbs/tst-mbsnrtowcs.c: New file.
24151 2012-03-29 David S. Miller <davem@davemloft.net>
24153 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24154 small copies by hand.
24156 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24159 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24160 _nss_compat_initgroups_dyn): Fall back to malloc/free
24161 for large group memberships.
24163 2012-03-28 David S. Miller <davem@davemloft.net>
24165 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24166 that branches into memcpy.
24167 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24170 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24173 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24174 implementation too.
24175 * sysdeps/sparc/mempcpy.S: New file.
24177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24178 the IFUNC routine in the libc case.
24179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24181 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24182 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24183 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24184 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24185 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24186 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24187 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24188 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24190 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24191 loop to 256 bytes instead of 64 bytes and fix test signedness.
24193 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24194 * sysdeps/sparc/sparc32/Makefile: rather than here...
24195 * sysdeps/sparc/sparc64/Makefile: and here.
24197 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24199 * malloc/mallocbug.c: Avoid warnings about unused variables.
24201 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24204 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24205 in the right place. Discard and retry query if response is
24206 larger than input buffer size.
24208 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24213 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24214 x for large integer exponent.
24215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24217 sign of result as needed afterwards.
24218 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24219 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24220 result for underflowing pow the same as for overflow.
24221 (__kernel_standard_l): Handle powl overflow and underflow here
24222 rather than calling __kernel_standard.
24223 * math/libm-test.inc (pow_test): Add more tests.
24238 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24239 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24240 (__kernel_standard_l): New function.
24241 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24243 * math/w_acosl.c (__acosl): Likewise.
24244 * math/w_asinl.c (__asinl): Likewise.
24245 * math/w_atan2l.c (__atan2l): Likewise.
24246 * math/w_atanhl.c (__atanhl): Likewise.
24247 * math/w_coshl.c (__coshl): Likewise.
24248 * math/w_exp10l.c (__exp10l): Likewise.
24249 * math/w_exp2l.c (__exp2l): Likewise.
24250 * math/w_fmodl.c (__fmodl): Likewise.
24251 * math/w_hypotl.c (__hypotl): Likewise.
24252 * math/w_j0l.c (__j0l, __y0l): Likewise.
24253 * math/w_j1l.c (__j1l, __y1l): Likewise.
24254 * math/w_jnl.c (__jnl, __ynl): Likewise.
24255 * math/w_lgammal.c (__lgammal): Likewise.
24256 * math/w_log10l.c (__log10l): Likewise.
24257 * math/w_log2l.c (__log2l): Likewise.
24258 * math/w_logl.c (__logl): Likewise.
24259 * math/w_powl.c (__powl): Likewise.
24260 * math/w_remainderl.c (__remainderl): Likewise.
24261 * math/w_scalbl.c (sysv_scalbl): Likewise.
24262 * math/w_sinhl.c (__sinhl): Likewise.
24263 * math/w_sqrtl.c (__sqrtl): Likewise.
24264 * math/w_tgammal.c (__tgammal): Likewise.
24265 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24266 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24267 * math/libm-test.inc (acos_test): Add more tests.
24268 (acosh_test): Likewise.
24269 (asin_test): Likewise.
24270 (atanh_test): Likewise.
24271 (exp_test): Likewise.
24272 (exp10_test): Likewise.
24273 (exp2_test): Likewise.
24274 (expm1_test): Likewise.
24275 (lgamma_test): Likewise.
24276 (log_test): Likewise.
24277 (log10_test): Likewise.
24278 (log1p_test): Likewise.
24279 (log2_test): Likewise.
24280 (pow_test): Do not allow some spurious overflow exceptions.
24281 (sqrt_test): Add more tests.
24282 (tgamma_test): Likewise.
24283 (y0_test): Likewise.
24284 (y1_test): Likewise.
24285 (yn_test): Likewise.
24287 2012-03-27 Anton Blanchard <anton@samba.org>
24289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24295 2012-03-27 David S. Miller <davem@davemloft.net>
24297 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24299 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24300 have-as-vis3 check.
24302 2012-03-27 Andreas Jaeger <aj@suse.de>
24304 * sysdeps/x86_64/elf/configure.in: Moved to ...
24305 * sysdeps/x86_64/configure.in: ... here.
24306 * sysdeps/x86_64/elf/start.S: Moved to ...
24307 * sysdeps/x86_64/start.S: ... here.
24308 * sysdeps/x86_64/elf/configure: Delete.
24310 * sysdeps/x86_64/configure.in: Merge contents from
24311 sysdeps/i386/configure.in (without i686 check).
24313 * sysdeps/i386/elf/Versions: Merge into ...
24314 * sysdeps/i386/Versions: ... this.
24315 * sysdeps/i386/elf/Versions: Delete file.
24316 * sysdeps/i386/elf/start.S: Moved to ...
24317 * sysdeps/i386/start.S: ...here.
24318 * sysdeps/i386/elf/configure.in: Merge into...
24319 * sysdeps/i386/configure.in: ...here.
24320 * sysdeps/i386/elf/configure.in: Delete file.
24321 * sysdeps/i386/elf/configure: Delete file.
24323 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24324 * debug/backtracesyms.c: ... here.
24325 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24326 * debug/backtracesymsfd.c: ... here.
24327 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24328 * sysdeps/generic/ifunc-sel.h: ... here.
24330 * sysdeps/unix/i386/start.c: Delete file.
24331 * sysdeps/unix/sparc/start.c: Delete file.
24332 * sysdeps/unix/start.c: Delete file.
24334 * sysdeps/sh/elf/configure.in: Moved to ...
24335 * sysdeps/sh/configure.in: ... here.
24336 * sysdeps/sh/elf/start.S: Moved to ...
24337 * sysdeps/sh/start.S: ... here.
24338 * sysdeps/sh/elf/configure: Delete file.
24340 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24341 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24342 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24343 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24344 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24345 * sysdeps/powerpc/powerpc64/start.S: here.
24346 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24347 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24348 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24349 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24350 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24352 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24353 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24354 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24355 * sysdeps/powerpc/powerpc32/start.S: ... here.
24356 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24357 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24358 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24360 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24361 * sysdeps/powerpc/ifunc-sel.h: ... here.
24362 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24363 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24365 * sysdeps/sparc/elf/configure.in: Moved to ...
24366 * sysdeps/sparc/configure.in: ... here.
24367 * sysdeps/sparc/elf/configure: Delete file.
24368 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24369 * sysdeps/sparc/sparc32/start.S: ... here.
24370 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24371 * sysdeps/sparc/sparc64/start.S: ... here.
24372 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24373 * sysdeps/sparc/sparc32/Makefile: ... this.
24374 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24375 * sysdeps/sparc/sparc64/Makefile: ... this.
24377 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24378 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24379 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24380 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24381 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24382 * sysdeps/s390/s390-32/setjmp.S: ... here.
24383 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24384 * sysdeps/s390/s390-32/configure.in: ... here.
24385 * sysdeps/s390/s390-32/elf/configure: Delete file.
24386 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24387 * sysdeps/s390/s390-32/start.S: ... here.
24389 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24390 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24391 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24392 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24393 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24394 * sysdeps/s390/s390-64/setjmp.S: ... here.
24395 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24396 * sysdeps/s390/s390-64/configure.in: ... here
24397 * sysdeps/s390/s390-64/elf/configure: Delete file.
24398 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24399 * sysdeps/s390/s390-64/start.S: ... here.
24400 * sysdeps/s390/s390-64/elf/configure: Delete.
24402 * configure.in: Remove support for elf directories in sysdeps.
24404 * configure: Regenerated.
24405 * sysdeps/i386/configure: Regenerated.
24406 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24407 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24408 * sysdeps/s390/s390-32/configure: Regenerated.
24409 * sysdeps/s390/s390-64/configure: Regenerated.
24410 * sysdeps/sh/configure: Regenerated.
24411 * sysdeps/sparc/configure: Regenerated.
24412 * sysdeps/x86_64/configure: Regenerated.
24414 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24419 denormal result into account.
24421 2012-03-25 Roland McGrath <roland@hack.frob.com>
24423 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24424 Reported by Allan McRae <allan@archlinux.org>.
24426 2012-03-23 Jeff Law <law@redhat.com>
24428 * nss/getnssent.c (__nss_getent): Fix typo.
24430 2012-03-23 David S. Miller <davem@davemloft.net>
24432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24434 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24436 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24437 to pad to uint64_t for each field.
24438 (dl_tls_index): Replace unsigned long with uint64_t.
24440 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24441 Paul Pluzhnikov <ppluzhnikov@google.com>
24444 * grp/Makefile (otherlibs): Don't set it.
24445 * inet/Makefile (otherlibs): Likewise.
24446 * login/Makefile (otherlibs): Likewise.
24447 * nscd/Makefile (otherlibs): Likewise.
24448 * posix/Makefile (otherlibs): Likewise.
24449 * pwd/Makefile (otherlibs): Likewise.
24450 * rt/Makefile (otherlibs): Likewise.
24451 * sunrpc/Makefile (otherlibs): Likewise.
24452 * nss/Makefile (otherlibs): Likewise.
24453 Add libnss_files to routines and static-only-routines.
24454 ($(objpfx)getent): Remove rule.
24455 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24456 static-only-routines.
24458 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24461 * math/s_cexp.c: Include <float.h>.
24462 (__cexp): Handle exp result overflowing not necessarily
24463 overflowing both real and imaginary parts of result.
24464 * math/s_cexpf.c: Likewise.
24465 * math/s_cexpl.c: Likewise.
24466 * math/libm-test.inc (cexp_test): Add more tests.
24467 * sysdeps/i386/fpu/libm-test-ulps: Update.
24468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24470 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24472 * include/link.h (ELFW): New macro.
24473 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24474 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24476 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24478 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24481 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24483 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24485 (struct La_x32_retval): Likewise.
24487 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24489 * sysdeps/x86_64/preconfigure.in: New file.
24490 * sysdeps/x86_64/preconfigure: New generated file.
24492 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24495 * math/e_exp2l.c: Include <float.h>.
24496 (__ieee754_exp2l): Handle overflow and underflow cases
24497 separately. Only pass fractional part of argument to
24499 * math/libm-test.inc (exp2_test): Add more tests.
24501 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24502 negating x to take absolute value.
24503 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24505 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24506 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24508 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24509 computing low part if x was negated.
24510 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24512 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24514 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24515 la_x32_gnu_pltexit.
24516 (pltexit): Cast int_retval to ptrdiff_t.
24517 * elf/tst-auditmod3b.c: Likewise.
24518 * elf/tst-auditmod4b.c: Likewise.
24519 * elf/tst-auditmod5b.c: Likewise.
24520 * elf/tst-auditmod6b.c: Likewise.
24521 * elf/tst-auditmod6c.c: Likewise.
24522 * elf/tst-auditmod7b.c: Likewise.
24524 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24525 and x32_gnu_pltexit.
24527 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24528 __ELF_NATIVE_CLASS.
24529 (La_x32_regs): New macro.
24530 (La_x32_retval): Likewise.
24531 (la_x32_gnu_pltenter): New function prototype.
24532 (la_x32_gnu_pltexit): Likewise.
24534 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24541 * configure.in (libc_cv_cc_nofma): Check for option to disable
24542 generation of FMA instructions.
24543 * configure: Regenerate.
24544 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24545 * sysdeps/ieee754/dbl-64/Makefile: New file.
24546 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24547 Remove brandred-fma4.
24548 (CFLAGS-brandred-fma4.c): Remove.
24549 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24550 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24555 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24557 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24558 LLONG_MAX != LONG_MAX.
24559 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24560 (_fitoa_word): Likewise.
24561 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24562 LLONG_MAX != LONG_MAX.
24563 * stdio-common/_itowa.h: Include <_itoa.h>.
24564 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24565 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24566 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24567 only if not defined.
24568 (_ITOA_WORD_TYPE): Likewise.
24569 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24570 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24572 2012-03-21 David S. Miller <davem@davemloft.net>
24574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24576 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24578 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24579 of x86_64 when setting libc_cv_slibdir, libdir and
24581 * sysdeps/unix/sysv/linux/configure: Regenerated.
24583 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24585 * manual/lang.texi (Old Varargs): Remove section.
24586 (How Variadic): Update menu.
24587 (va_start): Do not mention varargs.h.
24589 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24590 Joseph Myers <joseph@codesourcery.com>
24592 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24594 * configure: Regenerated.
24596 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24598 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24599 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24602 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24605 * Makefile (files-for-dist): Remove NOTES.
24606 (NOTES): Remove rule.
24607 * README: Don't refer to NOTES.
24608 * manual/creature.texi: Don't include macros.texi.
24609 * manual/intro.texi (creature.texi): Remove comment referring to
24612 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24613 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24614 * configure: Regenerated.
24615 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24616 LIBC_TRY_CC_OPTION.
24617 (libc_cv_as_i686): Likewise.
24618 (libc_cv_cc_avx): Likewise.
24619 (libc_cv_cc_sse2avx): Likewise.
24620 (libc_cv_cc_fma4): Likewise.
24621 (libc_cv_cc_novzeroupper): Likewise.
24622 * sysdeps/i386/configure: Regenerated.
24625 * sysdeps/i386/fpu/s_cexp.S: Remove.
24626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24627 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24628 * math/libm-test.inc (cexp_test): Add more tests.
24629 * sysdeps/i386/fpu/libm-test-ulps: Update.
24630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24632 2012-03-21 Allan McRae <allan@archlinux.org>
24634 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24636 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24639 * math/w_exp2.c: Do not include <float.h>.
24640 (o_threshold, u_threshold): Remove.
24641 (__exp2): Calculate result before checking finiteness and calling
24643 * math/w_exp2f.c: Likewise.
24644 * math/w_exp2l.c: Likewise.
24645 * math/libm-test.inc (exp2_test): Require overflow exception for
24649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24650 range of signed 64-bit integers before using fistpll. Remove
24651 checks for whether integers fit in mantissa bits.
24652 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24653 the range of signed 32-bit integers before using fistpl. Remove
24654 checks for whether integers fit in mantissa bits.
24655 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24656 (__ieee754_powl): Test for y outside the range of signed 64-bit
24657 integers before using fistpll. Reduce 64-bit values to 63-bit
24659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24660 divide-by-zero is raised for zero to large negative powers.
24661 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24662 (__ieee754_powl): Test for y outside the range of signed 64-bit
24663 integers before using fistpll. Reduce 64-bit values to 63-bit
24665 * math/libm-test.inc (pow_test): Add more tests.
24667 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24669 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24670 <stdio-common/_itoa.h>.
24671 * debug/segfault.c: Likewise.
24672 * elf/dl-cache.c: Likewise.
24673 * elf/dl-minimal.c: Likewise.
24674 * elf/dl-misc.c: Likewise.
24675 * elf/dl-sysdep.c: Likewise.
24676 * elf/dl-version.c: Likewise.
24677 * elf/rtld.c: Likewise.
24678 * hurd/hurdsock.c: Likewise.
24679 * hurd/lookup-retry.c: Likewise.
24680 * malloc/malloc.c: Likewise.
24681 * malloc/mtrace.c: Likewise.
24682 * nscd/nscd_getgr_r.c: Likewise.
24683 * nscd/nscd_getpw_r.c: Likewise.
24684 * nscd/nscd_getserv_r.c: Likewise.
24685 * posix/getopt_init.c: Likewise.
24686 * posix/wordexp.c: Likewise.
24687 * stdio-common/_itoa.c: Likewise.
24688 * stdio-common/printf_fphex.c: Likewise.
24689 * stdio-common/vfprintf.c: Likewise.
24690 * string/_strerror.c: Likewise.
24691 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24692 * sysdeps/i386/i686/hp-timing.h: Likewise.
24693 * sysdeps/mach/_strerror.c: Likewise.
24694 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24695 * sysdeps/mach/hurd/sethostid.c: Likewise.
24696 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24697 * sysdeps/mach/xpg-strerror.c: Likewise.
24698 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24699 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24700 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24701 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24702 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24703 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24704 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24705 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24706 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24707 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24708 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24709 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24710 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24711 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24712 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24713 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24714 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24715 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24716 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24717 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24718 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24720 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24722 * stdio-common/_itoa.h: Moved to ...
24723 * sysdeps/generic/_itoa.h: Here.
24725 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24727 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24728 instead of "_itoa.h" and "_itowa.h".
24729 * stdio-common/vfprintf.: Likewise.
24731 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24733 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24735 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24736 (__signbit): Likwise.
24737 (llrintf): Likwise.
24740 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24742 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24745 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24747 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24748 OVERFLOW_EXCEPTION_OK.
24749 * math/libm-test.inc ("Philosophy"): Update comment about
24751 (OVERFLOW_EXCEPTION): Define.
24752 (OVERFLOW_EXCEPTION_OK): Likewise.
24753 (INVALID_EXCEPTION_OK): Renumber.
24754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24755 (IGNORE_ZERO_INF_SIGN): Likewise.
24756 (test_exceptions): Handle FE_OVERFLOW.
24757 (exp10_test): Expect overflow exceptions.
24758 (exp2_test): Likewise.
24759 (expm1_test): Likewise.
24760 (nextafter_test): Likewise.
24761 (pow_test): Likewise.
24762 (scalbn_test): Likewise.
24763 (scalbln_test): Likewise.
24765 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/x86_64/bits/atomic.h
24768 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24770 (atomic_exchange_acq): Likewise.
24771 (__arch_exchange_and_add_body): Likewise.
24772 (__arch_add_body): Likewise.
24773 (atomic_add_negative): Likewise.
24774 (atomic_add_zero): Likewise.
24776 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24778 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24779 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24781 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24783 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24784 Check __x86_64__ instead of __WORDSIZE.
24786 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24788 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24790 2012-03-19 David S. Miller <davem@davemloft.net>
24792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24794 * sysdeps/sparc/fpu/fenv_private.h: New file.
24795 * sysdeps/sparc/fpu/math_private.h: Use it.
24796 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24798 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24799 (libc_feholdexcept_setroundl): Remove.
24800 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24802 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24803 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24807 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24808 int64_t instead of long int.
24809 (INSERT_WORDS64): Likwise.
24811 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24813 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24814 _Unwind_GetCFA return to _Unwind_Ptr first.
24816 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24819 * math/s_clog.c: Include <float.h>.
24820 (__clog): Scale large or subnormal inputs.
24821 * math/s_clogf.c: Likewise.
24822 * math/s_clogl.c: Likewise.
24823 * math/s_clog10.c: Include <float.h>.
24824 (M_LOG10_2): Define.
24825 (__clog10): Scale large or subnormal inputs.
24826 * math/s_clog10f.c: Likewise.
24827 * math/s_clog10l.c: Likewise.
24828 * math/libm-test.inc (clog_test): Add more tests.
24829 (clog10_test): Likewise.
24830 * sysdeps/i386/fpu/libm-test-ulps: Update.
24831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24834 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24836 * math/libm-test.inc (atan2_test): Add another test.
24838 * Makerules (common-objdir-compile): Remove.
24839 * sysdeps/unix/Makefile (config-generated): Do not add
24840 $(unix-generated) to variable.
24841 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24842 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24844 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24846 [generic bits/local_lim.h] (before-compile): Do not append to
24848 [generic bits/local_lim.h] (common-generated): Likewise.
24849 [generic sys/param.h] (before-compile): Do not append to variable.
24850 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24851 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24852 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24853 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24855 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24856 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24857 [generic sys/param.h] ($(addprefix
24858 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24859 [generic sys/param.h] (common-generated): Do not append to
24861 [generic sys/param.h] (sysdep_headers): Likewise.
24862 [generic bits/errno.h] (before-compile): Do not append to
24864 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24866 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24867 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24868 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24869 [generic bits/errno.h] (common-generated): Do not append to
24871 [generic bits/ioctls.h] (before-compile): Do not append to
24873 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24875 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24876 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24877 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24879 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24880 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24881 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24882 [generic bits/ioctls.h] (common-generated): Do not append to
24884 [generic sys/syscall.h] (syscall.h): Remove variable.
24885 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24887 [generic sys/syscall.h] (before-compile): Do not append to
24889 [generic sys/syscall.h] (common-generated): Likewise.
24890 * sysdeps/unix/errnos-tmpl.c: Remove file.
24891 * sysdeps/unix/errnos.awk: Likewise.
24892 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24893 * sysdeps/unix/ioctls.awk: Likewise.
24894 * sysdeps/unix/mk-local_lim.c: Likewise.
24895 * sysdeps/unix/snarf-ioctls: Likewise.
24897 2012-03-19 Richard Henderson <rth@twiddle.net>
24899 * sysdeps/i386/fpu/fenv_private.h: New file.
24900 * sysdeps/i386/fpu/math_private.h: Use it.
24901 (math_opt_barrier, math_force_eval): Remove.
24902 (libc_feholdexcept_setround_53bit): Remove.
24903 (libc_feupdateenv_53bit): Remove.
24904 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24905 (math_opt_barrier, math_force_eval): Remove.
24906 (libc_feholdexcept): Remove.
24907 (libc_feholdexcept_setround): Remove.
24908 (libc_fetestexcept, libc_fesetenv): Remove.
24909 (libc_feupdateenv_test): Remove.
24910 (libc_feupdateenv, libc_feholdsetround): Remove.
24911 (libc_feresetround): Remove.
24913 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24914 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24916 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24917 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24918 (libc_feupdateenv_testl): New.
24919 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24920 (libc_feupdateenv_testf): New.
24921 (libc_feupdateenv): Use libc_feupdateenv_test.
24922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24925 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24926 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24927 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24928 (libc_feresetround_noex): New.
24929 (libc_feresetround_noexf): New.
24930 (libc_feresetround_noexl): New.
24931 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24932 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24933 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24936 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24939 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24941 SET_RESTORE_ROUND_NOEX.
24942 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24943 SET_RESTORE_ROUND_NOEXF.
24944 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24945 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24946 (libc_feholdsetroundf): New.
24947 (libc_feresetround, libc_feresetroundf): New.
24949 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24950 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24951 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24953 * sysdeps/generic/math_private.h: Include <fenv.h>.
24954 (default_libc_feholdexcept): New.
24955 (default_libc_feholdexcept_setround): New.
24956 (default_libc_fesetenv, default_libc_feupdateenv): New.
24957 (libc_feholdexcept): Only define if undefined.
24958 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24959 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24960 (libc_feholdexcept_setroundl): Likewise.
24961 (libc_feholdexcept_setround_53bit): Likewise.
24962 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24963 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24964 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24965 (libc_feupdateenv_53bit): Likewise.
24966 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24967 (libc_feholdexcept): Convert from macro to inline function.
24968 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24969 (libc_fesetenv, libc_feupdateenv): Likewise.
24971 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24972 not previously defined.
24973 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24974 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24975 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24976 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24977 * sysdeps/ieee754/flt-32/math_private.h: New file.
24978 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24979 math_private.h below SET_FLOAT_WORD.
24980 (__isnan, __isinf_ns, __finite): Remove.
24981 (__isnanf, __isinf_nsf, __finitef): Remove.
24983 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24987 2012-03-17 David S. Miller <davem@davemloft.net>
24990 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24993 2012-03-16 David S. Miller <davem@davemloft.net>
24995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25001 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25002 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25003 sysdep_routines when subdir is sysvipc.
25004 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25005 __getshmlba helper.
25007 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25009 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25011 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25014 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25016 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25017 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25018 (__lround): Renamed to ...
25019 (__llround): This. Replace long int with long long int.
25020 Define lround functions as aliases of llround functions.
25021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25023 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25025 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25026 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25027 adresses to uintptr_t. Replace "long int" and "unsigned long
25028 int" with "greg_t" on va_arg.
25030 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25032 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25033 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25035 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25036 Move e_machine check before EI_CLASS check. Handle x32
25037 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25038 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25039 SKIP_EM_IA_64 and include
25040 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25042 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25043 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25044 (add_system_dir): New macro.
25046 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25047 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25049 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25060 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25062 * math/w_j0f.c (j0f): Likewise.
25064 * math/w_j0l.c (__j0l): Likewise.
25066 * math/w_j1.c (j1): Likewise.
25068 * math/w_j1f.c (j1f): Likewise.
25070 * math/w_j1l.c (__j1l): Likewise.
25072 * math/w_jn.c (jn): Likewise.
25074 * math/w_jnf.c (jnf): Likewise.
25076 * math/w_jnl.c (__jnl): Likewise.
25078 * math/libm-test.inc (j0_test): Add more tests.
25079 (j1_test): Likewise.
25080 (jn_test): Likewise. Add trailing semicolon to existing test.
25081 (y0_test): Likewise.
25082 (y1_test): Likewise.
25083 * sysdeps/i386/fpu/libm-test-ulps: Update.
25084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25089 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25090 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25092 (__tanl): Set errno for infinite argument.
25093 * sysdeps/i386/fpu/mptan.c: Remove.
25094 * sysdeps/i386/fpu/s_tan.S: Likewise.
25095 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25096 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25097 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25098 * math/libm-test.inc (tan_test): Add more tests and enable more
25099 tests for double and long double.
25100 * sysdeps/i386/fpu/libm-test-ulps: Update.
25101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25105 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25106 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25108 2012-03-16 Roland McGrath <roland@hack.frob.com>
25110 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25111 * configure.in: Use it for both main tree and add-ons.
25112 * configure: Regenerated.
25114 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25116 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25118 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25120 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25124 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25125 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25130 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25132 != 0 for prec == 2.
25133 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25134 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25135 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25136 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25137 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25138 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25139 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25140 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25141 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25142 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25143 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25144 * math/libm-test.inc (cos_test): Add more tests and enable more
25145 tests for long double.
25146 (sin_test): Likewise.
25147 (sincos_test): Likewise.
25148 * sysdeps/i386/fpu/libm-test-ulps: Update.
25149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151 2012-03-16 David S. Miller <davem@davemloft.net>
25153 * sysdeps/sparc/fpu/math_private.h: New file.
25155 2012-03-15 David S. Miller <davem@davemloft.net>
25157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25171 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25172 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25174 * sysdeps/sparc/sparc-ifunc.h: New file.
25175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25220 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25222 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25226 2012-03-15 Andreas Jaeger <aj@suse.de>
25229 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25230 ieee754/flt-32 implementation for sin, cos and sincos.
25231 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25232 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25233 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25234 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25235 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25236 ieee754/flt-32 implementation for tan.
25238 * math/libm-test.inc (cos_test): Enable some large input tests for
25240 (sin_test): Likewise.
25241 (sincos_test): Likewise.
25242 (tan_test): Add tests for large input.
25244 * sysdeps/i386/fpu/libm-test-ulps: Update.
25246 2012-03-15 Andreas Jaeger <aj@suse.de>
25249 * math/libm-test.inc (cos_test): Add more test cases.
25250 (sin_test): Likewise.
25251 (sincos_test): Likewise.
25253 2012-03-15 Andreas Jaeger <aj@suse.de>
25256 * math/libm-test.inc (cos_test): Add a test case for large input
25258 (sin_test): Likewise.
25259 (sincos_test): Likewise.
25261 2012-03-15 Andreas Jaeger <aj@suse.de>,
25262 Joseph Myers <joseph@codesourcery.com>
25265 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25266 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25267 * sysdeps/i386/fpu/branred.c: Likewise.
25268 * sysdeps/i386/fpu/dosincos.c: Likewise.
25269 * sysdeps/i386/fpu/mpa.c: Likewise.
25270 * sysdeps/i386/fpu/s_cos.S: Likewise.
25271 * sysdeps/i386/fpu/s_sin.S: Likewise.
25272 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25273 * sysdeps/i386/fpu/sincos32.c: Likewise.
25275 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25277 (libc_feupdateenv_53bit): Define.
25278 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25280 (libc_feupdateenv_53bit): Define.
25282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25283 53 bit (without extend i386 double precision).
25285 * math/libm-test.inc (sincos_test): Add tests for large input.
25289 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25291 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25295 2012-03-15 David S. Miller <davem@davemloft.net>
25297 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25298 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25299 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25300 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25325 fmin/fmax sysdep routines.
25326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25328 2012-03-14 David S. Miller <davem@davemloft.net>
25330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25407 * sysdeps/sparc/configure.in: New file.
25408 * sysdeps/sparc/configure: Generate.
25409 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25410 * configure: Regenerate.
25411 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25412 * config.make.in (have-as-vis3): New.
25413 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25414 available use -Av9d instead of -Av9a.
25415 * sysdeps/sparc/sparc64/Makefile: Likewise.
25416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25431 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25432 fzeros/fnegs to load 0x80000000 into a float register instead of
25434 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25436 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25440 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25441 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25442 ($(inst_includedir)/bits/syscall.h): Remove rule.
25443 ($(objpfx)bits/syscall.d): Include instead of
25444 $(objpfx)syscall-list.d.
25445 (generated): Change syscall-list.h and syscall-list.d to
25446 bits/syscall.h and bits/syscall.d.
25448 2012-03-14 Roland McGrath <roland@hack.frob.com>
25451 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25453 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25456 * math/s_csqrt.c: Include <float.h>.
25457 (__csqrt): Scale large or subnormal inputs.
25458 * math/s_csqrtf.c: Likewise.
25459 * math/s_csqrtl.c: Likewise.
25460 * math/libm-test.inc (csqrt_test): Add more tests.
25461 * sysdeps/i386/fpu/libm-test-ulps: Update.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25465 * math/libm-test.inc (hypot_test): Add more tests.
25467 2012-03-13 David S. Miller <davem@davemloft.net>
25470 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25471 double-precision for the calculation instead of scaling.
25473 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25476 manipulate bits before adding and subtracting TWO52[sx].
25477 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25480 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25482 2012-03-13 David S. Miller <davem@davemloft.net>
25484 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25485 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25487 rtld-global-offsets.h
25488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25493 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25495 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25496 'err' in the ifdef scope in which it is actually used.
25498 * nss/nss_db/db-init.c: Include string.h
25500 2012-03-12 David S. Miller <davem@davemloft.net>
25502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25503 masking out of the most significant byte of random value used.
25504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25505 Fix coding style in previous change.
25507 * sysdeps/unix/sysv/linux/kernel-features.h
25508 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25509 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25511 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25514 2012-03-11 David S. Miller <davem@davemloft.net>
25516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25517 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25519 for 'resultvar' otherwise things get truncated on 64-bit.
25521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25522 Fix masking out of the most significant byte of random value used.
25524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25526 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25530 2012-03-09 David S. Miller <davem@davemloft.net>
25532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25533 variables with appropriate CPP guards.
25534 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25535 frame pointer, not the stack pointer. Correct layout comments. Fix test
25536 on resulting framesize and the management of the outregs buffer for pltexit.
25537 Preserve floating point return values across _dl_call_pltexit call.
25538 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25539 framesize and the management of the outregs buffer for pltexit.
25540 Preserve floating point return values across _dl_call_pltexit
25542 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25543 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25544 (print_exit): Fix format string for return register value.
25546 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25548 * sunrpc/Makefile (others): Add rpcgen.
25549 ($(objpfx)rpcgen): Remove special build rule and dependency on
25551 * sunrpc/rpcgen.c: New file.
25553 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25556 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25557 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25558 * sysdeps/i386/crti.S: Likewise.
25559 * sysdeps/i386/crtn.S: Likewise.
25560 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25561 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25562 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25564 * sysdeps/sh/crti.S: Likewise.
25565 * sysdeps/sh/crtn.S: Likewise.
25566 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25569 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25571 * locale/programs/locfile-kw.gperf: Likewise.
25572 * locale/programs/charmap-kw.h: Regenerated.
25573 * locale/programs/locfile-kw.h: Likewise.
25576 * intl/plural.y: Replace FSF snail mail address with URL.
25577 * intl/plural.c: Regenerated.
25579 2012-03-09 Richard Henderson <rth@twiddle.net>
25581 * include/math_private.h: Remove file.
25582 * math/math_private.h: Move file ...
25583 * sysdeps/generic/math_private.h: ... here.
25585 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25586 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25587 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25589 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25590 and <math_private.h>.
25591 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25592 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25593 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25594 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25595 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25596 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25597 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25599 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25600 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25602 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25603 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25605 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25606 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25617 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25623 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25634 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25635 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25636 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25637 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25638 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25639 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25640 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25641 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25642 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25643 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25675 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25679 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25680 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25682 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25684 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25685 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25686 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25687 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25688 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25689 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25690 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25691 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25692 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25693 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25694 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25695 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25696 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25697 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25698 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25699 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25701 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25702 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25703 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25705 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25706 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25707 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25708 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25710 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25711 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25712 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25713 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25714 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25715 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25716 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25717 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25718 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25719 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25720 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25721 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25722 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25723 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25724 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25725 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25726 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25727 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25728 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25729 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25730 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25731 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25732 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25733 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25734 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25735 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25736 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25737 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25738 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25739 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25740 * sysdeps/ieee754/k_standard.c: Likewise.
25741 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25745 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25753 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25754 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25755 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25758 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25768 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25772 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25774 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25783 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25784 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25791 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25792 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25793 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25796 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25797 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25798 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25832 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25833 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25834 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25835 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25837 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25838 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25839 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25840 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25842 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25843 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25844 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25845 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25853 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25856 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25860 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25861 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25863 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25868 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25873 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25890 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25891 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25901 * sysdeps/ieee754/s_lib_version.c: Likewise.
25902 * sysdeps/ieee754/s_matherr.c: Likewise.
25903 * sysdeps/ieee754/s_signgam.c: Likewise.
25904 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25905 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25907 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25908 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25909 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25910 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25911 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25912 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25913 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25914 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25915 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25916 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25918 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25919 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25920 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25921 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25926 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25928 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25929 * sunrpc/rpc_main.c: Likewise.
25930 * sunrpc/rpc_svcout.c: Likewise.
25932 2012-03-09 David S. Miller <davem@davemloft.net>
25934 * include/math_private.h: New file.
25936 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25938 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25939 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25940 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25941 from <bits/socket_type.h>.
25942 (enum __socket_type): Don't define here.
25943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25945 bits/socket_type.h.
25948 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25949 checking __USE_GNU.
25951 * Makerules ($(inst_includedir)/%.h): New rule.
25952 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25953 (install-others): Remove variable setting.
25954 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25956 2012-03-08 Richard Henderson <rth@twiddle.net>
25958 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25959 from macro to inline function; merge with the
25960 !__LIBC_INTERNAL_MATH_INLINES version.
25961 (__ieee754_sqrtf): Likewise.
25963 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25964 to inline function.
25965 (__rintf, __floor, __floorf): Likewise.
25967 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25968 macro to inline function.
25969 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25971 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25972 not <math/math_private.h>.
25974 2012-03-08 David S. Miller <davem@davemloft.net>
25976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25978 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25980 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25982 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25984 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25985 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25987 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25989 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25990 be defined individually, they must be defined as a block. Define
25991 S for printing a string instead of hidint the different by using a
25992 macro for adding the 'l'.
25993 * stdio-common/tst-fphex-wide.c: Adjust.
25995 2012-03-07 Marek Polacek <polacek@redhat.com>
25997 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25999 2012-03-08 Marek Polacek <polacek@redhat.com>
26002 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26003 * stdio-common/tst-fphex.c: Define a few macros to make the
26004 test reusable. Use them.
26005 * stdio-common/tst-fphex-wide.c: New file.
26007 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26010 * manual/macros.texi (gnusystems): New macro.
26011 (nongnusystems): Likewise.
26012 (gnulinuxhurdsystems): Likewise.
26013 (gnuhurdsystems): Likewise..
26014 (gnulinuxsystems): Likewise.
26015 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26016 variants of the GNU system, not "GNU system".
26017 * manual/conf.texi: Likewise.
26018 * manual/errno.texi: Likewise. Update example of errno macro
26020 * manual/filesys.texi: Likewise.
26021 (getumask): Document as specific to GNU/Hurd.
26022 * manual/install.texi: Likewise. Reword some references to
26024 * manual/intro.texi: Likewise.
26025 * manual/io.texi: Likewise.
26026 (File Name Portability): Detail which constraints are inapplicable
26027 to all GNU systems and which are only inapplicable to GNU/Hurd.
26028 * manual/job.texi: Likewise.
26029 * manual/llio.texi: Likewise.
26030 (O_NOCTTY): Document as present on GNU/Linux.
26031 * manual/maint.texi: Likewise.
26032 * manual/memory.texi: Likewise.
26033 * manual/pattern.texi: Likewise.
26034 * manual/pipe.texi: Likewise.
26035 * manual/process.texi: Likewise.
26036 * manual/resource.texi: Likewise.
26037 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26039 * manual/setjmp.texi: Likewise.
26040 * manual/signal.texi: Likewise.
26041 * manual/startup.texi: Likewise.
26042 * manual/stdio.texi: Likewise.
26043 * manual/terminal.texi: Likewise.
26044 (ONLCR): Document as POSIX.
26045 (OXTABS): Document availability on GNU/Linux as XTABS.
26046 (ONOEOT): Document availability separately from other bits.
26047 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26048 * manual/time.texi: Likewise.
26049 * manual/users.texi: Likewise.
26050 * INSTALL: Regenerated.
26051 * sysdeps/gnu/errlist.c: Regenerated.
26053 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26054 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26055 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26057 * configure: Regenerated.
26059 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26061 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26062 default includes instead of AC_HEADER_CHECK.
26063 * sysdeps/i386/configure: Regenerated.
26066 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26067 * math/s_cacoshf.c (__cacoshf): Likewise.
26068 * math/s_cacoshl.c (__cacoshl): Likewise.
26069 * math/s_casinh.c (__casinh): Set signs of result from argument.
26070 * math/s_casinhf.c (__casinhf): Likewise.
26071 * math/s_casinhl.c (__casinhl): Likewise.
26072 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26073 (casinh_test): Add more tests.
26074 * sysdeps/i386/fpu/libm-test-ulps: Update.
26075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26077 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26079 * po/zh_TW.po: Update from translation team.
26081 * login/Makefile (distribute): Remove variable.
26082 * catgets/Makefile: Likewise.
26083 * mach/Makefile: Likewise.
26084 * malloc/Makefile: Likewise.
26085 * misc/Makefile: Likewise.
26086 * iconv/Makefile: Likewise.
26087 * nscd/Makefile: Likewise.
26088 * hurd/Makefile: Likewise.
26089 * manual/Makefile: Likewise.
26090 * locale/Makefile: Likewise.
26091 * intl/Makefile: Likewise.
26092 * conform/Makefile: Likewise.
26093 * nss/Makefile: Likewise.
26094 * time/Makefile: Likewise.
26095 * soft-fp/Makefile: Likewise.
26096 * dirent/Makefile: Likewise.
26097 * gmon/Makefile: Likewise.
26098 * po/Makefile: Likewise.
26099 * rt/Makefile: Likewise.
26100 * socket/Makefile: Likewise.
26101 * math/Makefile: Likewise.
26102 * signal/Makefile: Likewise.
26103 * debug/Makefile: Likewise.
26104 * elf/Makefile: Likewise.
26105 * timezone/Makefile: Likewise.
26106 * stdlib/Makefile: Likewise.
26107 * iconvdata/Makefile: Likewise.
26108 * sunrpc/Makefile: Likewise.
26109 * io/Makefile: Likewise.
26110 * argp/Makefile: Likewise.
26111 * inet/Makefile: Likewise.
26112 * hesiod/Makefile: Likewise.
26113 * grp/Makefile: Likewise.
26114 * csu/Makefile: Likewise.
26115 * wctype/Makefile: Likewise.
26116 * crypt/Makefile: Likewise.
26117 * libio/Makefile: Likewise.
26118 * string/Makefile: Likewise.
26119 * nis/Makefile: Likewise.
26120 * resolv/Makefile: Likewise.
26121 * stdio-common/Makefile: Likewise.
26122 * wcsmbs/Makefile: Likewise.
26123 * dlfcn/Makefile: Likewise.
26124 * posix/Makefile: Likewise.
26127 * timezone/Makefile: Don't install timezone files, just the programs
26130 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26132 * nss/databases.def: Add missing gshadow entry.
26134 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26136 2012-03-06 Marek Polacek <polacek@redhat.com>
26139 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26140 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26141 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26142 * stdio-common/tst-long-dbl-fphex.c: New file.
26144 2012-03-06 David S. Miller <davem@davemloft.net>
26146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26147 (set_obp_int): New function.
26148 (get_obp_int): New function.
26149 (__get_clockfreq_via_dev_openprom): Likewise.
26150 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26151 Avoid unused variable warnings on 'val' and use builtin_expect.
26152 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26154 (INLINE_CLONE_SYSCALL): Likewise.
26156 2012-03-05 David S. Miller <davem@davemloft.net>
26158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26160 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26164 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26165 only for |x| >= 40.
26166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26168 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26171 Replace gettimeofday with __vdso_gettimeofday.
26173 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26174 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26175 __vdso_clock_gettime and __vdso_getcpu.
26177 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26178 time with __vdso_time.
26180 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26182 * manual/lang.texi (size_t): Note types to which size_t may be
26183 equivalent with the GNU C Library, but do not describe when
26184 differences between them are significant.
26186 2012-03-05 Andreas Jaeger <aj@suse.de>
26188 * sysdeps/i386/fpu/libm-test-ulps: Update.
26190 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26193 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26194 (__ieee754_pow): Save and restore rounding mode and use
26195 round-to-nearest for main computations.
26196 * math/libm-test.inc (pow_test_tonearest): New function.
26197 (pow_test_towardzero): Likewise.
26198 (pow_test_downward): Likewise.
26199 (pow_test_upward): Likewise.
26200 (main): Call the new functions.
26201 * sysdeps/i386/fpu/libm-test-ulps: Update.
26202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26205 * math/libm-test.inc (cosh_test_tonearest): New function.
26206 (cosh_test_towardzero): Likewise.
26207 (cosh_test_downward): Likewise.
26208 (cosh_test_upward): Likewise.
26209 (sinh_test_tonearest): Likewise.
26210 (sinh_test_towardzero): Likewise.
26211 (sinh_test_downward): Likewise.
26212 (sinh_test_upward): Likewise.
26213 (main): Call the new functions.
26214 * sysdeps/i386/fpu/libm-test-ulps: Update.
26215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26217 2012-03-05 Tom de Vries <tom@codesourcery.com>
26219 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26220 default stack guard is set in last bytes.
26221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26223 2012-03-05 Kees Cook <keescook@chromium.org>
26225 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26228 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26229 possibly allocate from heap instead of stack.
26230 * stdio-common/bug-vfprintf-nargs.c: New file.
26231 * stdio-common/Makefile (tests): Add nargs overflow test.
26233 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26237 2012-03-03 Marek Polacek <polacek@redhat.com>
26239 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26240 * math/math_private.h: Likewise.
26241 * stdlib/tst-strtod.c: Likewise.
26242 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26243 * sysdeps/x86_64/bits/atomic.h: Likewise.
26245 2012-03-02 David S. Miller <davem@davemloft.net>
26247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26251 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26252 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26253 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26254 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26256 2012-03-02 Roland McGrath <roland@hack.frob.com>
26259 * manual/examples/README: New file, says the example source files
26260 can be used under GPL>=2.
26261 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26262 line containing just "*/".
26263 * manual/examples/add.c: Add copyright header (GPL>=2).
26264 * manual/examples/argp-ex1.c: Likewise.
26265 * manual/examples/argp-ex2.c: Likewise.
26266 * manual/examples/argp-ex3.c: Likewise.
26267 * manual/examples/argp-ex4.c: Likewise.
26268 * manual/examples/atexit.c: Likewise.
26269 * manual/examples/db.c: Likewise.
26270 * manual/examples/dir.c: Likewise.
26271 * manual/examples/dir2.c: Likewise.
26272 * manual/examples/execinfo.c: Likewise.
26273 * manual/examples/filecli.c: Likewise.
26274 * manual/examples/filesrv.c: Likewise.
26275 * manual/examples/fmtmsgexpl.c: Likewise.
26276 * manual/examples/genpass.c: Likewise.
26277 * manual/examples/inetcli.c: Likewise.
26278 * manual/examples/inetsrv.c: Likewise.
26279 * manual/examples/isockad.c: Likewise.
26280 * manual/examples/longopt.c: Likewise.
26281 * manual/examples/memopen.c: Likewise.
26282 * manual/examples/memstrm.c: Likewise.
26283 * manual/examples/mkfsock.c: Likewise.
26284 * manual/examples/mkisock.c: Likewise.
26285 * manual/examples/mygetpass.c: Likewise.
26286 * manual/examples/pipe.c: Likewise.
26287 * manual/examples/popen.c: Likewise.
26288 * manual/examples/rprintf.c: Likewise.
26289 * manual/examples/search.c: Likewise.
26290 * manual/examples/select.c: Likewise.
26291 * manual/examples/setjmp.c: Likewise.
26292 * manual/examples/sigh1.c: Likewise.
26293 * manual/examples/sigusr.c: Likewise.
26294 * manual/examples/stpcpy.c: Likewise.
26295 * manual/examples/strdupa.c: Likewise.
26296 * manual/examples/strftim.c: Likewise.
26297 * manual/examples/strncat.c: Likewise.
26298 * manual/examples/subopt.c: Likewise.
26299 * manual/examples/swapcontext.c: Likewise.
26300 * manual/examples/termios.c: Likewise.
26301 * manual/examples/testopt.c: Likewise.
26302 * manual/examples/testpass.c: Likewise.
26303 * manual/examples/timeval_subtract.c: Likewise.
26306 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26308 * manual/timeval_subtract.c.texi: ... here, new file.
26310 2012-03-02 David S. Miller <davem@davemloft.net>
26312 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26314 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26317 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26318 (__sin): Save and restore rounding mode and use round-to-nearest
26319 for all computations.
26320 (__cos): Save and restore rounding mode and use round-to-nearest
26321 for all computations.
26322 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26324 (tan): Save and restore rounding mode and use round-to-nearest for
26326 * math/libm-test.inc (cos_test_tonearest): New function.
26327 (cos_test_towardzero): Likewise.
26328 (cos_test_downward): Likewise.
26329 (cos_test_upward): Likewise.
26330 (sin_test_tonearest): Likewise.
26331 (sin_test_towardzero): Likewise.
26332 (sin_test_downward): Likewise.
26333 (sin_test_upward): Likewise.
26334 (tan_test_tonearest): Likewise.
26335 (tan_test_towardzero): Likewise.
26336 (tan_test_downward): Likewise.
26337 (tan_test_upward): Likewise.
26338 (main): Call the new functions.
26339 * sysdeps/i386/fpu/libm-test-ulps: Update.
26340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26343 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26344 small n, then large n, before computing and testing k+n.
26345 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26350 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26351 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26352 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26353 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26356 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26357 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26358 * math/libm-test.inc (scalbn_test): Add more tests.
26359 (scalbln_test): Likewise.
26361 * manual/filesys.texi (mode_t): Describe constraints on size and
26362 signedness, not exact equivalence to a particular type.
26364 (ino64_t): Likewise.
26366 (nlink_t): Likewise.
26367 (blkcnt_t): Likewise.
26368 (blkcnt64_t): Likewise.
26369 * manual/llio.texi (off_t): Likewise.
26372 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26373 (__ieee754_exp): Save and restore rounding mode and use
26374 round-to-nearest for all computations.
26375 * math/libm-test.inc (exp_test_tonearest): New function.
26376 (exp_test_towardzero): Likewise.
26377 (exp_test_downward): Likewise.
26378 (exp_test_upward): Likewise.
26379 (main): Call the new functions.
26380 * sysdeps/i386/fpu/libm-test-ulps: Update.
26381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26383 2012-03-01 Chris Demetriou <cgd@google.com>
26385 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26386 have predictable order.
26388 2012-03-01 David S. Miller <davem@davemloft.net>
26390 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26392 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26393 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26394 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26395 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26397 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26398 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26399 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26401 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26402 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26403 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26404 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26405 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26409 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26410 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26411 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26413 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26414 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26415 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26420 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26421 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26422 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26423 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26424 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26426 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26427 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26428 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26429 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26430 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26431 * sysdeps/sparc/elf/configure: Regenerated.
26433 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26435 * configure.in (AS, LD): Require binutils 2.20 or later.
26436 * configure: Regenerated.
26437 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26438 as required minimum version.
26439 * INSTALL: Regenerated.
26443 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26444 before squaring exponent.
26445 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26446 bottom long double and 27 bits of top long double before squaring
26448 * math/libm-test.inc (erfc_test): Add more tests.
26449 * sysdeps/i386/fpu/libm-test-ulps: Update.
26450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26453 2012-03-01 Kai Tietz <ktietz@redhat.com>
26455 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26456 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26457 containing bit-fields.
26458 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26459 * soft-fp/single.h (_FP_UNION_S): Likewise.
26460 * soft-fp/double.h (_FP_UNION_D): Likewise.
26462 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26465 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26466 not include ../strcmp.S.
26467 [USE_AS_STRNCASECMP_L]: Likewise.
26468 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26469 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26470 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26471 (__strncasecmp_l_ia32): Define as alias to
26472 __strncasecmp_l_nonascii.
26475 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26476 * sysdeps/i386/fpu/libm-test-ulps: Update.
26477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26479 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26482 2012-02-29 Jeff Law <law@redhat.com>
26484 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26485 out of bounds read.
26487 2012-02-29 Marek Polacek <polacek@redhat.com>
26490 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26491 * elf/Makefile: Add rules to run tst-unused-dep.out.
26493 2012-02-28 David S. Miller <davem@davemloft.net>
26495 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26496 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26499 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26500 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26502 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26504 * math/libm-test.inc (llround_test): Move one test from
26505 lround_test. Use TEST_f_L in moved test.
26506 (lround_test): Move misplaced test to llround_test. Add testcase
26509 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26511 * sysdeps/x86_64/fpu/e_expf.S: New file.
26512 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26514 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26517 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26518 of remain_len that may cause incomplete multi-byte character and
26520 * posix/bug-regex33.c: New file.
26521 * posix/Makefile (tests): Add bug-regex33.
26523 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26525 * manual/macros.texi: New file.
26526 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26527 * manual/libc.texinfo: Include macros.texi.
26528 * manual/creatute.texi: Likewise.
26529 * manual/install.texi: Likewise.
26530 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26531 @glibcadj{} in references to the GNU C Library.
26532 * manual/charset.texi: Likewise.
26533 * manual/conf.texi: Likewise.
26534 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26535 when not using those macros.
26536 * manual/creature.texi: Likewise.
26537 * manual/crypt.texi: Likewise.
26538 * manual/errno.texi: Likewise.
26539 * manual/filesys.texi: Likewise.
26540 * manual/header.texi: Likewise.
26541 * manual/install.texi: Likewise.
26542 * manual/intro.texi: Likewise.
26543 * manual/io.texi: Likewise.
26544 * manual/job.texi: Likewise.
26545 * manual/lang.texi: Likewise.
26546 * manual/libc.texiinfo: Likewise.
26547 * manual/llio.texi: Likewise.
26548 * manual/locale.texi: Likewise.
26549 * manual/maint.texi: Likewise.
26550 * manual/math.texi: Likewise.
26551 * manual/memory.texi: Likewise.
26552 * manual/message.texi: Likewise.
26553 * manual/nss.texi: Likewise.
26554 * manual/pattern.texi: Likewise.
26555 * manual/process.texi: Likewise.
26556 * manual/resource.texi: Likewise.
26557 * manual/search.texi: Likewise.
26558 * manual/setjmp.texi: Likewise.
26559 * manual/signal.texi: Likewise.
26560 * manual/socket.texi: Likewise.
26561 * manual/startup.texi: Likewise.
26562 * manual/stdio.texi: Likewise.
26563 * manual/string.texi: Likewise.
26564 * manual/sysinfo.texi: Likewise.
26565 * manual/syslog.texi: Likewise.
26566 * manual/terminal.texi: Likewise.
26567 * manual/time.texi: Likewise.
26568 * manual/users.texi: Likewise.
26569 * INSTALL: Regenerated.
26570 * NOTES: Regenerated.
26571 * sysdeps/gnu/errlist.c: Regenerated.
26573 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26575 * include/dirent.h: Include <dirstream.h> before
26578 2012-02-28 David S. Miller <davem@davemloft.net>
26580 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26581 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26582 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26583 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26585 2012-02-27 David S. Miller <davem@davemloft.net>
26587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26589 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26590 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26593 frame pointer instead of stack pointer relative arg slot.
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26598 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26601 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26603 2012-02-27 David S. Miller <davem@davemloft.net>
26605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26609 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26610 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26611 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26612 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26614 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26616 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26617 later. Allow versions 5-9.
26618 * configure: Regenerated.
26619 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26620 required minimum version and 4.6 as recommended version. Do not
26621 mention bugs in GCC 2.7 and 2.8.
26622 * INSTALL: Regenerated.
26624 2012-02-27 David S. Miller <davem@davemloft.net>
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26630 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26631 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26632 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26633 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26636 manipulate bits before adding and subtracting TWO112[sx].
26637 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26639 2012-02-27 Roland McGrath <roland@hack.frob.com>
26642 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26643 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26644 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26645 being in POSIX, because they are in 1003.1-2008.
26647 * rt/tst-aio.c: Include <fcntl.h>.
26648 * rt/tst-aio7.c: Likewise.
26649 * rt/tst-aio64.c: Likewise.
26651 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26653 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26655 * manual/install.texi (--with-headers): Describe headers as
26656 interface headers, not private headers.
26657 (Specific advice for GNU/Linux systems): Describe use of headers
26658 from "make headers_install", not private headers from older
26660 * INSTALL: Regenerated.
26661 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26663 * sysdeps/unix/sysv/linux/configure: Regenerated.
26665 * manual/llio.texi (fclean): Remove documentation.
26667 * manual/Makefile (libc-texi-generated): New variable. Include
26669 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26670 $(libc-texi-generated), not duplicated list of files.
26671 (version.texi, stamp-version): New rules.
26672 (realclean): Remove $(libc-texi-generated), not individual files
26673 from that list. Do not remove dir-add.texinfo.
26674 * manual/libc.texinfo: Comment out uses of edition numbers and
26675 references to printed manual. Remove last-updated dates.
26676 (EDITION): Comment out.
26678 (VERSION, UPDATED): Remove.
26679 (version.texi): Include.
26681 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26683 * sysdeps/posix/spawni.c: Include <signal.h>.
26684 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26685 * sysdeps/pthread/aio_fsync.c: Likewise.
26687 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26689 * conform/Makefile (tests): Run only when not cross-compiling and
26690 when fast-check is not defined.
26692 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26693 * conform/data/limits.h-data: Fixes for POSIX2008.
26694 * conform/run-conformtest.sh: Run all tests.
26695 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26697 * include/bits/dlfcn.h: Likewise.
26698 * include/langinfo.h: Likewise.
26699 * include/monetary.h: Likewise.
26700 * include/sys/poll.h: Likewise.
26702 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26704 * posix/spawn.h: Define __need_sigset_t.
26705 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26706 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26707 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26708 to get sigevent_t only.
26709 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26710 only for __USE_GNU.
26711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26712 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26713 process_vm_writev only for __USE_GNU.
26714 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26716 * conform/Makefile: For now ignore errors from run-conformtest.
26717 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26718 POSIX to avoid namespace pollution. Don't prepend headers.
26719 * conform/data/aio.h-data: Fixes for POSIX testing.
26720 * conform/data/fcntl.h-data: Likewise.
26721 * conform/data/glob.h-data: Likewise.
26722 * conform/data/grp.h-data: Likewise.
26723 * conform/data/pthread.h-data: Likewise.
26724 * conform/data/pwd.h-data: Likewise.
26725 * conform/data/signal.h-data: Likewise.
26726 * conform/data/spawn.h-data: Likewise.
26727 * conform/data/stdio.h-data: Likewise.
26728 * conform/data/stdlib.h-data: Likewise.
26729 * conform/data/stropts.h-data: Likewise.
26730 * conform/data/sys/mman.h-data: Likewise.
26731 * conform/data/sys/stat.h-data: Likewise.
26732 * conform/data/sys/types.h-data: Likewise.
26733 * conform/data/sys/wait.h-data: Likewise.
26734 * conform/data/time.h-data: Likewise.
26735 * conform/data/unistd.h-data: Likewise.
26736 * conform/data/utime.h-data: Likewise.
26738 * io/sys/stat.h: fchmod was always in POSIX.
26739 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26740 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26741 * rt/aio.h: Define __need_timespec before including <time.h>.
26742 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26743 struct. Add forward declaration of pthread_attr_t and use it in
26745 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26747 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26748 always remove CLK_TCK definition.
26750 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26752 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26754 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26756 * conform/run-conformtest.sh: New file.
26757 * conform/Makefile: Run run-conformtest for tests.
26758 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26761 * conform/data/uchar.h-data: New file.
26762 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26763 * conform/data/arpa/inet.h-data: Likewise.
26764 * conform/data/assert.h-data: Likewise.
26765 * conform/data/complex.h-data: Likewise.
26766 * conform/data/cpio.h-data: Likewise.
26767 * conform/data/ctype.h-data: Likewise.
26768 * conform/data/dirent.h-data: Likewise.
26769 * conform/data/dlfcn.h-data: Likewise.
26770 * conform/data/errno.h-data: Likewise.
26771 * conform/data/fcntl.h-data: Likewise.
26772 * conform/data/float.h-data: Likewise.
26773 * conform/data/fmtmsg.h-data: Likewise.
26774 * conform/data/fnmatch.h-data: Likewise.
26775 * conform/data/ftw.h-data: Likewise.
26776 * conform/data/glob.h-data: Likewise.
26777 * conform/data/grp.h-data: Likewise.
26778 * conform/data/iconv.h-data: Likewise.
26779 * conform/data/inttypes.h-data: Likewise.
26780 * conform/data/langinfo.h-data: Likewise.
26781 * conform/data/libgen.h-data: Likewise.
26782 * conform/data/limits.h-data: Likewise.
26783 * conform/data/locale.h-data: Likewise.
26784 * conform/data/math.h-data: Likewise.
26785 * conform/data/monetary.h-data: Likewise.
26786 * conform/data/mqueue.h-data: Likewise.
26787 * conform/data/ndbm.h-data: Likewise.
26788 * conform/data/net/if.h-data: Likewise.
26789 * conform/data/netdb.h-data: Likewise.
26790 * conform/data/netinet/in.h-data: Likewise.
26791 * conform/data/nl_types.h-data: Likewise.
26792 * conform/data/poll.h-data: Likewise.
26793 * conform/data/pthread.h-data: Likewise.
26794 * conform/data/pwd.h-data: Likewise.
26795 * conform/data/regex.h-data: Likewise.
26796 * conform/data/sched.h-data: Likewise.
26797 * conform/data/search.h-data: Likewise.
26798 * conform/data/semaphore.h-data: Likewise.
26799 * conform/data/setjmp.h-data: Likewise.
26800 * conform/data/signal.h-data: Likewise.
26801 * conform/data/spawn.h-data: Likewise.
26802 * conform/data/stdarg.h-data: Likewise.
26803 * conform/data/stdio.h-data: Likewise.
26804 * conform/data/stdlib.h-data: Likewise.
26805 * conform/data/string.h-data: Likewise.
26806 * conform/data/strings.h-data: Likewise.
26807 * conform/data/stropts.h-data: Likewise.
26808 * conform/data/sys/ipc.h-data: Likewise.
26809 * conform/data/sys/mman.h-data: Likewise.
26810 * conform/data/sys/msg.h-data: Likewise.
26811 * conform/data/sys/resource.h-data: Likewise.
26812 * conform/data/sys/select.h-data: Likewise.
26813 * conform/data/sys/sem.h-data: Likewise.
26814 * conform/data/sys/shm.h-data: Likewise.
26815 * conform/data/sys/socket.h-data: Likewise.
26816 * conform/data/sys/stat.h-data: Likewise.
26817 * conform/data/sys/statvfs.h-data: Likewise.
26818 * conform/data/sys/time.h-data: Likewise.
26819 * conform/data/sys/timeb.h-data: Likewise.
26820 * conform/data/sys/times.h-data: Likewise.
26821 * conform/data/sys/types.h-data: Likewise.
26822 * conform/data/sys/uio.h-data: Likewise.
26823 * conform/data/sys/un.h-data: Likewise.
26824 * conform/data/sys/utsname.h-data: Likewise.
26825 * conform/data/sys/wait.h-data: Likewise.
26826 * conform/data/syslog.h-data: Likewise.
26827 * conform/data/tar.h-data: Likewise.
26828 * conform/data/termios.h-data: Likewise.
26829 * conform/data/utime.h-data: Likewise.
26830 * conform/data/utmpx.h-data: Likewise.
26831 * conform/data/varargs.h-data: Likewise.
26832 * conform/data/wchar.h-data: Likewise.
26833 * conform/data/wctype.h-data: Likewise.
26834 * conform/data/wordexp.h-data: Likewise.
26836 * include/stropts.h: New file.
26837 * include/uchar.h: New file.
26838 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26839 * include/assert.h: Likewise.
26840 * include/ctype.h: Likewise.
26841 * include/dirent.h: Likewise.
26842 * include/dlfcn.h: Likewise.
26843 * include/fcntl.h: Likewise.
26844 * include/fnmatch.h: Likewise.
26845 * include/glob.h: Likewise.
26846 * include/grp.h: Likewise.
26847 * include/libio.h: Likewise.
26848 * include/locale.h: Likewise.
26849 * include/math.h: Likewise.
26850 * include/net/if.h: Likewise.
26851 * include/netdb.h: Likewise.
26852 * include/netinet/in.h: Likewise.
26853 * include/pthread.h: Likewise.
26854 * include/pwd.h: Likewise.
26855 * include/regex.h: Likewise.
26856 * include/sched.h: Likewise.
26857 * include/search.h: Likewise.
26858 * include/setjmp.h: Likewise.
26859 * include/signal.h: Likewise.
26860 * include/stdio.h: Likewise.
26861 * include/stdlib.h: Likewise.
26862 * include/string.h: Likewise.
26863 * include/sys/cdefs.h: Likewise.
26864 * include/sys/mman.h: Likewise.
26865 * include/sys/msg.h: Likewise.
26866 * include/sys/resource.h: Likewise.
26867 * include/sys/select.h: Likewise.
26868 * include/sys/socket.h: Likewise.
26869 * include/sys/stat.h: Likewise.
26870 * include/sys/statvfs.h: Likewise.
26871 * include/sys/time.h: Likewise.
26872 * include/sys/times.h: Likewise.
26873 * include/sys/uio.h: Likewise.
26874 * include/sys/utsname.h: Likewise.
26875 * include/sys/wait.h: Likewise.
26876 * include/termios.h: Likewise.
26877 * include/time.h: Likewise.
26878 * include/ulimit.h: Likewise.
26879 * include/unistd.h: Likewise.
26880 * include/utime.h: Likewise.
26881 * include/wchar.h: Likewise.
26882 * include/wctype.h: Likewise.
26883 * include/wordexp.h: Likewise.
26885 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26887 * time/time.h: TIME_UTC must be a macro.
26888 Make timespec_get available for ISO C11 only as well.
26890 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26892 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26893 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26895 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26897 * configure.in: Use -o not -a in test for unsupported multi-arch.
26899 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26901 * manual/texinfo.tex: Update to version 2012-01-19.16.
26903 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26905 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26907 2012-02-24 Roland McGrath <roland@hack.frob.com>
26910 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26911 * manual/fdl-1.3.texi: New file.
26912 * manual/fdl-1.1.texi: File removed.
26915 * manual/libc.texinfo (FDL_VERSION): New @set.
26916 Use it for mention of FDL in cover text.
26917 (Documentation License): Use it in @include file name.
26919 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26920 Roland McGrath <roland@hack.frob.com>
26923 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26924 not LONG_LONG_MAX and LONG_LONG_MIN.
26925 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26926 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26928 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26930 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26934 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26935 manipulate bits before adding and subtracting TWO23[sx].
26936 * math/libm-test.inc (nearbyint_test): Add more tests.
26938 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26941 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26942 bits before adding and subtracting TWO23[sx].
26943 * math/libm-test.inc (rint_test): Add more tests.
26944 (rint_test_tonearest): Likewise.
26945 (rint_test_towardzero): Likewise.
26946 (rint_test_downward): Likewise.
26947 (rint_test_upward: Likewise.
26949 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26952 * include/stdc-predef.h: New file. Extracted from features.h.
26953 * include/features.h: Include stdc-predef.h.
26954 * Makefile (headers): Add stdc-predef.h.
26955 * CONFORMANCE (Compiler limitations): Update.
26957 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26959 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26961 2012-02-21 David S. Miller <davem@davemloft.net>
26963 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26964 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26966 2012-02-20 David S. Miller <davem@davemloft.net>
26968 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26969 using a normal save/restore sequence, rather than allocating a
26970 dummy stack frame just to store a frame pointer and restore.
26971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26973 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26975 * manual/install.texi: Fix stray word in line-wrapped comment.
26977 2012-02-20 David S. Miller <davem@davemloft.net>
26979 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26980 both binutils and gcc support GOTDATA.
26982 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26983 "rd %pc" in the PIC register setup sequences.
26985 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26986 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26987 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26988 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26989 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26992 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26994 (SYSCALL_ERROR_HANDLER): Likewise.
26995 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26998 (SYSCALL_ERROR_HANDLER): Likewise.
27000 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27001 (HAVE_GCC_GOTDATA): New.
27002 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27003 relocation support in both binutils and gcc.
27004 * sysdeps/sparc/elf/configure: Regenerate.
27006 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27007 * sysdeps/sparc/sparc32/elf/configure: Delete.
27008 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27009 * sysdeps/sparc/sparc64/elf/configure: Delete.
27010 * sysdeps/sparc/elf/configure.in: New file.
27011 * sysdeps/sparc/elf/configure: Generate.
27013 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27014 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27015 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27016 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27017 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27019 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27021 * manual/install.texi: Do not mention specific glibc version
27023 * manual/libc.texinfo (VERSION, UPDATED): Update.
27024 (@copying): Use @copyright{} and range of years.
27026 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27029 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27030 [crti.S not in sysdirs] (generated): Do not append.
27031 [crti.S not in sysdirs] (omit-deps): Likewise.
27032 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27033 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27034 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27035 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27036 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27038 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27039 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27040 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27041 * csu/defs.awk: Remove file.
27042 * sysdeps/generic/initfini.c: Likewise.
27043 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27045 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27048 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27050 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27051 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27052 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27055 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27057 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27058 (__EPOLL_PACKED): Define to empty if not defined by
27060 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27064 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27066 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27067 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27069 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27071 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27075 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27077 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27080 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27081 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27084 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27086 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27087 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27089 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27091 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27092 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27094 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27096 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27099 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27101 * math/w_acos.c: Use non-signaling floating-point comparisons.
27102 * math/w_acosf.c: Likewise.
27103 * math/w_acosh.c: Likewise.
27104 * math/w_acoshf.c: Likewise.
27105 * math/w_acoshl.c: Likewise.
27106 * math/w_acosl.c: Likewise.
27107 * math/w_asin.c: Likewise.
27108 * math/w_asinf.c: Likewise.
27109 * math/w_asinl.c: Likewise.
27110 * math/w_atanh.c: Likewise.
27111 * math/w_atanhf.c: Likewise.
27112 * math/w_atanhl.c: Likewise.
27113 * math/w_exp2.c: Likewise.
27114 * math/w_exp2f.c: Likewise.
27115 * math/w_exp2l.c: Likewise.
27116 * math/w_j0.c: Likewise.
27117 * math/w_j0f.c: Likewise.
27118 * math/w_j0l.c: Likewise.
27119 * math/w_j1.c: Likewise.
27120 * math/w_j1f.c: Likewise.
27121 * math/w_j1l.c: Likewise.
27122 * math/w_jn.c: Likewise.
27123 * math/w_jnf.c: Likewise.
27124 * math/w_log.c: Likewise.
27125 * math/w_log10.c: Likewise.
27126 * math/w_log10f.c: Likewise.
27127 * math/w_log10l.c: Likewise.
27128 * math/w_log2.c: Likewise.
27129 * math/w_log2f.c: Likewise.
27130 * math/w_log2l.c: Likewise.
27131 * math/w_logf.c: Likewise.
27132 * math/w_logl.c: Likewise.
27133 * math/w_sqrt.c: Likewise.
27134 * math/w_sqrtf.c: Likewise.
27135 * math/w_sqrtl.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27139 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27140 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27142 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27145 * manual/string.texi (strnlen): Use correct parameter name in
27146 equivalent expression.
27148 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27151 * manual/users.texi (seteuid): Consistently use neweuid for
27154 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27157 * manual/nss.texi (Services in the NSS configuration): Correct
27158 list of services in example configuration file.
27160 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27163 * manual/arith.texi: Remove statements about negative zero
27164 behaving identically to zero.
27166 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27169 * manual/install.texi: Do not document upgrading from libc5.
27171 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27174 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27176 2012-02-18 David S. Miller <davem@davemloft.net>
27178 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27179 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27180 %o7 across the call.
27181 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27184 SETUP_PIC_REG_LEAF.
27185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27186 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27187 * sysdeps/sparc/crtn.S: Likewise.
27189 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27191 * aout/Makefile: Remove.
27193 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27196 * manual/examples/argp-ex1.c (main): Format definition in GNU
27198 * manual/examples/argp-ex2.c (main): Likewise.
27199 * manual/examples/argp-ex3.c (main): Likewise.
27200 * manual/examples/argp-ex4.c (main): Likewise.
27201 * manual/examples/longopt.c (main): Use new-style prototype
27203 * manual/examples/strncat.c (main): Specify return type and use
27204 (void) for arguments.
27205 * manual/examples/subopt.c (main): Use char **argv argument.
27207 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27210 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27213 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27216 * manual/string.texi (strchr): Change when strchrnul is
27219 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27222 * manual/locale.texi (setlocale): Document LOCPATH.
27224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27227 * manual/process.texi (execle): Move @dots{} before last argument.
27229 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27232 * manual/charset.texi (Generic Charset Conversion): Fix typo
27233 (LC_TYPE -> LC_CTYPE).
27235 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27238 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27239 (scalbnf): Likewise.
27240 (scalbnl): Likewise.
27241 (scalbln): Likewise.
27242 (scalblnf): Likewise.
27243 (scalblnl): Likewise.
27244 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27245 (vwarnx): Likewise.
27248 * manual/filesys.texi (telldir): Use braces around return type.
27249 * manual/llio.texi (mmap): Add space after comma.
27250 (mmap64): Likewise.
27251 * manual/math.texi (jn): Use @var{} on parameter names.
27257 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27259 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27261 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27262 (sched_get_priority_max): Likewise.
27263 * manual/signal.texi (sigvec): Add space after comma.
27264 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27266 (if_indextoname): Likewise.
27267 (if_freenameindex): Likewise.
27268 (sendto): Use ',' instead of '.' in prototype.
27269 * manual/startup.texi (syscall): Use @dots{} instead of literal
27271 * manual/stdio.texi (__fpending): Separate initial words of
27272 paragraph from @deftypefun line.
27273 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27275 (vsyslog): Use @var{} on parameter names.
27276 * manual/terminal.texi (stty): Use @var{} on parameter names.
27277 * manual/users.texi (getutmp): Use @var{} on parameter names.
27278 (getutmpx): Likewise.
27280 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27283 * manual/stdio.texi (fopen): Fix typos in description of
27286 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27289 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27290 get clock_id definition.
27292 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27295 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27296 (madvise): Cast every argument to void on its own.
27298 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27301 * manual/startup.texi (Exit Status): Fix typo.
27303 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27306 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27307 * manual/examples/argp-ex2.c: Likewise.
27308 * manual/examples/argp-ex3.c: Likewise.
27310 2012-02-16 Richard Henderson <rth@redhat.com>
27312 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27313 * sysdeps/s390/s390-32/initfini.c: Remove.
27314 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27315 * sysdeps/s390/s390-64/initfini.c: Remove.
27317 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27319 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27320 compiler output for sysdeps/generic/initfini.c.
27321 * sysdeps/sh/elf/initfini.c: Remove file.
27323 2012-02-16 David S. Miller <davem@davemloft.net>
27326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27328 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27329 * sysdeps/sparc/crti.S: New file.
27330 * sysdeps/sparc/crtn.S: New file.
27331 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27332 * sysdeps/sparc/sparc64/Makefile: Likewise.
27334 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27337 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27339 2012-02-15 Roland McGrath <roland@hack.frob.com>
27342 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27344 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27345 (write, read, close): Likewise.
27346 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27348 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27350 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27351 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27352 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27353 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27355 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27359 2012-02-14 Marek Polacek <polacek@redhat.com>
27361 * sysdeps/x86_64/crti.S: New file.
27362 * sysdeps/x86_64/crtn.S: New file.
27363 * sysdeps/x86_64/elf/initfini.c: Remove file.
27365 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27367 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27368 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27369 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27370 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27372 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27376 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27378 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27379 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27380 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27381 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27383 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27387 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27389 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27390 __feraiseexcept instead of feraiseexcept.
27392 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27393 nanosleep invocations.
27394 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27395 strings, and add error checking for a nanosleep invocations.
27397 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27399 Replace FSF snail mail address with URLs, as per GNU coding standards.
27400 Most of the snail mail addresses were wrong anyway, and omitting
27401 them makes the source code easier to maintain. Almost all of the
27402 changes are to license notices and to locale LC_IDENTIFICATION
27403 addresses, except for this one:
27404 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27405 not its snail mail address.
27407 2012-02-09 Richard Henderson <rth@twiddle.net>
27409 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27410 of kernel-features.h.
27412 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27414 2012-02-08 Marek Polacek <polacek@redhat.com>
27416 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27417 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27418 * sysdeps/gnu/_G_config.h: Likewise.
27419 * sysdeps/generic/_G_config.h: Likewise.
27421 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27423 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27427 * sysdeps/powerpc/powerpc32/crti.S: New file.
27428 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27429 * sysdeps/powerpc/powerpc64/crti.S: New file.
27430 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27432 * Makeconfig (have-initfini): Don't set.
27433 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27434 * configure.in (nopic_initfini): Don't substitute.
27435 * config.h.in (HAVE_INITFINI): Don't #undef.
27436 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27437 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27439 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27441 Support crti.S and crtn.S provided directly by architectures.
27442 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27443 [crti.S in sysdirs] (omit-deps): Likewise.
27444 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27445 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27446 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27447 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27448 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27449 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27450 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27451 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27452 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27453 compiler output for sysdeps/generic/initfini.c.
27454 * sysdeps/i386/elf/Makefile: Remove file.
27455 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27457 2012-02-07 Marek Polacek <polacek@redhat.com>
27459 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27460 * sysdeps/gnu/_G_config.h: Likewise.
27461 * sysdeps/mach/hurd/_G_config.h: Likewise.
27463 2012-02-07 Marek Polacek <polacek@redhat.com>
27465 * math/Makefile (tests): Add tst-CMPLX2.
27466 * math/tst-CMPLX2.c: New file.
27468 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27470 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27472 * math/libm-test.inc (jn_test): Add missing L suffix.
27474 2012-02-06 Marek Polacek <polacek@redhat.com>
27476 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27477 * sysdeps/i386/fpu/e_powf.S: Likewise.
27478 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27479 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27480 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27481 * sysdeps/i386/fpu/e_pow.S: Likewise.
27482 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27483 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27484 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27485 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27486 * sysdeps/i386/fpu/e_log2.S: Likewise.
27487 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27488 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27489 * sysdeps/i386/fpu/e_powl.S: Likewise.
27490 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27491 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27492 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27493 * sysdeps/i386/fpu/e_logl.S: Likewise.
27494 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27495 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27496 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27497 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27499 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27500 * sysdeps/i386/fpu/e_log.S: Likewise.
27501 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27502 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27503 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27504 * sysdeps/i386/fpu/e_logf.S: Likewise.
27505 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27506 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27507 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27508 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27509 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27510 * sysdeps/i386/fpu/e_log10.S: Likewise.
27511 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27512 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27513 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27514 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27515 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27516 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27517 * sysdeps/i386/asm-syntax.h: Likewise.
27518 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27519 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27521 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27522 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27524 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27525 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27526 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27527 * sysdeps/powerpc/sysdep.h: Likewise.
27528 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27529 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27531 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27534 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27536 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27538 * sysdeps/i386/sysdep.h: Include <features.h>.
27539 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27542 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27544 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27546 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27549 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27551 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27552 (SETUP_PIC_REG): Use GET_PC_THUNK.
27553 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27556 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27558 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27559 for non-PIC compilation.
27560 (SETUP_PIC_REG): Add .p2align directive.
27561 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27562 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27563 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27564 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27565 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27566 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27567 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27569 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27570 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27571 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27572 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27573 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27574 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27575 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27576 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27577 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27578 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27579 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27580 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27581 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27582 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27583 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27584 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27587 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27589 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27590 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27591 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27593 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27594 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27595 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27596 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27597 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27598 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27599 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27600 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27601 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27603 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27605 * math/tst-CMPLX.c: Include <stdio.h>.
27607 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27609 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27611 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27612 * sysdeps/sparc/bits/mathdef.h: Likewise.
27614 2012-01-31 Marek Polacek <polacek@redhat.com>
27616 * libio/libio.h: Don't define _PARAMS.
27617 * locale/programs/config.h: Don't define PARAMS.
27618 * stdlib/strtol_l.c: Likewise.
27619 (__strtol_l): Remove PARAMS from the prototype.
27621 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27623 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27624 names. Just use the correct names. Remove unnecessary wrapper
27626 * malloc/arena.c: Likewise.
27627 * malloc/hooks.c: Likewise.
27629 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27630 ARENA_TEST says not to. Simplify test for creation of a new arena.
27631 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27633 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27635 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27637 (update_get_addr): New function.
27638 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27639 GET_ADDR_MODULE parameter.
27641 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27643 * crypt/cert.c: Remove __STDC__ conditionals.
27644 * crypt/crypt-entry.c: Likewise.
27645 * crypt/crypt_util.c: Likewise.
27646 * libio/filedoalloc.c: Likewise.
27647 * libio/fileops.c: Likewise.
27648 * libio/genops.c: Likewise.
27649 * libio/iofclose.c: Likewise.
27650 * libio/iofdopen.c: Likewise.
27651 * libio/iofopen.c: Likewise.
27652 * libio/iofopen64.c: Likewise.
27653 * libio/iogetdelim.c: Likewise.
27654 * libio/iopopen.c: Likewise.
27655 * libio/obprintf.c: Likewise.
27656 * libio/oldfileops.c: Likewise.
27657 * libio/oldiofclose.c: Likewise.
27658 * libio/oldiofdopen.c: Likewise.
27659 * libio/oldiofopen.c: Likewise.
27660 * libio/oldiopopen.c: Likewise.
27661 * libio/wfiledoalloc.c: Likewise.
27662 * libio/wgenops.c: Likewise.
27663 * locale/programs/xmalloc.c: Likewise.
27664 * misc/syslog.c: Likewise.
27665 * stdio-common/xbug.c: Likewise.
27666 * string/memchr.c: Likewise.
27667 * string/memcmp.c: Likewise.
27668 * string/memrchr.c: Likewise.
27669 * string/rawmemchr.c: Likewise.
27670 * sysdeps/posix/getcwd.c: Likewise.
27671 * time/strftime_l.c: Likewise.
27673 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27675 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27676 * config.make.in (config-cflags-sse2avx): Define.
27677 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27680 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27682 * scripts/config.guess: Update from upstream config git repository.
27683 * scripts/config.sub: Likewise.
27685 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27687 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27689 (R_TILEPRO_*, R_TILEGX_*): New macros.
27691 * scripts/firstversions.awk: Fix bug in version range handling.
27693 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27695 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27697 * include/sys/epoll.h: New file.
27698 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27701 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27703 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27704 Avoid unnecessary __WORDSIZE == 64 test.
27705 (fmaxf): Use VEX format if possible.
27710 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27711 * math/math_private.h: Remove libc_fegetround* and
27713 * sysdeps/i386/configure.in: Check for -msse2avx.
27714 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27715 also if SSE2AVX is defined.
27716 Remove libc_fegetround* and libc_fesetround*.
27717 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27718 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27727 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27729 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27731 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27733 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27735 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27738 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27740 * Makeconfig (libm): Define.
27741 * elf/Makefile: Add rules to build and run tst-relsort1.
27742 * elf/tst-relsort1.c: New file.
27743 * elf/tst-relsort1mod1.c: New file.
27744 * elf/tst-relsort1mod2.c: New file.
27746 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27748 * math/s_ldexp.c: Remove __STDC__ conditionals.
27749 * math/s_ldexpf.c: Likewise.
27750 * math/s_ldexpl.c: Likewise.
27751 * math/s_nextafter.c: Likewise.
27752 * math/s_nexttowardf.c: Likewise.
27753 * math/s_significand.c: Likewise.
27754 * math/s_significandf.c: Likewise.
27755 * math/s_significandl.c: Likewise.
27756 * math/w_jnl.c: Likewise.
27757 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27758 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27759 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27760 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27761 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27776 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27777 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27778 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27779 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27781 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27782 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27783 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27784 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27785 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27786 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27787 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27788 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27789 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27790 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27791 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27792 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27793 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27794 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27795 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27796 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27797 * sysdeps/ieee754/k_standard.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27847 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27849 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27851 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27858 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27859 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27860 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27863 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27864 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27870 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27872 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27873 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27877 * sysdeps/ieee754/s_matherr.c: Likewise.
27878 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27879 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27883 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27885 * crypt/md5.h: Remove __STDC__ conditionals.
27886 * libio/libioP.h: Likewise.
27887 * locale/programs/config.h: Likewise.
27888 * sysdeps/generic/sysdep.h: Likewise.
27889 * sysdeps/i386/asm-syntax.h: Likewise.
27890 * sysdeps/s390/asm-syntax.h: Likewise.
27891 * sysdeps/unix/sysdep.h: Likewise.
27892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27895 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27897 * libio/libio.h: Remove __STDC__ conditionals.
27898 * malloc/obstack.h: Likewise.
27899 * math/complex.h: Likewise.
27900 * math/math.h: Likewise.
27901 * sysdeps/generic/_G_config.h: Likewise.
27902 * sysdeps/gnu/_G_config.h: Likewise.
27903 * sysdeps/mach/hurd/_G_config.h: Likewise.
27904 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27905 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27906 * sysdeps/sparc/bits/mathdef.h: Likewise.
27908 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27911 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27912 Clean up HAS_* macros.
27913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27914 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27924 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27926 * elf/tst-unique3.cc (gets): Remove declaration.
27927 * elf/tst-unique3lib.cc (gets): Likewise.
27928 * elf/tst-unique3lib2.cc (gets): Likewise.
27929 * elf/tst-unique4.cc (gets): Likewise.
27931 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27933 * include/stdio.h: Add C++ protection. Add gets declarations and
27935 * debug/tst-chk1.c: Don't declare gets here.
27936 * stdio-common/tst-gets.c: Likewise.
27938 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27940 * posix/glob: Remove directory.
27942 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27944 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27946 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27948 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27949 of the non-standard EPFNOSUPPORT.
27951 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27953 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27954 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27955 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27957 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27959 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27961 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27963 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27965 * nscd/grpcache.c (cache_addgr): Likewise.
27966 * nscd/hstcache.c (cache_addhst): Likewise.
27967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27968 * nscd/pwdcache.c (cache_addpw): Likewise.
27969 * nscd/servicescache.c (cache_addserv): Likewise.
27971 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27973 * malloc/malloc.c: Various cleanups.
27974 * malloc/hooks.c: Likewise.
27976 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27977 * stdlib/bug-fmtmsg1.c: New file.
27979 * stdlib/fmtmsg.c (init): Add missing unlock.
27980 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27982 2012-01-12 Marek Polacek <polacek@redhat.com>
27984 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27987 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27989 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27990 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27991 macro to ensure uniqueness of label name.
27992 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27993 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27995 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27997 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27999 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28000 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28004 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28006 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28008 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28009 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28010 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28012 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28014 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28015 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28016 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28019 * math/bits/math-finite.h: Add ldexp support.
28021 2012-01-10 Marek Polacek <polacek@redhat.com>
28023 * locale/programs/localedef.h (show_archive_content): Add noreturn
28026 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28028 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28030 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28032 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28034 * io/Makefile (headers): Add bits/poll2.h.
28036 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28039 typo #include statement.
28041 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28043 * include/sys/cdefs.h: Define __attribute_alloc_size.
28044 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28045 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28046 * elf/pldd.c: Likewise.
28047 * iconv/iconv_charmap.c: Likewise.
28048 * iconv/iconvconfig.c: Likewise.
28049 * iconv/strtab.c: Likewise.
28050 * locale/programs/locale.c: Likewise.
28051 * locale/programs/localedef.h: Likewise.
28052 * locale/programs/simple-hash.c: Likewise.
28053 * nscd/nscd.h: Likewise.
28054 * nss/makedb.c: Likewise.
28055 * sysdeps/generic/ldconfig.h: Likewise.
28056 * locale/programs/localedef.c: Remove xmalloc prototype.
28057 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28059 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28061 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28064 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28066 * math/Makefile (tests): Add tst-CMPLX.
28067 * math/tst-CMPLX.c: New file.
28069 * math/complex.h (CMPLXL): Fix typo.
28071 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28072 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28074 * debug/tst-chk1.c: Add poll and ppoll tests.
28075 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28076 * include/sys/poll.h: Add hidden proto for ppoll.
28077 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28078 * sysdeps/mach/hurd/ppoll.c: Likewise.
28079 * io/ppoll.c: Likewise.
28080 * debug/poll_chk.c: New file.
28081 * debug/ppoll_chk.c: New file.
28082 * include/bits/poll2.h: New file.
28083 * io/bits/poll2.h: New file.
28086 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28088 * configure.in: static is always set to yes. Remove.
28089 * config.make.in: Don't set build-static.
28090 * Makeconfig: Remove use of build-static.
28091 * dlfcn/Makefile: Likewise.
28092 * elf/Makefile: Likewise.
28093 * math/Makefile: Likewise.
28094 * misc/Makefile: Likewise.
28095 * nptl/Makefile: Likewise.
28096 * sysdeps/mach/hurd/Makefile: Likewise.
28098 * configure.in: PWD_P is not used anymore.
28099 * config.make.in: Remove PWD_P entry.
28101 * configure.in: Remove last remnants of RANLIB.
28102 No need to check for signed size_t anymore.
28103 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28105 Remove __builtin_expect test because we require at least gcc 3.4.
28106 * aclocal.m4: Likewise.
28108 * wcsmbs/mbrtoc16.c: Implement using towc function.
28109 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28110 * wcsmbs/wcsmbsload.c: Likewise.
28111 * iconv/gconv_simple.c: Likewise.
28112 * iconv/gconv_int.h: Likewise.
28113 * iconv/gconv_builtin.h: Likewise.
28114 * iconv/iconv_prog.c: Remove CHAR16 handling.
28116 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28118 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28120 * configure.in: Remove --with-elf and --enable-bounded options.
28121 Dont set base_machine for ia64. More non-ELF conditions removed.
28122 Remove testing and setting of leading underscore information.
28123 * config.make.in (build-bounded): Set to no.
28124 * config.h.in: Remove NO_UNDERSCORES entry.
28125 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28127 * csu/start.c: Remove !NO_UNDERSCORE code.
28128 * locale/localeinfo.h: Likewise.
28129 * sysdeps/generic/machine-gmon.h: Likewise.
28130 * sysdeps/generic/sysdep.h: Likewise.
28131 * sysdeps/i386/sysdep.h: Likewise.
28132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28133 * sysdeps/mach/sysdep.h: Likewise.
28134 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28136 * sysdeps/sh/sysdep.h: Likewise.
28137 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28138 * sysdeps/unix/i386/sysdep.S: Likewise.
28139 * sysdeps/unix/sparc/start.c: Likewise.
28140 * sysdeps/unix/sparc/sysdep.S: Likewise.
28141 * sysdeps/unix/sparc/sysdep.h: Likewise.
28142 * sysdeps/unix/start.c: Likewise.
28143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28144 * sysdeps/x86_64/sysdep.h: Likewise.
28146 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28149 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28151 * argp/argp-fmtstream.h: Use const instead __const.
28152 * argp/argp.h: Likewise.
28153 * assert/assert.h: Likewise.
28154 * bits/fenv.h: Likewise.
28155 * bits/sched.h: Likewise.
28156 * bits/sigset.h: Likewise.
28157 * bits/sigthread.h: Likewise.
28158 * catgets/nl_types.h: Likewise.
28159 * conform/data/pthread.h-data: Likewise.
28160 * crypt/crypt-private.h: Likewise.
28161 * crypt/crypt.h: Likewise.
28162 * crypt/crypt_util.c: Likewise.
28163 * ctype/ctype.h: Likewise.
28164 * debug/execinfo.h: Likewise.
28165 * debug/mbsnrtowcs_chk.c: Likewise.
28166 * debug/mbsrtowcs_chk.c: Likewise.
28167 * debug/wcsnrtombs_chk.c: Likewise.
28168 * debug/wcsrtombs_chk.c: Likewise.
28169 * debug/wcstombs_chk.c: Likewise.
28170 * dirent/dirent.h: Likewise.
28171 * dlfcn/dlfcn.h: Likewise.
28172 * elf/neededtest4.c: Likewise.
28173 * grp/grp.h: Likewise.
28174 * gshadow/gshadow.h: Likewise.
28175 * iconv/gconv.h: Likewise.
28176 * iconv/gconv_int.h: Likewise.
28177 * iconv/gconv_simple.c: Likewise.
28178 * iconv/iconv.h: Likewise.
28179 * iconv/loop.c: Likewise.
28180 * iconv/skeleton.c: Likewise.
28181 * include/aio.h: Likewise.
28182 * include/aliases.h: Likewise.
28183 * include/argz.h: Likewise.
28184 * include/arpa/inet.h: Likewise.
28185 * include/assert.h: Likewise.
28186 * include/dirent.h: Likewise.
28187 * include/dlfcn.h: Likewise.
28188 * include/execinfo.h: Likewise.
28189 * include/fcntl.h: Likewise.
28190 * include/fenv.h: Likewise.
28191 * include/glob.h: Likewise.
28192 * include/grp.h: Likewise.
28193 * include/libintl.h: Likewise.
28194 * include/mntent.h: Likewise.
28195 * include/netdb.h: Likewise.
28196 * include/pwd.h: Likewise.
28197 * include/rpc/netdb.h: Likewise.
28198 * include/sched.h: Likewise.
28199 * include/search.h: Likewise.
28200 * include/shadow.h: Likewise.
28201 * include/signal.h: Likewise.
28202 * include/stdio.h: Likewise.
28203 * include/stdlib.h: Likewise.
28204 * include/string.h: Likewise.
28205 * include/sys/socket.h: Likewise.
28206 * include/sys/stat.h: Likewise.
28207 * include/sys/statfs.h: Likewise.
28208 * include/sys/statvfs.h: Likewise.
28209 * include/sys/syslog.h: Likewise.
28210 * include/sys/time.h: Likewise.
28211 * include/sys/uio.h: Likewise.
28212 * include/time.h: Likewise.
28213 * include/unistd.h: Likewise.
28214 * include/utmp.h: Likewise.
28215 * include/wchar.h: Likewise.
28216 * include/wctype.h: Likewise.
28217 * inet/aliases.h: Likewise.
28218 * inet/arpa/inet.h: Likewise.
28219 * inet/netinet/ether.h: Likewise.
28220 * inet/netinet/in.h: Likewise.
28221 * intl/libintl.h: Likewise.
28222 * io/bits/fcntl2.h: Likewise.
28223 * io/fcntl.h: Likewise.
28224 * io/ftw.h: Likewise.
28225 * io/sys/poll.h: Likewise.
28226 * io/sys/stat.h: Likewise.
28227 * io/sys/statfs.h: Likewise.
28228 * io/sys/statvfs.h: Likewise.
28229 * io/utime.h: Likewise.
28230 * libio/bits/stdio.h: Likewise.
28231 * libio/bits/stdio2.h: Likewise.
28232 * libio/libio.h: Likewise.
28233 * libio/libioP.h: Likewise.
28234 * libio/stdio.h: Likewise.
28235 * locale/lc-ctype.c: Likewise.
28236 * locale/locale.h: Likewise.
28237 * login/utmp.h: Likewise.
28238 * malloc/arena.c: Likewise.
28239 * malloc/malloc.c: Likewise.
28240 * malloc/malloc.h: Likewise.
28241 * malloc/mcheck.c: Likewise.
28242 * malloc/mtrace.c: Likewise.
28243 * math/bits/mathcalls.h: Likewise.
28244 * math/fenv.h: Likewise.
28245 * math/math_private.h: Likewise.
28246 * misc/bits/error.h: Likewise.
28247 * misc/bits/syslog.h: Likewise.
28248 * misc/err.h: Likewise.
28249 * misc/error.h: Likewise.
28250 * misc/fstab.h: Likewise.
28251 * misc/mntent.h: Likewise.
28252 * misc/regexp.h: Likewise.
28253 * misc/search.h: Likewise.
28254 * misc/sgtty.h: Likewise.
28255 * misc/sys/mman.h: Likewise.
28256 * misc/sys/syslog.h: Likewise.
28257 * misc/sys/uio.h: Likewise.
28258 * misc/sys/xattr.h: Likewise.
28259 * misc/ttyent.h: Likewise.
28260 * nis/rpcsvc/ypclnt.h: Likewise.
28261 * nss/nss.h: Likewise.
28262 * posix/bits/unistd.h: Likewise.
28263 * posix/fnmatch.h: Likewise.
28264 * posix/glob.h: Likewise.
28265 * posix/sched.h: Likewise.
28266 * posix/spawn.h: Likewise.
28267 * posix/sys/wait.h: Likewise.
28268 * posix/unistd.h: Likewise.
28269 * posix/wordexp.h: Likewise.
28270 * pwd/pwd.h: Likewise.
28271 * resolv/netdb.h: Likewise.
28272 * resource/sys/resource.h: Likewise.
28273 * rt/aio.h: Likewise.
28274 * rt/bits/mqueue2.h: Likewise.
28275 * rt/mqueue.h: Likewise.
28276 * shadow/shadow.h: Likewise.
28277 * signal/signal.h: Likewise.
28278 * socket/send.c: Likewise.
28279 * socket/sendto.c: Likewise.
28280 * socket/sys/socket.h: Likewise.
28281 * stdio-common/printf.h: Likewise.
28282 * stdlib/bits/stdlib.h: Likewise.
28283 * stdlib/fmtmsg.h: Likewise.
28284 * stdlib/monetary.h: Likewise.
28285 * stdlib/stdlib.h: Likewise.
28286 * stdlib/ucontext.h: Likewise.
28287 * streams/stropts.h: Likewise.
28288 * string/argz.h: Likewise.
28289 * string/bits/string2.h: Likewise.
28290 * string/string.h: Likewise.
28291 * string/strings.h: Likewise.
28292 * sunrpc/rpc/auth.h: Likewise.
28293 * sunrpc/rpc/auth_des.h: Likewise.
28294 * sunrpc/rpc/clnt.h: Likewise.
28295 * sunrpc/rpc/netdb.h: Likewise.
28296 * sunrpc/rpc/pmap_clnt.h: Likewise.
28297 * sunrpc/rpc/xdr.h: Likewise.
28298 * sysdeps/generic/inttypes.h: Likewise.
28299 * sysdeps/generic/net/if.h: Likewise.
28300 * sysdeps/generic/sys/swap.h: Likewise.
28301 * sysdeps/gnu/net/if.h: Likewise.
28302 * sysdeps/gnu/utmpx.h: Likewise.
28303 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28304 * sysdeps/i386/i486/bits/string.h: Likewise.
28305 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28306 * sysdeps/s390/bits/string.h: Likewise.
28307 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28308 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28309 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28310 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28311 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28312 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28313 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28314 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28315 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28316 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28317 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28318 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28319 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28320 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28321 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28322 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28323 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28325 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28327 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28328 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28329 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28330 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28331 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28332 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28333 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28335 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28337 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28338 * sysvipc/sys/ipc.h: Likewise.
28339 * sysvipc/sys/msg.h: Likewise.
28340 * sysvipc/sys/sem.h: Likewise.
28341 * sysvipc/sys/shm.h: Likewise.
28342 * termios/termios.h: Likewise.
28343 * time/sys/time.h: Likewise.
28344 * time/time.h: Likewise.
28345 * wcsmbs/bits/wchar2.h: Likewise.
28346 * wcsmbs/uchar.h: Likewise.
28347 * wcsmbs/wchar.h: Likewise.
28348 * wctype/wctype.h: Likewise.
28351 * Makeconfig: Remove all but ELF support including AIX support.
28352 * Makerules: Likewise.
28353 * config.h.in: Likewise.
28354 * config.make.in: Likewise.
28355 * configure: Likewise.
28356 * configure.in: Likewise.
28357 * csu/Makefile: Likewise.
28358 * csu/version.c: Likewise.
28359 * debug/Makefile: Likewise.
28360 * dlfcn/Makefile: Likewise.
28361 * elf/Makefile: Likewise.
28362 * extra-lib.mk: Likewise.
28363 * iconv/Makefile: Likewise.
28364 * include/libc-symbols.h: Likewise.
28365 * include/shlib-compat.h: Likewise.
28366 * resolv/Makefile: Likewise.
28367 * resolv/res_libc.c: Likewise.
28368 * rt/Makefile: Likewise.
28369 * sysdeps/i386/asm-syntax.h: Likewise.
28370 * sysdeps/i386/sysdep.h: Likewise.
28371 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28372 * sysdeps/mach/sysdep.h: Likewise.
28373 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28374 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28375 * sysdeps/s390/asm-syntax.h: Likewise.
28376 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28378 * sysdeps/sh/sysdep.h: Likewise.
28379 * sysdeps/unix/sparc/sysdep.h: Likewise.
28380 * sysdeps/wordsize-32/divdi3.c: Likewise.
28381 * sysdeps/x86_64/sysdep.h: Likewise.
28383 * argp/Versions: Remove _argp_unlock_xxx.
28386 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28387 * abilist/libBrokenLocale.abilist: Likewise.
28388 * abilist/libanl.abilist: Likewise.
28389 * abilist/libc.abilist: Likewise.
28390 * abilist/libcrypt.abilist: Likewise.
28391 * abilist/libdl.abilist: Likewise.
28392 * abilist/libm.abilist: Likewise.
28393 * abilist/libnsl.abilist: Likewise.
28394 * abilist/libpthread.abilist: Likewise.
28395 * abilist/libresolv.abilist: Likewise.
28396 * abilist/librt.abilist: Likewise.
28397 * abilist/libthread_db.abilist: Likewise.
28398 * abilist/libutil.abilist: Likewise.
28399 * abilist/libnss_db.abilist: New file.
28401 * scripts/abilist.awk: Add support for indirect functions.
28403 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28405 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28407 * shlib-versions: Remove entries for ports architectures.
28409 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28411 * elf/stackguard-macros.h: Remove support for IA-64.
28412 * elf/tst-auditmod1.c: Likewise.
28413 * sysdeps/generic/ldsodefs.h: Likewise.
28415 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28416 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28420 * configure.in: Remove --enable-omitfp support.
28422 * config.make.in: Likewise.
28423 * Makeconfig: Likewise.
28424 * manual/install.texi: Likewise.
28426 In case anyone cares, the IA-64 architecture could move to ports.
28427 * sysdeps/ia64/*: Removed.
28428 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28429 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28432 * configure.in: Remove entries for unsupported architectures.
28435 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28436 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28438 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28439 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28440 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28441 fall back to using wcrtomb.
28442 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28443 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28445 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28446 * wcsmbs/tst-c16c32-1.c: New file.
28448 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28451 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28453 * elf/tst-unique3.cc: Add explicit declaration of gets.
28454 * elf/tst-unique3lib.cc: Likewise.
28455 * elf/tst-unique3lib2.cc: Likewise.
28456 * elf/tst-unique4.cc: Likewise.
28458 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28460 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28463 * assert/assert.h (static_assert): Don't define for C++.
28464 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28465 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28467 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28469 * iconv/loop.c (single loop): Fix assertion in storing of
28472 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28474 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28476 * posix/getconf.c: Update copyright year.
28477 * nss/getent.c: Likewise.
28478 * nss/makedb.c: Likewise.
28479 * iconv/iconvconfig.c: Likewise.
28480 * iconv/iconv_prog.c: Likewise.
28481 * elf/ldconfig.c: Likewise.
28482 * elf/pldd.c: Likewise.
28483 * elf/sotruss.ksh: Likewise.
28484 * catgets/gencat.c: Likewise.
28485 * csu/version.c: Likewise.
28486 * elf/ldd.bash.in: Likewise.
28487 * elf/sprof.c (print_version): Likewise.
28488 * locale/programs/locale.c: Likewise.
28489 * locale/programs/localedef.c: Likewise.
28490 * login/programs/pt_chown.c: Likewise.
28491 * nscd/nscd.c (print_version): Likewise.
28492 * debug/xtrace.sh: Likewise.
28493 * malloc/memusage.sh: Likewise.
28494 * malloc/mtrace.pl: Likewise.
28495 * debug/catchsegv.sh: Likewise.
28497 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28499 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28502 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28505 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28506 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28508 * iconv/gconv_int.h: Likewise.
28509 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28510 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28511 from libc for GLIBC_2.16.
28512 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28513 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28514 * wcsmbs/uchar.h: Really define mbstate_t.
28515 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28516 * wcsmbs/c16rtomb.c: New file.
28517 * wcsmbs/mbrtoc16.c: New file.
28518 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28519 for C/POSIX locale.
28520 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28521 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28523 * wcsmbs/wchar.h: Add missing __restrict.
28525 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28528 * time/Makefile (routines): Add timespec_get.
28529 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28530 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28531 timespec for ISO C11.
28532 * time/timespec_get.c: New file.
28533 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28534 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28537 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28538 * stdlib/stdlib.h: Declare aligned_alloc.
28539 * Versions.def: Add GLIBC_2.16 for libc.
28540 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28543 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28546 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28550 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28553 * assert/assert.h (static_assert): Define.
28555 * version.h: Update for 2.16 development version.
28558 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28561 * version.h (RELEASE): Bump for 2.15 release.
28562 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28564 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28565 Patch by Marek Polacek <mpolacek@redhat.com>.
28567 * bits/byteswap.h: Protect long long constants with __extension__.
28568 * sysdeps/i386/bits/byteswap.h: Likewise.
28569 * sysdeps/ia64/bits/byteswap.h: Likewise.
28570 * sysdeps/s390/bits/byteswap.h: Likewise.
28571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28573 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28576 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28577 destination buffer.
28578 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28580 2011-12-23 Marek Polacek <polacek@redhat.com>
28582 * elf/dl-addr.c (determine_info): Add inline keyword.
28583 * elf/tst-auditmod4b.c (check_avx): Likewise.
28584 * elf/tst-auditmod6b.c (check_avx): Likewise.
28585 * elf/tst-auditmod6c.c (check_avx): Likewise.
28586 * elf/tst-auditmod7b.c (check_avx): Likewise.
28588 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28590 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28593 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28596 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28597 processing for last bytes.
28599 2011-08-06 Bruno Haible <bruno@clisp.org>
28602 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28603 U+0385, not to U+1FEE.
28606 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28607 entry for U+00A5 U+0301.
28609 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28612 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28613 buffer for the output is too small.
28615 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28619 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28620 SSE flags if possible.
28622 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28626 processing for last bytes.
28628 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28630 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28631 (syscall-list-default-options, syscall-list-default-condition)
28632 (syscall-list-includes): Define.
28633 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28634 list of ABIs and options and #if conditions for each ABI. Do not
28635 handle common syscalls between ABIs specially.
28636 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28638 (syscall-list-variants, syscall-list-32bit-options)
28639 (syscall-list-32bit-condition, syscall-list-64bit-options)
28640 (syscall-list-64bit-condition): Define.
28641 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28642 (syscall-list-variants, syscall-list-32bit-options)
28643 (syscall-list-32bit-condition, syscall-list-64bit-options)
28644 (syscall-list-64bit-condition): Define.
28645 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28647 (syscall-list-variants, syscall-list-32bit-options)
28648 (syscall-list-32bit-condition, syscall-list-64bit-options)
28649 (syscall-list-64bit-condition): Define.
28650 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28652 (syscall-list-variants, syscall-list-32bit-options)
28653 (syscall-list-32bit-condition, syscall-list-64bit-options)
28654 (syscall-list-64bit-condition): Define.
28656 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28658 * locale/iso-639.def: Add brx entry.
28661 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28662 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28664 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28665 __feraiseexcept_renamed.
28667 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28670 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28671 EPOLLET with unsigned values.
28672 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28673 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28675 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28676 to large cancellation.
28677 * math/s_cacoshf.c: Likewise.
28678 * math/s_cacoshl.c: Likewise.
28680 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28684 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28685 * math/s_cacoshf.c: Likewise.
28686 * math/s_cacoshl.c: Likewise.
28688 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28691 * iconv/gconv.h: Define __GCONV_SWAP.
28692 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28693 * iconvdata/utf-16.c: Likewise.
28694 * iconvdata/utf-32.c: Likewise.
28696 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28700 numerator after shifting it by one limb.
28702 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28705 under [__USE_EXTERN_INLINES].
28707 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28710 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28712 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28714 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28715 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28717 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28718 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28719 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28720 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28721 for strncasecmp/strncasecmp_l compilation.
28722 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28723 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28725 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28728 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28731 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28734 * time/tzfile.c (__tzfile_read): Check values from file header.
28736 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28738 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28739 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28740 * powerpc/powerpc32/dl-start.S: Likewise.
28741 * powerpc/powerpc32/elf/start.S: Likewise.
28742 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28743 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28744 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28745 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28746 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28747 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28748 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28749 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28750 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28751 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28752 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28753 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28754 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28755 * powerpc/powerpc32/memset.S: Likewise.
28756 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28757 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28758 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28759 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28760 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28761 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28762 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28763 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28764 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28765 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28766 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28767 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28768 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28770 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28772 * math/libm-test.inc: Added more nearbyint tests.
28773 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28778 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28780 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28783 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28785 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28786 Add wcscpy-ssse3 wcscpy-c.
28787 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28788 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28789 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28790 * sysdeps/x86_64/wcschr.S: New file.
28791 * sysdeps/x86_64/wcsrchr.S: New file.
28792 * string/test-strcmp.c: Remove checking of wcscmp function for
28794 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28795 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28796 wcsrchr-sse2 wcsrchr-c.
28797 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28798 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28799 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28800 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28801 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28802 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28803 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28804 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28805 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28806 * wcsmbc/wcschr.c (WCSCHR): New macro.
28808 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28810 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28811 * wcsmbs/test-wcsrchr.c: New file.
28812 * string/test-strrchr.c: Add wcsrchr support.
28814 * wcsmbs/test-wcscpy.c: New file.
28815 * string/test-strcpy.c: Add wcscpy support.
28818 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28823 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28826 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28828 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28831 Minor optimizations.
28833 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28834 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28835 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28837 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28839 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28840 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28841 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28842 for gcc to avoid warnings.
28843 * inet/Makefile (tests): Add tst-checks.
28844 * inet/tst-checks.c: New file.
28846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28849 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28852 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28853 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28855 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28857 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28859 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28862 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28864 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28866 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28867 conditional on GCC version.
28868 (__arch_compare_and_exchange_val_8_acq)
28869 (__arch_compare_and_exchange_val_16_acq)
28870 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28871 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28872 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28874 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28876 * sysdeps/sh/backtrace.c: New file.
28878 2011-12-02 Andreas Schwab <schwab@redhat.com>
28880 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28883 2011-12-01 Andreas Schwab <schwab@redhat.com>
28885 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28886 falling back to utime.
28888 2011-11-30 Andreas Schwab <schwab@redhat.com>
28890 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28891 expectations for float.
28893 2011-11-29 Andreas Schwab <schwab@redhat.com>
28895 * locale/weight.h (findidx): Add parameter len.
28896 * locale/weightwc.h (findidx): Likewise.
28897 * posix/fnmatch_loop.c (FCT): Adjust caller.
28898 * posix/regcomp.c (build_equiv_class): Likewise.
28899 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28900 * posix/regexec.c (check_node_accept_bytes): Likewise.
28901 * string/strcoll_l.c (STRCOLL): Likewise.
28902 * string/strxfrm_l.c (STRXFRM): Likewise.
28904 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28906 * Makefile.in: Remove CVSOPT handling.
28907 * configure.in: Remove use of AC_REVISION.
28908 * iconvdata/Makefile (distribute): No need to filter out CVS.
28909 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28912 2011-11-16 Andreas Schwab <schwab@redhat.com>
28914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28915 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28916 [USE_AS_STRNCASECMP_L]: Likewise.
28917 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28918 NO_TLS_DIRECT_SEG_REFS.
28919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28920 Fix argument offsets for non-PIC.
28921 [USE_AS_STRNCASECMP_L]: Likewise.
28922 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28923 NO_TLS_DIRECT_SEG_REFS.
28925 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28927 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28929 * locale/loadlocale.c (_nl_load_locale): Likewise.
28931 2011-11-15 Andreas Schwab <schwab@redhat.com>
28933 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28934 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28935 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28936 (SYSCALL_GETTIME): Set errno on error.
28938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28939 count references to noai6ai_cached.
28941 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28943 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28945 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28946 FD_CLOEXEC for /proc/self/maps.
28948 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28949 FD_CLOEXEC for /proc/meminfo.
28951 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28954 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28955 FD_CLOEXEC for given file.
28957 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28959 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28960 FD_CLOEXEC for /etc/hosts.
28961 (_gethtent): Likewise.
28963 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28965 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28966 cancellation and set FD_CLOEXEC for /etc/netgroup.
28968 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28969 reading /etc/publickey.
28971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28972 allow cancellation when reading /etc/group.
28974 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28976 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28978 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28979 when using data file.
28981 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28983 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28984 (write_nis_obj): Use "c" and "e" in fopen.
28986 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28988 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28990 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28992 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28994 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28997 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28999 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29001 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29003 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29004 file parsing and set FD_CLOEXEC.
29006 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29008 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29010 2011-11-14 Andreas Schwab <schwab@redhat.com>
29012 * malloc/arena.c (arena_get2): Don't call reused_arena when
29013 _int_new_arena failed.
29015 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29017 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29018 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29019 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29020 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29023 to compile strcasecmp and strncasecmp.
29024 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29025 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29029 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29031 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29032 locale-defines.sym to gen-as-const-headers.
29033 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29034 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29036 to compile strcasecmp and strncasecmp.
29037 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29038 strcasecmp_l and strncasecmp_l.
29039 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29040 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29041 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29042 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29043 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29044 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29045 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29046 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29047 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29048 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29049 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29051 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29053 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29054 result of SYSDEP_GETTIME_CPU to retval.
29055 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29056 parameter list to macro. Remove trailing semicolon. Adjust users.
29058 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29061 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29063 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29065 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29066 from unused variable.
29068 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29070 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29073 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29076 * sunrpc/rpc_prot.c (rejected): Fix case value.
29078 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29079 unsigned long long int to avoid warnings in shift.
29081 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29083 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29087 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29088 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29090 * nis/nis_table.c (nis_list): Use variable of correct type for
29091 result of __follow_path call.
29093 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29095 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29096 of math functions ceil, trunc, floor, round, and sqrt, when
29097 avaliable on the platform.
29098 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29100 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29101 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29102 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29104 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29106 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29107 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29109 2011-11-11 Roland McGrath <roland@hack.frob.com>
29111 * include/unistd.h: Fix __readlink return type.
29112 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29114 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29116 * stdlib/ucontext.h: Undo last change for makecontext.
29118 2011-11-11 Andreas Schwab <schwab@redhat.com>
29120 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29122 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29123 * setjmp/setjmp.h: Mark functions as non-leaf.
29124 * setjmp/bits/setjmp2.h: Likewise.
29125 * stdlib/ucontext.h: Likewise.
29127 2011-11-10 Andreas Schwab <schwab@redhat.com>
29129 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29130 (reused_arena): Don't check arena limit.
29131 (arena_get2): Atomically check arena limit.
29133 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29135 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29136 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29141 2011-11-07 Andreas Schwab <schwab@redhat.com>
29143 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29144 handler when locking.
29146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29147 Fix size of allocated buffer.
29149 2011-11-04 Andreas Schwab <schwab@redhat.com>
29152 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29153 declarations for long double functions.
29154 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29156 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29158 2011-11-03 Andreas Schwab <schwab@redhat.com>
29160 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29163 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29166 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29168 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29170 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29172 * include/alloca.h (stackinfo_alloca_round): Define.
29173 (extend_alloca): Use it.
29174 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29175 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29178 * scripts/check-local-headers.sh: Ignore libaudit.h.
29180 * nscd/Makefile (extra-objs): Make recursively expanded.
29182 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29184 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29187 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29188 * posix/tst-rfc3484-2.c: Likewise.
29189 * posix/tst-rfc3484-3.c: Likewise.
29191 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29193 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29195 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29196 process_vm_writev from libc using GLIBC_2.15 version.
29198 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29200 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29202 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29205 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29208 * nss/getent.c (initgroups_keys): Show error message in case no group
29211 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29212 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29213 __bump_nl_timestamp.
29214 * nscd/connections (nscd_init): When host database is served open
29215 netlink socket and request notification about configuration changes.
29216 (main_loop_poll): Track netlink file descriptor and bump timestamp
29217 in case data becomes available.
29218 (main_loop_epoll): Likewise.
29219 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29220 (database_pers_head): Add extra_data fileds.
29221 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29223 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29226 in6ai data, call __free_in6ai.
29227 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29228 Add -DHAVE_NETLINK.
29229 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29230 interface information. Reuse previous data if netlink timestamp
29232 (__bump_nl_timestamp): New function.
29233 (__free_in6ai): New function.
29235 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29237 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29238 close_not_cancel_no_status here.
29239 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29241 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29244 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29247 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29248 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29249 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29251 2011-07-03 Andreas Jaeger <aj@suse.de>
29254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29255 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29256 * math/libm-test.inc (sin_test): Add test case.
29258 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29261 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29262 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29264 * elf/chroot_canon.c (chroot_canon): Cleanups.
29266 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29269 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29270 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29272 * string/test-strchr.c: Make usable for strchrnul testing.
29273 * string/test-strchrnul.c: New file.
29274 * string/Makefile (strop-tests): Add strchrnul.
29276 * po/it.po: Update from translation team.
29277 * po/es.po: Likewise.
29279 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29282 the three constants needed as parameters. Drop the others.
29283 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29284 __m128i_strloadu_tolower.
29285 Create and initialize variable zero and use it in all the places
29286 where _mm_setzero_si128 was used.
29288 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29289 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29290 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29291 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29293 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29294 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29295 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29296 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29297 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29298 __mpranred, __mptan.
29299 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29300 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29301 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29302 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29303 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29304 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29306 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29307 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29309 2011-10-28 Andreas Schwab <schwab@redhat.com>
29311 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29312 redefine if SHARED.
29313 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29316 wide char related routines to wcsmbs subdir.
29318 2011-10-27 Andreas Schwab <schwab@redhat.com>
29321 * misc/sys/cdefs.h (__THROWNL): Define.
29322 * posix/unistd.h: Use __THREADNL instead of __THREAD
29323 for memory synchronization functions.
29325 2011-10-26 Roland McGrath <roland@hack.frob.com>
29328 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29330 * manual/stdio.texi (Obstack Streams): Node removed.
29332 2011-10-26 Andreas Schwab <schwab@redhat.com>
29334 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29335 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29336 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29338 * math/math_private.h (math_force_eval): Allow non-addressable
29340 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29344 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29345 file is not needed.
29347 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29348 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29350 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29352 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29353 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29354 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29356 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29357 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29358 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29359 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29360 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29361 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29362 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29363 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29364 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29365 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29366 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29367 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29369 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29370 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29371 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29372 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29373 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29374 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29376 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29377 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29379 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29380 place. Use VEX encoding when compiling for AVX.
29382 2011-10-25 Andreas Schwab <schwab@redhat.com>
29384 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29385 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29387 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29389 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29391 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29392 useless if() expression.
29393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29394 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29395 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29396 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29398 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29399 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29402 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29403 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29404 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29405 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29406 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29407 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29408 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29409 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29411 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29413 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29415 2011-10-25 Andreas Schwab <schwab@redhat.com>
29417 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29419 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29421 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29423 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29424 .text section. Avoid duplicate constants.
29425 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29433 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29434 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29435 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29436 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29437 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29438 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29439 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29441 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29442 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29443 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29445 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29446 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29447 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29448 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29449 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29450 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29451 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29452 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29455 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29456 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29457 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29458 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29459 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29460 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29461 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29463 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29464 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29465 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29467 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29469 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29471 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29473 * sysdeps/x86_64/dla.h: Move to ...
29474 * sysdeps/x86_64/fpu/dla.h: ...here.
29475 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29476 situations. Use __builtin_fma only for gcc 4.6 and up.
29478 * config.make.in: Add have-mfma4 entry.
29479 * configure.in: Substitute libc_cv_cc_fma4.
29480 * math/Makefile (dbl-only-routines): Add sincostab.
29481 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29482 Use __sincostab not sincos.
29483 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29490 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29491 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29492 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29493 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29495 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29496 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29498 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29499 define aliases when function name is a macro.
29500 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29501 sysdeps/ieee754/dbl-64/sincos.tbl.
29502 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29503 fma4-enabled routines.
29504 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29505 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29506 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29507 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29508 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29509 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29510 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29511 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29513 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29514 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29516 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29517 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29519 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29520 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29521 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29522 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29524 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29525 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29527 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29529 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29530 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29531 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29532 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29533 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29535 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29546 2011-10-24 Andreas Schwab <schwab@redhat.com>
29548 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29550 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29554 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29558 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29559 Remove unused variable magic_bits.
29560 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29562 * string/strnlen.c: Define and use STRNLEN macro.
29563 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29564 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29566 * wcsmbs/wcslen.c: Define and use WCSLEN.
29567 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29568 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29569 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29570 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29571 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29572 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29573 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29575 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29578 strnlen-sse2-no-bsf.
29579 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29581 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29582 Add strnlen support.
29583 (USE_AS_STRNLEN): New macro.
29584 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29586 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29587 * sysdeps/x86_64/wcslen.S: New file.
29589 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29591 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29592 XMM-moves are used for copying on small sizes.
29594 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29596 * wcsmbs/Makefile (strop-tests): Add wcschr.
29597 * wcsmbs/test-wcschr.c: New file.
29598 * string/test-strchr.c: Update.
29599 Add wcschr support.
29602 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29604 * wcsmbs/Makefile (strop-tests): Add wcslen.
29605 * wcsmbs/test-wcslen.c: New file.
29606 * string/test-strlen.c: Update.
29607 Add wcslen support.
29610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29612 * po/it.po: Update from translation team.
29614 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29616 * sysdeps/x86_64/wcscmp.S: Update.
29617 Fix wrong comparison semantics.
29618 wcscmp shall use signed comparison not unsigned.
29619 Don't use substraction to avoid overflow bug.
29620 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29621 * wcsmbc/wcscmp.c: Likewise.
29622 * string/test-strcmp.c: Likewise.
29623 Add new tests to check cases with negative values.
29625 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29627 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29628 * sysdeps/x86_64/dla.h: ...here. New file.
29629 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29634 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29639 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29642 __ynl_finite aliases.
29644 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29648 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29650 [DLA_FMA] (EMULV): Use DLA_FMA.
29651 [DLA_FMA] (MUL12): Use EMULV.
29652 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29653 that are not needed.
29654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29658 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29660 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29662 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29664 * math/s_nan.c: Undef __nan.
29665 * math/s_nanf.c: Undef __nanf.
29666 * math/s_nanl.c: Undef __nanl.
29667 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29670 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29672 * math/s_catan.c: Add branch predictions.
29673 * math/s_catanf.c: Likewise.
29674 * math/s_catanh.c: Likewise.
29675 * math/s_catanhf.c: Likewise.
29676 * math/s_catanhl.c: Likewise.
29677 * math/s_catanl.c: Likewise.
29678 * math/s_cexp.c: Likewise.
29679 * math/s_cexpf.c: Likewise.
29680 * math/s_cexpl.c: Likewise.
29681 * math/s_clog.c: Likewise.
29682 * math/s_clog10.c: Likewise.
29683 * math/s_clog10f.c: Likewise.
29684 * math/s_clog10l.c: Likewise.
29685 * math/s_clogf.c: Likewise.
29686 * math/s_clogl.c: Likewise.
29687 * math/s_csqrt.c: Likewise.
29688 * math/s_csqrtf.c: Likewise.
29689 * math/s_csqrtl.c: Likewise.
29690 * math/s_ctanf.c: Likewise.
29691 * math/s_ctanh.c: Likewise.
29692 * math/s_ctanhf.c: Likewise.
29693 * math/s_ctanhl.c: Likewise.
29694 * math/s_ctanl.c: Likewise.
29696 * math/math_private.h: Define __nan, __nanf, __nanl.
29697 * math/s_cacosh.c: Include <math_private.h>.
29698 * math/s_cacoshl.c: Likewise.
29699 * math/s_casinh.c: Likewise.
29700 * math/s_casinhf.c: Likewise.
29701 * math/s_casinhl.c: Likewise.
29702 * math/s_ccos.c: Rely entire on ccosh.
29703 * math/s_ccosf.c: Rely entire on ccoshf.
29704 * math/s_ccosl.c: Rely entirely on ccoshl.
29705 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29706 Remove tests for FE_INVALID.
29707 * math/s_ccoshf.c: Likewise.
29708 * math/s_ccoshl.c: Likewise.
29709 * math/s_csin.c: Likewise.
29710 * math/s_csinf.c: Likewise.
29711 * math/s_csinh.c Likewise.
29712 * math/s_csinhf.c: Likewise.
29713 * math/s_csinhl.c: Likewise.
29714 * math/s_csinl.c: Likewise.
29715 * math/s_ctan.c: Likewise.
29716 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29717 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29720 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29723 compilation problems.
29725 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29728 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29730 * sysdeps/i386/configure.in: Test for -mfma4 option.
29731 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29732 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29733 COMMON_CPUID_INDEX_80000001.
29734 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29735 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29736 use it if FMA3 is not supported.
29737 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29739 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29740 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29742 2011-10-20 Andreas Schwab <schwab@redhat.com>
29745 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29746 it would create a cycle with a link time dependency.
29748 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29750 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29752 * string/Makefile (strop-tests): Add rawmemchr.
29753 * string/test-rawmemchr.c: New file.
29755 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29757 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29758 when compiling str{,n}casecmp and when AVX is available. Hook up
29759 new optimized code in initializers.
29761 2011-10-19 Andreas Schwab <schwab@redhat.com>
29763 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29764 __feraiseexcept instead of feraiseexcept.
29766 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29768 * math/math_private.h: Define defaults for libc_fetestexcept and
29770 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29771 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29772 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29773 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29774 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29775 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29776 libc_fetestexcept and libc_feupdateenv.
29778 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29779 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29780 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29781 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29782 libc_feholdexcept_setround.
29784 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29785 Add s_nearbyint-c and s_nearbyintf-c.
29786 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29787 nearbyintf inlines.
29788 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29790 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29791 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29793 * math/math_private.h: Define defaults for libc_fegetround,
29794 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29795 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29796 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29797 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29798 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29799 standard functions.
29800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29801 Remove comments and hacks for old compiler versions.
29802 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29803 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29804 libc_feholdexceptl.
29806 2011-10-18 Andreas Schwab <schwab@redhat.com>
29808 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29809 (__feraiseexcept_renamed): Add __NTH.
29810 (feraiseexcept): Add __NTH. Rename local variables to fix
29811 namespace violations.
29813 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29815 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29817 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29819 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29820 recently added interfaces.
29821 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29823 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29824 about macro parameter expansion.
29826 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29827 __NO_MATH_INLINES is defined. Cleanups.
29829 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29830 and __floorf is target has SSE4.1.
29831 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29832 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29833 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29834 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29836 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29838 (floorf): Likewise.
29840 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29842 2011-10-17 Andreas Schwab <schwab@redhat.com>
29844 * misc/sys/cdefs.h: Fix last change.
29846 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29849 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29851 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29853 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29859 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29860 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29861 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29862 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29863 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29864 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29865 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29866 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29867 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29868 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29869 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29870 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29871 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29872 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29873 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29874 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29876 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29877 ceil, ceilf, floor, floorf.
29879 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29880 Perform IRELATIVE relocations last.
29882 * elf/do-rel.h: Add another parameter nrelative, replacing the
29883 local variable with the same name. Change name of the function
29884 to end in Rel or Rela (uppercase).
29885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29886 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29887 elf_dynamic_do_##reloc function.
29889 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29891 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29892 is sufficient, at least on modern CPUs.
29894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29896 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29897 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29899 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29901 * math/bits/math-finite.h: Add entries for exp.
29902 * math/e_expl.c: Add __*_finite alias.
29903 * sysdeps/i386/fpu/e_exp.S: Likewise.
29904 * sysdeps/i386/fpu/e_expf.S: Likewise.
29905 * sysdeps/i386/fpu/e_expl.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29907 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29911 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29912 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29914 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29915 is sufficient, at least on modern CPUs.
29917 * ctype/ctype-info.c (__ctype_init): Define.
29918 * include/ctype.h (__ctype_init): Declare.
29919 (__ctype_b_loc): The variable is always initialized.
29920 (__ctype_toupper_loc): Likewise.
29921 (__ctype_tolower_loc): Likewise.
29922 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29923 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29925 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29927 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29929 * configure.in: Also look in $cxxmachine/include for C++ system
29932 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29934 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29935 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29936 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29937 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29938 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29939 (USE_AS_WMEMCMP): New macro.
29941 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29942 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29943 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29944 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29946 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29947 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29948 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29949 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29950 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29951 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29952 (USE_AS_WMEMCMP): New macro.
29953 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29954 * sysdeps/string/test-memcmp.c: Update.
29955 Fix simple_wmemcmp.
29957 * wcsmbs/wmemcmp.c: Update.
29958 (WMEMCMP): New macro.
29961 2011-10-12 Andreas Jaeger <aj@suse.de>
29964 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29966 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29968 * libio/iofwide.c (do_length): Avoid warning.
29970 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29972 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29974 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29976 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29977 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29978 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29979 * sysdeps/i386/i686/fpu/e_log.S: New file.
29980 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29981 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29983 * ctype/ctype.h: Add support for inlined isXXX functions when
29984 compiling C++ code.
29986 2011-10-14 Andreas Schwab <schwab@redhat.com>
29988 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29992 2011-10-13 Roland McGrath <roland@hack.frob.com>
29995 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29997 2011-10-13 Andreas Schwab <schwab@redhat.com>
29999 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30000 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30003 * sysdeps/x86_64/memrchr.S: Check for zero size.
30005 * string/stratcliff.c: Add memrchr tests.
30007 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30010 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30011 rawmemchr-sse2 rawmemchr-sse2-bsf.
30012 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30013 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30014 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30015 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30016 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30017 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30018 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30019 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30020 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30021 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30022 * string/memrchr.c (MEMRCHR): New macro.
30024 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30026 Add integration with gcc's -ffinite-math-only and optimize wrapper
30028 * Versions.def: Define GLIBC_2.15 version for libm.
30029 * math/Makefile (headers): Add bits/math-finite.h.
30030 * math/bits/math-finite.h: New file.
30031 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30032 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30033 * math/e_acoshl.c: Add __*_finite alias.
30034 * math/e_acosl.c: Likewise.
30035 * math/e_asinl.c: Likewise.
30036 * math/e_atan2l.c: Likewise.
30037 * math/e_atanhl.c: Likewise.
30038 * math/e_coshl.c: Likewise.
30039 * math/e_exp10.c: Likewise.
30040 * math/e_exp10f.c: Likewise.
30041 * math/e_exp10l.c: Likewise.
30042 * math/e_exp2l.c: Likewise.
30043 * math/e_fmodl.c: Likewise.
30044 * math/e_gammal_r.c: Likewise.
30045 * math/e_hypotl.c: Likewise.
30046 * math/e_j0l.c: Likewise.
30047 * math/e_j1l.c: Likewise.
30048 * math/e_jnl.c: Likewise.
30049 * math/e_lgammal_r.c: Likewise.
30050 * math/e_log10l.c: Likewise.
30051 * math/e_log2l.c: Likewise.
30052 * math/e_logl.c: Likewise.
30053 * math/e_powl.c: Likewise.
30054 * math/e_sinhl.c: Likewise.
30055 * math/e_sqrtl.c: Likewise.
30056 * math/e_scalb.c: Completely rewritten and optimized.
30057 * math/e_scalbf.c: Likewise.
30058 * math/e_scalbl.c: Likewise.
30059 * math/w_acos.c: Likewise.
30060 * math/w_acosf.c: Likewise.
30061 * math/w_acosl.c: Likewise.
30062 * math/w_acosh.c: Likewise.
30063 * math/w_acoshf.c: Likewise.
30064 * math/w_acoshl.c: Likewise.
30065 * math/w_asin.c: Likewise.
30066 * math/w_asinf.c: Likewise.
30067 * math/w_asinl.c: Likewise.
30068 * math/w_atan2.c: Likewise.
30069 * math/w_atan2f.c: Likewise.
30070 * math/w_atan2l.c: Likewise.
30071 * math/w_atanh.c: Likewise.
30072 * math/w_atanhf.c: Likewise.
30073 * math/w_atanhl.c: Likewise.
30074 * math/w_exp10.c: Likewise.
30075 * math/w_exp10f.c: Likewise.
30076 * math/w_exp10l.c: Likewise.
30077 * math/w_fmod.c: Likewise.
30078 * math/w_fmodf.c: Likewise.
30079 * math/w_fmodl.c: Likewise.
30080 * math/w_j0.c: Likewise.
30081 * math/w_j0f.c: Likewise.
30082 * math/w_j0l.c: Likewise.
30083 * math/w_j1.c: Likewise.
30084 * math/w_j1f.c: Likewise.
30085 * math/w_j1l.c: Likewise.
30086 * math/w_jn.c: Likewise.
30087 * math/w_jnf.c: Likewise.
30088 * math/w_log.c: Likewise.
30089 * math/w_logf.c: Likewise.
30090 * math/w_logl.c: Likewise.
30091 * math/w_log10.c: Likewise.
30092 * math/w_log10f.c: Likewise.
30093 * math/w_log10l.c: Likewise.
30094 * math/w_log2.c: Likewise.
30095 * math/w_log2f.c: Likewise.
30096 * math/w_log2l.c: Likewise.
30097 * math/w_pow.c: Likewise.
30098 * math/w_powf.c: Likewise.
30099 * math/w_powl.c: Likewise.
30100 * math/w_remainder.c: Likewise.
30101 * math/w_remainderf.c: Likewise.
30102 * math/w_remainderl.c: Likewise.
30103 * math/w_scalb.c: Likewise.
30104 * math/w_scalbf.c: Likewise.
30105 * math/w_scalbl.c: Likewise.
30106 * math/w_sqrt.c: Likewise.
30107 * math/w_sqrtf.c: Likewise.
30108 * math/w_sqrtl.c: Likewise.
30109 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30110 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30112 * math/math_private.h: Declare __kernel_standard_f.
30113 * math/w_cosh.c: Remove cruft and optimize a bit.
30114 * math/w_coshf.c: Likewise.
30115 * math/w_coshl.c: Likewise.
30116 * math/w_exp2.c: Likewise.
30117 * math/w_exp2f.c: Likewise.
30118 * math/w_exp2l.c: Likewise.
30119 * math/w_hypot.c: Likewise.
30120 * math/w_hypotf.c: Likewise.
30121 * math/w_hypotl.c: Likewise.
30122 * math/w_lgamma.c: Likewise.
30123 * math/w_lgamma_r.c: Likewise.
30124 * math/w_lgammaf.c: Likewise.
30125 * math/w_lgammaf_r.c: Likewise.
30126 * math/w_lgammal.c: Likewise.
30127 * math/w_lgammal_r.c: Likewise.
30128 * math/w_sinh.c: Likewise.
30129 * math/w_sinhf.c: Likewise.
30130 * math/w_sinhl.c: Likewise.
30131 * math/w_tgamma.c: Likewise.
30132 * math/w_tgammaf.c: Likewise.
30133 * math/w_tgammal.c: Likewise.
30134 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30135 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30136 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30137 Minor optimizations. Pretty printing. Remove cruft.
30138 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30139 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30140 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30141 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30142 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30143 * sysdeps/i386/fpu/e_asin.S: Likewise.
30144 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30145 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30146 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30147 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30148 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30149 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30150 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30151 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30152 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30153 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30154 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30155 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30156 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30157 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30158 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30159 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30160 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30161 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30162 * sysdeps/i386/fpu/e_log.S: Likewise.
30163 * sysdeps/i386/fpu/e_log10.S: Likewise.
30164 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30165 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30166 * sysdeps/i386/fpu/e_log2.S: Likewise.
30167 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30168 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30169 * sysdeps/i386/fpu/e_logf.S: Likewise.
30170 * sysdeps/i386/fpu/e_logl.S: Likewise.
30171 * sysdeps/i386/fpu/e_pow.S: Likewise.
30172 * sysdeps/i386/fpu/e_powf.S: Likewise.
30173 * sysdeps/i386/fpu/e_powl.S: Likewise.
30174 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30175 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30176 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30177 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30178 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30180 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30181 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30182 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30189 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30190 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30194 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30197 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30200 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30203 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30204 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30207 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30209 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30210 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30211 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30212 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30213 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30214 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30215 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30216 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30217 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30218 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30219 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30220 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30221 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30222 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30223 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30224 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30225 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30227 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30229 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30233 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30238 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30239 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30242 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30243 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30251 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30252 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30253 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30254 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30257 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30258 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30259 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30261 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30262 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30263 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30264 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30274 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30275 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30276 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30278 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30279 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30280 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30281 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30282 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30283 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30284 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30285 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30286 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30287 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30288 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30289 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30290 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30291 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30292 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30293 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30294 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30295 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30296 (__isnanf): Likewise.
30297 (__isinf_ns): Likewise.
30298 (__isinf_nsf): Likewise.
30299 (__finite): Likewise.
30300 (__finitef): Likewise.
30301 (__ieee754_sqrt): Define as macro.
30302 (__ieee754_sqrtf): Define as macro.
30303 (__ieee754_sqrtl): Define as macro.
30304 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30306 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30307 __FINITE_MATH_ONLY__ consistent.
30308 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30310 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30312 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30317 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30319 * po/ja.po: Update from translation team.
30321 2011-10-08 Roland McGrath <roland@hack.frob.com>
30323 * locale/programs/locarchive.c (prepare_address_space): New function.
30324 (create_archive, enlarge_archive, open_archive): Use it.
30326 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30327 inside [SHARED], where it is used.
30329 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30331 * nss/getent.c (netgroup_keys): Remove unused variable.
30332 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30334 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30336 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30337 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30339 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30340 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30341 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30342 * math/Makefile (libm-calls): Add s_isinf_ns.
30343 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30344 * math/multc3.c: Likewise.
30345 * math/s_casin.c: Likewise.
30346 * math/s_casinf.c: Likewise.
30347 * math/s_casinl.c: Likewise.
30348 * math/s_ccos.c: Likewise.
30349 * math/s_ccosf.c: Likewise.
30350 * math/s_ccosl.c: Likewise.
30351 * math/s_ctan.c: Likewise.
30352 * math/s_ctanf.c: Likewise.
30353 * math/s_ctanh.c: Likewise.
30354 * math/s_ctanhf.c: Likewise.
30355 * math/s_ctanhl.c: Likewise.
30356 * math/s_ctanl.c: Likewise.
30357 * math/w_fmod.c: Likewise.
30358 * math/w_fmodf.c: Likewise.
30359 * math/w_fmodl.c: Likewise.
30360 * math/w_remainder.c: Likewise.
30361 * math/w_remainderf.c: Likewise.
30362 * math/w_remainderl.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30364 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30365 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30367 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30368 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30369 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30370 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30372 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30374 * stdio-common/printf_fphex.c: Likewise.
30375 * stdio-common/printf_size.c: Likewise.
30377 * math/e_exp10.c: Include math_private.h using <...> not "...".
30378 * math/e_exp10f.c: Likewise.
30379 * math/e_exp10l.c: Likewise.
30380 * math/e_exp2l.c: Likewise.
30381 * math/e_j0l.c: Likewise.
30382 * math/e_j1l.c: Likewise.
30383 * math/e_jnl.c: Likewise.
30384 * math/e_lgammal_r.c: Likewise.
30385 * math/e_rem_pio2l.c: Likewise.
30386 * math/e_scalb.c: Likewise.
30387 * math/e_scalbf.c: Likewise.
30388 * math/e_scalbl.c: Likewise.
30389 * math/k_cosl.c: Likewise.
30390 * math/k_sinl.c: Likewise.
30391 * math/k_tanl.c: Likewise.
30392 * math/s_cacoshf.c: Likewise.
30393 * math/s_catan.c: Likewise.
30394 * math/s_catanf.c: Likewise.
30395 * math/s_catanh.c: Likewise.
30396 * math/s_catanhf.c: Likewise.
30397 * math/s_catanhl.c: Likewise.
30398 * math/s_catanl.c: Likewise.
30399 * math/s_ccosh.c: Likewise.
30400 * math/s_ccoshf.c: Likewise.
30401 * math/s_ccoshl.c: Likewise.
30402 * math/s_cexp.c: Likewise.
30403 * math/s_cexpf.c: Likewise.
30404 * math/s_cexpl.c: Likewise.
30405 * math/s_clog.c: Likewise.
30406 * math/s_clog10.c: Likewise.
30407 * math/s_clog10f.c: Likewise.
30408 * math/s_clog10l.c: Likewise.
30409 * math/s_clogf.c: Likewise.
30410 * math/s_clogl.c: Likewise.
30411 * math/s_csin.c: Likewise.
30412 * math/s_csinf.c: Likewise.
30413 * math/s_csinh.c: Likewise.
30414 * math/s_csinhf.c: Likewise.
30415 * math/s_csinhl.c: Likewise.
30416 * math/s_csinl.c: Likewise.
30417 * math/s_csqrt.c: Likewise.
30418 * math/s_csqrtf.c: Likewise.
30419 * math/s_csqrtl.c: Likewise.
30420 * math/s_ctan.c: Likewise.
30421 * math/s_ctanf.c: Likewise.
30422 * math/s_ctanh.c: Likewise.
30423 * math/s_ctanhf.c: Likewise.
30424 * math/s_ctanhl.c: Likewise.
30425 * math/s_ctanl.c: Likewise.
30426 * math/s_ldexp.c: Likewise.
30427 * math/s_ldexpf.c: Likewise.
30428 * math/s_ldexpl.c: Likewise.
30429 * math/s_significand.c: Likewise.
30430 * math/s_significandf.c: Likewise.
30431 * math/s_significandl.c: Likewise.
30432 * math/w_acos.c: Likewise.
30433 * math/w_acosf.c: Likewise.
30434 * math/w_acosh.c: Likewise.
30435 * math/w_acoshf.c: Likewise.
30436 * math/w_acoshl.c: Likewise.
30437 * math/w_acosl.c: Likewise.
30438 * math/w_asin.c: Likewise.
30439 * math/w_asinf.c: Likewise.
30440 * math/w_asinl.c: Likewise.
30441 * math/w_atan2.c: Likewise.
30442 * math/w_atan2f.c: Likewise.
30443 * math/w_atan2l.c: Likewise.
30444 * math/w_atanh.c: Likewise.
30445 * math/w_atanhf.c: Likewise.
30446 * math/w_atanhl.c: Likewise.
30447 * math/w_cosh.c: Likewise.
30448 * math/w_coshf.c: Likewise.
30449 * math/w_coshl.c: Likewise.
30450 * math/w_dremf.c: Likewise.
30451 * math/w_exp10.c: Likewise.
30452 * math/w_exp10f.c: Likewise.
30453 * math/w_exp10l.c: Likewise.
30454 * math/w_exp2.c: Likewise.
30455 * math/w_exp2f.c: Likewise.
30456 * math/w_fmod.c: Likewise.
30457 * math/w_fmodf.c: Likewise.
30458 * math/w_fmodl.c: Likewise.
30459 * math/w_hypot.c: Likewise.
30460 * math/w_hypotf.c: Likewise.
30461 * math/w_hypotl.c: Likewise.
30462 * math/w_j0.c: Likewise.
30463 * math/w_j0f.c: Likewise.
30464 * math/w_j0l.c: Likewise.
30465 * math/w_j1.c: Likewise.
30466 * math/w_j1f.c: Likewise.
30467 * math/w_j1l.c: Likewise.
30468 * math/w_jn.c: Likewise.
30469 * math/w_jnf.c: Likewise.
30470 * math/w_jnl.c: Likewise.
30471 * math/w_lgamma.c: Likewise.
30472 * math/w_lgamma_r.c: Likewise.
30473 * math/w_lgammaf.c: Likewise.
30474 * math/w_lgammaf_r.c: Likewise.
30475 * math/w_lgammal.c: Likewise.
30476 * math/w_lgammal_r.c: Likewise.
30477 * math/w_log.c: Likewise.
30478 * math/w_log10.c: Likewise.
30479 * math/w_log10f.c: Likewise.
30480 * math/w_log10l.c: Likewise.
30481 * math/w_log2.c: Likewise.
30482 * math/w_log2f.c: Likewise.
30483 * math/w_log2l.c: Likewise.
30484 * math/w_logf.c: Likewise.
30485 * math/w_logl.c: Likewise.
30486 * math/w_pow.c: Likewise.
30487 * math/w_powf.c: Likewise.
30488 * math/w_powl.c: Likewise.
30489 * math/w_remainder.c: Likewise.
30490 * math/w_remainderf.c: Likewise.
30491 * math/w_remainderl.c: Likewise.
30492 * math/w_scalb.c: Likewise.
30493 * math/w_scalbf.c: Likewise.
30494 * math/w_scalbl.c: Likewise.
30495 * math/w_sinh.c: Likewise.
30496 * math/w_sinhf.c: Likewise.
30497 * math/w_sinhl.c: Likewise.
30498 * math/w_sqrt.c: Likewise.
30499 * math/w_sqrtf.c: Likewise.
30500 * math/w_sqrtl.c: Likewise.
30501 * math/w_tgamma.c: Likewise.
30502 * math/w_tgammaf.c: Likewise.
30503 * math/w_tgammal.c: Likewise.
30505 * po/ja.po: Update from translation team.
30507 2011-09-29 Andreas Jaeger <aj@suse.de>
30510 * sunrpc/netname.c (netname2host): Fix logic.
30514 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30516 * math/w_remainder.c (__remainder): Likewise.
30517 * math/w_remainderf.c (__remainderf): Likewise.
30518 * math/libm-test.inc (remainder_test): Add test cases.
30520 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30522 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30525 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30527 * string/test-memcmp.c: Avoid unncessary #defines.
30528 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30530 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30532 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30533 Use new sse2 version for core i3 - i7 as it's faster
30534 than sse42 version.
30535 (bit_Prefer_PMINUB_for_stringop): New.
30536 * sysdeps/x86_64/rawmemchr.S: Update.
30537 Replace with faster SSE2 version.
30538 * sysdeps/x86_64/memrchr.S: New file.
30539 * sysdeps/x86_64/memchr.S: Update.
30540 Replace with faster SSE2 version.
30542 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30544 * elf/dl-load.c (lose): Add cast to avoid warning.
30546 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30548 * po/ca.po: Update from translation team.
30550 * inet/getnetgrent_r.c: Hook up nscd.
30551 * nscd/Makefile (routines): Add nscd_netgroup.
30552 (nscd-modules): Add netgroupcache.
30553 (CFLAGS-netgroupcache.c): Define.
30554 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30555 (cache_search): Add const to second parameter.
30556 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30558 (dbs): Add netgrdb entry.
30559 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30560 (verify_persistent_db): Handle netgrdb.
30561 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30562 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30564 (netgroup_response_header): Define.
30565 (innetgroup_response_header): Define.
30566 (datahead): Add netgroup_response_header and innetgroup_response_header
30568 * nscd/nscd.conf: Add entries for netgroup cache.
30569 * nscd/nscd.h (dbtype): Add netgrdb.
30570 (_PATH_NSCD_NETGROUP_DB): Define.
30571 (netgroup_iov_disabled): Declare.
30572 (xmalloc, xcalloc, xrealloc): Move declarations here.
30573 (cache_search): Adjust prototype.
30574 Add netgroup-related prototypes.
30575 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30576 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30577 (__nscd_innetgr): Declare.
30578 * nscd/selinux.c (perms): Use access_vector_t as element type and
30579 add netgroup-related initializers.
30580 * nscd/netgroupcache.c: New file.
30581 * nscd/nscd_netgroup.c: New file.
30582 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30583 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30584 For four parameters use innetgr.
30585 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30586 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30587 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30588 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30590 * nscd/connections.c (register_traced_file): Don't register file
30591 for disabled databases.
30593 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30595 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30597 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30598 from tree and freeing node.
30600 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30602 * nss/nsswitch.c (__nss_database_lookup): Handle
30603 nss_parse_service_list out of memory case.
30605 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30607 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30608 out of memory case.
30610 2011-10-04 Andreas Schwab <schwab@redhat.com>
30612 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30613 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30615 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30616 elf_machine_rela, elf_machine_lazy_rel.
30617 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30618 (ELF_DYNAMIC_DO_REL): Likewise.
30619 (ELF_DYNAMIC_DO_RELA): Likewise.
30620 (ELF_DYNAMIC_RELOCATE): Likewise.
30621 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30622 to ELF_DYNAMIC_DO_REL.
30623 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30624 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30625 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30627 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30628 skip_ifunc, don't call ifunc function if non-zero.
30629 (elf_machine_rela): Likewise.
30630 (elf_machine_lazy_rel): Likewise.
30631 (elf_machine_lazy_rela): Likewise.
30632 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30633 (elf_machine_lazy_rel): Likewise.
30634 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30636 (elf_machine_lazy_rel): Likewise.
30637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30639 (elf_machine_lazy_rel): Likewise.
30640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30641 (elf_machine_lazy_rel): Likewise.
30642 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30643 (elf_machine_lazy_rel): Likewise.
30644 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30645 (elf_machine_lazy_rel): Likewise.
30646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30647 (elf_machine_lazy_rel): Likewise.
30648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30649 (elf_machine_lazy_rel): Likewise.
30650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30651 (elf_machine_lazy_rel): Likewise.
30653 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30655 * nss/nss_files/files-init.c (_nss_files_init): Use static
30656 initialization for all the *_traced_file variables.
30658 2011-09-28 Andreas Schwab <schwab@redhat.com>
30660 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30662 2011-09-27 Roland McGrath <roland@hack.frob.com>
30665 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30667 2011-09-27 Andreas Schwab <schwab@redhat.com>
30669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30670 Reread the line before reparsing it.
30672 2011-09-26 Andreas Schwab <schwab@redhat.com>
30674 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30676 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30677 Maxim Kuvyrkov <maxim@codesourcery.com>
30678 Joseph Myers <joseph@codesourcery.com>
30680 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30681 if needed for __stack_chk_guard.
30683 2011-09-19 Roland McGrath <roland@hack.frob.com>
30685 * sysdeps/posix/spawni.c (script_execute): Always define it.
30686 It will be optimized away if unused.
30687 (maybe_script_execute): New function.
30688 (__spawni): Call it.
30690 * Makerules: Don't include tls.make.
30691 (config-tls): Always set to thread.
30692 * tls.make.c: File removed.
30694 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30696 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30697 * config.make.in (CPPFLAGS-config): New substituted variable.
30699 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30701 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30704 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30705 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30707 2011-09-15 Roland McGrath <roland@hack.frob.com>
30709 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30710 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30712 (CALL_FAIL): Likewise.
30713 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30714 (CALL_FAIL): Macro removed.
30715 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30717 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30719 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30720 for __FINITE_MATH_ONLY__ == 1.
30722 2011-09-15 Andreas Schwab <schwab@redhat.com>
30724 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30725 __ieee754_sqrt instead of sqrt.
30726 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30727 __ieee754_sqrtf instead of sqrtf.
30728 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30729 __floorf instead of floorf.
30730 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30731 __floorf, __truncf instead of floorf, truncf.
30733 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30735 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30737 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30738 __extern_always_inline.
30739 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30742 2011-09-14 Andreas Schwab <schwab@redhat.com>
30744 * elf/rtld.c (dl_main): Also relocate in dependency order when
30745 doing symbol dependency testing.
30747 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30750 Always define `refsym'.
30752 2011-09-13 Andreas Schwab <schwab@redhat.com>
30754 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30755 (__FD_ELT): Renamed from __FDELT.
30756 * misc/bits/select2.h (__FD_ELT): Likewise.
30757 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30758 __FD_MASK instead of __FDELT, __FDMASK.
30759 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30761 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30764 * elf/Makefile (gen-ldd): Fix pattern.
30766 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30767 (init_tls): Likewise.
30769 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30773 2011-09-12 Andreas Schwab <schwab@redhat.com>
30775 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30776 `struct cmsghdr *' instead of `void *'.
30777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30780 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30782 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30784 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30785 ldd_rewrite_script.
30787 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30789 * configure.in: Remove --with-tls option.
30790 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30791 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30792 out in case it is missing.
30793 * sysdeps/ia64/elf/configure.in: Likewise.
30794 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30795 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30796 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30797 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30798 * sysdeps/sh/elf/configure.in: Likewise.
30799 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30800 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30801 * sysdeps/x86_64/elf/configure.in: Likewise.
30802 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30803 * sysdeps/mach/hurd/tls.h: Likewise.
30806 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30809 * configure.in: Fix use of AC_INIT.
30811 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30813 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30815 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30817 * malloc/hooks.c: Likewise.
30820 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30821 variables statically.
30822 (narenas): Initialize.
30823 (list_lock): Initialize.
30824 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30825 initializtion of main_arena and list_lock. Small cleanups.
30826 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30827 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30828 Add initializers to main_arena and mp_.
30829 (malloc_state): Remove pagesize member. Change all users to use
30832 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30833 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30834 is always initialized.
30836 * malloc/malloc.c: Removed unused configurations and dead code.
30837 * malloc/arena.c: Likewise.
30838 * malloc/hooks.c: Likewise.
30839 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30841 * include/tls.h: Removed. USE___THREAD must always be defined.
30842 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30843 * elf/dl-libc.c: Likewise.
30844 * elf/dl-tsd.c: Likewise.
30845 * include/errno.h: Likewise.
30846 * include/netdb.h: Likewise.
30847 * include/resolv.h: Likewise.
30848 * inet/herrno-loc.c: Likewise.
30849 * inet/herrno.c: Likewise.
30850 * malloc/arena.c: Likewise.
30851 * malloc/hooks.c: Likewise.
30852 * malloc/malloc.c: Likewise.
30853 * resolv/res-state.c: Likewise.
30854 * resolv/res_libc.c: Likewise.
30855 * sysdeps/i386/dl-machine.h: Likewise.
30856 * sysdeps/ia64/dl-machine.h: Likewise.
30857 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30858 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30859 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30860 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30861 * sysdeps/sh/dl-machine.h: Likewise.
30862 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30863 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30864 * sysdeps/unix/i386/sysdep.S: Likewise.
30865 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30866 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30871 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30876 * sysdeps/x86_64/dl-machine.h: Likewise.
30877 * tls.make.c: Likewise.
30879 * configure.in: Remove --with-__thread option. Make tests for
30880 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30881 tls_model attribute fail if no support is available. Remove
30883 * Makeconfig: Adjust for dropped configure option. All features are
30885 * Makerules: Likewise.
30886 * Versions.def: Likewise.
30887 * argp/argp-fmtstream.c: Likewise.
30888 * argp/argp-fmtstream.h: Likewise.
30889 * argp/argp-help.c: Likewise.
30890 * assert/assert.c: Likewise.
30891 * config.h.in: Likewise.
30892 * config.make.in: Likewise.
30893 * configure: Likewise.
30894 * configure.in: Likewise.
30895 * csu/Versions: Likewise.
30896 * csu/init.c: Likewise.
30897 * elf/tst-audit2.c: Likewise.
30898 * elf/tst-tls10.c: Likewise.
30899 * elf/tst-tls10.h: Likewise.
30900 * elf/tst-tls11.c: Likewise.
30901 * elf/tst-tls12.c: Likewise.
30902 * elf/tst-tls14.c: Likewise.
30903 * elf/tst-tlsmod11.c: Likewise.
30904 * elf/tst-tlsmod12.c: Likewise.
30905 * elf/tst-tlsmod13.c: Likewise.
30906 * elf/tst-tlsmod13a.c: Likewise.
30907 * elf/tst-tlsmod14a.c: Likewise.
30908 * elf/tst-tlsmod15b.c: Likewise.
30909 * elf/tst-tlsmod16a.c: Likewise.
30910 * elf/tst-tlsmod16b.c: Likewise.
30911 * elf/tst-tlsmod7.c: Likewise.
30912 * elf/tst-tlsmod8.c: Likewise.
30913 * elf/tst-tlsmod9.c: Likewise.
30914 * gmon/gmon.c: Likewise.
30915 * grp/fgetgrent_r.c: Likewise.
30916 * grp/putgrent.c: Likewise.
30917 * hurd/fopenport.c: Likewise.
30918 * include/libc-symbols.h: Likewise.
30919 * include/tls.h: Likewise.
30920 * intl/gettextP.h: Likewise.
30921 * intl/loadinfo.h: Likewise.
30922 * locale/global-locale.c: Likewise.
30923 * locale/localeinfo.h: Likewise.
30924 * mach/devstream.c: Likewise.
30925 * malloc/arena.c: Likewise.
30926 * malloc/set-freeres.c: Likewise.
30927 * misc/err.c: Likewise.
30928 * misc/getttyent.c: Likewise.
30929 * misc/mntent_r.c: Likewise.
30930 * posix/getopt.c: Likewise.
30931 * posix/wordexp.c: Likewise.
30932 * pwd/fgetpwent_r.c: Likewise.
30933 * resolv/Versions: Likewise.
30934 * resolv/res_hconf.c: Likewise.
30935 * shadow/fgetspent_r.c: Likewise.
30936 * shadow/putspent.c: Likewise.
30937 * stdio-common/printf_fphex.c: Likewise.
30938 * stdio-common/tmpfile.c: Likewise.
30939 * stdlib/abort.c: Likewise.
30940 * stdlib/fmtmsg.c: Likewise.
30941 * sunrpc/auth_unix.c: Likewise.
30942 * sunrpc/clnt_perr.c: Likewise.
30943 * sunrpc/clnt_tcp.c: Likewise.
30944 * sunrpc/clnt_udp.c: Likewise.
30945 * sunrpc/clnt_unix.c: Likewise.
30946 * sunrpc/openchild.c: Likewise.
30947 * sunrpc/svc_simple.c: Likewise.
30948 * sunrpc/svc_tcp.c: Likewise.
30949 * sunrpc/svc_udp.c: Likewise.
30950 * sunrpc/svc_unix.c: Likewise.
30951 * sunrpc/xdr.c: Likewise.
30952 * sunrpc/xdr_array.c: Likewise.
30953 * sunrpc/xdr_rec.c: Likewise.
30954 * sunrpc/xdr_ref.c: Likewise.
30955 * sunrpc/xdr_stdio.c: Likewise.
30957 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30959 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30961 2011-07-03 Andreas Jaeger <aj@suse.de>
30963 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30964 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30965 regenerate with gen-libm-tests.pl.
30967 2010-05-12 Petr Baudis <pasky@suse.cz>
30970 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30971 around j0() zero points by switching to j1().
30972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30977 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30979 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30981 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30984 Patch in part by Pavel Roskin <proski@gnu.org>.
30987 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30989 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30990 Free memory block if necessary.
30993 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30994 be NULL. Don't lock in this case.
30996 2011-09-09 Roland McGrath <roland@hack.frob.com>
30998 * elf/elf.h (ELFOSABI_GNU): New macro.
30999 (ELFOSABI_LINUX): Define to that.
31001 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31003 * string/strncat.c (strncat): Undef the symbol in case it has been
31004 defined in bits/string.h.
31006 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31008 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31010 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31013 2011-08-17 Andreas Jaeger <aj@suse.de>
31015 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31017 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31018 Ian Lance Taylor <iant@google.com>
31020 * math/libm-test.inc (lround_test): New testcase.
31021 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31023 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31025 * Makefile: Remove support for automatic cvs check-ins.
31026 * Makerules: Likewise.
31027 * config.make.in: Likewise.
31028 * configure.in: Likewise.
31029 * intl/Makefile: Likewise.
31030 * locale/Makefile: Likewise.
31031 * po/Makefile: Likewise.
31032 * posix/Makefile: Likewise.
31033 * sysdeps/gnu/Makefile: Likewise.
31034 * sysdeps/mach/hurd/Makefile: Likewise.
31035 * sysdeps/sparc/sparc32/Makefile: Likewise.
31038 * posix/Makefile (bug-regex32-ENV): Define.
31039 Patch by John Stanley <jpsinthemix@verizon.net>.
31041 * misc/Makefile (headers): Add bits/select2.h.
31042 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31043 * misc/bits/select2.h: New file.
31044 * include/bits/select2.h: New file.
31045 * debug/Makefile (routines): Add fdelt_chk.
31046 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31047 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31049 * debug/fdelt_chk.c: New file.
31051 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31052 * wcsmbs/test-wmemcmp.c: Likewise.
31053 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31054 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31056 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31058 * string/Makefile (strop-tests): Add memcmp.
31059 * string/test-wmemcmp.c: New file.
31060 * string/test-memcmp.c: Add wmemcmp support.
31062 2011-09-08 Roland McGrath <roland@hack.frob.com>
31065 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31068 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31069 garbage value in a __mach_port_mod_refs call in the cases of the
31070 task-self and thread-self ports.
31072 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31074 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31076 2011-09-08 Andreas Schwab <schwab@redhat.com>
31078 * elf/dl-load.c (lose): Check for non-null L.
31080 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31082 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31084 * elf/dl-libc.c (dlerror_run): Pass back error code from
31088 * elf/dl-load.c (lose): Free l_origin if it is valid.
31090 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31092 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31093 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31097 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31099 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31101 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31102 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31104 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31105 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31106 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31107 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31108 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31109 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31110 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31112 2011-08-15 Alan Modra <amodra@gmail.com>
31115 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31116 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31117 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31118 ppc_mcount to static-only-routines.
31119 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31121 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31122 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31124 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31126 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31127 for finite and infinity parameters.
31129 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31132 and add nop instructions for throughput optimization.
31133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31135 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31137 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31138 aligned copy for power7 with vector-scalar instructions.
31139 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31141 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31146 2011-09-07 Andreas Schwab <schwab@redhat.com>
31149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31152 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31154 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31155 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31156 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31157 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31160 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31162 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31163 Forgot to demangle the pointer.
31165 * sysdeps/i386/sysdep.h: Define atom_text_section.
31166 * sysdeps/x86_64/sysdep.h: Likewise.
31167 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31168 section with atom_text_section.
31169 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31170 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31171 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31176 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31177 already be defined. Change to take two parameters and don't assign
31178 result to variable. Adjust all users.
31179 Define INTERNAL_GETTIME if not already defined.
31180 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31183 HAVE_CLOCK_GETTIME_VSYSCALL.
31184 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31187 gettimeofday vsyscall, just use time.
31189 2011-09-06 Andreas Schwab <schwab@redhat.com>
31191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31194 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31196 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31200 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31202 syscall if possible.
31204 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31206 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31207 e_ident. Don't pass to find_mapsXX.
31208 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31210 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31213 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31214 * sysdeps/x86_64/multiarch/strchr.S: Update.
31215 Check bit_slow_BSF bit.
31216 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31217 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31218 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31220 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31223 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31225 (tryshell): Define.
31226 (__spawni): Change last parameter to be flag. Test
31227 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31228 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31229 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31230 * posix/spawni.c: Likewise.
31231 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31232 * posix/spawnp.c: Likewise. Change normal version to use
31233 SPAWN_XFLAGS_USE_PATH.
31234 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31235 SPAWN_XFLAGS_TRY_SHELL.
31238 * posix/glob.h: Remove gcc 1.x support.
31241 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31243 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31246 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31248 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31249 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31250 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31251 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31252 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31253 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31255 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31257 * sysdeps/x86_64/wcscmp.S: New file.
31259 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31260 wcscmp-c wcscmp-sse2
31261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31262 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31263 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31264 * wcsmbs/wcscmp.c: Allow renaming.
31266 2011-09-05 David S. Miller <davem@davemloft.net>
31268 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31269 stack slot, rather than the struct return pointer slot.
31270 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31271 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31273 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31275 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31277 * po/ja.po: Update from translation team.
31280 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31281 kernel in 64-bit binaries.
31283 2011-09-01 David S. Miller <davem@davemloft.net>
31285 * elf/elf.h (HWCAP_SPARC_*): Move to..
31286 * sysdeps/sparc/sysdep.h: this new file and add new values.
31287 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31288 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31289 _DL_HWCAP_COUNT to 24.
31290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31292 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31293 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31294 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31296 instead of magic constants.
31297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31299 2011-08-31 David S. Miller <davem@davemloft.net>
31301 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31303 Reimplement to do errno handling inline.
31304 (SYSCALL_ERROR_HANDLER): New macro.
31305 (__SYSCALL_STRING): Do not do errno handling in asm.
31306 (__CLONE_SYSCALL_STRING): Delete.
31307 (__INTERNAL_SYSCALL_STRING): Delete.
31308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31309 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31310 (PSEUDO): Reimplement to do errno handling inline.
31311 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31312 (SYSCALL_ERROR_HANDLER): New macro.
31313 (__SYSCALL_STRING): Do not do errno handling in asm.
31314 (__CLONE_SYSCALL_STRING): Delete.
31315 (__INTERNAL_SYSCALL_STRING): Delete.
31316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31317 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31319 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31320 (inline_syscall*): Add 'err' argument.
31321 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31322 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31323 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31324 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31326 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31327 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31329 2011-08-30 Andreas Schwab <schwab@redhat.com>
31331 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31333 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31335 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31338 2011-08-24 David S. Miller <davem@davemloft.net>
31340 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31342 2011-08-24 Andreas Schwab <schwab@redhat.com>
31344 * elf/Makefile: Add rules to build and run unload8 test.
31345 * elf/unload8.c: New file.
31346 * elf/unload8mod1.c: New file.
31347 * elf/unload8mod1x.c: New file.
31348 * elf/unload8mod2.c: New file.
31349 * elf/unload8mod3.c: New file.
31351 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31354 2011-08-23 David S. Miller <davem@davemloft.net>
31356 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31357 subtract stack bias.
31358 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31359 %sp not %fp in calculations.
31360 (_JMPBUF_UNWINDS_ADJ): Likewise.
31362 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31363 (aio_suspend): Call it to force an exception region around the
31364 AIO_MISC_WAIT() invocation.
31366 2011-08-23 Andreas Schwab <schwab@redhat.com>
31368 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31371 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31373 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31375 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31376 and <dl-machine.h>.
31377 (Elf64_FuncDesc): Remove.
31379 2011-08-22 David S. Miller <davem@davemloft.net>
31381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31382 sigaltstack check, add missing cfi directives.
31383 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31384 missing cfi directives, and sigaltstack handling.
31386 2011-08-16 Andreas Schwab <schwab@redhat.com>
31389 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31390 object is seen twice.
31391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31393 * elf/Makefile (distribute): Add tst-initorder2.c.
31394 (tests): Add tst-initorder2.
31395 (modules-names): Add tst-initorder2a tst-initorder2b
31396 tst-initorder2c tst-initorder2d. Add rules to build them.
31397 ($(objpfx)tst-initorder2.out): New rule.
31398 * elf/tst-initorder2.c: New file.
31399 * elf/tst-initorder2.exp: New file.
31401 2011-08-22 Andreas Schwab <schwab@redhat.com>
31403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31405 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31406 dependencies back to end of function.
31408 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31409 $(elfobjdir)/ld.so.
31411 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31414 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31416 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31417 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31418 of __vdso_gettimeofday.
31419 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31420 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31422 (_libc_vdso_platform_setup): Remove initialization of
31423 __vdso_gettimeofday and __vdso_time.
31425 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31427 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31428 and fgetc_unlocked.
31429 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31432 * elf/dl-open.c (add_to_global): Report additions to the global scope
31433 for LD_DEBUG=scopes.
31434 (dl_open_worker): Also print scope of newly loaded dependencies.
31435 (_dl_show_scope): Indicate if there is no scope.
31438 * stdio-common/Makefile (tests): Add bug24.
31439 * stdio-common/bug24.c: New file.
31441 2011-08-19 Andreas Jaeger <aj@suse.de>
31444 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31445 non-existant file when using close-on-exec mode.
31447 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31450 the very first instruction.
31452 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31453 the CFI state in the end.
31454 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31455 inclusion of dl-trampoline.h.
31456 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31458 2011-08-19 Andreas Schwab <schwab@redhat.com>
31460 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31461 expectations for long double.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31464 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31466 2011-08-14 David S. Miller <davem@davemloft.net>
31468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31469 artificual limit depends upon the system page size.
31471 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31473 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31474 * resolv/Makefile: Define CFLAGS-libresolv.
31476 2011-08-17 Andreas Schwab <schwab@redhat.com>
31478 * nss/makedb.c (compute_tables): Make variables used in nested
31481 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31483 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31484 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31485 if buffer was too small.
31487 * elf/pldd.c (main): Attach to all threads in the process.
31488 Rewrite /proc handling to use *at functions.
31490 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31492 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31493 specifies first scope to show.
31494 (dl_open_worker): Update callers. Move printing scope of new
31495 object to before the relocation.
31496 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31497 * sysdeps/generic/ldsodefs.h: Update declaration.
31499 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31500 string for the scope number.
31502 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31504 * nscd/servicescache.c (cache_addserv): Make sure written is always
31507 2011-08-14 Roland McGrath <roland@hack.frob.com>
31509 * sysdeps/i386/i486/bits/atomic.h
31510 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31511 statement expression, so as to suppress "set but not used" warning.
31512 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31514 * string/strncat.c (STRNCAT): Use prototype definition.
31516 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31517 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31519 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31520 (localedef-modules): Add localedef.
31521 (locale-modules): Add locale.
31523 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31524 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31525 to avoid a warning.
31527 2011-08-14 David S. Miller <davem@davemloft.net>
31529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31530 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31532 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31534 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31535 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31536 * elf/rtld.c (dl_main): Set l_name of vDSO.
31537 Call _dl_show_scope when DL_DEBUG_SCOPES.
31538 (process_dl_debug): Recognize scopes flag and also set it for all.
31539 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31540 Declare _dl_show_scope.
31542 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31543 (do_dlopen): Pass caller_dlopen to dl_open.
31544 (__libc_dlopen_mode): Initialize caller_dlopen.
31546 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31547 of libc. Make tolower call locale-independent. Optimize a bit by
31548 using isdigit instead of isalnum.
31549 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31551 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31553 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31554 was a dependency or dynamically loaded.
31556 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31558 * intl/l10nflist.c: Allow architecture-specific pop function.
31559 * sysdeps/x86_64/l10nflist.c: New file.
31561 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31564 2011-08-10 Andreas Schwab <schwab@redhat.com>
31566 * include/dirent.h: Add libc_hidden_proto for scandirat and
31567 scandirat64. Don't declare __scandirat64.
31568 * dirent/scandirat.c: Add libc_hidden_def.
31569 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31570 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31572 2011-08-10 David S. Miller <davem@davemloft.net>
31574 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31580 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31582 * Versions.def [libc]: Add GLIBC_2.15.
31583 * dirent/Makefile (routines): Add scandirat and scandirat64.
31584 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31586 * dirent/dirent.h: Declare scandirat and scandirat64.
31587 * dirent/scandirat.c: New file.
31588 * dirent/scandirat64.c: New file.
31589 * sysdeps/wordsize-64/scandirat.c: New file.
31590 * sysdeps/wordsize-64/scandirat64.c: New file.
31591 * dirent/opendir.c: Define opendirat.
31592 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31594 * dirent/scandir64.c: Adjust for scandir.c change.
31595 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31596 __scandirat64, and __scandir_cancel_handler.
31597 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31598 additional parameter and use openat instead of open (outside of ld.so).
31599 Add new __opendir as wrapper around __opendirat.
31600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31601 here without requiring old scandirat implementation.
31603 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31605 * dirent/scandir.c (cancel_handler): Renamed to
31606 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31607 defined. Adjust users.
31608 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31609 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31611 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31613 * string/test-string.h (IMPL): Use __STRING to expand name and then
31616 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31619 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31621 * string/Makefile: Update.
31622 (strop-tests): Append strncat.
31623 * string/test-wcscmp.c: New file.
31624 New comprehensive test for wcscmp.
31625 * string/test-strcmp.c: Update.
31626 (WIDE): New define.
31628 2011-07-22 Andreas Schwab <schwab@redhat.com>
31630 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31633 2011-07-26 Andreas Schwab <schwab@redhat.com>
31635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31636 encoding to ACE if AI_IDN.
31638 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31641 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31643 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31645 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31646 Fix overflow bug in strncat.
31647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31649 * string/test-strncat.c: Update.
31650 Add new tests for checking overflow bugs.
31652 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31655 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31656 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31657 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31658 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31659 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31660 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31661 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31662 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31665 (USE_AS_STRCAT): Define.
31666 Add strcat and strncat support.
31667 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31669 2011-07-25 Andreas Schwab <schwab@redhat.com>
31671 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31672 __n bigger than INT_MAX+1.
31673 (__strncmp_g): Likewise.
31675 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31677 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31678 * libio/stido.h: Likewise.
31680 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31685 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31688 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31692 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31697 (_dl_x86_64_save_sse): Likewise.
31699 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31701 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31703 (_dl_x86_64_save_sse): Likewise.
31705 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31707 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31709 2011-07-21 Andreas Schwab <schwab@redhat.com>
31711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31713 (_dl_x86_64_save_sse): Use correct AVX check.
31715 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31718 bug in strncpy/strncat.
31719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31721 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31723 * string/tester.c (test_strcat): Add tests for different alignments
31724 of source and destination.
31725 (test_strncat): Likewise.
31727 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31730 * posix/glob.c (glob): Check passed in values before using them in
31731 expressions to avoid some overflows.
31732 (glob_in_dir): Likewise.
31735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31736 check for AVX enablement so that we don't crash with old kernels and
31738 * elf/tst-audit4.c: Add same checks here.
31739 * elf/tst-audit6.c: Likewise.
31741 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31743 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31745 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31747 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31749 * po/cs.po: Update from translation team.
31750 * po/bg.po: Likewise.
31752 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31754 * misc/sys/cdefs.h: Add support for const attribute.
31755 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31756 to gnu_dev_{major,minor,makedev} functions.
31758 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31760 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31762 2011-07-20 Andreas Schwab <schwab@redhat.com>
31764 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31767 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31770 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31771 register in order to avoid conflicts with the soft frame pointer
31772 being held in r11 when necessary.
31773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31774 (INTERNAL_VSYSCALL_NCS): Likewise.
31776 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31778 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31779 * elf/dl-fini.c (_dl_fini): Adjust caller.
31780 * elf/dl-close.c (_dl_close_worker): Likewise.
31781 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31783 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31785 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31786 "aux_cache->nlibs < 0".
31788 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31789 in the reload-count case.
31791 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31794 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31795 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31796 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31797 * sysdeps/x86_64/multiarch/strcat.S: New file.
31798 * sysdeps/x86_64/multiarch/strncat.S: New file.
31799 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31801 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31802 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31804 (USE_AS_STRCAT): Define.
31805 Add strcat and strncat support.
31806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31808 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31809 * string/strncat.c: Update.
31810 (USE_AS_STRNCAT): Define.
31811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31812 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31814 * sysdeps/x86_64/multiarch/init-arch.h
31815 (bit_Prefer_PMINUB_for_stringop): New.
31816 (index_Prefer_PMINUB_for_stringop): Likewise.
31817 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31818 bit_Prefer_PMINUB_for_stringop.
31820 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31822 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31824 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31825 of casting of buffer.
31826 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31827 buffer32 and buffer64.
31828 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31829 writes instead of casting of buffer.
31830 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31832 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31835 2011-07-19 Andreas Schwab <schwab@redhat.com>
31837 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31839 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31841 * nscd/nscd.c (termination_handler): Don't do anything for a database
31842 if it has not yet been initialized.
31844 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31846 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31848 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31850 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31852 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31854 * po/nl.po: Update from translation team.
31855 * po/sv.po: Likewise.
31857 2011-07-16 Roland McGrath <roland@hack.frob.com>
31859 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31860 now disallowed by GCC.
31862 * configure.in (use-default-link): Default to yes if a test -shared
31863 link meets our qualifications.
31864 * configure: Regenerated.
31866 * config.make.in (output-format): New variable.
31867 * configure.in: Check for ld --print-output-format support.
31868 * configure: Regenerated.
31869 * Makerules ($(common-objpfx)format.lds)
31870 [$(output-format) != unknown]: Just use $(output-format),
31871 instead of the linker-script munging.
31873 2011-07-14 Roland McGrath <roland@hack.frob.com>
31875 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31876 of $(common-objpfx)shlib.lds.
31877 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31879 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31880 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31882 * configure.in (-z relro check): Adjust test code to add a large
31883 writable data section after it.
31884 * configure: Regenerated.
31886 2011-07-11 Roland McGrath <roland@hack.frob.com>
31888 * configure.in (-z relro check): Fix test code to make the variable
31890 * configure: Regenerated.
31892 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31894 * nscd/nscd.h (struct traced_file): Define.
31895 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31896 elements. Add traced_files.
31897 (inotify_fd): Declare.
31898 (register_traced_file): Declare.
31899 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31900 (inotify_fd): Export.
31901 (resolv_conf_descr): Remove.
31902 (nscd_init): Move inotify descriptor creation to main.
31903 Don't register files for notification here.
31904 (register_traced_file): New function.
31905 (invalidate_cache): Don't use reset_res to determine whether to call
31906 res_init, go through the list of registered files.
31907 (main_loop_poll): The inotify descriptors are now stored in the
31908 structures for the traced files.
31909 (main_loop_epoll): Likewise
31910 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31911 to __nss_disable_nscd.
31912 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31913 for a database anymore. Check the records for all the registered
31915 * nss/Makefile (libnss_files-routines): Add files-init.
31916 (libnss_db-routines): Add db-init.
31917 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31918 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31919 * nss/nss_db/db-init.c: New file.
31920 * nss/nss_files/files-init.c: New file.
31921 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31922 __nss_lookup_function.
31923 (__nss_lookup_function): Call nss_load_library.
31924 (nss_load_all_libraries): New function.
31925 (__nss_disable_nscd): Take parameter with callback function for files
31926 to register. Set is_nscd. Load all the DSOs for the NSS modules
31927 used for the cached services.
31928 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31929 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31930 options for features to all the files in nscd.
31932 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31934 2011-07-10 Roland McGrath <roland@hack.frob.com>
31936 * csu/elf-init.c (__libc_csu_init): Comment typo.
31938 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31940 * po/pl.po: Update from translation team.
31941 * po/ja.po: Likewise.
31942 * po/ru.po: Likewise.
31943 * po/ko.po: Likewise.
31944 * po/fr.po: Likewise.
31946 2011-07-09 Roland McGrath <roland@hack.frob.com>
31948 * configure.in (.ctors/.dtors header and trailer check):
31949 Use an empirical test on a built program.
31950 * configure: Regenerated.
31952 * configure.in (-z relro check): Use an empirical test on a built DSO.
31953 Detect, but do not require, on ia64.
31954 * configure: Regenerated.
31956 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31957 Update tests that use readelf to use $READELF instead.
31958 * configure: Regenerated.
31960 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31962 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31963 if the result is not used.
31965 2011-07-05 Andreas Jaeger <aj@suse.de>
31968 * stdlib/tst-strtod.c: Add testcase.
31970 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31972 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31973 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31974 The latter has a higher limit. Take additional parameter to pass to
31976 (__pathconf): Pass file to __statfs_link_max.
31977 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31979 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31983 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31987 (__statfs_filesize_max): Likewise.
31988 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31990 2011-07-05 Andreas Jaeger <aj@suse.de>
31992 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31994 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31996 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31998 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32001 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32003 * Makefile (strop-tests): Add strncat.
32004 * string/test-strncat.c: New file.
32006 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32008 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32010 2011-06-21 Andreas Jaeger <aj@suse.de>
32012 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32013 Copy rule from iconvdata/Makefile.
32015 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32018 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32019 but no long options are defined, just return 'W'.
32021 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32024 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32026 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32028 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32030 (innetgr): Likewise.
32032 2011-07-05 Roland McGrath <roland@hack.frob.com>
32034 * config.make.in (install_root): Default to $(DESTDIR).
32036 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32038 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32040 2011-07-02 Roland McGrath <roland@hack.frob.com>
32042 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32044 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32045 containing directory rather than embedding absolute directory names.
32047 * scripts/check-local-headers.sh: Rewritten using awk.
32048 Match by word, not by line. Print error messages for matches.
32049 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32051 * Makerules [shlib-lds-flags empty]:
32052 ($(common-objpfx)libc_pic.opts): New target.
32053 ($(common-objpfx)libc_pic.os.clean): New target.
32054 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32056 * config.make.in (OBJCOPY): New variable.
32057 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32058 * configure: Regenerated.
32060 * config.make.in (use-default-link): New variable.
32061 * configure.in (use_default_link): Grok --with-default-link to set it.
32062 * configure: Regenerated.
32063 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32064 (shlib-lds, shlib-lds-flags): Define to empty.
32066 * Makerules (shlib-lds): New variable.
32067 (shlib-lds-flags): New variable.
32068 (build-shlib, build-moduile, build-module-asneeded): Use it.
32069 ($(common-objpfx)libc.so): Use $(shlib-lds).
32070 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32071 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32073 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32074 DT_FLAGS/DT_FLAGS_1 with zero flags.
32076 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32077 linker script munging.
32079 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32081 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32083 * crypt/sha512.c (sha512_process_block): Perform total addition using
32084 128-bit if possible.
32085 (__sha512_finish_ctx): Likewise.
32086 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32088 * crypt/sha256.c (SWAP64): Define.
32089 (sha256_process_block): Perform total addition using 64-bit if
32091 (__sha256_finish_ctx): Likewise.
32093 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32095 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32097 * nscd/hstcache.c (cache_addhst): Likewise.
32098 * nscd/grpcache.c (cache_addgr): Likewise.
32099 * nscd/aicache.c (addhstaiX): Likewise
32100 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32102 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32104 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32106 * nscd/hstcache.c (cache_addhst): Likewise.
32107 * nscd/grpcache.c (cache_addgr): Likewise.
32108 * nscd/aicache.c (addhstaiX): Likewise
32110 2011-07-01 Andreas Schwab <schwab@redhat.com>
32112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32113 domain only when needed.
32115 2011-06-30 Andreas Schwab <schwab@redhat.com>
32117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32118 is always restored.
32120 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32122 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32123 are re-adding the entry.
32124 * nscd/servicescache.c (cache_addserv): Likewise.
32126 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32128 * sysdeps/generic/dl-irel.h: fix protection against multiple
32130 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32132 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32135 * malloc/memusage.sh: Fix quoting in message.
32136 * debug/xtrace.sh: Likewise.
32138 * configure.in: Remove support for --experimental-malloc option, make
32140 * config.make.in: Likewise.
32141 * malloc/Makefile: Likewise.
32143 2011-06-27 Andreas Schwab <schwab@redhat.com>
32145 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32146 two-byte characters.
32148 2011-06-27 Roland McGrath <roland@hack.frob.com>
32150 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32151 AC_CACHE_CHECK invocation.
32152 * configure: Regenerated.
32154 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32156 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32159 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32160 bit from old_res_options.
32162 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32164 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32165 value type for setfct.
32167 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32170 __gettimeofday instead of gettimeofday.
32172 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32174 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32176 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32183 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32186 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32187 strcpy-sse2-unaligned strncpy-sse2-unaligned
32188 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32189 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32190 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32191 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32192 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32193 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32195 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32196 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32197 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32198 (STRCPY): Support SSE2 and SSSE3 versions.
32200 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32203 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32204 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32205 kernels which artificially limit size of requests.
32207 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32210 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32211 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32212 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32213 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32214 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32215 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32216 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32219 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32220 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32221 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32222 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32223 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32225 Enable unaligned load optimization for Intel Core i3, i5 and i7
32227 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32229 (index_Fast_Unaligned_Load): Define.
32230 (HAS_FAST_UNALIGNED_LOAD): Define.
32232 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32234 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32236 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32240 until it is clear that the information is realy needed.
32241 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32243 2011-06-22 Andreas Schwab <schwab@redhat.com>
32245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32247 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32250 /sys/devices/system/cpu/online if it is usable.
32252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32253 reading the information from the /proc filesystem to once a second.
32255 2011-06-21 Andreas Jaeger <aj@suse.de>
32257 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32258 NULL after inclusion of kernel headers.
32260 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32262 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32263 calls to internal_setent.
32266 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32267 addresses using gethostbyname4_r ignore IPv4 addresses.
32269 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32270 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32272 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32274 2011-06-20 David S. Miller <davem@davemloft.net>
32276 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32278 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32280 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32281 (elf_irel): Use it.
32282 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32283 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32284 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32285 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32286 * sysdeps/x86_64/dl-irel.h: Likewise.
32288 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32289 * elf/dl-sym.c: Likewise.
32291 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32293 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32294 need to dereference resplen2.
32296 2011-06-14 Andreas Schwab <schwab@redhat.com>
32298 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32300 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32302 * Makeconfig: Define vardbdir and inst_vardbdir.
32303 * nss/Makefile: Add rules to install db-Makefile.
32305 * nss/nss_db/db-XXX.c: Cleanup.
32307 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32308 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32310 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32311 * nss/makedb.c: Implement -g option to specify that value strings
32312 are generated and should not be added to table iterated over for
32314 * nss/nss_db/db-initgroups.c: New file.
32316 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32319 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32320 (internal_getgrouplist): Adjust to name change.
32321 Update use_initgroups_entry if this is not the first call.
32322 * nss/databases.def: Add initgroups entry.
32324 * nss/makedb.c (compute_tables): Check result of multiple hash table
32325 sizes to minimize maximum chain length.
32327 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32329 * Versions.def: Add entry for libnss_db.
32330 * shlib-versions: Likewise.
32331 * nss/Makefile: Add rules to build libnss_db.
32332 * nss/Versions: Add libnss_db information. Organize libnss_files
32334 * nss/db-Makefile: Add gshadow support. Change rules for the new
32335 makedb progra. Some minor improvements to generate smaller files.
32336 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32338 * nss/makedb.c: ...here.
32339 Improve database format to be smaller and require less memory at
32341 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32343 * nss/nss_db/db-netgrp.c: Likewise.
32344 * nss/nss_db/db-open.c: Likewise.
32345 * nss/nss_files/flies-XXX.x: Adjust comments.
32346 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32347 * nss/nss_files/files-grp.c: Likewise.
32348 * nss/nss_files/files-hosts.c: Likewise.
32349 * nss/nss_files/files-network.c: Likewise.
32350 * nss/nss_files/files-proto.c: Likewise.
32351 * nss/nss_files/files-pwd.c: Likewise.
32352 * nss/nss_files/files-rpc.c: Likewise.
32353 * nss/nss_files/files-service.c: Likewise.
32354 * nss/nss_files/files-sgrp.c: Likewise.
32355 * nss/nss_files/files-spwd.c: Likewise.
32356 * nss/nss_db/db-alias.c: Removed.
32357 * nss/nss_db/dummy-db.h: Removed.
32359 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32361 * nss/makedb.c: Rewritten to not use database library.
32362 * nss/Makefile: Update to build new makedb program.
32364 2011-06-14 Andreas Jaeger <aj@suse.de>
32366 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32367 memset declaration.
32369 2011-06-10 Andreas Schwab <schwab@redhat.com>
32371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32374 2011-06-10 Roland McGrath <roland@hack.frob.com>
32376 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32377 * elf/Makefile ($(objpfx)ld.so): Likewise.
32379 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32380 Don't list ld.so twice in dependencies.
32382 * posix/bug-regex31.c: Include <stdlib.h>.
32384 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32386 * nis/nss_compat/compat-spwd.c
32387 (getspent_next_nss_netgr): Remove unused variable.
32388 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32390 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32391 nonmembers" output to use the right array.
32393 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32395 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32397 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32398 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32399 * catgets/gencat.c (read_input_file): Likewise.
32400 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32402 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32403 variable definition inside #if's controlling its use.
32405 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32407 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32409 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32411 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32414 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32416 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32417 * configure: Regenerated.
32419 * Makerules: Revert last change.
32420 * elf/Makefile: Likewise.
32422 2011-06-09 Roland McGrath <roland@hack.frob.com>
32424 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32425 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32426 (reloc-link): Likewise.
32428 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32430 * elf/Makefile: Add rules to build pldd.
32431 * elf/pldd.c: New file.
32432 * elf/pldd-xx.c: New file.
32434 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32436 * version.h: Update for 2.15 development version.
32438 2011-06-07 David S. Miller <davem@davemloft.net>
32440 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32443 elf_machine_lazy_rel): Likewise.
32444 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32446 elf_machine_lazy_rel): Likewise.
32447 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32448 dl_hwcap via passed in argument.
32449 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32452 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32454 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32456 2011-06-06 Roland McGrath <roland@hack.frob.com>
32459 * manual/fdl-1.1.texi: New file, verbatim from:
32460 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32461 * manual/lgpl-2.1.texi: New file, verbatim from:
32462 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32463 * manual/Makefile (licenses): New variable, list those new file names.
32465 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32467 * manual/fdl.texi: File removed.
32468 * manual/lesser.texi: File removed.
32469 * manual/libc.texinfo (Copying, Documentation License):
32470 Use new @include file names, put @appendix directive before @include.
32472 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32475 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32476 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32477 (mq_open): Add __NTH.
32479 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32482 Assume Intel Core i3/i5/i7 processor if AVX is available.
32484 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32489 2011-05-31 Andreas Schwab <schwab@redhat.com>
32491 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32492 memory. Use alloca_account. Fix memory leak when retrying.
32494 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32496 * version.h (RELEASE): Bump for 2.14 release.
32497 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32499 * config.make.in (RANLIB): Remove entry.
32501 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32503 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32504 (libc.pot): Work around missing support for .ksh extension in xgettext.
32507 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32508 if both request failed.
32509 (send_dg): In case of server errors clear resplen or *resplen2.
32512 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32513 when there are multiple maps.
32514 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32515 (_dl_fini): Remove test here.
32517 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32519 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32522 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32523 bit from old_res_options.
32524 (gaih_inet): Likewise.
32527 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32530 * resolv/res_init.c (res_setoptions): Make the code more compact.
32533 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32537 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32539 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32542 * malloc/malloc.h: Declare malloc hook variables as volatile.
32544 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32548 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32549 raise in the comment.
32550 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32552 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32554 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32557 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32558 grow the buffers more if it already has to be sufficient.
32559 (build_wcs_upper_buffer): Likewise.
32560 * posix/regexec.c (check_matching): Likewise.
32561 (clean_state_log_if_needed): Likewise.
32562 (extend_buffers): Don't enlarge buffers beyond size of the input
32564 Patches mostly by Emil Wojak <emil@wojak.eu>.
32565 * posix/bug-regex32.c: New file.
32566 * posix/Makefile (tests): Add bug-regex32.
32568 * locale/findlocale.c (_nl_find_locale): Return right away if
32569 _nl_explode_name failed.
32570 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32574 * debug/xtrace.sh: Unify messages.
32575 * malloc/memusage.sh: Likewise.
32578 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32579 time symbol from vDSO. Substitute with vsyscall if not available.
32580 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32583 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32584 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32585 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32586 Add sendmmsg and internal_sendmmsg.
32587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32588 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32591 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32592 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32595 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32598 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32599 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32605 * iconvdata/Makefile (tests): Add bug-iconv9.
32606 * iconvdata/bug-iconv9.c: New file.
32608 2011-05-27 Andreas Schwab <schwab@redhat.com>
32611 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32613 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32616 (struct user_regs_struct): Change intcs field back to cs.
32618 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32620 * po/ja.po: Update from translation team.
32622 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32625 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32626 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32628 2011-05-20 Andreas Schwab <schwab@redhat.com>
32630 * stdlib/longlong.h: Update from GCC.
32632 2011-05-23 Andreas Schwab <schwab@redhat.com>
32634 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32636 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32637 Add parameter name.
32638 (__sysconf): Pass it down.
32640 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32643 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32646 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32647 add in in __libc_use_alloca calls. Adjust callers.
32648 (glob): Use malloc in some situations.
32650 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32651 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32654 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32656 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32657 and CLOCK_BOOTTIME_ALARM.
32660 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32663 * string/_strerror.c (__strerror_r): Print negative errors as signed
32667 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32668 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32669 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32671 * configure.in: Fix typo in redirection and correct removal of test
32672 files in two cases.
32675 * locale/setlocale.c (new_composite_name): Fix test to check for
32676 identical name of all categories.
32679 * libio/filedoalloc.c (local_isatty): New function.
32680 (_IO_file_doallocate): Use local_isatty.
32681 * stdio-common/perror.c (perror): In case a new stream is used
32682 forward the stream error.
32683 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32686 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32691 * include/alloca.h (extend_alloca_account): Define.
32694 * posix/regex.h: Fix comments with documentation of user-accessible
32695 fields after compilation and describe correct free'ing of pattern
32696 after re_compile_pattern.
32697 Patch by Reuben Thomas <rrt@sc3d.org>.
32699 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32701 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32702 and -mno-altivec to prevent the compiler from using Altivec and/or
32703 VSX instructions when the corresponding registers are not available.
32705 2011-05-19 Andreas Schwab <schwab@redhat.com>
32707 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32709 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32711 * libio/freopen.c (freopen): Use __dup2, not dup2.
32712 * libio/freopen64.c (freopen64): Likewise.
32714 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32717 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32718 * math/Makefile (tests): Add test-powl.
32719 (CFLAGS-test-powl.c): Define.
32720 * math/test-powl.c: New file.
32722 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32724 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32726 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32729 * iconvdata/gb18030.c: Update to GB18020-2005.
32731 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32733 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32734 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32735 Patch by Aharon Robbins <arnold@skeeve.com>.
32738 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32742 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32743 through underflows.
32746 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32747 point to strings before performing equality test for error_one_per_line
32751 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32755 (struct user_fpregs_struct): Avoid __uint*_t types.
32758 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32759 symbol info. Use it instead of calling _dl_addr locally.
32760 (lock_and_info): New function.
32761 (tr_freehook): Call lock_and_info and pass symbol info as additional
32762 parameter to tr_where.
32763 (tr_mallochook): Likewise.
32764 (tr_reallochook): Likewise.
32765 (tr_memalignhook): Likewise.
32767 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32768 used and couldn't be at all thread-safe.
32770 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32772 * libio/freopen.c (freopen): Don't close old file descriptor
32773 before the new one is opened. Instead dup the new file descriptor
32774 to the old one after the new stream is created.
32775 * libio/freopen64.c (freopen64): Likewise.
32776 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32777 * libio/fileops.c (_IO_new_file_close_it): Handle new
32778 _IO_FLAGS2_NOCLOSE flag.
32779 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32780 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32781 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32782 _IO_FLAGS2_NOCLOSE flag.
32783 * include/unistd.h: Add hidden_proto for dup3.
32784 Define __have_dup3.
32785 * io/dup3.c: Define hidden symbol.
32786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32789 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32790 when an incomplete long option is used.
32791 * posix/tst-getopt_long1.c: New file.
32792 * posix/Makefile (tests): Add tst-getopt_long1.
32795 * scripts/config.guess: Update from autoconf-2.68.
32796 * scripts/config.sub: Likewise.
32799 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32801 (has_cpuclock): ...this. New function.
32802 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32803 macro here based on has_cpuclock code.
32806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32807 First byte (not low byte) is now always NUL.
32808 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32811 Use non-cancelable interfaces.
32814 * locale/iso-639.def: Add entry for Sorani.
32817 * include/stdlib.h: Move include protection to the right place.
32818 Define abort_msg_s. Declare __abort_msg with it.
32819 * stdlib/abort.c (__abort_msg): Adjust type.
32820 * assert/assert.c (__assert_fail_base): New function. Majority
32821 of code from __assert_fail. Allocate memory for __abort_msg with
32823 (__assert_fail): Now call __assert_fail_base.
32824 * assert/assert-perr.c: Remove bulk of implementation. Use
32825 __assert_fail_base.
32826 * include/assert.hL Declare __assert_fail_base.
32827 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32829 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32831 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32835 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32836 until all modules are registered in the DTV.
32837 * elf/Makefile: Add rules to build and run tst-tls19.
32838 * elf/tst-tls19.c: New file.
32839 * elf/tst-tls19mod1.c: New file.
32840 * elf/tst-tls19mod2.c: New file.
32841 * elf/tst-tls19mod3.c: New file.
32842 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32845 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32849 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32850 two-byte sequence errors.
32851 * iconvdata/Makefile (tests): Add bug-iconv8.
32852 * iconvdata/bug-iconv8.c: New file.
32855 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32858 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32861 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32862 (dummy_getcfa): New function.
32863 (init): Get _Unwind_GetCFA address, use dummy if not found.
32864 (backtrace_helper): In recursion check, also check whether CFA changes.
32865 (__backtrace): Completely initialize arg.
32867 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32868 storing incomplete byte sequence in state object. Avoid testing for
32869 guaranteed too small input if we know there is enough data available.
32871 2011-05-11 Andreas Schwab <schwab@redhat.com>
32873 * Makeconfig (+link-pie): Indent.
32874 * Rules (binaries-pie): Define if $(have-fpie) and
32876 (binaries-shared): Also filter out $(binaries-pie).
32877 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32878 * nscd/Makefile (others-pie): Add nscd.
32879 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32880 ($(objpfx)nscd): Remove command override.
32881 * login/Makefile (others-pie): Add pt_chown.
32882 ($(objpfx)pt_chown): Remove command override.
32883 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32884 remove command overrides.
32886 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32888 * libio/tst_putwc.c: Fix error messages.
32891 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32892 currently writing and seek to current position when not.
32893 * libio/Makefile (tests): Add bug-fclose1.
32894 * libio/bug-fclose1.c: New file.
32896 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32899 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32900 don't set DF_1_NODELETE here.
32901 (do_lookup_x): When entering new entry test for copy relocation
32902 and if necessary set DF_1_NODELETE flag.
32903 * elf/tst-unique4.cc: New file.
32904 * elf/tst-unique4.h: New file.
32905 * elf/tst-unique4lib.cc: New file.
32906 * elf/Makefile: Add rules to build and run tst-unique4.
32907 Patch by Piotr Bury <pbury@goahead.com>.
32909 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32912 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32915 * misc/mntent_r.c (addmntent): Flush the stream after the output
32918 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32919 (is_trusted_path_normalize): Skip initial colon. Append slash
32920 to empty buffer. Duplicate is_trusted_path code but allow
32921 constructed patch to be prefix.
32922 (is_dst): Allow $ORIGIN followed by /.
32923 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32924 Correct testing of result of is_trusted_path_normalize
32925 (decompose_rpath): Fix warning.
32927 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32930 * grp/initgroups.c (internal_getgrouplist): When we found the service
32931 list through the initgroups entry in nsswitch.conf do not always
32932 continue on a successful lookup. Don't always use the
32933 __nss_group_database value if it is set.
32934 * nss/nsswitch.conf (initgroups): Change action for successful db
32935 lookup to continue for compatibility.
32937 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32940 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32942 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32944 * iconvdata/tst-tables.sh: Likewise.
32945 * iconvdata/cp770.c: New file.
32946 * iconvdata/cp771.c: New file.
32947 * iconvdata/cp772.c: New file.
32948 * iconvdata/cp773.c: New file.
32949 * iconvdata/cp774.c: New file.
32950 * iconvdata/testdata/CP770: New file.
32951 * iconvdata/testdata/CP770..UTF8: New file.
32952 * iconvdata/testdata/CP771: New file.
32953 * iconvdata/testdata/CP771..UTF8: New file.
32954 * iconvdata/testdata/CP772: New file.
32955 * iconvdata/testdata/CP772..UTF8: New file.
32956 * iconvdata/testdata/CP773: New file.
32957 * iconvdata/testdata/CP773..UTF8: New file.
32958 * iconvdata/testdata/CP774: New file.
32959 * iconvdata/testdata/CP774..UTF8: New file.
32961 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32963 * iconvdata/gen-8bit-gap.sh: Likewise.
32964 * iconvdata/gen-8bit.sh: Likewise.
32966 * locale/iso-639.def: Add ary entry.
32969 * locale/C-translit.h.in: Add U20A1 transliteration.
32972 * locale/iso-639.def: Add wae entry.
32973 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32976 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32980 * locale/C-translit.h.in: Add entry for U20B9.
32981 Patch by pravin.d.s@gmail.com.
32983 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32986 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32987 ENAMETOOLONG use generic getcwd.
32988 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32989 in rtld. Use *stat64.
32990 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32991 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32992 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32993 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32994 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32995 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32996 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32997 __fstatat64 macros.
32998 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32999 * dirent/rewinddir.c: Add libc_hidden_def.
33000 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33001 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33003 * include/dirent.h (__alloc_dir): Add flags parameter.
33004 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33005 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33007 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33008 from fdopendir if O_CLOEXEC is already set.
33010 2011-03-15 Alan Modra <amodra@gmail.com>
33012 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33013 l_tls_firstbyte_offset non-zero. Save padding offset in
33014 l_tls_firstbyte_offset for later use.
33015 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33016 freeing static tls block.
33018 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33020 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33021 where #ifdef was intended. The intent is to prevent ARG_MAX from
33022 being defined by the kernel headers.
33024 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33027 * resolv/resolv.h: Define RES_NOTLDQUERY.
33028 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33029 no-tld-query and set RES_NOTLDQUERY.
33030 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33031 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33032 modern BIND to search name as TLD unless forbidden.
33034 2011-05-07 Petr Baudis <pasky@suse.cz>
33035 Ulrich Drepper <drepper@gmail.com>
33038 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33039 (is_trusted_path): ...to here.
33040 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33041 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33042 using is_trusted_path_normalize() in setuid scripts.
33044 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33046 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33047 __BEGIN/__END_DECLS.
33049 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33051 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33052 NSS_STATUS_NOTFOUND if no record was found.
33054 2011-05-05 Andreas Schwab <schwab@redhat.com>
33056 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33057 (headers-not-in-tirpc): Remove rpc/netdb.h
33058 * resolv/netdb.h: Revert last change.
33060 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33062 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33063 circular dependency between libgcc.a and libc.a.
33065 2011-05-05 Andreas Schwab <schwab@redhat.com>
33067 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33068 * nis/Makefile: Don't install rpcsvc/*.
33069 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33070 instead of <rpc/types.h>.
33071 (MAXHOSTNAMELEN): Define.
33073 2011-05-03 Andreas Schwab <schwab@redhat.com>
33075 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33077 2011-04-28 Maciej Babinski <mbabinski@google.com>
33080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33081 gethostbyname4_r when IPv6 results are possible.
33083 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33086 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33087 _PC_PIPE_BUF handling.
33089 2011-04-30 Bruno Haible <bruno@clisp.org>
33092 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33093 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33095 * inet/getnameinfo.c (getnameinfo): Likewise.
33097 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33099 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33100 to groups setting in database lookup.
33101 * nss/nsswitch.conf: Add initgroups entry.
33103 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33106 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33108 Patch by Eric Blake <eblake@redhat.com>.
33110 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33112 * sunrpc/Makefile (need-export-routines): Add svc_run.
33113 (routines): Remove svc_run.
33114 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33115 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33116 * sunrpc/svc_run.c (svc_run): Likewise.
33117 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33119 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33121 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33122 problem in reallocation in last patch.
33124 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33126 * sunrpc/Makefile: Move inclusion of Rules.
33128 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33130 * nss/nss_files/files-initgroups.c: New file.
33131 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33132 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33133 _nss_files_initgroups_dyn.
33135 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33137 * elf/elf.h (R_ARM_IRELATIVE): Define.
33139 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33141 * po/ru.po: Update from translation team.
33143 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33145 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33148 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33151 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33152 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33153 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33157 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33161 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33165 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33170 * stdlib/bug-getcontext.c: New file.
33171 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33173 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33175 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33176 instructions into .machine "z9-109".
33177 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33178 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33180 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33182 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33183 between environment variables and auxiliary vector.
33185 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33187 * Makefile: Add rules to build linkobj/libc.so.
33188 * include/libc-symbols.h: Define libc_hidden_nolink.
33189 * include/rpc/auth.h: Mark functions which are to be hidden.
33190 * include/rpc/auth_des.h: Likewise.
33191 * include/rpc/auth_unix.h: Likewise.
33192 * include/rpc/clnt.h: Likewise.
33193 * include/rpc/des_crypt.h: Likewise.
33194 * include/rpc/key_prot.h: Likewise.
33195 * include/rpc/pmap_clnt.h: Likewise.
33196 * include/rpc/pmap_prot.h: Likewise.
33197 * include/rpc/pmap_rmt.h: Likewise.
33198 * include/rpc/rpc_msg.h: Likewise.
33199 * include/rpc/svc.h: Likewise.
33200 * include/rpc/svc_auth.h: Likewise.
33201 * include/rpc/xdr.h: Likewise.
33202 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33203 * nss/Makefile: Likewise.
33204 * sunrpc/Makefile: Don't install headers. Build library with normal
33205 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33206 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33207 for the compat linking library. Remove use of INTDEF/INTUSE.
33208 * sunrpc/auth_none.c: Likewise.
33209 * sunrpc/auth_unix.c: Likewise.
33210 * sunrpc/authdes_prot.c: Likewise.
33211 * sunrpc/authuxprot.c: Likewise.
33212 * sunrpc/clnt_gen.c: Likewise.
33213 * sunrpc/clnt_perr.c: Likewise.
33214 * sunrpc/clnt_raw.c: Likewise.
33215 * sunrpc/clnt_simp.c: Likewise.
33216 * sunrpc/clnt_tcp.c: Likewise.
33217 * sunrpc/clnt_udp.c: Likewise.
33218 * sunrpc/clnt_unix.c: Likewise.
33219 * sunrpc/des_crypt.c: Likewise.
33220 * sunrpc/des_soft.c: Likewise.
33221 * sunrpc/get_myaddr.c: Likewise.
33222 * sunrpc/key_call.c: Likewise.
33223 * sunrpc/key_prot.c: Likewise.
33224 * sunrpc/netname.c: Likewise.
33225 * sunrpc/pm_getmaps.c: Likewise.
33226 * sunrpc/pm_getport.c: Likewise.
33227 * sunrpc/pmap_clnt.c: Likewise.
33228 * sunrpc/pmap_prot.c: Likewise.
33229 * sunrpc/pmap_prot2.c: Likewise.
33230 * sunrpc/pmap_rmt.c: Likewise.
33231 * sunrpc/publickey.c: Likewise.
33232 * sunrpc/rpc_cmsg.c: Likewise.
33233 * sunrpc/rpc_common.c: Likewise.
33234 * sunrpc/rpc_dtable.c: Likewise.
33235 * sunrpc/rpc_prot.c: Likewise.
33236 * sunrpc/rpc_thread.c: Likewise.
33237 * sunrpc/rtime.c: Likewise.
33238 * sunrpc/svc.c: Likewise.
33239 * sunrpc/svc_auth.c: Likewise.
33240 * sunrpc/svc_authux.c: Likewise.
33241 * sunrpc/svc_raw.c: Likewise.
33242 * sunrpc/svc_run.c: Likewise.
33243 * sunrpc/svc_simple.c: Likewise.
33244 * sunrpc/svc_tcp.c: Likewise.
33245 * sunrpc/svc_udp.c: Likewise.
33246 * sunrpc/svc_unix.c: Likewise.
33247 * sunrpc/svcauth_des.c: Likewise.
33248 * sunrpc/xcrypt.c: Likewise.
33249 * sunrpc/xdr.c: Likewise.
33250 * sunrpc/xdr_array.c: Likewise.
33251 * sunrpc/xdr_float.c: Likewise.
33252 * sunrpc/xdr_intXX_t.c: Likewise.
33253 * sunrpc/xdr_mem.c: Likewise.
33254 * sunrpc/xdr_rec.c: Likewise.
33255 * sunrpc/xdr_ref.c: Likewise.
33256 * sunrpc/xdr_sizeof.c: Likewise.
33257 * sunrpc/xdr_stdio.c: Likewise.
33259 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33262 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33263 * sysdeps/ia64/dl-tls.h: Likewise.
33264 * sysdeps/powerpc/dl-tls.h: Likewise.
33265 * sysdeps/s390/dl-tls.h: Likewise.
33266 * sysdeps/sh/dl-tls.h: Likewise.
33267 * sysdeps/sparc/dl-tls.h: Likewise.
33268 * sysdeps/x86_64/dl-tls.h: Likewise.
33269 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33271 2011-03-14 Andreas Schwab <schwab@redhat.com>
33273 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33274 rpath element also skip the following colon.
33275 (expand_dynamic_string_token): Add is_path parameter and pass
33276 down to DL_DST_REQUIRED and _dl_dst_substitute.
33277 (decompose_rpath): Call expand_dynamic_string_token with
33278 non-zero is_path. Ignore empty rpaths.
33279 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33282 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33287 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33290 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33291 Patch by Filipe David Manana <fdmanana@apache.org>.
33293 2011-04-07 Andreas Schwab <schwab@redhat.com>
33295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33296 Maintain aligned stack.
33297 (CHECK_RSP): Remove unused macro.
33299 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33301 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33302 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33304 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33306 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33308 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33310 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33313 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33314 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33315 * sysdeps/x86_64/memmove.c: New file.
33316 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33317 (memcpy): Renamed to ...
33318 (__new_memcpy): This.
33319 (memcpy): Provide GLIBC_2_14 memcpy.
33320 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33321 (memcpy): Provide GLIBC_2_2_5 memcpy.
33323 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33326 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33328 2011-03-30 Andreas Schwab <schwab@redhat.com>
33330 * misc/syncfs.c: New file.
33331 * misc/Makefile (routines): Add syncfs.
33332 * posix/unistd.h: Declare syncfs.
33333 * sysdeps/unix/syscalls.list: Add syncfs.
33335 2011-04-01 Andreas Schwab <schwab@redhat.com>
33337 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33344 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33347 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33350 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33357 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33358 sync_file_range.c with -fexceptions.
33359 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33360 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33361 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33362 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33363 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33364 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33366 sync_file_range as cancellation point
33367 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33368 now a wrapper around __call_sync_file_range with cancellation handling.
33369 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33370 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33371 function name to __call_sync_file_range.
33372 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33373 Add call_sync_file_range.
33375 2011-04-01 Andreas Schwab <schwab@redhat.com>
33377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33382 * iconv/iconv.h: Fix typo in comment.
33383 * io/fcntl.h: Likewise.
33384 * libio/stdio.h: Likewise.
33385 * posix/spawn.h: Likewise.
33386 * posix/unistd.h: Likewise.
33387 * stdlib/stdlib.h: Likewise.
33388 * time/time.h: Likewise.
33389 * wcsmbs/wchar.h: Likewise.
33391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33392 open_by_handle): Add.
33393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33394 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33395 Augment a few comments.
33396 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33401 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33404 * io/fcntl.h (AT_EMPTY_PATH): Define.
33406 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33408 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33409 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33410 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33412 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33413 * Versions.def: Add GLIBC_2.14.
33414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33417 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33421 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33423 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33426 * string/test-strncmp.c (do_page_test): New function.
33427 (check2): Likewise.
33428 (test_main): Call check2.
33429 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33431 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33434 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33435 Handle cache information in CPU leaf 4.
33436 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33438 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33441 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33442 character representation.
33443 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33445 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33447 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33448 END(__isnan) to END(__isnanf) to match function entry point/label
33449 EALIGN(__isnanf,...).
33451 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33453 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33455 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33458 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33459 copy from the symbol referenced in the relocation to initialize the
33461 Patch by Piotr Bury <pbury@goahead.com>.
33462 * elf/Makefile: Add rules to build and tst-unique3.
33463 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33464 * elf/tst-unique3.cc: New file.
33465 * elf/tst-unique3.h: New file.
33466 * elf/tst-unique3lib.cc: New file.
33467 * elf/tst-unique3lib2.cc: New file.
33469 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33471 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33473 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33474 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33477 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33479 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33480 to-be-loaded object along a path to loader is ld.so.
33482 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33483 Ulrich Drepper <drepper@gmail.com>
33485 * sysdeps/x86_64/memset.S: After aligning destination, code
33486 branches to different locations depending on the value of
33487 misalignment, when multiarch is enabled. Fix this.
33489 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33491 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33492 Set _x86_64_preferred_memory_instruction for AMD processsors.
33493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33494 Set bit_Prefer_SSE_for_memop for AMD processors.
33496 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33498 * libio/fmemopen.c (fmemopen): Optimize a bit.
33500 2011-03-03 Andreas Schwab <schwab@redhat.com>
33502 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33504 2011-03-03 Roland McGrath <roland@redhat.com>
33506 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33508 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33510 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33511 __bzero_ultra1 instead of __memset_ultra1.
33513 2011-02-23 Andreas Schwab <schwab@redhat.com>
33514 Ulrich Drepper <drepper@gmail.com>
33517 * include/link.h (struct link_map): Add l_orig_initfini.
33518 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33519 returning unsuccessfully.
33520 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33521 close of a file loaded at startup, restore the original l_initfini
33523 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33524 list, store the pointer.
33525 * elf/Makefile ($(objpfx)noload-mem): New rule.
33526 (noload-ENV): Define.
33527 (tests): Add $(objpfx)noload-mem.
33528 * elf/noload.c: Include <memcheck.h>.
33529 (main): Call mtrace. Close all opened handles.
33531 2011-02-17 Andreas Schwab <schwab@redhat.com>
33534 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33535 dependencies are missing.
33537 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33539 Fix __if_freereq crash: Unlike the generic version which uses free,
33541 * sysdeps/mach/hurd/ifreq.h: New file.
33543 2011-01-27 Petr Baudis <pasky@suse.cz>
33544 Ulrich Drepper <drepper@gmail.com>
33547 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33548 to extend_alloca().
33549 * stdio-common/bug23.c: New file.
33550 * stdio-common/Makefile (tests): Add bug23.
33552 2010-09-28 Andreas Schwab <schwab@redhat.com>
33553 Ulrich Drepper <drepper@gmail.com>
33556 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33557 before performing relro protection. At old place add assertion
33558 to make sure nothing changed.
33560 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33561 Glauber de Oliveira Costa <glommer@gmail.com>
33563 * elf/elf.h: Add new ARM TLS relocs.
33565 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33568 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33570 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33572 * sysdeps/wordsize-64/tst-writev.c: New file.
33574 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33576 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33577 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33578 insns in _dl_start to prevent a TOC reference before relocs are
33581 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33584 * Makeconfig: Remove RANLIB definition.
33585 * Makerules: Don't use RANLIB.
33586 * aclocal.m4: Remove ranlib test.
33587 * configure.in: No need to check for ranlib.
33588 * elf/rtld-Rules: Don't use RANLIB.
33590 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33592 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33594 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33595 inclusion protection macro.
33597 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33598 SIGRTMIN and SIGRTMAX and print information in that case only when
33599 SIGRTMIN is defined.
33601 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33603 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33604 arginfo fn returning -1.
33606 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33607 and thousands string is zero terminated.
33609 2011-02-03 Andreas Schwab <schwab@redhat.com>
33611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33612 sysdeps/unix/sysv/linux/bits/socket.h.
33614 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33616 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33617 (__CPU_COUNT): Remove old macros.
33618 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33619 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33620 (__CPU_ALLOC, __CPU_FREE): Add macros.
33621 (__sched_cpualloc, __sched_cpufree): Add declarations.
33623 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33625 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33626 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33627 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33628 (readdhstai): Return value of addhstaiX call.
33629 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33630 (addgrbyX): Return value returned by cache_addgr.
33631 (readdgrbyname): Return value returned by addgrbyX.
33632 (readdgrbygid): Likewise.
33633 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33634 (addpwbyX): Return value returned by cache_addpw.
33635 (readdpwbyname): Return value returned by addhstbyX.
33636 (readdpwbyuid): Likewise.
33637 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33638 (addservbyX): Return value returned by cache_addserv.
33639 (readdservbyname): Return value returned by addservbyX:
33640 (readdservbyport): Likewise.
33641 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33642 (addhstbyX): Return value returned by cache_addhst.
33643 (readdhstbyname): Return value returned by addhstbyX.
33644 (readdhstbyaddr): Likewise.
33645 (readdhstbynamev6): Likewise.
33646 (readdhstbyaddrv6): Likewise.
33647 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33648 (readdinitgroups): Return value returned by addinitgroupsX.
33649 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33650 (prune_cache): Keep track of timeout value of re-added entries.
33651 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33652 * nscd/nscd.h: Adjust prototypes of readd* functions.
33654 2011-02-04 Roland McGrath <roland@redhat.com>
33656 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33657 (nis_stats): Likewise.
33658 * nis/nis_modify.c (nis_modify): Likewise.
33659 * nis/nis_remove.c (nis_remove): Likewise.
33660 * nis/nis_add.c (nis_add): Likewise.
33662 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33664 * posix/fnmatch_loop.c: Add some consts.
33666 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33668 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33671 * config.make.in (config-cflags-novzeroupper): Define.
33672 * configure.in: Substitute libc_cv_cc_novzeroupper.
33673 * elf/Makefile (AVX-CFLAGS): Define.
33674 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33675 (CFLAGS-tst-auditmod4a.c): Likewise.
33676 (CFLAGS-tst-auditmod4b.c): Likewise.
33677 (CFLAGS-tst-auditmod6b.c): Likewise.
33678 (CFLAGS-tst-auditmod6c.c): Likewise.
33679 (CFLAGS-tst-auditmod7b.c): Likewise.
33680 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33682 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33684 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33685 function to the callback.
33686 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33688 2011-02-02 Andreas Schwab <schwab@redhat.com>
33690 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33693 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33696 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33698 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33700 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33703 * elf/Makefile: Add rules to build and run new test.
33704 * elf/tst-initorder.c: New file.
33705 * elf/tst-initorder.exp: New file.
33706 * elf/tst-initordera1.c: New file.
33707 * elf/tst-initordera2.c: New file.
33708 * elf/tst-initordera3.c: New file.
33709 * elf/tst-initordera4.c: New file.
33710 * elf/tst-initorderb1.c: New file.
33711 * elf/tst-initorderb2.c: New file.
33712 * elf/tst-order-a1.c: New file.
33713 * elf/tst-order-a2.c: New file.
33714 * elf/tst-order-a3.c: New file.
33715 * elf/tst-order-a4.c: New file.
33716 * elf/tst-order-b1.c: New file.
33717 * elf/tst-order-b2.c: New file.
33718 * elf/tst-order-main.c: New file.
33719 New test case by George Gensure <werkt0@gmail.com>.
33721 2010-10-01 Andreas Schwab <schwab@redhat.com>
33723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33724 decoding ACE if AI_CANONIDN.
33726 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33728 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33730 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33732 * version.h (RELEASE): Bump for 2.13 release.
33733 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33735 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33737 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33739 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33740 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33744 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33746 * posix/getconf.c: Update copyright year.
33747 * catgets/gencat.c: Likewise.
33748 * csu/version.c: Likewise.
33749 * debug/catchsegv.sh: Likewise.
33750 * debug/xtrace.sh: Likewise.
33751 * elf/ldconfig.c: Likewise.
33752 * elf/ldd.bash.in: Likewise.
33753 * elf/sprof.c (print_version): Likewise.
33754 * iconv/iconv_prog.c: Likewise.
33755 * iconv/iconvconfig.c: Likewise.
33756 * locale/programs/locale.c: Likewise.
33757 * locale/programs/localedef.c: Likewise.
33758 * malloc/memusage.sh: Likewise.
33759 * malloc/mtrace.pl: Likewise.
33760 * nscd/nscd.c (print_version): Likewise.
33761 * nss/getent.c: Likewise.
33763 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33764 PF_CAIF, and PF_ALG.
33765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33767 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33769 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33770 (modules-names): Use them.
33771 (ifunc-test-modules, ifunc-pie-tests): Define.
33772 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33773 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33774 (test-extras): Likewise.
33775 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33776 $(compile-command.c).
33777 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33778 (all-built-dso): Define.
33779 (check-textrel.out, check-execstack.out): Depend on it.
33781 * configure.in: Don't override --enable-multi-arch.
33783 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33786 * nscd/hstcache.c (tryagain): Define.
33787 (cache_addhst): Return tryagain not notfound for temporary errors.
33788 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33791 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33794 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33795 to make the syscall.
33796 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33799 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33800 and fall back to matching as normal character if the string ends before
33801 the matching ']' is found. This is what POSIX requires.
33802 * posix/testfnm.c: Adjust test result.
33803 * posix/globtest.sh: Adjust test result. Add new test.
33804 * posix/tst-fnmatch.input: Likewise.
33805 * posix/tst-fnmatch2.c: Add new test.
33807 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33809 * elf/Makefile (check-execstack): Revert last change. Depend on
33811 (check-execstack.h): New target.
33812 (generated): Add check-execstack.h.
33813 * elf/check-execstack.c: Include "check-execstack.h".
33814 (main): Revert last change.
33815 (handle_file): Return zero if GNU_STACK is absent and
33816 DEFAULT_STACK_PERMS doesn't include PF_X.
33818 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33820 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33821 in child fails because the descriptor is already closed.
33822 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33823 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33824 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33827 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33831 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33832 temporary buffer used to handle multi lookups locally.
33833 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33835 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33837 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33840 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33842 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33843 alignment for SSE2.
33845 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33848 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33849 characters. When rounding increased number of integer digits recompute
33851 * stdio-common/tst-grouping.c: New file.
33852 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33854 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33856 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33857 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33859 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33861 * bits/select.h: Likewise.
33863 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33865 * po/ja.po: Update from translation team.
33867 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33870 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33871 implementation just like for lxstat, fxstatat, et al.
33873 2010-12-27 Jim Meyering <meyering@redhat.com>
33876 * posix/regexec.c (build_trtable): Return failure indication upon
33877 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33879 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33882 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33883 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33885 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33888 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33891 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33892 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33894 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33896 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33897 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33898 script has SORT_BY_INIT_PRIORITY.
33899 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33900 NO_CTORS_DTORS_SECTIONS is defined.
33901 * elf/soinit.c: Likewise.
33902 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33903 NO_CTORS_DTORS_SECTIONS is defined.
33904 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33905 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33906 * sysdeps/sh/init-first.c: Likewise.
33907 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33909 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33911 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33912 always use the slow path.
33914 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33916 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33917 similar rule which adds the sysdep directories to the header search in
33918 order to pick up the correct platform stackinfo.h.
33919 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33920 perform test if it is, otherwise return successfully without testing.
33921 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33922 DEFAULT_STACK_PERMS define in stackinfo.h.
33923 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33924 defined in stackinfo.h.
33925 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33926 DEFAULT_STACK_PERMS defined in stackinfo.h.
33927 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33928 * sysdeps/ia64/stackinfo.h: Likewise.
33929 * sysdeps/s390/stackinfo.h: Likewise.
33930 * sysdeps/sh/stackinfo.h: Likewise.
33931 * sysdeps/sparc/stackinfo.h: Likewise.
33932 * sysdeps/x86_64/stackinfo.h: Likewise.
33933 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33934 PF_X for powerpc64. Retain PF_X for powerpc32.
33936 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33938 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33940 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33941 GETDENTS_64BIT_ALIGNED.
33943 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33945 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33947 2010-12-10 Andreas Schwab <schwab@redhat.com>
33949 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33952 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33953 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33955 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33956 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33958 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33961 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33964 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33966 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33968 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33970 * po/it.po: Update from translation team.
33972 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33977 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33979 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33981 2010-11-24 Andreas Schwab <schwab@redhat.com>
33983 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33985 (gaih_getanswer_slice): Likewise.
33987 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33991 2010-05-31 Petr Baudis <pasky@suse.cz>
33994 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33995 silently even in the chroot mode.
33997 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34000 last patch a bit. Pretty printing
34002 2010-05-31 Petr Baudis <pasky@suse.cz>
34005 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34006 initialization of skip_initgroups_dyn.
34008 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34013 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34015 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34017 2010-11-11 Andreas Schwab <schwab@redhat.com>
34019 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34020 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34021 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34022 ($(objpfx)tst-fnmatch-mem): New rule.
34023 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34024 * posix/tst-fnmatch.c (main): Call mtrace.
34026 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34029 Support Intel processor model 6 and model 0x2c.
34031 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34036 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34039 * string/test-strncasecmp.c (check_result): New function.
34040 (do_one_test): Use it.
34041 (check1): New function.
34042 (test_main): Use it.
34043 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34044 Support strcasecmp and strncasecmp.
34046 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34049 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34052 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34054 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34058 * sysdeps/x86_64/multiarch/bzero.S: New file.
34059 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34060 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34061 * sysdeps/x86_64/multiarch/memset.S: New file.
34062 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34064 Set bit_Prefer_SSE_for_memop for Intel processors.
34065 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34067 (index_Prefer_SSE_for_memop): Define.
34068 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34070 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34073 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34075 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34078 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34079 (__x86_64_raw_data_cache_size_half): Likewise.
34080 (__x86_64_raw_shared_cache_size): Likewise.
34081 (__x86_64_raw_shared_cache_size_half): Likewise.
34083 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34084 (__x86_64_raw_data_cache_size_half): Likewise.
34085 (__x86_64_raw_shared_cache_size): Likewise.
34086 (__x86_64_raw_shared_cache_size_half): Likewise.
34087 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34088 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34089 and __x86_64_raw_shared_cache_size_half. Round
34090 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34091 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34092 to multiple of 256 bytes.
34094 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34097 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34098 of inacessible symlinks. Verify result of symlink before returning it.
34099 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34100 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34102 2010-10-28 Erich Ritz <erichritz@gmail.com>
34104 * math/math.h (isinf): Fix typo in comment.
34106 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34108 * po/da.po: Update from translation team.
34110 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34112 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34113 is added to the list.
34115 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34116 Ulrich Drepper <drepper@gmail.com>
34118 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34119 the global list here. Move code to...
34120 (_dl_add_to_namespace_list): ...here. New function.
34121 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34122 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34123 * elf/dl-load.c (lose): Don't remove the element from the list.
34124 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34125 (_dl_map_object): Likewise.
34127 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34130 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34131 into all bytes of SSE register.
34132 Patch by Richard Li <richardpku@gmail.com>.
34134 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34137 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34140 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34142 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34143 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34150 2010-10-22 Andreas Schwab <schwab@redhat.com>
34152 * include/dlfcn.h (__RTLD_SECURE): Define.
34153 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34154 mode & __RTLD_SECURE instead.
34155 (open_path): Rename preloaded parameter to secure.
34156 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34157 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34158 * elf/dl-deps.c (openaux): Likewise.
34159 * elf/rtld.c (struct map_args): Remove is_preloaded.
34160 (map_doit): Don't use it.
34161 (dl_main): Likewise.
34162 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34163 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34165 2010-09-09 Andreas Schwab <schwab@redhat.com>
34167 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34168 (sysd-rules-targets): Remove duplicates.
34169 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34170 rtld-%.$o dependency.
34172 2010-10-18 Andreas Schwab <schwab@redhat.com>
34174 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34175 _dl_map_object do it.
34177 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34179 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34180 fast fma builtins, define the macros in the C99 standard.
34181 (FP_FAST_FMAF): Likewise.
34182 (FP_FAST_FMAL): Likewise.
34183 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34185 * bits/mathdef.h: Update copyright year.
34186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34188 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34190 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34191 builtins, define the macros in the C99 standard.
34192 (FP_FAST_FMAF): Likewise.
34193 (FP_FAST_FMAL): Likewise.
34194 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34196 (FP_FAST_FMAF): Likewise.
34198 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34201 * math/libm-test.inc (fma_test): Some new testcases.
34202 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34203 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34204 y and infinite z. Do multiplication by C already in long double.
34205 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34207 y and infinite z. Do bitwise or of inexact bit into u.d.
34208 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34209 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34210 * sysdeps/i386/fpu/s_fma.S: Removed.
34211 * sysdeps/i386/fpu/s_fmal.S: Removed.
34213 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34216 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34218 computation is not scheduled after fetestexcept. Fix value
34219 of minimum denormal long double.
34221 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34224 * math/libm-test.inc (fma_test): Add some more tests.
34225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34228 2010-10-15 Andreas Schwab <schwab@redhat.com>
34230 * scripts/data/localplt-s390-linux-gnu.data: New file.
34231 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34233 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34236 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34237 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34239 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34241 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34243 if one of x and y is very large and the other is subnormal.
34244 * sysdeps/s390/fpu/s_fmaf.c: New file.
34245 * sysdeps/s390/fpu/s_fma.c: New file.
34246 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34247 * sysdeps/powerpc/fpu/s_fma.S: New file.
34248 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34249 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34250 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34252 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34255 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34258 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34259 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34260 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34261 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34262 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34263 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34265 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34268 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34269 * posix/bug-regex31.input: Add test case.
34271 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34273 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34274 * posix/bug-regex31.input: New file.
34277 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34278 (parse_sub_exp): Fix last change, use postorder.
34280 * posix/bug-regex31.c: New file.
34281 * posix/Makefile: Add rules to build and run bug-regex31.
34283 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34286 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34289 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34290 to have entries in sys_siglist.
34293 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34296 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34299 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34300 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34301 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34302 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34303 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34304 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34305 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34306 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34307 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34308 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34309 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34310 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34311 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34312 * math/ftestexcept.c (fetestexcept): Likewise.
34313 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34314 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34315 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34316 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34317 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34318 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34319 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34321 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34324 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34327 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34329 * string/bug-strstr1.c: New file.
34330 * string/Makefile: Add rules to build and run bug-strstr1.
34332 2010-10-05 Eric Blake <eblake@redhat.com>
34335 * string/str-two-way.h (two_way_long_needle): Always clear memory
34336 when skipping input due to the shift table.
34338 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34341 * malloc/mcheck.c: Handle large requests.
34344 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34345 for strncmp and strncasecmp.
34346 * string/stratcliff.c: Add tests for strcmp and strncmp.
34347 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34349 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34351 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34354 2010-09-30 Andreas Jaeger <aj@suse.de>
34356 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34357 (CGROUP_SUPER_MAGIC): Define.
34358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34359 Handle btrfs and cgroup file systems.
34360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34363 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34365 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34366 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34368 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34371 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34372 trying to locate the ELF header.
34374 2010-09-27 Andreas Schwab <schwab@redhat.com>
34377 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34378 Mask out sign-bit copies when constructing f_fsid.
34380 2010-09-24 Petr Baudis <pasky@suse.cz>
34382 * debug/stack_chk_fail_local.c: Add missing licence exception.
34383 * debug/warning-nop.c: Likewise.
34385 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34388 implementing getdents64 using getdents syscall, set d_type if
34389 __ASSUME_GETDENTS32_D_TYPE.
34391 2010-09-16 Andreas Schwab <schwab@redhat.com>
34393 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34394 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34396 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34399 * posix/unistd.h: Undo change of feature selection for ftruncate from
34402 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34404 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34407 2010-09-20 Andreas Schwab <schwab@redhat.com>
34409 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34411 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34413 2010-09-14 Andreas Schwab <schwab@redhat.com>
34415 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34416 variables after CHECK_SP call.
34417 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34419 2010-09-13 Andreas Schwab <schwab@redhat.com>
34420 Ulrich Drepper <drepper@redhat.com>
34422 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34423 re-relocationg ld.so.
34424 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34425 _dl_init_paths call.
34426 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34429 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34431 * resolv/res_init.c (__res_vinit): Count the default server we added.
34433 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34434 Ulrich Drepper <drepper@redhat.com>
34437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34438 (____longjmp_chk): Use %ebx for saving value across system call.
34441 2010-09-06 Andreas Schwab <schwab@redhat.com>
34443 * manual/Makefile: Don't mix pattern rules with normal rules.
34445 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34447 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34449 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34450 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34451 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34452 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34456 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34459 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34460 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34462 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34464 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34465 * sysdeps/x86_64/addmul_1.S: Likewise.
34466 * sysdeps/x86_64/lshift.S: Likewise.
34467 * sysdeps/x86_64/mul_1.S: Likewise.
34468 * sysdeps/x86_64/rshift.S: Likewise.
34469 * sysdeps/x86_64/sub_n.S: Likewise.
34470 * sysdeps/x86_64/submul_1.S: Likewise.
34472 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34474 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34475 Define __sched_param instead of SCHED_* and sched_param when
34476 <bits/sched.h> is included with __need_schedparam defined.
34477 * bits/sched.h [__need_schedparam]
34478 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34479 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34480 (__defined_schedparam): Define to 1.
34481 (__sched_param): New structure, identical to sched_param.
34482 (__need_schedparam): Undefine.
34484 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34487 (epoll_create1): Declare.
34489 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34491 2010-08-31 Andreas Schwab <schwab@redhat.com>
34494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34495 shifting retval into place.
34497 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34499 * nis/rpcsvc/nis.h: Update copyright notice.
34500 * nis/rpcsvc/nis.x: Likewise.
34501 * nis/rpcsvc/nis_callback.h: Likewise.
34502 * nis/rpcsvc/nis_callback.x: Likewise.
34503 * nis/rpcsvc/nis_object.x: Likewise.
34504 * nis/rpcsvc/nis_tags.h: Likewise.
34505 * nis/rpcsvc/yp.h: Likewise.
34506 * nis/rpcsvc/yp.x: Likewise.
34507 * nis/rpcsvc/ypupd.h: Likewise.
34508 * nis/yp_xdr.c: Likewise.
34509 * nis/ypupdate_xdr.c: Likewise.
34511 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34512 mainly the body of pmap_getport. Add parameters to specify timeouts.
34513 (pmap_getport): Use __libc_rpc_getport.
34514 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34515 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34516 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34518 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34523 2010-08-27 Roland McGrath <roland@redhat.com>
34525 * sysdeps/i386/i686/multiarch/Makefile
34526 (CFLAGS-varshift.c): New variable.
34528 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34530 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34531 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34535 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34537 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34539 * sysdeps/x86_64/strlen.S: Unroll the loop.
34540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34541 strlen-sse2 strlen-sse2-bsf.
34542 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34543 __strlen_no_bsf if bit_Slow_BSF is set.
34544 (__strlen_sse42): Removed.
34545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34546 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34548 2010-08-25 Roland McGrath <roland@redhat.com>
34550 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34551 * sysdeps/x86_64/multiarch/varshift.c: New file.
34552 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34553 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34554 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34555 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34557 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34560 strlen-sse2 strlen-sse2-bsf.
34561 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34562 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34563 (__strlen_sse2): Removed.
34564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34567 bit_Slow_BSF for Atom.
34568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34569 (index_Slow_BSF): Define.
34570 (HAS_SLOW_BSF): Define.
34572 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34575 * resolv/res_init.c (__res_vinit): When no server address at all
34576 is given default to loopback.
34578 2010-08-24 Roland McGrath <roland@redhat.com>
34580 * configure.in: Remove config-name.h generation.
34581 * configure: Regenerated.
34582 * config-name.in: File removed.
34583 * scripts/config-uname.sh: New file.
34584 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34585 ($(objdir)config-name.h): New target.
34587 * sunrpc/rpc_parse.h: Avoid nested comment.
34589 2010-08-24 Richard Henderson <rth@redhat.com>
34590 Ulrich Drepper <drepper@redhat.com>
34591 H.J. Lu <hongjiu.lu@intel.com>
34593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34595 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34596 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34597 _mm_alignr_epi8 with _mm_loadu_si128.
34598 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34599 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34600 (__m128i_shift_right): Removed.
34601 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34602 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34603 * sysdeps/x86_64/multiarch/varshift.h: New file.
34604 * sysdeps/x86_64/multiarch/varshift.S: New file.
34606 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34608 * configure.in: Move assembler checks to before sysdep dir checking.
34610 2010-08-20 Petr Baudis <pasky@suse.cz>
34612 * LICENSES: Sync the sunrpc license.
34614 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34616 * sunrpc/auth_des.c: Update copyright notice once again.
34617 * sunrpc/auth_none.c: Likewise.
34618 * sunrpc/auth_unix.c: Likewise.
34619 * sunrpc/authdes_prot.c: Likewise.
34620 * sunrpc/authuxprot.c: Likewise.
34621 * sunrpc/bindrsvprt.c: Likewise.
34622 * sunrpc/clnt_gen.c: Likewise.
34623 * sunrpc/clnt_perr.c: Likewise.
34624 * sunrpc/clnt_raw.c: Likewise.
34625 * sunrpc/clnt_simp.c: Likewise.
34626 * sunrpc/clnt_tcp.c: Likewise.
34627 * sunrpc/clnt_udp.c: Likewise.
34628 * sunrpc/clnt_unix.c: Likewise.
34629 * sunrpc/des_crypt.c: Likewise.
34630 * sunrpc/des_soft.c: Likewise.
34631 * sunrpc/get_myaddr.c: Likewise.
34632 * sunrpc/getrpcport.c: Likewise.
34633 * sunrpc/key_call.c: Likewise.
34634 * sunrpc/key_prot.c: Likewise.
34635 * sunrpc/openchild.c: Likewise.
34636 * sunrpc/pm_getmaps.c: Likewise.
34637 * sunrpc/pm_getport.c: Likewise.
34638 * sunrpc/pmap_clnt.c: Likewise.
34639 * sunrpc/pmap_prot.c: Likewise.
34640 * sunrpc/pmap_prot2.c: Likewise.
34641 * sunrpc/pmap_rmt.c: Likewise.
34642 * sunrpc/rpc/auth.h: Likewise.
34643 * sunrpc/rpc/auth_unix.h: Likewise.
34644 * sunrpc/rpc/clnt.h: Likewise.
34645 * sunrpc/rpc/des_crypt.h: Likewise.
34646 * sunrpc/rpc/key_prot.h: Likewise.
34647 * sunrpc/rpc/netdb.h: Likewise.
34648 * sunrpc/rpc/pmap_clnt.h: Likewise.
34649 * sunrpc/rpc/pmap_prot.h: Likewise.
34650 * sunrpc/rpc/pmap_rmt.h: Likewise.
34651 * sunrpc/rpc/rpc.h: Likewise.
34652 * sunrpc/rpc/rpc_des.h: Likewise.
34653 * sunrpc/rpc/rpc_msg.h: Likewise.
34654 * sunrpc/rpc/svc.h: Likewise.
34655 * sunrpc/rpc/svc_auth.h: Likewise.
34656 * sunrpc/rpc/types.h: Likewise.
34657 * sunrpc/rpc/xdr.h: Likewise.
34658 * sunrpc/rpc_clntout.c: Likewise.
34659 * sunrpc/rpc_cmsg.c: Likewise.
34660 * sunrpc/rpc_common.c: Likewise.
34661 * sunrpc/rpc_cout.c: Likewise.
34662 * sunrpc/rpc_dtable.c: Likewise.
34663 * sunrpc/rpc_hout.c: Likewise.
34664 * sunrpc/rpc_main.c: Likewise.
34665 * sunrpc/rpc_parse.c: Likewise.
34666 * sunrpc/rpc_parse.h: Likewise.
34667 * sunrpc/rpc_prot.c: Likewise.
34668 * sunrpc/rpc_sample.c: Likewise.
34669 * sunrpc/rpc_scan.c: Likewise.
34670 * sunrpc/rpc_scan.h: Likewise.
34671 * sunrpc/rpc_svcout.c: Likewise.
34672 * sunrpc/rpc_tblout.c: Likewise.
34673 * sunrpc/rpc_util.c: Likewise.
34674 * sunrpc/rpc_util.h: Likewise.
34675 * sunrpc/rpcinfo.c: Likewise.
34676 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34677 * sunrpc/rpcsvc/key_prot.x: Likewise.
34678 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34679 * sunrpc/rpcsvc/mount.x: Likewise.
34680 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34681 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34682 * sunrpc/rpcsvc/rex.x: Likewise.
34683 * sunrpc/rpcsvc/rstat.x: Likewise.
34684 * sunrpc/rpcsvc/rusers.x: Likewise.
34685 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34686 * sunrpc/rpcsvc/spray.x: Likewise.
34687 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34688 * sunrpc/rtime.c: Likewise.
34689 * sunrpc/svc.c: Likewise.
34690 * sunrpc/svc_auth.c: Likewise.
34691 * sunrpc/svc_authux.c: Likewise.
34692 * sunrpc/svc_raw.c: Likewise.
34693 * sunrpc/svc_run.c: Likewise.
34694 * sunrpc/svc_simple.c: Likewise.
34695 * sunrpc/svc_tcp.c: Likewise.
34696 * sunrpc/svc_udp.c: Likewise.
34697 * sunrpc/svc_unix.c: Likewise.
34698 * sunrpc/svcauth_des.c: Likewise.
34699 * sunrpc/xcrypt.c: Likewise.
34700 * sunrpc/xdr.c: Likewise.
34701 * sunrpc/xdr_array.c: Likewise.
34702 * sunrpc/xdr_float.c: Likewise.
34703 * sunrpc/xdr_mem.c: Likewise.
34704 * sunrpc/xdr_rec.c: Likewise.
34705 * sunrpc/xdr_ref.c: Likewise.
34706 * sunrpc/xdr_sizeof.c: Likewise.
34707 * sunrpc/xdr_stdio.c: Likewise.
34709 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34712 2010-08-19 Andreas Schwab <schwab@redhat.com>
34714 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34716 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34718 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34719 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34720 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34721 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34722 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34723 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34724 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34725 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34726 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34727 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34728 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34729 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34730 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34731 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34733 2010-07-26 Anton Blanchard <anton@samba.org>
34735 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34736 * malloc/arena.c (heap_trim): Likewise.
34738 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34740 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34743 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34745 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34747 * sysdeps/i386/elf/Makefile: New file.
34749 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34751 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34752 from fanotify_init.
34753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34756 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34758 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34760 * sysdeps/multiarch/strcmp.S: Likewise.
34762 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34764 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34765 strncase_l-nonascii.
34766 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34767 Add strncase_l-ssse3.
34768 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34769 * sysdeps/x86_64/strcmp.S: Likewise.
34770 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34771 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34772 * sysdeps/x86_64/strncase.S: New file.
34773 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34774 * sysdeps/x86_64/strncase_l.S: New file.
34775 * string/Makefile (strop-tests): Add strncasecmp.
34776 * string/test-strncasecmp.c: New file.
34778 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34781 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34782 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34784 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34786 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34788 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34790 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34791 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34792 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34794 2010-05-01 Alan Modra <amodra@gmail.com>
34796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34797 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34798 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34799 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34800 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34801 tidying. Don't tail-call __sigjmp_save for static lib.
34802 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34804 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34805 (CALL_MCOUNT): Add eh info, and nop after bl.
34806 (TAIL_CALL_SYSCALL_ERROR): New macro.
34807 (PSEUDO_RET): Use it.
34808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34809 Correct save location of integer regs and cr.
34810 (_dl_profile_resolve): Correct cr save location. Delete nops
34811 after bl when SHARED. Reduce cfi size a little by better
34812 placement of cfi directives.
34813 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34814 make a stack frame. Instead use parm save area as a temp.
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34816 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34818 Don't make a stack frame for parent, use parm save area.
34819 Increase child stack frame to 112 bytes. Don't save unused reg,
34820 and adjust reg usage. Set up cfi on error recovery and
34821 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34823 (__makecontext): Add dummy nop after jump to exit.
34824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34825 Use correct parm save area and cr save, reduce stack frame.
34826 Correct cfi for possible PSEUDO_RET frame setup.
34827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34828 Branch to local label emitted by PSEUDO_RET rather than
34831 2010-08-12 Andreas Schwab <schwab@redhat.com>
34834 * locale/programs/locale.c (print_assignment): New function.
34835 (show_locale_vars): Use it.
34837 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34839 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34841 (struct statfs64): Likewise.
34842 (_STATFS_F_FLAGS): Define.
34843 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34845 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34846 (ST_VALID): Define locally.
34847 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34848 __statvfs_getflags, use the provided value.
34849 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34850 __ASSUME_STATFS_F_FLAGS.
34852 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34855 Add sys/fanotify.h.
34856 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34857 fanotify_mask for GLIBC_2.13.
34858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34859 fanotify_init and fanotify_mark.
34860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34861 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34863 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34865 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34866 prlimit64 for GLIBC_2.13.
34867 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34869 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34872 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34873 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34874 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34877 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34880 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34881 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34883 * nss/Makefile: Add rules to build and run tst-nss-test1.
34884 * shlib-versions: Add entry for libnss_test1.
34885 * nss/nss_test1.c: New file.
34886 * nss/tst-nss-test1.c: New file.
34888 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34889 (__nss_configure_lookup): Set appropriate entry in
34890 __nss_configure_lookup to true.
34891 * nss/nsswitch.h: Define enum with indeces of databases in
34892 databases and __nss_database_custom arrays. Declare
34893 __nss_database_custom.
34894 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34895 to avoid using nscd when custom rules are installed.
34896 * nss/getXXbyYY_r.c: Likewise.
34897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34899 * nss/nss_files/files-parse.c: Whitespace fixes.
34901 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34904 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34905 * posix/fnmatch_loop.c: Likewise.
34907 2010-07-17 Andi Kleen <ak@linux.intel.com>
34909 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34910 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34911 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34912 * Versions.def [GLIBC_2.13]: Add.
34914 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34917 Also fail if tpwd after pwuid call is NULL.
34919 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34921 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34922 when converting to ms.
34924 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34926 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34927 EOPNOTSUPP errors with ENOTTY.
34928 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34929 EOPNOTSUPP errors with ENOTTY.
34931 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34933 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34934 Add strcasecmp_l-ssse3.
34935 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34937 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34938 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34939 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34941 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34943 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34945 * string/Makefile (strop-tests): Add strcasecmp.
34946 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34947 strcasecmp_l-nonascii.
34948 (gen-as-const-headers): Add locale-defines.sym.
34949 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34950 * sysdeps/x86_64/strcasecmp.S: New file.
34951 * sysdeps/x86_64/strcasecmp_l.S: New file.
34952 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34953 * sysdeps/x86_64/locale-defines.sym: New file.
34954 * string/test-strcasecmp.c: New file.
34956 * string/test-strcasestr.c: Test both ends of the range of characters.
34957 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34959 2010-07-29 Roland McGrath <roland@redhat.com>
34962 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34964 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34966 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34969 2010-07-27 Andreas Schwab <schwab@redhat.com>
34971 * manual/memory.texi (Malloc Tunable Parameters): Document
34974 2010-07-26 Roland McGrath <roland@redhat.com>
34977 * configure.in (-fgnu89-inline check): Set and substitute
34978 gnu89_inline, not libc_cv_gnu89_inline.
34979 * configure: Regenerated.
34980 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34982 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34984 * string/test-strnlen.c: New file.
34985 * string/Makefile (strop-tests): Add strnlen.
34986 * string/tester.c (test_strnlen): Add a few more test cases.
34987 * string/tst-strlen.c: Better error reporting.
34989 * sysdeps/x86_64/strnlen.S: New file.
34991 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34993 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34994 lower-latency instructions.
34996 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34998 * string/test-strcasestr.c: New file.
34999 * string/test-strstr.c: New file.
35000 * string/Makefile (strop-tests): Add strstr and strcasestr.
35001 * string/str-two-way.h: Don't undefine MAX.
35002 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35004 2010-07-21 Andreas Schwab <schwab@redhat.com>
35006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35007 strcasestr-nonascii.
35008 (CFLAGS-strcasestr-nonascii.c): Define.
35009 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35010 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35011 Remove unused attribute.
35013 2010-07-20 Roland McGrath <roland@redhat.com>
35015 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35016 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35017 ld.so.cache was broken. With it, there is no way to disable dsocaps
35018 like LD_HWCAP_MASK can disable hwcaps.
35020 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35022 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35024 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35026 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35027 call in strcasestr.
35028 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35029 __strcasestr_sse42_nonascii.
35030 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35031 strcasestr-nonascii.c.
35032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35034 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35036 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35038 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35039 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35041 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35046 2010-07-06 Andreas Schwab <schwab@redhat.com>
35049 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35052 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35054 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35055 _PC_PIPE_BUF using F_GETPIPE_SZ.
35057 2010-07-05 Roland McGrath <roland@redhat.com>
35059 * manual/arith.texi (Rounding Functions): Fix rint description
35060 implicit in round description.
35062 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35064 * elf/Makefile: Fix linking for a few tests to make recent linker
35067 2010-06-30 Andreas Schwab <schwab@redhat.com>
35069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35070 $(common-objpfx)libc_nonshared.a.
35072 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35074 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35075 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35076 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35077 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35078 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35079 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35080 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35081 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35096 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35097 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35098 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35099 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35100 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35101 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35102 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35103 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35104 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35105 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35106 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35107 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35123 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35125 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35126 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35127 * string/memmove.c (memmove): Renamed to ...
35128 (MEMMOVE): ...this. Default to memmove.
35129 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35130 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35133 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35134 mempcpy-ssse3-back memmove-ssse3-back.
35135 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35137 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35138 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35139 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35140 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35141 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35142 * sysdeps/x86_64/multiarch/memmove.c: New file.
35143 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35144 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35145 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35146 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35147 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35150 (index_Fast_Copy_Backward): Define.
35151 (HAS_ARCH_FEATURE): Define.
35152 (HAS_FAST_REP_STRING): Define.
35153 (HAS_FAST_COPY_BACKWARD): Define.
35155 2010-06-21 Andreas Schwab <schwab@redhat.com>
35157 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35158 Restore proper fallback handling.
35160 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35163 * posix/group_member.c (__group_member): Correct checking loop.
35165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35166 OOM in getpwuid_r correctly. Return error number when the caller
35167 should return, otherwise -1.
35168 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35169 call returning > 0 value.
35170 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35172 2010-06-07 Andreas Schwab <schwab@redhat.com>
35174 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35175 libc_nonshared.a from targets in modules-names.
35177 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35179 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35182 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35185 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35189 2010-06-02 Andreas Schwab <schwab@redhat.com>
35191 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35193 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35204 2010-06-14 Roland McGrath <roland@redhat.com>
35206 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35208 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35210 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35211 __REDIRECT followed by __THROW.
35212 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35213 * posix/getopt.h (getopt): Likewise.
35215 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35217 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35218 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35219 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35221 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35222 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35224 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35228 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35232 Properly check family and model.
35234 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35236 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35238 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35240 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35242 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35244 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35247 2010-05-19 Andreas Schwab <schwab@redhat.com>
35249 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35252 2010-05-21 Andreas Schwab <schwab@redhat.com>
35254 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35255 and internal_recvmmsg.
35256 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35257 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35258 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35259 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35261 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35262 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35263 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35265 2010-05-20 Andreas Schwab <schwab@redhat.com>
35267 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35269 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35271 POWER7 optimizations.
35272 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35273 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35275 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35277 * version.h: Update for 2.13 development version.
35279 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35281 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35282 exceptions. Return 0.
35284 2010-05-07 Roland McGrath <roland@redhat.com>
35286 * elf/ldconfig.c (main): Add a const.
35288 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35290 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35291 (args_options): Add no-idn option.
35292 (ahosts_keys_int): Add idn_flags to ai_flags.
35293 (parse_option): Handle 'i' option to clear idn_flags.
35295 * malloc/malloc.c (_int_free): Possible race in the most recently
35296 added check. Only act on the data if no current modification
35299 See ChangeLog.17 for earlier changes.