Fix ChangeLog formatting
[glibc.git] / ChangeLog
blob677adead08b0c2cedb6b6b8594121e9205e755fe
1 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #15483]
4         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5         thread-local __sim_exceptions_thread and global
6         __sim_exceptions_global.
7         (__sim_disabled_exceptions): Change to thread-local
8         __sim_disabled_exceptions_thread and global
9         __sim_disabled_exceptions_global.
10         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11         and global __sim_round_mode_global.
12         (__simulate_exceptions): Use thread-local floating-point state and
13         set global state from it as needed.
14         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16         __sim_round_mode_thread.
17         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19         and global __sim_exceptions_global.
20         (__sim_disabled_exceptions): Change to thread-local
21         __sim_disabled_exceptions_thread and global
22         __sim_disabled_exceptions_global.
23         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24         and global __sim_round_mode_global.
25         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26         (SIM_SET_GLOBAL): Likewise.
27         * sysdeps/powerpc/soft-fp/sfp-machine.h
28         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29         __sim_round_mode_thread.
30         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31         __sim_disabled_exceptions_thread.
32         (__sim_exceptions): Change to __sim_exceptions_thread.
33         (__sim_disabled_exceptions): Change to
34         __sim_disabled_exceptions_thread.
35         (__sim_round_mode): Change to __sim_round_mode_thread.
36         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37         thread-local floating-point state and set global state from it as
38         needed.
39         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41         (__sim_disabled_exceptions): Remove extern declaration.
42         (feenableexcept): Use thread-local floating-point state and set
43         global state from it as needed.
44         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45         extern declaration.
46         (__sim_disabled_exceptions): Likewise.
47         (__sim_round_mode): Likewise.
48         (__fegetenv): Use thread-local floating-point state.
49         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52         floating-point state and set global state from it as needed.
53         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
56         Likewise.
57         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59         Likewise.
60         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
62         Use __sim_round_mode_thread.
63         * math/test-fenv-tls.c: New file.
64         * math/Makefile (tests): Add test-fenv-tls.
65         ($(objpfx)test-fenv-tls): Depend on
66         $(common-objpfx)nptl/libpthread.so.
68 2013-11-19  Andreas Schwab  <schwab@suse.de>
70         * locale/programs/locale.c (show_info): Decode wordarray elements.
71         * locale/categories.def (LC_MONETARY): Add element for
72         _NL_MONETARY_CRNCYSTR.
73         * locale/C-monetary.c (conversion_rate): New variable.
74         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
75         element.
77 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
79         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
80         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
82 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84         * elf/Makefile (tst-auxv): New test.
85         * elf/tst-auxv.c: New
86         * elf/rtld.c (dl_main): Adjust AT_EXECFN
88 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
90         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
91         (hidden_proto): Caller changed.
92         (hidden_tls_proto): New macro.
93         (libc_hidden_tls_proto): Likewise.
94         (rtld_hidden_tls_proto): Likewise.
95         (libm_hidden_tls_proto): Likewise.
96         (libresolv_hidden_tls_proto): Likewise.
97         (librt_hidden_tls_proto): Likewise.
98         (libdl_hidden_tls_proto): Likewise.
99         (libnss_files_hidden_tls_proto): Likewise.
100         (libnsl_hidden_tls_proto): Likewise.
101         (libnss_nisplus_hidden_tls_proto): Likewise.
102         (libutil_hidden_tls_proto): Likewise.
104 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
106         [BZ #10253]
107         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
108         (decompose_rpath): Defer expansion to fillin_rpath.
109         (_dl_init_paths): Pass linkmap to fillin_rpath.
111 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
113         * benchtests/Makefile: Add strsep.
114         * benchtests/bench-strsep.c: New file: strsep benchtest.
115         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
117 2013-11-18  Andreas Schwab  <schwab@suse.de>
119         * locale/programs/locale.c (show_info) [case byte]: Check for
120         '\377' instead of '\177'.
121         * locale/C-monetary.c (not_available): Always use "\377".
122         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
123         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
124         detect unavailable sign_posn locale elements.
125         * locale/localeconv.c (__localeconv): For grouping and
126         mon_grouping handle "\177" and "\377" like no grouping.
127         (INT_ELEM): New macro.  Use it to set all numeric members.
128         * locale/programs/ld-monetary.c (monetary_read)
129         <tok_mon_grouping>: Normalize single -1 to the empty string.
130         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
131         Likewise.
133 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
135         [BZ #16055]
136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
137         when we match (nil).
138         * stdio-common/tst-sscanf.c (struct test): Add testcase.
140 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
142         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
143         (NO_TEST_INLINE): Update value.
144         (ERRNO_UNCHANGED): Likewise.
145         (ERRNO_EDOM): Likewise.
146         (ERRNO_ERANGE): Likewise.
147         (IGNORE_RESULT): Likewise.
148         (check_float_internal): Check signs of NaN results if
149         TEST_NAN_SIGN used.
150         (check_complex): Pass TEST_NAN_SIGN flag through to second
151         check_float_internal call.
152         (copysign_test_data): Add tests with quiet NaNs as second
153         argument.  Use TEST_NAN_SIGN.
154         (fabs_test_data): Add test of negative quiet NaN argument.  Use
155         TEST_NAN_SIGN.
156         (signbit_test_data): Add tests of quiet NaN argument.
157         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
159         * math/gen-libm-test.pl (show_exceptions): Take extra argument
160         $ignore_result.
161         (parse_args): Handle function results specified as IGNORE.
162         * math/libm-test.inc (IGNORE_RESULT): New macro.
163         (check_float_internal): Do not check numerical result if flag
164         IGNORE_RESULT set.
165         (check_complex): Pass through IGNORE_RESULT to second
166         check_float_internal call.
167         (check_int): Do not check numerical result if flag IGNORE_RESULT
168         set.
169         (check_long): Likewise.
170         (check_bool): Likewise.
171         (check_longlong): Likewise.
172         (lrint_test_data): Add tests of infinite and NaN arguments.
173         (lrint_tonearest_test_data): Likewise.
174         (lrint_towardzero_test_data): Likewise.
175         (lrint_downward_test_data): Likewise.
176         (lrint_upward_test_data): Likewise.
177         (llrint_test_data): Likewise.
178         (llrint_tonearest_test_data): Likewise.
179         (llrint_towardzero_test_data): Likewise.
180         (llrint_downward_test_data): Likewise.
181         (llrint_upward_test_data): Likewise.
182         (lround_test_data): Likewise.
183         (llround_test_data): Likewise.
185         * math/libm-test.inc (NO_TEST_INLINE): New macro.
186         (ERRNO_UNCHANGED): Update value.
187         (ERRNO_EDOM): Likewise.
188         (ERRNO_ERANGE): Likewise.
189         (NO_TEST_INLINE_FLOAT): New macro.
190         (NO_TEST_INLINE_DOUBLE): Likewise.
191         (enable_test): New function.
192         (RUN_TEST_f_f): Check enable_test before running test.
193         (RUN_TEST_2_f): Likewise.
194         (RUN_TEST_fff_f): Likewise.
195         (RUN_TEST_c_f): Likewise.
196         (RUN_TEST_f_f1): Likewise.
197         (RUN_TEST_fF_f1): Likewise.
198         (RUN_TEST_fI_f1): Likewise.
199         (RUN_TEST_ffI_f1): Likewise.
200         (RUN_TEST_c_c): Likewise.
201         (RUN_TEST_cc_c): Likewise.
202         (RUN_TEST_f_i): Likewise.
203         (RUN_TEST_f_i_tg): Likewise.
204         (RUN_TEST_ff_i_tg): Likewise.
205         (RUN_TEST_f_b): Likewise.
206         (RUN_TEST_f_b_tg): Likewise.
207         (RUN_TEST_f_l): Likewise.
208         (RUN_TEST_f_L): Likewise.
209         (RUN_TEST_fFF_11): Likewise.
210         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
211         conditionals.
212         (cosh_test_data): Likewise.
213         (exp_test_data): Likewise.
214         (expm1_test_data): Likewise.
215         (hypot_test_data): Likewise.
216         (pow_test_data): Likewise.
217         (sinh_test_data): Likewise.
218         (tanh_test_data): Likewise.
219         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
220         flags argument.
222         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
223         tests with quiet NaN input and output.
224         (acosh_test_data): Likewise.
225         (asin_test_data): Likewise.
226         (asinh_test_data): Likewise.
227         (atan_test_data): Likewise.
228         (atanh_test_data): Likewise.
229         (atan2_test_data): Likewise.
230         (cbrt_test_data): Likewise.
231         (cos_test_data): Likewise.
232         (cosh_test_data): Likewise.
233         (erf_test_data): Likewise.
234         (erfc_test_data): Likewise.
235         (exp_test_data): Likewise.
236         (exp10_test_data): Likewise.
237         (exp2_test_data): Likewise.
238         (expm1_test_data): Likewise.
239         (hypot_test_data): Likewise.
240         (j0_test_data): Likewise.
241         (j1_test_data): Likewise.
242         (jn_test_data): Likewise.
243         (lgamma_test_data): Likewise.
244         (log_test_data): Likewise.
245         (log10_test_data): Likewise.
246         (log1p_test_data): Likewise.
247         (log2_test_data): Likewise.
248         (pow_test_data): Likewise.
249         (scalb_test_data): Likewise.
250         (sin_test_data): Likewise.
251         (sincos_test_data): Likewise.
252         (sinh_test_data): Likewise.
253         (tan_test_data): Likewise.
254         (tanh_test_data): Likewise.
255         (tgamma_test_data): Likewise.
256         (y0_test_data): Likewise.
257         (y1_test_data): Likewise.
258         (yn_test_data): Likewise.
260         [BZ #16167]
261         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
262         argument being NaN and avoid computations with second argument in
263         that case.
264         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
265         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
266         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
268 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
270         * locale/iso-639.def: Add Chitwani Tharu (the).
272 2013-11-14  Andreas Schwab  <schwab@suse.de>
274         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
275         word instead of empty string.
277 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
280         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
282         (__fe_nomask_env): Likewise.
284 2013-11-13  Steve Ellcey  <sellcey@mips.com>
286         * benchtests/bench-timing.h: Include time.h.
288 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
290         [BZ #15997]
291         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
292         to 3.4.0 for x32.
293         * sysdeps/unix/sysv/linux/configure: Regenerated.
295 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
297         [BZ #16151]
298         * stdlib/strtod_l.c (round_and_return): Do not consider
299         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
300         exponent one less than half the least subnormal exponent.
301         * stdlib/test-strtod-round-data: Add more tests.
302         * stdlib/tst-strtod-round.c (tests): Regenerated.
304 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
306         [BZ #14143]
307         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
308         (__fe_mask_env): Likewise.
309         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
310         libm_hidden_proto and add function prototype.
311         (__fe_mask_env): Add function prototype.
312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
313         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
315         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
317         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
319 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
321         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
322         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
324 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
326         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
327         of htab_find_slot().
329 2013-11-11  David S. Miller  <davem@davemloft.net>
331         [BZ #16150]
332         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
333         symbol in the non-vis3 case in static builds.
334         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
335         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
336         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
337         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
339 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
341         [BZ #387]
342         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
343         it is empty.
345 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
347         * benchtests/Makefile: Add bench-strtod.
348         * benchtests/bench-strtod.c: New file: strtod benchtest
350 2013-11-11  Andreas Schwab  <schwab@suse.de>
352         [BZ #16153]
353         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
354         terminating NUL in key length.
356 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
358         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
359         Add artificial ODP entry for vDSO symbol for PPC64.
360         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
361         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
363 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
365         [BZ #15374]
366         * nss/getent.c (services_keys): Recognize services starting with digit.
368 2013-11-06  David S. Miller  <davem@davemloft.net>
370         [BZ #15985]
371         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
372         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
374 2013-11-06  Will Newton  <will.newton@linaro.org>
376         * manual/memory.texi (Malloc Examples): Remove register
377         keyword from examples.
379 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
381         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
383 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
385         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
386         depending on [__GCC_IEC_559 > 0].
387         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
388         depending on [__GCC_IEC_559_COMPLEX > 0].
390 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
392         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
393         to iso-639.def.
395 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
397         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
399 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
401         [BZ #16112]
402         * malloc/malloc (malloc_info): Do not handle first bin as
403         special case.
405 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
407         * locale/iso-639.def: Add Central Nahuatl (nhn).
409 2013-11-01  Bruno Haible  <bruno@clisp.org>
411         [BZ #7003]
412         * manual/math.texi (BSD Random): Specify range upper bound as
413         in POSIX.
415 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
417         * locale/iso-639.def: Add Meadow Mari (mhr).
419 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
421         [BZ #14752], [BZ #15763]
422         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
423         Validate name.
424         * rt/tst_shm.c: Add test for escaping directory.
426 2013-10-31  Andreas Schwab  <schwab@suse.de>
428         [BZ #15917]
429         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
430         followed by 'x' as part of digit sequence.
431         * stdio-common/tst-sscanf.c (double_tests2): New tests.
433 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
435         [BZ #16037]
436         * configure.ac: allow GNU Make 4.0 and greater.
437         * configure: Regenerated.
439 2013-10-30  Will Newton  <will.newton@linaro.org>
441         [BZ #16038]
442         * malloc/hooks.c (memalign_check): Limit alignment to the
443         maximum representable power of two.
444         * malloc/malloc.c (__libc_memalign): Likewise.
445         * malloc/tst-memalign.c (do_test): Add test for very
446         large alignment values.
447         * malloc/tst-posix_memalign.c (do_test): Likewise.
449 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
451         [BZ #11087]
452         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
453         (munmap_chunk): Likewise.
454         (mremap_chunk): Likewise.
456 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
458         [BZ #15799]
459         * stdlib/div.c (div): Remove obsolete code.
460         * stdlib/ldiv.c (ldiv): Likewise.
461         * stdlib/lldiv.c (lldiv): Likewise.
463 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
465         [BZ #16071]
466         * nss/nss_files/files-XXX.c (get_contents_ret): New
467         enumerator.
468         (get_contents): New function.
469         (internal_getent): Use it.  Expand size of LINEBUFLEN.
471 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
473         * configure.in: Moved to ...
474         * configure.ac: ... here. Change reference to configure.in
475         to configure.ac.
476         * sysdeps/arm/preconfigure.ac: ... here.
477         configure.in to configure.ac.
478         * sysdeps/gnu/configure.in: Moved to ...
479         * sysdeps/gnu/configure.ac: ... here.
480         * sysdeps/i386/configure.in: Moved to ...
481         * sysdeps/i386/configure.ac: ... here.
482         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
483         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
484         * sysdeps/mach/configure.in: Moved to ...
485         * sysdeps/mach/configure.ac: ... here.
486         * sysdeps/mach/hurd/configure.in: Moved to ...
487         * sysdeps/mach/hurd/configure.ac: ... here.
488         * sysdeps/powerpc/configure.in: Moved to ...
489         * sysdeps/powerpc/configure.ac: ... here.
490         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
491         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
492         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
493         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
494         * sysdeps/s390/s390-32/configure.in: Moved to ...
495         * sysdeps/s390/s390-32/configure.ac: ... here.
496         * sysdeps/s390/s390-64/configure.in: Moved to ...
497         * sysdeps/s390/s390-64/configure.ac: ... here.
498         * sysdeps/sh/configure.in: Moved to ...
499         * sysdeps/sh/configure.ac: ... here.
500         * sysdeps/sparc/configure.in: Moved to ...
501         * sysdeps/sparc/configure.ac: ... here.
502         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
503         * sysdeps/unix/sysv/linux/configure.ac: ... here.
504         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
505         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
506         * sysdeps/x86_64/configure.in: Moved to ...
507         * sysdeps/x86_64/configure.ac: ... here.
508         * sysdeps/x86_64/preconfigure.in: Moved to ...
509         * sysdeps/x86_64/preconfigure.ac: ... here.
510         * aclocal.m4: Change reference to configure.in to configure.ac.
511         * config.h.in: Likewise.
512         * manual/install.texi: Likewise.
513         * manual/maint.texi: Likewise.
514         * Makefile: Likewise.
515         * malloc/Makefile: Likewise.
516         * nscd/Makefile: Likewise.
517         * Makeconfig: Change reference to configure.in and
518         preconfigure.in to configure.ac and preconfigure.ac
519         respectively.
520         * INSTALL: Regenerated.
521         * configure: Likewise.
522         * sysdeps/gnu/configure: Likewise.
523         * sysdeps/i386/configure: Likewise.
524         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
525         * sysdeps/mach/configure: Likewise.
526         * sysdeps/mach/hurd/configure: Likewise.
527         * sysdeps/powerpc/configure: Likewise.
528         * sysdeps/powerpc/powerpc32/configure: Likewise.
529         * sysdeps/powerpc/powerpc64/configure: Likewise.
530         * sysdeps/s390/s390-32/configure: Likewise.
531         * sysdeps/s390/s390-64/configure: Likewise.
532         * sysdeps/sh/configure: Likewise.
533         * sysdeps/sparc/configure: Likewise.
534         * sysdeps/unix/sysv/linux/configure: Likewise.
535         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
536         * sysdeps/x86_64/configure: Likewise.
537         * sysdeps/x86_64/preconfigure: Likewise.
539 2013-10-29  Andreas Schwab  <schwab@suse.de>
541         * stdio-common/Makefile (tst-swscanf-ENV): Define.
543 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
545         * benchtests/pow-inputs: Add new inputs.
547         * benchtests/exp-inputs: Add new inputs.
549         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
550         conditional check for return value.
551         (__cos32): Likewise.
553 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
555         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
556         to provide a boost for large inputs with word alignment.
557         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
558         implementation based on optimized PPC64 strcpy.
559         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
560         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
561         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
562         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
564 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
566         [BZ #2801]
567         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
569 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
571         [BZ #14876]
572         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
573         * time/tst-strptime.c (day_tests): Add testcase.
575 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
577         [BZ #14029]
578         * manual/pattern.texi: Acknowledge that fnmatch can fail.
580 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
582         [BZ #16074]
583         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
584         MAP_FAILED on error.
586 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
588         [BZ #16072]
589         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
590         heap for large requests.
592 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
594         [BZ #9954]
595         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
596         result if the result has no associated interface.
597         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
598         interface for all 127.X.Y.Z addresses.
600 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
602         * locale/iso-639.def: Add Ligurian (lij)
604 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
606         [BZ #15825]
607         * sunrpc/rpc_main.c: Document rpcgen -5.
609 2013-10-19  Michael Stahl  <mstahl@redhat.com>
611         * elf/rtld.c (do_preload): Print the reason why preloading failed.
613 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
615         [BZ #10278]
616         * posix/glob.c: Match only directories when trailing slash is present.
617         * posix/tst-gnuglob.c (my_opendir): Do not open files.
618         (main): Add testcase.
620 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
622         [BZ #15670]
623         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
625 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
627         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
628         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
629         AUTH_DES and cindex for FIPS 140-2.
630         (DES Encryption): Add cindex FIPS 46-3.
632         * locale/locarchive.h (struct locarhandle): Add fname.
633         * locale/programs/localedef.c (main): Pass ARGV[remaining]
634         if an optional argument was specified to --list-archive,
635         otherwise NULL.
636         * locale/programs/locarchive.c (show_archive_content): Take new
637         argument fname and pass it via ah.fname to open_archive.
638         * locale/programs/localedef.h: Update decl.
639         (open_archive): If AH->fname is non-null, open that file
640         rather than the default file name, and don't ignore ENOENT.
641         (create_archive): Set AH.fname to NULL.
642         (delete_locales_from_archive): Likewise.
643         (add_locales_to_archive): Likewise.
644         * locale/programs/locfile.c (write_all_categories): Likewise.
646 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
647             Aldy Hernandez  <aldyh@redhat.com>
649         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
650         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
651         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
652         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
653         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
656         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
657         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
659         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
660         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
661         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
662         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
663         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
664         Likewise.
665         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
666         Likewise.
667         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
668         Likewise.
669         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
670         Likewise.
671         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
672         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
673         Likewise.
674         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
675         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
676         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
677         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
678         Likewise.
679         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
680         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
681         * sysdeps/powerpc/preconfigure: Likewise.
682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
683         Likewise.
684         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
685         Replace contents of file by #include of <fenv_libc.h>.
686         * sysdeps/powerpc/soft-fp/sfp-machine.h
687         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
688         and <sys/prctl.h>.
689         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
694         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
702         Allow copysignl PLT reference to be missing.
704 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
705             Joseph Myers  <joseph@codesourcery.com
707         [BZ #15948]
708         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
709         single character.
710         (add_to_tablewc): Assert sequence of wide characters is nonempty.
712 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
714         * elf/tst-tls-dlinfo.c: Don't include tls.h.
715         * elf/tst-tls1.c: Likewise.
716         * elf/tst-tls10.h: Likewise.
717         * elf/tst-tls14.c: Likewise.
718         * elf/tst-tls2.c: Likewise.
719         * elf/tst-tls3.c: Likewise.
720         * elf/tst-tls4.c: Likewise.
721         * elf/tst-tls5.c: Likewise.
722         * elf/tst-tls6.c: Likewise.
723         * elf/tst-tls7.c: Likewise.
724         * elf/tst-tls8.c: Likewise.
725         * elf/tst-tls9.c: Likewise.
726         * elf/tst-tlsmod1.c: Likewise.
727         * elf/tst-tlsmod13.c: Likewise.
728         * elf/tst-tlsmod13a.c: Likewise.
729         * elf/tst-tlsmod14a.c: Likewise.
730         * elf/tst-tlsmod16a.c: Likewise.
731         * elf/tst-tlsmod16b.c: Likewise.
732         * elf/tst-tlsmod2.c: Likewise.
733         * elf/tst-tlsmod3.c: Likewise.
734         * elf/tst-tlsmod4.c: Likewise.
735         * elf/tst-tlsmod5.c: Likewise.
736         * elf/tst-tlsmod6.c: Likewise.
738 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
740         [BZ #12486]
741         * malloc/malloc.c: remove checks for statistics.
743 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
745         [BZ #15277]
746         * inet/inet_net.c (inet_network): Detect additional invalid strings.
747         * inet/tst-network.c: Add testcase.
749 2013-10-17  Andreas Schwab  <schwab@suse.de>
751         [BZ #15218]
752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
753         to determine canonical name.
755 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
757         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
758         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
760         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
762         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
763         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
764         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
765         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
766         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
767         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
768         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
769         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
770         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
774         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
775         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
776         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
780         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
781         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
782         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
783         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
784         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
785         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
786         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
787         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
788         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
789         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
790         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
791         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
792         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
793         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
794         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
795         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
796         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
797         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
798         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
799         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
800         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
801         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
802         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
803         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
804         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
805         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
806         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
807         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
808         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
809         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
810         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
811         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
812         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
813         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
814         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
816 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
818         [BZ #16041]
819         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
820         make result into a quiet NaN.
822 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
824         * soft-fp/adddf3.c: Fix horizontal whitespace.
825         * soft-fp/addsf3.c: Likewise.
826         * soft-fp/addtf3.c: Likewise.
827         * soft-fp/divdf3.c: Likewise.
828         * soft-fp/divsf3.c: Likewise.
829         * soft-fp/divtf3.c: Likewise.
830         * soft-fp/double.h: Likewise.
831         * soft-fp/eqdf2.c: Likewise.
832         * soft-fp/eqsf2.c: Likewise.
833         * soft-fp/eqtf2.c: Likewise.
834         * soft-fp/extenddftf2.c: Likewise.
835         * soft-fp/extended.h: Likewise.
836         * soft-fp/extendsfdf2.c: Likewise.
837         * soft-fp/extendsftf2.c: Likewise.
838         * soft-fp/extendxftf2.c: Likewise.
839         * soft-fp/fixdfdi.c: Likewise.
840         * soft-fp/fixdfsi.c: Likewise.
841         * soft-fp/fixdfti.c: Likewise.
842         * soft-fp/fixsfdi.c: Likewise.
843         * soft-fp/fixsfsi.c: Likewise.
844         * soft-fp/fixsfti.c: Likewise.
845         * soft-fp/fixtfdi.c: Likewise.
846         * soft-fp/fixtfsi.c: Likewise.
847         * soft-fp/fixtfti.c: Likewise.
848         * soft-fp/fixunsdfdi.c: Likewise.
849         * soft-fp/fixunsdfsi.c: Likewise.
850         * soft-fp/fixunsdfti.c: Likewise.
851         * soft-fp/fixunssfdi.c: Likewise.
852         * soft-fp/fixunssfsi.c: Likewise.
853         * soft-fp/fixunssfti.c: Likewise.
854         * soft-fp/fixunstfdi.c: Likewise.
855         * soft-fp/fixunstfsi.c: Likewise.
856         * soft-fp/fixunstfti.c: Likewise.
857         * soft-fp/floatdidf.c: Likewise.
858         * soft-fp/floatdisf.c: Likewise.
859         * soft-fp/floatditf.c: Likewise.
860         * soft-fp/floatsidf.c: Likewise.
861         * soft-fp/floatsisf.c: Likewise.
862         * soft-fp/floatsitf.c: Likewise.
863         * soft-fp/floattidf.c: Likewise.
864         * soft-fp/floattisf.c: Likewise.
865         * soft-fp/floattitf.c: Likewise.
866         * soft-fp/floatundidf.c: Likewise.
867         * soft-fp/floatundisf.c: Likewise.
868         * soft-fp/floatunditf.c: Likewise.
869         * soft-fp/floatunsidf.c: Likewise.
870         * soft-fp/floatunsisf.c: Likewise.
871         * soft-fp/floatunsitf.c: Likewise.
872         * soft-fp/floatuntidf.c: Likewise.
873         * soft-fp/floatuntisf.c: Likewise.
874         * soft-fp/floatuntitf.c: Likewise.
875         * soft-fp/fmadf4.c: Likewise.
876         * soft-fp/fmasf4.c: Likewise.
877         * soft-fp/fmatf4.c: Likewise.
878         * soft-fp/gedf2.c: Likewise.
879         * soft-fp/gesf2.c: Likewise.
880         * soft-fp/getf2.c: Likewise.
881         * soft-fp/ledf2.c: Likewise.
882         * soft-fp/lesf2.c: Likewise.
883         * soft-fp/letf2.c: Likewise.
884         * soft-fp/muldf3.c: Likewise.
885         * soft-fp/mulsf3.c: Likewise.
886         * soft-fp/multf3.c: Likewise.
887         * soft-fp/negdf2.c: Likewise.
888         * soft-fp/negsf2.c: Likewise.
889         * soft-fp/negtf2.c: Likewise.
890         * soft-fp/op-1.h: Likewise.
891         * soft-fp/op-2.h: Likewise.
892         * soft-fp/op-4.h: Likewise.
893         * soft-fp/op-8.h: Likewise.
894         * soft-fp/op-common.h: Likewise.
895         * soft-fp/quad.h: Likewise.
896         * soft-fp/single.h: Likewise.
897         * soft-fp/soft-fp.h: Likewise.
898         * soft-fp/sqrtdf2.c: Likewise.
899         * soft-fp/sqrtsf2.c: Likewise.
900         * soft-fp/sqrttf2.c: Likewise.
901         * soft-fp/subdf3.c: Likewise.
902         * soft-fp/subsf3.c: Likewise.
903         * soft-fp/subtf3.c: Likewise.
904         * soft-fp/truncdfsf2.c: Likewise.
905         * soft-fp/trunctfdf2.c: Likewise.
906         * soft-fp/trunctfsf2.c: Likewise.
907         * soft-fp/trunctfxf2.c: Likewise.
908         * soft-fp/unorddf2.c: Likewise.
909         * soft-fp/unordsf2.c: Likewise.
910         * soft-fp/unordtf2.c: Likewise.
912 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
914         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
915         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
917 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
919         * elf/dl-libc.c: Clear initfini list after freeing.
921 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
923         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
924         * soft-fp/addsf3.c: Likewise.
925         * soft-fp/addtf3.c: Likewise.
926         * soft-fp/divdf3.c: Likewise.
927         * soft-fp/divsf3.c: Likewise.
928         * soft-fp/divtf3.c: Likewise.
929         * soft-fp/double.h: Likewise.
930         * soft-fp/eqdf2.c: Likewise.
931         * soft-fp/eqsf2.c: Likewise.
932         * soft-fp/eqtf2.c: Likewise.
933         * soft-fp/extenddftf2.c: Likewise.
934         * soft-fp/extended.h: Likewise.
935         * soft-fp/extendsfdf2.c: Likewise.
936         * soft-fp/extendsftf2.c: Likewise.
937         * soft-fp/extendxftf2.c: Likewise.
938         * soft-fp/fixdfdi.c: Likewise.
939         * soft-fp/fixdfsi.c: Likewise.
940         * soft-fp/fixdfti.c: Likewise.
941         * soft-fp/fixsfdi.c: Likewise.
942         * soft-fp/fixsfsi.c: Likewise.
943         * soft-fp/fixsfti.c: Likewise.
944         * soft-fp/fixtfdi.c: Likewise.
945         * soft-fp/fixtfsi.c: Likewise.
946         * soft-fp/fixtfti.c: Likewise.
947         * soft-fp/fixunsdfdi.c: Likewise.
948         * soft-fp/fixunsdfsi.c: Likewise.
949         * soft-fp/fixunsdfti.c: Likewise.
950         * soft-fp/fixunssfdi.c: Likewise.
951         * soft-fp/fixunssfsi.c: Likewise.
952         * soft-fp/fixunssfti.c: Likewise.
953         * soft-fp/fixunstfdi.c: Likewise.
954         * soft-fp/fixunstfsi.c: Likewise.
955         * soft-fp/fixunstfti.c: Likewise.
956         * soft-fp/floatdidf.c: Likewise.
957         * soft-fp/floatdisf.c: Likewise.
958         * soft-fp/floatditf.c: Likewise.
959         * soft-fp/floatsidf.c: Likewise.
960         * soft-fp/floatsisf.c: Likewise.
961         * soft-fp/floatsitf.c: Likewise.
962         * soft-fp/floattidf.c: Likewise.
963         * soft-fp/floattisf.c: Likewise.
964         * soft-fp/floattitf.c: Likewise.
965         * soft-fp/floatundidf.c: Likewise.
966         * soft-fp/floatundisf.c: Likewise.
967         * soft-fp/floatunsidf.c: Likewise.
968         * soft-fp/floatunsisf.c: Likewise.
969         * soft-fp/floatuntidf.c: Likewise.
970         * soft-fp/floatuntisf.c: Likewise.
971         * soft-fp/floatuntitf.c: Likewise.
972         * soft-fp/fmadf4.c: Likewise.
973         * soft-fp/fmasf4.c: Likewise.
974         * soft-fp/fmatf4.c: Likewise.
975         * soft-fp/gedf2.c: Likewise.
976         * soft-fp/gesf2.c: Likewise.
977         * soft-fp/getf2.c: Likewise.
978         * soft-fp/ledf2.c: Likewise.
979         * soft-fp/lesf2.c: Likewise.
980         * soft-fp/letf2.c: Likewise.
981         * soft-fp/muldf3.c: Likewise.
982         * soft-fp/mulsf3.c: Likewise.
983         * soft-fp/multf3.c: Likewise.
984         * soft-fp/negdf2.c: Likewise.
985         * soft-fp/negsf2.c: Likewise.
986         * soft-fp/negtf2.c: Likewise.
987         * soft-fp/op-1.h: Likewise.
988         * soft-fp/op-2.h: Likewise.
989         * soft-fp/op-4.h: Likewise.
990         * soft-fp/op-8.h: Likewise.
991         * soft-fp/op-common.h: Likewise.
992         * soft-fp/quad.h: Likewise.
993         * soft-fp/single.h: Likewise.
994         * soft-fp/soft-fp.h: Likewise.
995         * soft-fp/sqrtdf2.c: Likewise.
996         * soft-fp/sqrtsf2.c: Likewise.
997         * soft-fp/sqrttf2.c: Likewise.
998         * soft-fp/subdf3.c: Likewise.
999         * soft-fp/subsf3.c: Likewise.
1000         * soft-fp/subtf3.c: Likewise.
1001         * soft-fp/truncdfsf2.c: Likewise.
1002         * soft-fp/trunctfdf2.c: Likewise.
1003         * soft-fp/trunctfsf2.c: Likewise.
1004         * soft-fp/trunctfxf2.c: Likewise.
1005         * soft-fp/unorddf2.c: Likewise.
1006         * soft-fp/unordsf2.c: Likewise.
1007         * soft-fp/unordtf2.c: Likewise.
1009 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1011         [BZ #15672]
1012         * misc/error.c (error_tail): Fix possible buffer overflow.
1014 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1016         [BZ #13028]
1017         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1018         address.
1020 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1022         [BZ #832]
1023         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1024         testing pipefail option.
1026 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1028         * soft-fp/double.h: Indent preprocessor directives inside #if.
1029         * soft-fp/extended.h: Likewise.
1030         * soft-fp/op-2.h: Likewise.
1031         * soft-fp/op-4.h: Likewise.
1032         * soft-fp/op-common.h: Likewise.
1033         * soft-fp/quad.h: Likewise.
1034         * soft-fp/single.h: Likewise.
1035         * soft-fp/soft-fp.h: Likewise.
1037 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1039         * iconv/iconv_prog.c: Fix typos.
1040         * stdio-common/psiginfo-data.h: Likewise.
1042 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1044         [BZ #15764]
1045         * locale/setlocale.c: Fix typo.
1047 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1049         [BZ #16036]
1050         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1051         signaling NaN arguments.
1052         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1053         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1055         [BZ #14910]
1056         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1057         unordered operands.
1058         * soft-fp/gesf2.c (__gesf2): Likewise.
1059         * soft-fp/getf2.c (__getf2): Likewise.
1060         * soft-fp/ledf2.c (__ledf2): Likewise.
1061         * soft-fp/lesf2.c (__lesf2): Likewise.
1062         * soft-fp/letf2.c (__letf2): Likewise.
1064         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1065         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1066         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1067         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1068         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1069         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1070         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1071         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1072         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1073         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1074         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1075         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1076         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1077         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1078         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1079         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1080         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1081         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1082         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1083         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1084         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1085         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1086         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1087         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1088         * soft-fp/floattidf.c (__floattidf): Likewise.
1089         * soft-fp/floattisf.c (__floattisf): Likewise.
1090         * soft-fp/floattitf.c (__floattitf): Likewise.
1091         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1092         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1093         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1094         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1095         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1096         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1097         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1098         * soft-fp/gesf2.c (__gesf2): Likewise.
1099         * soft-fp/getf2.c (__getf2): Likewise.
1100         * soft-fp/ledf2.c (__ledf2): Likewise.
1101         * soft-fp/lesf2.c (__lesf2): Likewise.
1102         * soft-fp/letf2.c (__letf2): Likewise.
1104         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1105         Undefine and redefine.
1106         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1107         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1108         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1109         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1110         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1111         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1112         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1113         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1114         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1115         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1116         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1117         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1118         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1119         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1120         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1122         [BZ #16032]
1123         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1124         without decrementing exponent if mantissa >= that for the
1125         denominator, not >.
1126         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1127         denominator, not >.  Decrement exponent in < case instead of
1128         incrementing in >= case.
1129         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1130         without decrementing exponent if mantissa >= that for the
1131         denominator, not >.
1133         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1134         computing saturated result for unsigned overflow.
1136 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1137             Jeff Law  <law@redhat.com>
1139         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1140         (atan2Mp): Add systemtap probe marker.
1141         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1142         (__ieee754_log): Add systemtap probe marker.
1143         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1144         (atanMp): Add systemtap probe marker.
1145         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1146         (tanMp): Add systemtap probe marker.
1147         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1148         (__slowexp): Add systemtap probe marker.
1149         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1150         (__slowpow): Add systemtap probe marker.
1151         * manual/probes.texi: Document probes.
1153 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1155         [BZ #15362]
1156         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1157         written.
1158         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1159         written.
1160         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1161         written to buffer but not flushed.
1162         * libio/iofwrite_u.c:  Likewise.
1163         * libio/iopadn.c:  Return bytes returned even if EOF was
1164         encountered.
1165         * libio/iowpadn.c:  Likewise.
1166         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1167         if _IO_padn does not write the whole buffer.
1168         [!COMPILE_WPRINTF] (PAD): Likewise.
1170 2013-10-10  David S. Miller  <davem@davemloft.net>
1172         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1173         directory block.
1175 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1177         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1178         instead of FSF address.
1179         * soft-fp/fixdfti.c: Likewise.
1180         * soft-fp/fixsfti.c: Likewise.
1181         * soft-fp/fixtfti.c: Likewise.
1182         * soft-fp/fixunsdfti.c: Likewise.
1183         * soft-fp/fixunssfti.c: Likewise.
1184         * soft-fp/fixunstfti.c: Likewise.
1185         * soft-fp/floattidf.c: Likewise.
1186         * soft-fp/floattisf.c: Likewise.
1187         * soft-fp/floattitf.c: Likewise.
1188         * soft-fp/floatuntidf.c: Likewise.
1189         * soft-fp/floatuntisf.c: Likewise.
1190         * soft-fp/floatuntitf.c: Likewise.
1191         * soft-fp/trunctfxf2.c: Likewise.
1193         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1194         * soft-fp/fixdfti.c: Likewise.
1195         * soft-fp/fixsfti.c: Likewise.
1196         * soft-fp/fixtfti.c: Likewise.
1197         * soft-fp/fixunsdfti.c: Likewise.
1198         * soft-fp/fixunssfti.c: Likewise.
1199         * soft-fp/fixunstfti.c: Likewise.
1200         * soft-fp/floattidf.c: Likewise.
1201         * soft-fp/floattisf.c: Likewise.
1202         * soft-fp/floattitf.c: Likewise.
1203         * soft-fp/floatuntidf.c: Likewise.
1204         * soft-fp/floatuntisf.c: Likewise.
1205         * soft-fp/floatuntitf.c: Likewise.
1206         * soft-fp/trunctfxf2.c: Likewise.
1208 2013-10-10  David S. Miller  <davem@davemloft.net>
1210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1212 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1214         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1215         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1216         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1217         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1218         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1219         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1220         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1222         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1223         for NaNs before doing comparisons on argument.
1224         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1225         Likewise.
1227 2013-10-10  Will Newton  <will.newton@linaro.org>
1229         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1230         passed to _int_memalign does not overflow.
1232 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1234         * scripts/bench.pl: Add include-sources directive.
1235         * benchtests/README: Update documentation.
1237 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1239         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1240         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1241         instead of FP_INIT_ROUNDMODE.
1242         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1243         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1245         [BZ #16034]
1246         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1247         copy class of input value.
1248         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1249         not handle exceptions.
1250         * soft-fp/negsf2.c (__negsf2): Likewise.
1251         * soft-fp/negtf2.c (__negtf2): Likewise.
1252         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1254 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1256         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1257         semicolon.  From Linux kernel.
1259 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1261         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1263 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1265         [BZ #156]
1266         * manual/socket.texi: Added statement about buffer
1267         for gethostbyname2_r.
1269 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1271         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1272         Use .p2align directive instead, throughout.
1273         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1274         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1275         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1278         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1279         * sysdeps/x86_64/strchr.S: Likewise.
1280         * sysdeps/x86_64/strrchr.S: Likewise.
1282 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1284         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1286         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1288         * sysdeps/generic/math_private.h (__mpsin1): Remove
1289         declaration.
1290         (__mpcos1): Likewise.
1291         (__mpsin): New argument __range_reduce.
1292         (__mpcos): Likewise.
1293         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1294         (slow): Use __mpsin and __mpcos.
1295         (slow1): Likewise.
1296         (slow2): Likewise.
1297         (sloww): Likewise.
1298         (sloww1): Likewise.
1299         (sloww2): Likewise.
1300         (bsloww): Likewise.
1301         (bsloww1): Likewise.
1302         (bsloww2): Likewise.
1303         (cslow2): Likewise.
1304         (csloww): Likewise.
1305         (csloww1): Likewise.
1306         (csloww2): Likewise.
1307         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1308         range_reduce.  Merge in __mpsin1.
1309         (__mpcos): Likewise.
1310         (__mpsin1): Remove.
1311         (__mpcos1): Likewise.
1313 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1315         * locale/loadlocale.c (_nl_intern_locale_data): Use
1316         LOCFILE_ALIGNED_P.
1317         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1318         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1319         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1320         obstack data is appropriately aligned.
1321         (obstack_int32_grow_fast): Likewise.
1322         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1323         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1324         (add_locale_uint32_array): Likewise.
1326 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1328         * benchtests/Makefile: Remove ARGLIST and RET variables.
1329         ($(objpfx)bench-%.c): Pass only function name to the script.
1330         * benchtests/README: Update documentation.
1331         * benchtests/acos-inputs: Add new directives.
1332         * benchtests/acosh-inputs: Likewise.
1333         * benchtests/asin-inputs: Likewise.
1334         * benchtests/asinh-inputs: Likewise.
1335         * benchtests/atan-inputs: Likewise.
1336         * benchtests/atanh-inputs: Likewise.
1337         * benchtests/cos-inputs: Likewise.
1338         * benchtests/cosh-inputs: Likewise.
1339         * benchtests/exp-inputs: Likewise.
1340         * benchtests/log-inputs: Likewise.
1341         * benchtests/pow-inputs: Likewise.
1342         * benchtests/rint-inputs: Likewise.
1343         * benchtests/sin-inputs: Likewise.
1344         * benchtests/sinh-inputs: Likewise.
1345         * benchtests/tan-inputs: Likewise.
1346         * benchtests/tanh-inputs: Likewise.
1347         * scripts/bench.pl: Add support for new directives.
1349 2013-10-07  Alan Modra  <amodra@gmail.com>
1351         * README: Fix careless merge.
1353 2013-10-05  Alan Modra  <amodra@gmail.com>
1355         * NEWS: Mention powerpc64le support and bugs fixed.
1356         * README: Both big-endian and little-endian powerpc64 supported.
1358 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1360         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1361         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1362         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1363         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1365 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1367         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1368         match prototype.
1370 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1372         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1373         Move -mhard-float appending from
1374         ports/sysdeps/powerpc/powerpc32/Makefile.
1375         [$(with-fp) = yes] (ASFLAGS): Likewise.
1376         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1377         * sysdeps/powerpc/nofpu: Move directory from
1378         ports/sysdeps/powerpc/nofpu.
1379         * sysdeps/powerpc/soft-fp: Move directory from
1380         ports/sysdeps/powerpc/soft-fp.
1381         * sysdeps/powerpc/powerpc32/405: Move directory from
1382         ports/sysdeps/powerpc/powerpc32/405.
1383         * sysdeps/powerpc/powerpc32/440: Move directory from
1384         ports/sysdeps/powerpc/powerpc32/440.
1385         * sysdeps/powerpc/powerpc32/464: Move directory from
1386         ports/sysdeps/powerpc/powerpc32/464.
1387         * sysdeps/powerpc/powerpc32/476: Move directory from
1388         ports/sysdeps/powerpc/powerpc32/476.
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1390         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1392         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1394         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1396         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1398         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1399         * README: Update for powerpc-*-linux-gnu software floating point
1400         support in libc.
1402         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1403         case to powerpc/powerpc32*.
1404         * sysdeps/unix/sysv/linux/configure: Regenerated.
1406         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1407         (_FPU_MASK_OM): Define as 0x04.
1408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1410         0x00c10080.
1411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1412         0x0000003c.
1413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1416         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1417         getcontext_e500.
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1419         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1420         setcontext_e500.
1421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1422         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1423         and setcontext_e500.
1425 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1427         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1429 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1431         * manual/threads.texi (Default Thread Attributes): Fix typo.
1433 2013-10-04  Will Newton  <will.newton@linaro.org>
1435         * malloc/Makefile: Add tst-memalign.
1436         * malloc/tst-memalign.c: New file.
1438         * malloc/tst-posix_memalign.c: Add comments.
1439         (do_test): Add comments and call free on all potentially
1440         allocated pointers. Add space after cast.
1442         * malloc/tst-pvalloc.c: Add comments.
1443         (do_test): Add comments and call free on all potentially
1444         allocated pointers. Remove duplicate check for NULL pointer.
1445         Add space after cast.
1447         * malloc/tst-valloc.c: Add comments.
1448         (do_test): Add comments and call free on all potentially
1449         allocated pointers. Remove duplicate check for NULL pointer.
1450         Add space after cast.
1452 2013-10-04  Alan Modra  <amodra@gmail.com>
1454         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1455         Use stdint types in rather than __attribute__((mode())).
1456         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1458 2013-10-04  Alan Modra  <amodra@gmail.com>
1460         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1461         Correct handling of unaligned relocs for little-endian.
1462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1464 2013-10-04  Alan Modra  <amodra@gmail.com>
1466         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1467         * configure: Regenerate.
1468         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1469         * shlib-versions: Likewise.
1471 2013-10-04  Alan Modra  <amodra@gmail.com>
1473         * string/tester.c (test_memrchr): Increment reported test cycle.
1475 2013-10-04  Alan Modra  <amodra@gmail.com>
1477         * string/test-memcpy.c (do_one_test): When reporting errors, print
1478         string address and don't overrun end of string.
1480 2013-10-04  Alan Modra  <amodra@gmail.com>
1482         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1483         insrdi.  Make better use of reg selection to speed exit slightly.
1484         Schedule entry path a little better.  Remove useless "are we done"
1485         checks on entry to main loop.  Handle wrapping around zero address.
1486         Correct main loop count.  Handle single left-over word from main
1487         loop inline rather than by using loop_small.  Remove extra word
1488         case in loop_small caused by wrong loop count.  Add little-endian
1489         support.
1490         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1491         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1492         cache hint.
1493         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1494         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1495         support.  Avoid rlwimi.
1496         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1498 2013-10-04  Alan Modra  <amodra@gmail.com>
1500         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1501         insrdi.  Formatting.
1502         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1503         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1504         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1505         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1506         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1507         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1509 2013-10-04  Alan Modra  <amodra@gmail.com>
1511         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1513         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1514         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1515         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1516         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1517         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1518         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1519         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1520         use of regs.  Use power7 mtocrf.  Tidy function tails.
1522 2013-10-04  Alan Modra  <amodra@gmail.com>
1524         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1525         Formatting.  Consistently use rXXX register defines or rN defines.
1526         Use early exit labels that avoid restoring unused non-volatile regs.
1527         Make cr field use more consistent with rWORDn compares.  Rename
1528         regs used as shift registers for unaligned loop, using rN defines
1529         for short lifetime/multiple use regs.
1530         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1531         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1532         addi 1,1,64 to pop stack frame.  Simplify return value code.
1533         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1535 2013-10-04  Alan Modra  <amodra@gmail.com>
1537         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1538         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1539         rather than rlwimi.
1540         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1541         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1542         little-endian support.  Correct typos.
1543         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1544         rather than rlwimi.
1545         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1546         in loop and entry code to keep "and." results.
1547         (strchr): Add little-endian support.  Comment.  Move cntlzd
1548         earlier in tail.
1549         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1551 2013-10-04  Alan Modra  <amodra@gmail.com>
1553         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1554         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1555         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1556         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1558 2013-10-04  Alan Modra  <amodra@gmail.com>
1560         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1561         (rTMP): Define as r11.
1562         (strcmp): Add little-endian support.  Optimise tail.
1563         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1564         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1565         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1566         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1567         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1569         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1571 2013-10-04  Alan Modra  <amodra@gmail.com>
1573         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1574         little-endian support.  Remove unnecessary "are we done" tests.
1575         Handle "s" wrapping around zero and extremely large "size".
1576         Correct main loop count.  Handle single left-over word from main
1577         loop inline rather than by using small_loop.  Correct comments.
1578         Delete "zero" tail, use "end_max" instead.
1579         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1581 2013-10-04  Alan Modra  <amodra@gmail.com>
1583         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1584         support.  Don't branch over align.
1585         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1586         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1587         support.  Rearrange tmp reg use to suit.  Comment.
1588         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1590 2013-10-04  Alan Modra  <amodra@gmail.com>
1592         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1594 2013-10-04  Alan Modra  <amodra@gmail.com>
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1597         conditional form of branch and link when obtaining pc.
1598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1600 2013-10-04  Alan Modra  <amodra@gmail.com>
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1603         HIWORD/LOWORD.
1604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1607 2013-10-04  Alan Modra  <amodra@gmail.com>
1609         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1610         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1611         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1612         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1613         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1614         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1615         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1617         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1618         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1620 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1621             Alistair Popple <alistair@ozlabs.au.ibm.com>
1622             Alan Modra <amodra@gmail.com>
1624         [BZ #15723]
1625         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1626         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1627         _dl_hwcap access for little-endian.
1628         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1629         destroy vmx regs when saving unaligned.
1630         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1631         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1632         destroy vmx regs when saving unaligned.
1634 2013-10-04  Alan Modra  <amodra@gmail.com>
1636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1637         Don't use a union to pack hi/low value.
1639 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1641         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1642         for little-endian.
1643         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1645         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1646         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1647         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1649 2013-10-04  Alan Modra  <amodra@gmail.com>
1651         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1652         constants to usual value for .cst8 section, and remove redundant
1653         high address load.
1654         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1655         constant for 0x1p52.  Load little-endian words of double from
1656         correct stack offsets.
1658 2013-10-04  Alan Modra  <amodra@gmail.com>
1660         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1661         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1662         words of double from correct stack offsets.
1663         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1664         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1665         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1667         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1668         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1669         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1670         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1671         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1672         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1674         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1675         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1676         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1677         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1678         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1679         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1681 2013-10-04  Alan Modra  <amodra@gmail.com>
1683         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1684         64-bit int/double union.
1685         (_FPU_SETCW): Likewise.
1686         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1687         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1689 2013-10-04  Alan Modra  <amodra@gmail.com>
1691         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1692         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1694 2013-10-04  Alan Modra  <amodra@gmail.com>
1696         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1697         use vector int constants.
1698         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1700 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1702         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1703         array with long long.
1704         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1705         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1706         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1707         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1708         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1709         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1710         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1711         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1712         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1713         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1714         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1715         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1716         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1718 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1720         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1721         (__signbit): Likewise.  Correct for little-endian.
1722         (__signbitl): Call __signbit.
1723         (lrint): Correct for little-endian.
1724         (lrintf): Call lrint.
1726 2013-10-04  Alan Modra  <amodra@gmail.com>
1728         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1729         union 32-bit int array member with 64-bit int array.
1730         (t515, tm256): Double rather than long double.
1731         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1733 2013-10-04  Alan Modra  <amodra@gmail.com>
1735         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1736         Delete.
1737         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1739         version of math_ldbl.h.
1741 2013-10-04  Alan Modra  <amodra@gmail.com>
1743         [BZ #15734], [BZ #15735]
1744         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1745         all uses of ieee875 long double macros and unions.  Simplify test
1746         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1747         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1748         normalize after ldbl_extract_mantissa, and don't add hidden bit
1749         already handled.  Don't treat low word of ieee854 mantissa like
1750         low word of IBM long double and mask off bit when testing for
1751         zero.
1752         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1753         all uses of ieee875 long double macros and unions.  Simplify tests
1754         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1755         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1756         two1022, instead use their values.  Recognise that tests for large
1757         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1758         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1759         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1760         test for 0.0L and nan.  Correct negation.
1761         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1762         ieee875 long double macros and unions.  Correct output for large
1763         magnitude x.  Correct absolute value calculation.
1764         (__erfcl): Likewise.
1765         * math/libm-test.inc: Add tests for errors discovered in IBM long
1766         double versions of fmodl, remainderl, erfl and erfcl.
1768 2013-10-04  Alan Modra  <amodra@gmail.com>
1770         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1771         all uses of ieee854 long double macros and unions.  Simplify tests
1772         for long doubles that are fully specified by the high double.
1773         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1774         Likewise.
1775         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1776         Remove dead code too.
1777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1778         (__ieee754_ynl): Likewise.
1779         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1780         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1781         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1782         Remove dead code too.
1783         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1784         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1786         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1787         Simplify.
1788         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1789         Simplify.
1790         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1791         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1793         Comment on variable precision.
1794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1795         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1796         Likewise.
1797         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1798         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1799         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1800         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1801         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1803 2013-10-04  Alan Modra  <amodra@gmail.com>
1805         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1806         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1807         all uses of ieee854 long double macros and unions.
1808         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1810         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1811         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1812         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1813         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1814         Likewise.
1815         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1816         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1817         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1818         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1819         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1820         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1821         Simplify sign and nan test too.
1822         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1823         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1824         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1825         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1826         Likewise.
1827         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1828         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1829         Likewise.
1830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1831         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1832         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1833         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1834         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1835         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1837 2013-10-04  Alan Modra  <amodra@gmail.com>
1839         * stdio-common/printf_size.c (__printf_size): Don't use
1840         union ieee854_long_double in fpnum union.
1841         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1842         signbit macro to retrieve sign from long double.
1843         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1844         retrieve sign from long double.
1845         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1846         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1847         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1848         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1849         * math/test-misc.c (main): Don't use union ieee854_long_double.
1851 2013-10-04  Alan Modra  <amodra@gmail.com>
1853         [BZ #15680]
1854         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1855         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1856         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1857         calculation.  Remove unnecessary test for denormal exponent.
1858         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1859         Correct handling of denormals.  Avoid undefined shift behaviour.
1860         Correct normalisation of low mantissa when low double is denormal.
1861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1862         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1863         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1864         Correct normalisation of low mantissa.  Test for overflow of high
1865         mantissa and normalise.
1866         (ldbl_nearbyint): Use more readable constant for two52.
1867         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1868         (__mpn_construct_long_double): Fix test for overflow of high
1869         mantissa and correct normalisation.  Avoid undefined shift.
1871 2013-10-04  Alan Modra  <amodra@gmail.com>
1873         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1874         (union ibm_extended_long_double): Define as an array of ieee754_double.
1875         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1876         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1877         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1878         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1881         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1882         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1884         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1885         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1887 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1889         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1890         page size instead of calling getpagesize.
1892         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1893         (LOCFILE_ALIGN_MASK): Likewise.
1894         (LOCFILE_ALIGN_UP): Likewise.
1895         (LOCFILE_ALIGNED_P): Likewise.
1896         * locale/programs/ld-collate.c (collate_output): Use the new
1897         macros instead of __alignof__ (int32_t).
1898         * locale/weight.h (findidx): Likewise.
1900 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1902         [BZ #431]
1903         * manual/string.texi: Fix strncat and wcsncat.
1905 2013-10-03  Brooks Moses  <bmoses@google.com>
1907         [BZ #15915]
1908         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1909         * Makerules: ...here, and adjust associated comments.
1911 2013-10-02  Will Newton  <will.newton@linaro.org>
1913         * malloc/Makefile: Add tst-pvalloc.
1914         * malloc/tst-pvalloc.c: New file.
1916 2013-10-02  Will Newton  <will.newton@linaro.org>
1918         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1919         improve test coverage.
1921 2013-10-02  Will Newton  <will.newton@linaro.org>
1923         * malloc/Makefile: Add tst-posix_memalign.
1924         * malloc/tst-posix_memalign.c: New file.
1926 2013-10-01  Eric Blake  <eblake@redhat.com>
1928         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1929         Use __THROWNL rather than __THROW on static functions.
1931 2013-09-30  Petr Machata  <pmachata@redhat.com>
1933         * elf/elf.h (R_AARCH64_ABS16): New macro.
1934         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1935         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1936         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1937         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1938         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1939         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1940         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1941         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1942         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1943         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1944         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1945         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1946         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1947         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1948         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1949         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1950         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1951         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1952         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1953         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1954         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1955         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1956         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1957         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1958         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1959         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1960         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1961         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1962         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1963         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1964         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1965         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1966         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1967         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1968         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1969         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1970         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1971         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1972         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1973         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1974         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1975         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1976         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1977         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1978         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1979         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1980         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1981         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1982         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1983         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1984         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1985         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1986         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1987         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1988         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1989         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1990         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1991         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1992         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1993         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1994         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1995         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1996         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1997         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1998         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1999         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2000         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2001         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2002         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2003         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2004         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2005         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2006         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2007         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2008         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2009         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2010         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2011         (R_AARCH64_TLSDESC_LDR): Likewise.
2012         (R_AARCH64_TLSDESC_ADD): Likewise.
2013         (R_AARCH64_TLSDESC_CALL): Likewise.
2015 2013-09-30  Andreas Schwab  <schwab@suse.de>
2017         [BZ #15048]
2018         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2019         the nss database lookup.
2020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2023 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2025         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2027 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2029         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2030         ${Bash-specific parameter/pattern/string} parameter expansion.
2031         * sysdeps/unix/make-syscalls.sh: Likewise.
2033 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2035         * sysdeps/sh/stackguard-macros.h: New file.
2037 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2041         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2042         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2043         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2044         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2046 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2048         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2049         Fix thread ID register.
2051 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2053         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2054         [POSIX || UNIX98]: Require rather than permitting all symbols from
2055         <time.h>.
2056         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2057         element of struct sched_param.
2058         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2059         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2060         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2061         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2062         constant.
2064 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2066         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2067         argument calculation.
2069 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2071         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2072         Expect macro.
2073         [POSIX] (pthread_attr_t): Do not require type.
2074         [POSIX] (pthread_cond_t): Likewise.
2075         [POSIX] (pthread_condattr_t): Likewise.
2076         [POSIX] (pthread_key_t): Likewise.
2077         [POSIX] (pthread_mutex_t): Likewise.
2078         [POSIX] (pthread_mutexattr_t): Likewise.
2079         [POSIX] (pthread_once_t): Likewise.
2080         [POSIX] (pthread_t): Likewise.
2081         [POSIX-based standards] (pthread_atfork): Expect function.
2083 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2084             Richard Sandiford  <richard@codesourcery.com>
2086         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2087         (swap_endianness_p): New extern variable.
2088         (set_big_endian): New inline function.
2089         (maybe_swap_uint32): Likewise.
2090         (maybe_swap_uint32_array): Likewise.
2091         (maybe_swap_uint32_obstack): Likewise.
2092         * locale/programs/locfile.c: Include <stdbool.h>.
2093         (swap_endianness_p): New variable.
2094         (add_locale_uint32): Call maybe_swap_uint32.
2095         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2096         (write_locale_data): Call maybe_swap_uint32_array.
2097         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2098         maybe_swap_uint32.
2099         (obstack_int32_grow_fast): Likewise.
2100         (output_weightwc): Call maybe_swap_uint32_obstack.
2101         (collate_output): Likewise.
2102         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2103         (OPT_LITTLE_ENDIAN): Likewise.
2104         (options): Add --little-endian and --big-endian options.
2105         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2106         * locale/programs/locarchive.c: Include "locfile.h".
2107         (GET): New macro.
2108         (SET): Likewise.
2109         (INC): Likewise.
2110         (create_archive): Use the new macros to access fields of
2111         structures directly mapped from or written to locale archives.
2112         (oldlocrecentcmp): Likewise.
2113         (enlarge_archive): Likewise.
2114         (insert_name): Likewise.
2115         (add_alias): Likewise.
2116         (add_locale): Likewise.
2117         (delete_locales_from_archive): Likewise.
2118         (show_archive_content): Likewise.
2119         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2120         locale data.
2122 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2124         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2125         http://www.gnu.org/doc/freemanuals.texi.
2126         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2128 2013-09-24  Will Newton  <will.newton@linaro.org>
2130         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2131         macro.
2133 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2135         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2136         unsigned char.
2138 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2140         * manual/threads.texi (POSIX Threads): Fix a typo.
2142 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2144         [BZ #14547]
2145         * string/tst-strcoll-overflow.c: New test case.
2146         * string/Makefile (xtests): Add tst-strcoll-overflow.
2147         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2148         cache if string sizes may cause integer overflow.
2150         [BZ #14547]
2151         * string/strcoll_l.c (coll_seq): New members rule, idx,
2152         save_idx and back_us.
2153         (get_next_seq_nocache): New function.
2154         (do_compare_nocache): New function.
2155         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2156         when malloc fails.
2158 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2160         [BZ #15754]
2161         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2162         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2163         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2165         [BZ #15754]
2166         * elf/Makefile (tests): Add tst-ptrguard1.
2167         (tests-static): Add tst-ptrguard1-static.
2168         (tst-ptrguard1-ARGS): Define.
2169         (tst-ptrguard1-static-ARGS): Define.
2170         * elf/tst-ptrguard1.c: New file.
2171         * elf/tst-ptrguard1-static.c: New file.
2172         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2173         * sysdeps/i386/stackguard-macros.h: Likewise.
2174         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2175         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2176         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2177         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2178         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2179         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2181 2013-09-23  Hector Marco  <hecmargi@upv.es>
2182             Ismael Ripoll  <iripoll@disca.upv.es>
2183             Carlos O'Donell  <carlos@redhat.com>
2185         [BZ #15754]
2186         * sysdeps/generic/stackguard-macros.h: Define
2187         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2188         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2189         Define __pointer_chk_guard_local.
2190         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2191         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2193 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2195         [BZ #15859]
2196         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2198 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2200         * include/string.h (__ffs): Declare as hidden.
2201         * string/ffs.c (__ffs): Define as hidden.
2202         * sysdeps/i386/ffs.c (__ffs): Likewise.
2203         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2204         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2205         * sysdeps/s390/ffs.c (__ffs): Likewise.
2206         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2208 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2210         * NEWS: Mention malloc probes.
2212         * malloc/arena.c (new_heap): New memory_heap_new probe.
2213         (grow_heap): New memory_heap_more probe.
2214         (shrink_heap): New memory_heap_less probe.
2215         (heap_trim): New memory_heap_free probe.
2216         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2217         (systrim): New memory_sbrk_less probe.
2218         * manual/probes.texi: Document them.
2220         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2221         * manual/probes.texi: Document it.
2223         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2224         (__libc_realloc): Add memory_realloc_retry probe.
2225         (__libc_memalign): Add memory_memalign_retry probe.
2226         (__libc_valloc): Add memory_valloc_retry probe.
2227         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2228         (__libc_calloc): Add memory_calloc_retry probe.
2229         * manual/probes.texi: Document them.
2231         * malloc/arena.c (get_free_list): Add probe
2232         memory_arena_reuse_free_list.
2233         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2234         and memory_arena_reuse.
2235         (arena_get2) [!PER_THREAD]: Likewise.
2236         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2237         memory_arena_reuse_realloc.
2238         * manual/probes.texi: Document them.
2240         * malloc/malloc.c (__libc_free): Add
2241         memory_mallopt_free_dyn_thresholds probe.
2242         (__libc_mallopt): Add multiple memory_mallopt probes.
2243         * manual/probes.texi: Document them.
2245         * malloc/malloc.c: Include stap-probe.h.
2246         (__libc_mallopt): Add memory_mallopt probe.
2247         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2248         * manual/probes.texi: New.
2249         * manual/Makefile (chapters): Add probes.
2250         * manual/threads.texi: Set next node.
2252 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2254         [BZ #15963, #13985]
2255         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2256         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2257         Add `Chinese' to `nan' entry name.
2259 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2261         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2262         (POLYNOMIAL): Likewise.
2263         (TAYLOR_SINCOS): Likewise.
2264         (TAYLOR_SLOW): Likewise.
2265         (__sin): Use TAYLOR_SINCOS.
2266         (__cos): Likewise.
2267         (slow): Use TAYLOR_SLOW.
2268         (sloww): Likewise.
2269         (bsloww): Likewise.
2270         (csloww): Likewise.
2272 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2274         * stdlib/strtod_l.c: Fix buffer overrun.
2276 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2278         * benchtests/Makefile (bench): Add sincos.
2279         * benchtests/bench-sincos.c: New file.
2281         * math/libm-test.inc (cos_test_data): New test inputs.
2282         (sin_test_data): Likewise.
2284         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2285         macro.
2286         (__sin): Use it.
2287         (__cos): Likewise.
2288         (slow1): Likewise.
2289         (slow2): Likewise.
2290         (sloww1): Likewise.
2291         (sloww2): Likewise.
2292         (bsloww1): Likewise.
2293         (bsloww2): Likewise.
2294         (cslow2): Likewise.
2295         (csloww1): Likewise.
2296         (csloww2): Likewise.
2298         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2299         function.
2300         (__sin): Use it.
2301         (__cos): Likewise.
2303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2304         gotos.
2305         (__cos): Likewise.
2307 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2309         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2310         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2311         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2312         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2313         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2314         * elf/cache.c (print_entry): Handle the new cache flags.
2316 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2317             Aldy Hernandez  <aldyh@redhat.com>
2319         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2320         Change condition to [_SOFT_FLOAT].
2321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2333         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2336         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2337         declaration.
2339 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2341         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2342         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2343         (__longjmp): Use LOAD_GP to load saved GPRs.
2344         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2345         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2346         (__sigsetjmp): Use SAVE_GP to save GPRs.
2348         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2349         Do not append -msoft-float.
2350         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2352 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2354         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2356 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2358         [BZ #15966]
2359         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2360         (_FPU_GETCW): Use initial "__" on variable and field names but not
2361         on macro parameter name.
2362         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2363         parentheses around reference to macro parameter.
2365 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2367         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2368         prototype.
2369         (ctype_startup): Use uint32_t in cast and sizeof for
2370         ctype->charnames.
2372 2013-09-11  Jia Liu  <proljc@gmail.com>
2374         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2375         __daddr_t_defined.
2376         [__FreeBSD__]: Likewise.
2378 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2381         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2382         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2383         (strchr): Remove __strchr_sse42 ifunc selection.
2384         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2385         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2387 2013-09-11  Will Newton  <will.newton@linaro.org>
2389         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2390         parameter to RES. Remove hardcoded 1000 value.
2391         * benchtests/bench-skeleton.c (main): Pass RES parameter
2392         to TIMING_INIT and multiply result by 1000.
2394 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2398 2013-09-11  Andreas Schwab  <schwab@suse.de>
2400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2401         if not defined.
2402         (O_TMPFILE) [__USE_GNU]: Define.
2403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2404         Define.
2406 2013-09-11  Will Newton  <will.newton@linaro.org>
2408         [BZ #15857]
2409         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2410         does not overflow.
2412 2013-09-11  Will Newton  <will.newton@linaro.org>
2414         [BZ #15856]
2415         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2416         does not overflow.
2418 2013-09-11  Will Newton  <will.newton@linaro.org>
2420         [BZ #15855]
2421         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2422         does not overflow.
2424 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2426         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2427         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2428         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2429         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2430         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2432 2013-09-10  Allan McRae  <allan@archlinux.org>
2434         [BZ #15748]
2435         * manual/arith.texi (Parsing of Floats): Clarify
2436         cross-reference.
2438         [BZ #15849]
2439         * manual/install.texi (Running make install): Mention
2440         --enable-pt-chown.
2441         * INSTALL: Regenerated.
2443 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2445         * csu/init-first.c (_init): Remove the !SHARED condition around
2446         FPU control word initialization.
2447         * elf/dl-support.c (_dl_fpu_control): New variable.
2448         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2449         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2450         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2451         * math/test-fpucw-static.c: New file.
2452         * math/test-fpucw-ieee.c: New file.
2453         * math/test-fpucw-ieee-static.c: New file.
2454         * math/Makefile (tests): Add `test-fpucw-ieee' and
2455         `$(tests-static)'.
2456         (tests-static): New variable.
2457         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2458         dependency to...
2459         [($(build-shared),yes)]
2460         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2461         ... this.
2462         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2463         New dependency.
2465 2013-09-09  Allan McRae  <allan@archlinux.org>
2467         [BZ #15939]
2468         * manual/string.texi (Collation Functions): Fix typo in
2469         strcoll example.
2470         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2472         [BZ #15893]
2473         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2475         [BZ #15892]
2476         * libio/memstream.c (open_memstream): Fix memory leak.
2477         * libio/wmemstream.c (open_wmemstream): Likewise.
2479         [BZ #15895]
2480         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2482 2013-09-09  Will Newton  <will.newton@linaro.org>
2484         * malloc/Makefile: Add tst-realloc to tests.
2485         * malloc/tst-realloc.c: New file.
2487 2013-09-09  Allan McRae  <allan@archlinux.org>
2489         [BZ #15844]
2490         * COPYING: Update from GNU website to fix FSF address.
2491         * COPYING.LIB: Likewise.
2493 2013-09-06  David S. Miller  <davem@davemloft.net>
2495         * po/zh_TW.po: Update Chinese (traditional) translation from
2496         translation project.
2498 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2499             Joseph Myers  <joseph@codesourcery.com>
2501         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2502         "localeinfo.h".
2503         (obstack_chunk_alloc): New macro.
2504         (obstack_chunk_free): Likewise.
2505         (record_offset): New function.
2506         (init_locale_data): Likewise.
2507         (align_locale_data): Likewise.
2508         (add_locale_empty): Likewise.
2509         (add_locale_raw_data): Likewise.
2510         (add_locale_raw_obstack): Likewise.
2511         (add_locale_string): Likewise.
2512         (add_locale_wstring): Likewise.
2513         (add_locale_uint32): Likewise.
2514         (add_locale_uint32_array): Likewise.
2515         (add_locale_char): Likewise.
2516         (start_locale_structure): Likewise.
2517         (end_locale_structure): Likewise.
2518         (start_locale_prelude): Likewise.
2519         (end_locale_prelude): Likewise.
2520         (write_locale_data): Take locale_file structure rather than an
2521         iovec.
2522         * locale/programs/locfile.h: Include "obstack.h".
2523         (struct locale_file): Change to store locale file contents instead
2524         of header.
2525         (init_locale_data): New prototype.
2526         (align_locale_data): Likewise.
2527         (add_locale_empty): Likewise.
2528         (add_locale_raw_data): Likewise.
2529         (add_locale_raw_obstack): Likewise.
2530         (add_locale_string): Likewise.
2531         (add_locale_wstring): Likewise.
2532         (add_locale_uint32): Likewise.
2533         (add_locale_uint32_array): Likewise.
2534         (add_locale_char): Likewise.
2535         (start_locale_structure): Likewise.
2536         (end_locale_structure): Likewise.
2537         (start_locale_prelude): Likewise.
2538         (end_locale_prelude): Likewise.
2539         (write_locale_data): Update prototype.
2540         * locale/programs/3level.h (struct TABLE): Remove result field.
2541         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2542         Use new locale_file interface.
2543         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2544         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2545         * locale/programs/ld-address.c (address_output): Use new
2546         locale_file interface.
2547         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2548         NO_ADD_LOCALE.
2549         (collate_finish): Don't call collseq_table_finalize.
2550         (collate_output): Use new locale_file interface.
2551         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2552         in file.
2553         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2554         (TABLE): Move defines earlier in file.
2555         (ELEMENT): Likewise.
2556         (DEFAULT): Likewise.
2557         (wctrans_table_add): Move macro and inline function earlier in
2558         file.
2559         (struct wctype_table): Move type earlier in file.
2560         (add_locale_wctype_table): New static prototype.
2561         (struct locale_ctype_t): Use logical types instead of struct iovec
2562         pointers for members.
2563         (ctype_output): Use new locale_file interface.
2564         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2565         new locale_file interface.
2566         (allocate_arrays): Update for use of new locale_file interface.
2567         * locale/programs/ld-identification.c (identification_output): Use
2568         new locale_file interface.
2569         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2570         * locale/programs/ld-messages.c (messages_output): Likewise.
2571         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2572         * locale/programs/ld-name.c (name_output): Likewise.
2573         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2574         * locale/programs/ld-paper.c (paper_output): Likewise.
2575         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2576         * locale/programs/ld-time.c (time_output): Likewise.
2578 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2580         * benchtests/Makefile: Add memrchr benchmark.
2581         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2582         benchmark as memrchr.
2583         * benchtests/bench-memrchr-ifunc.c: New file.
2584         * benchtests/bench-memrchr.c: New file.
2586 2013-09-06   Will Newton  <will.newton@linaro.org>
2588         * benchtests/Makefile (string-bench): Add memcpy.
2590 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2591             Cong Wang  <amwang@redhat.com>
2593         * sysdeps/unix/sysv/linux/bits/in.h
2594         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2595         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2596         before __USE_KERNEL_IPV6_DEFS uses.
2597         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2598         IPPROTO_BEETPH.
2599         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2600         sockaddr_in6, or ipv6_mreq.
2602 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2604         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2605         memory access for final bytes in some large inputs.
2606         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2608 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2610         * string/test-memrchr.c: New file.
2611         * string/test-memrchr-ifunc.c: New file.
2612         * string/Makefile: Add new memrchr testcase.
2614 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2616         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2617         fanotify_init returns EPERM.
2619 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2621         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2622         errors.
2623         (top level): Treat second token from macro or constant entries for
2624         allowed headers as allowed.
2625         * include/complex.h: Condition internal declarations on
2626         [!_ISOMAC].
2627         * include/fenv.h: Condition include of <stdbool.h> and internal
2628         declarations on [!_ISOMAC].
2630 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2632         [BZ #15923]
2633         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2635 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2637         * configure.in (--enable-versioning): Remove configure option.
2638         (libc_cv_asm_symver_directive): Remove configure test.
2639         (libc_cv_ld_version_script_option): Likewise.
2640         (VERSIONING): Remove variable and AC_SUBST.
2641         (DO_VERSIONING): Remove AC_DEFINE.
2642         * configure: Regenerated.
2643         * config.h.in (DO_VERSIONING): Remove macro.
2644         * Makerules [$(versioning) = yes]: Change conditionals to
2645         [$(build-shared) = yes].
2646         * config.make.in (versioning): Remove variable.
2647         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2648         [$(build-shared) = yes].
2649         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2650         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2651         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2652         [$(build-shared) = yes].
2653         * extra-lib.mk [$(versioning) = yes]: Likewise.
2654         * hurd/Makefile [$(versioning) = yes]: Likewise.
2655         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2656         [SHARED].
2657         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2658         [SHARED].
2659         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2660         [SHARED && !NO_HIDDEN].
2661         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2662         [SHARED].
2663         [SHARED && DO_VERSIONING]: Likewise..
2664         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2665         [$(build-shared) = yes].
2666         * manual/install.texi (--disable-versioning): Remove
2667         documentation.
2668         * INSTALL: Regenerated.
2669         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2670         to [SHARED].
2671         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2672         [$(build-shared) = yes].
2673         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2674         * sysdeps/i386/i686/multiarch/strstr-c.c
2675         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2676         [SHARED && !NO_HIDDEN].
2677         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2678         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2679         * sysdeps/powerpc/powerpc32/dl-machine.c
2680         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2681         * sysdeps/powerpc/powerpc32/sysdep.h
2682         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2683         to [SHARED && PIC && !NO_HIDDEN].
2684         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2685         conditional to [SHARED].
2687 2013-09-04   Will Newton  <will.newton@linaro.org>
2689         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2690         * benchtests/bench-string.h: Include bench-timing.h instead
2691         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2692         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2693         call to HP_TIMING_DIFF_INIT.
2694         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2695         instead of hp-timing.h macros.
2696         * benchtests/bench-memchr.c: Likewise.
2697         * benchtests/bench-memcmp.c: Likewise.
2698         * benchtests/bench-memcpy.c: Likewise.
2699         * benchtests/bench-memmem.c: Likewise.
2700         * benchtests/bench-memmove.c: Likewise.
2701         * benchtests/bench-memset.c: Likewise.
2702         * benchtests/bench-rawmemchr.c: Likewise.
2703         * benchtests/bench-strcasecmp.c: Likewise.
2704         * benchtests/bench-strcasestr.c: Likewise.
2705         * benchtests/bench-strcat.c: Likewise.
2706         * benchtests/bench-strchr.c: Likewise.
2707         * benchtests/bench-strcmp.c: Likewise.
2708         * benchtests/bench-strcpy.c: Likewise.
2709         * benchtests/bench-strcpy_chk.c: Likewise.
2710         * benchtests/bench-strlen.c: Likewise.
2711         * benchtests/bench-strncasecmp.c: Likewise.
2712         * benchtests/bench-strncat.c: Likewise.
2713         * benchtests/bench-strncmp.c: Likewise.
2714         * benchtests/bench-strncpy.c: Likewise.
2715         * benchtests/bench-strnlen.c: Likewise.
2716         * benchtests/bench-strpbrk.c: Likewise.
2717         * benchtests/bench-strrchr.c: Likewise.
2718         * benchtests/bench-strspn.c: Likewise.
2719         * benchtests/bench-strstr.c: Likewise.
2721 2013-09-04  Will Newton  <will.newton@linaro.org>
2723         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2725 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #15427]
2728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2729         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2730         * math/libm-test.inc (lgamma_test_data): Add more tests.
2731         * sysdeps/i386/fpu/libm-test-ulps: Update.
2732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2734 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2736         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2738         Add ifunc.
2739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2740         Add strcmp-sse2-unaligned
2741         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2743 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2745         * Versions.def (libc): Add GLIBC_2.19.
2747 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2749         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2750         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2752 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2754         [BZ #14155]
2755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2756         intermediate calculations in recurrence.
2757         (__ieee754_ynf): Likewise.
2758         * math/libm-test.inc (jn_test_data): Do not allow spurious
2759         underflow exception.  Add more tests.
2760         (yn_test_data): Add more tests.
2761         * sysdeps/i386/fpu/libm-test-ulps: Update.
2762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2764 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2768 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2770         * csu/init-first.c: Fix then/than typos.
2771         * locale/programs/ld-collate.c: Likewise.
2772         * locale/programs/linereader.h: Likewise.
2773         * manual/charset.texi: Likewise.
2774         * manual/filesys.texi: Likewise.
2775         * manual/stdio.texi: Likewise.
2776         * manual/string.texi: Likewise.
2777         * stdlib/fmtmsg.c: Likewise.
2778         * sysdeps/i386/stpncpy.S: Likewise.
2779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2782         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2784 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2786         * elf/dl-open.c: Fix typos.
2787         * iconvdata/gbbig5.c: Likewise.
2788         * iconvdata/iso-2022-jp.c: Likewise.
2789         * iconv/gconv_int.h: Likewise.
2790         * iconv/loop.c: Likewise.
2791         * nis/rpcsvc/nis.h: Likewise.
2792         * resolv/ns_name.c: Likewise.
2793         * stdio-common/vfscanf.c: Likewise.
2794         * streams/stropts.h: Likewise.
2795         * sunrpc/rpc_thread.c: Likewise.
2796         * sysdeps/i386/strpbrk.S: Likewise.
2797         * sysdeps/ieee754/k_standard.c: Likewise.
2798         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2800         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2801         * sysdeps/mach/hurd/profil.c: Likewise.
2802         * sysdeps/s390/dl-procinfo.h: Likewise.
2803         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2805         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2806         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2807         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2809 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2811         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2814 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2816         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2817         aix specific files.
2818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2819         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2821         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2822         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2823         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2824         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2825         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2827 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2828             Roland McGrath  <roland@hack.frob.com>
2830         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2831         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2833 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2835         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2836         __executable_start symbol instead of _start.
2838 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2840         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2841         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2842         Move macros to...
2843         * sysdeps/gnu/ldsodefs.h: ... this new file.
2845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2846         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2847         instead of ELFOSABI_LINUX.
2849         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2850         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2851         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2852         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2853         Likewise.
2854         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2855         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2856         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2857         Likewise.
2858         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2859         (ibm_extended_long_double): Add ieee_nan member.
2860         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2861         (do_test): New function.
2863         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2864         TEST_TRUNC.
2865         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2866         functions, renamed from truncdfsf_test, trunctfsf_test,
2867         trunctfdf_test.
2868         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2869         functions.
2870         (do_test): Run all these.
2872 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2874         * argp/argp-help.c: Fix typos.
2875         * argp/argp-parse.c: Likewise.
2876         * debug/backtracesyms.c: Likewise.
2877         * elf/elf.h: Likewise.
2878         * malloc/malloc.c: Likewise.
2879         * nis/nis_print.c: Likewise.
2880         * resolv/res_comp.c: Likewise.
2881         * stdlib/stdlib.h: Likewise.
2882         * sunrpc/clnt_tcp.c: Likewise.
2883         * sunrpc/clnt_udp.c: Likewise.
2884         * sunrpc/clnt_unix.c: Likewise.
2885         * sysdeps/unix/bsd/ptsname.c: Likewise.
2886         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2887         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2889         Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2893         Likewise.
2894         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2896 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2898         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2901 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2903         [BZ #15897]
2904         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2905         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2906         ($(objpfx)bug-dl-leaf): New rule.
2907         ($(objpfx)bug-dl-leaf.so): Likewise.
2908         ($(objpfx)bug-dl-leaf.out): Likewise.
2909         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2910         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2911         * dlfcn/bug-dl-leaf.c: New test.
2912         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2913         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2914         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2915         (dlclose): Likewise.
2916         (dlmopen): Likewise.
2918 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2920         * include/netdb.h [!_ISOMAC]:
2921         Don't include <tls.h>.
2922         (h_errno, __libc_h_errno): Move declaration and macros out of
2923         [_LIBC_REENTRANT].
2925         * include/resolv.h [_RESOLV_H_]:
2926         Don't include <tls.h>.
2927         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2928         * resolv/res_libc.c: Don't include <tls.h>.
2929         (_res): Use __attribute__ ((nocommon)) in place of
2930         __attribute__ ((section (".bss"))).
2932         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2933         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2935         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2937         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2938         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2940         * resolv/res_mkquery.c: Include <sys/time.h>.
2942         * inet/ifreq.c: Moved to ...
2943         * sysdeps/unix/ifreq.c: ... here.
2944         * inet/ifreq.c: New file, true stub version.
2946         * socket/sa_len.c: New file.
2947         * socket/Makefile (aux): Add it.
2948         * sysdeps/unix/sysv/linux/Makefile
2949         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2950         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2951         and #include <socket/sa_len.c>.
2952         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2953         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2955         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2956         * bits/socket.h: ... here.
2958         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2959         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2960         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2962 2013-08-27  Andreas Schwab  <schwab@suse.de>
2964         [BZ #15736]
2965         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2966         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2967         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2968         * string/test-strcasecmp.c (test_main): Run tests in several
2969         locales.
2970         * string/test-strncasecmp.c (test_main): Likewise.
2972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2973         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2974         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2976         (__strncasecmp_ssse3) [PIC]: Likewise.
2978 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2980         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2982         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2983         instead of explicitly declaring xdecrypt.
2984         * nis/nss_nis/nis-publickey.c: Likewise.
2986 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2988         [BZ #15890]
2989         * nscd/aicache.c: Include res_hconf.h.
2990         (addhstaiX): Initialize res_hconf.
2992 2013-08-26  Andreas Schwab  <schwab@suse.de>
2994         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2995         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2997 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2999         * nscd/aicache.c (addhstaiX): Fix indentation.
3001 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3003         * configure.ac: Quote $build_pt_chown test.
3004         * configure: Regenerated.
3006 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3008         [BZ #15532]
3009         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3010         * math/s_cexpf.c (__cexpf): Likewise.
3011         * math/s_cexpl.c (__cexpl): Likewise.
3012         * math/libm-test.inc (cexp_test_data): Correct expected return
3013         value for NaN + i0.  Add another test.
3015 2013-08-22  David S. Miller  <davem@davemloft.net>
3017         * po/ca.po: Update Catalan translation from translation project.
3018         * po/uk.po: Add Ukrainian translations from translation project.
3020 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3022         [BZ #15797]
3023         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3024         is infinite, not alongside NaN test.
3025         * math/s_fdimf.c (__fdimf): Likewise.
3026         * math/s_fdiml.c (__fdiml): Likewise.
3027         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3028         errno is unchanged.
3030 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3032         * argp/argp-help.c: Fix typos.
3033         * crypt/speeds.c: Likewise.
3034         * csu/check_fds.c: Likewise.
3035         * elf/dl-load.c: Likewise.
3036         * elf/dl-open.c: Likewise.
3037         * elf/reldep3.c: Likewise.
3038         * elf/reldep.c: Likewise.
3039         * elf/sprof.c: Likewise.
3040         * iconv/iconv_charmap.c: Likewise.
3041         * iconv/skeleton.c: Likewise.
3042         * iconv/strtab.c: Likewise.
3043         * io/lockf64.c: Likewise.
3044         * libio/libioP.h: Likewise.
3045         * resolv/gai_notify.c: Likewise.
3046         * resolv/ns_name.c: Likewise.
3047         * resolv/ns_samedomain.c: Likewise.
3048         * resolv/res_send.c: Likewise.
3049         * stdlib/random.c: Likewise.
3050         * sunrpc/rpc/xdr.h: Likewise.
3051         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3053         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3054         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3056         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3059         * sysdeps/mach/hurd/check_fds.c: Likewise.
3060         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3065         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3066         * sysdeps/pthread/aio_notify.c: Likewise.
3067         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3068         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3069         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3073 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3075         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3076         version if bit_Slow_SSE4_2 is set.
3077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3082         [BZ #15867]
3083         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3084         trampoline stack frame information.
3085         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3087         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3088         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3089         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3090         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3091         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3092         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3093         sa_flags value.
3094         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3095         interrupting a syscall and set with option SA_SIGINFO.
3097 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3099         [BZ #15531]
3100         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3101         argument is infinite.
3102         * math/s_cprojf.c (__cprojf): Likewise.
3103         * math/s_cprojl.c (__cprojl): Likewise.
3104         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3105         * math/libm-test.inc (cproj_test_data): Add more tests.
3107         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3110         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3111         size.  Use __ffs to determine corresponding shift.
3113 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3114             Roland McGrath  <roland@hack.frob.com>
3116         * Makefile (INSTALL): Remove trailing blank lines from output of
3117         makeinfo.
3119 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3121         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3122         Align 32 bit compat elf_greg to 8 bytes.
3124 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3126         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3128 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3130         * string/strcoll_l.c (coll_seq): New structure.
3131         (get_next_seq_cached): New function.
3132         (get_next_seq): New function.
3133         (do_compare): New function.
3134         (STRCOLL): Use GNU style definition.  Simplify implementation
3135         by using get_next_seq, get_next_seq_cached and do_compare.
3137 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3139         [BZ #14699]
3140         CVE-2013-4237
3141         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3142         member.
3143         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3144         member.
3145         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3146         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3147         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3148         conditional.
3149         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3150         GETDENTS_64BIT_ALIGNED.
3151         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3152         * manual/filesys.texi (Reading/Closing Directory): Document
3153         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3154         strongly.
3155         * manual/conf.texi (Limits for Files): Add portability note to
3156         NAME_MAX, PATH_MAX.
3157         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3159 2013-08-13  Andreas Schwab  <schwab@suse.de>
3161         [BZ #15749]
3162         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3163         of fabs.
3164         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3165         LDBL_MAX_EXP >= 16384]: Add tests for it.
3167 2013-08-12  David S. Miller  <davem@davemloft.net>
3169         * version.h (RELEASE): Set to "development".
3170         (VERSION): Set to "2.18.90".
3171         * NEWS: Add 2.19 section.
3173 2013-08-03  David S. Miller  <davem@davemloft.net>
3175         * po/ko.po: Update Korean translation from translation project.
3177 2013-08-01  David S. Miller  <davem@davemloft.net>
3179         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3180         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3181         Bilka.
3183 2013-07-30  David S. Miller  <davem@davemloft.net>
3185         * po/fr.po: Update French translation from translation project.
3187 2013-07-28  David S. Miller  <davem@davemloft.net>
3189         * po/cs.po: Update Czech translation from translation project.
3191         * po/sv.po: Update Swedish translation from translation project.
3193 2013-07-27  David S. Miller  <davem@davemloft.net>
3195         * po/eo.po: Update Esperanto translation from translation project.
3197         * po/vi.po: Update Vietnamese translation from translation project.
3199         * po/de.po: Update German translation from translation project.
3201 2013-07-26  David S. Miller  <davem@davemloft.net>
3203         * po/bg.po: Update Bulgarian translation from translation project.
3205         * po/nl.po: Update Dutch translation from translation project.
3206         * po/pl.po: Update Polish translation from translation project.
3207         * po/ru.po: Update Russian translation from translation project.
3209 2013-07-24  David S. Miller  <davem@davemloft.net>
3211         * po/libc.pot: Update.
3213 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3215         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3216         variable page size.
3217         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3219         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3221 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3223         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3225 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3226             Andreas Schwab  <schwab@suse.de>
3227             Roland McGrath  <roland@hack.frob.com>
3228             Joseph Myers  <joseph@codesourcery.com>
3229             Carlos O'Donell  <carlos@redhat.com>
3231         [BZ #15755]
3232         * config.h.in: Define HAVE_PT_CHOWN.
3233         * config.make.in (build-pt-chown): New variable.
3234         * configure.in (--enable-pt_chown): New configure option.
3235         * configure: Regenerate.
3236         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3237         build-pt-chown is enabled.
3238         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3239         pt_chown to fix pty ownership.
3240         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3241         CLOSE_ALL_FDS.
3242         * manual/install.texi (Configuring and compiling): Mention
3243         --enable-pt_chown. Add @findex for grantpt.
3244         * INSTALL: Regenerate.
3246 2013-07-20  David S. Miller  <davem@davemloft.net>
3248         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3249         difference between 32-bit and 64-bit.
3251 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3253         [BZ #15711]
3254         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3255         Avoid system header dependency with -ffreestanding.
3256         ($(objpfx)bits/syscall%d): Likewise.
3258 2013-07-13  David S. Miller  <davem@davemloft.net>
3260         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3261         underflows from atanl/atan2l due to bug 15319.
3262         (casinh_test_data): Likewise.
3264 2013-07-07  David S. Miller  <davem@davemloft.net>
3266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3268 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3270         * sysdeps/i386/fpu/libm-test-ulps: Update.
3271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3273 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3275         * configure.in (--enable-lock-elision): Fix message text.
3276         * INSTALL: Regenerate.
3277         * configure: Regenerate.
3279 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3283 2013-07-03  Andreas Jaeger  <aj@suse.de>
3285         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3286         define.
3287         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3288         (ptrace_peeksiginfo_args): Add.
3289         (__ptrace_peeksiginfo_flags): Add.
3290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3294 2013-07-03  Allan McRae  <allan@archlinux.org>
3296         * sysdeps/i386/fpu/libm-test-ulps: Update.
3298 2013-07-02  David S. Miller  <davem@davemloft.net>
3300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3302 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3306 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3311 2013-07-02  Andi Kleen <ak@linux.intel.com>
3313         * config.h.in (ENABLE_LOCK_ELISION): Add.
3314         * configure.in (--enable-lock-elision): Add option.
3315         * manual/install.texi: Document --enable lock elision.
3316         * configure: Regenerate
3317         * INSTALL: Regenerate.
3319 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3321         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3322         SSE4.2 strcasecmp for libc.a.
3323         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3325 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3327         [BZ #13304]
3328         * soft-fp/op-common.h (_FP_FMA): New macro.
3329         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3330         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3331         (_FP_MUL_MEAT_1_imm): ... here.
3332         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3333         (_FP_MUL_MEAT_1_wide): ... here.
3334         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3335         (_FP_MUL_MEAT_1_hard): ... here.
3336         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3337         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3338         (_FP_MUL_MEAT_2_wide): ... here.
3339         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3340         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3341         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3342         (_FP_MUL_MEAT_2_gmp): ... here.
3343         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3344         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3345         (_FP_MUL_MEAT_4_wide): ... here.
3346         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3347         (_FP_MUL_MEAT_4_gmp): ... here.
3348         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3349         (_FP_WFRACBITS_DW_S): Likewise.
3350         (_FP_WFRACXBITS_DW_S): Likewise.
3351         (_FP_HIGHBIT_DW_S): Likewise.
3352         (FP_FMA_S): Likewise.
3353         (_FP_FRAC_HIGH_DW_S): Likewise.
3354         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3355         (_FP_WFRACBITS_DW_D): Likewise.
3356         (_FP_WFRACXBITS_DW_D): Likewise.
3357         (_FP_HIGHBIT_DW_D): Likewise.
3358         (FP_FMA_D): Likewise.
3359         (_FP_FRAC_HIGH_DW_D): Likewise.
3360         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3361         (_FP_WFRACBITS_DW_E): Likewise.
3362         (_FP_WFRACXBITS_DW_E): Likewise.
3363         (_FP_HIGHBIT_DW_E): Likewise.
3364         (FP_FMA_E): Likewise.
3365         (_FP_FRAC_HIGH_DW_E): Likewise.
3366         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3367         (_FP_WFRACBITS_DW_Q): Likewise.
3368         (_FP_WFRACXBITS_DW_Q): Likewise.
3369         (_FP_HIGHBIT_DW_Q): Likewise.
3370         (FP_FMA_Q): Likewise.
3371         (_FP_FRAC_HIGH_DW_Q): Likewise.
3372         * soft-fp/fmasf4.c: New file.
3373         * soft-fp/fmadf4.c: Likewise.
3374         * soft-fp/fmatf4.c: Likewise.
3376 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3379         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3380         Silvermont.
3381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3382         macro.
3383         (index_Slow_SSE4_2): Likewise.
3384         (index_Prefer_PMINUB_for_stringop): Likewise.
3385         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3386         bit_Slow_SSE4_2 is set.
3387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3390 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3392         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3393         rtld_global._dl_hwcap2.
3394         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3395         POWER8.
3396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3397         POWER8 feature descriptions defined in _dl_hwcap2.
3398         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3399         string handling for POWER8 feature bits.
3400         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3401         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3402         _dl_powerpc_cap_flags.
3403         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3404         * sysdeps/powerpc/rtld-global-offsets.sym
3405         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3406         _dl_hwcap2 in the rtld_global_ro structure.
3408 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3410         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3411         hardware capabilities in support of AT_HWCAP2.
3412         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3413         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3414         GLRO(dl_hwcap2).
3415         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3416         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3417         explicitly the unknown a_type display mechanism is used.
3418         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3419         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3420         struct member.
3421         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3422         to macro prototype for AT_HWCAP2 support.
3423         * sysdeps/i386/dl-procinfo.h: Likewise.
3424         * sysdeps/s390/dl-procinfo.h: Likewise.
3425         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3426         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3427         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3428         return -1 for unknown a_type display fallback.
3429         * sysdeps/sparc/dl-procinfo.h: Likewise.
3430         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3431         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3433 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3435         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3436         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3438 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3440         [BZ #12492]
3441         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3442         mprotect making __stack_prot writable.
3444 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3445             Joseph Myers  <joseph@codesourcery.com>
3447         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3448         as being properly aligned.
3450 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3452         * dlfcn/modstatic5.c: New file.
3453         * dlfcn/tststatic5.c: New file.
3454         * dlfcn/Makefile (tests): Add tststatic5.
3455         (tests-static): Likewise.
3456         (modules-names): Add modstatic5.
3457         (tststatic5-ENV): New variable.
3458         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3460         [BZ #15022]
3461         * elf/dl-support.c (_dl_main_map): New variable.
3462         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3463         (_dl_nns, _dl_load_adds): Set to 1.
3464         (_dl_initial_searchlist): Refer to _dl_main_map.
3465         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3466         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3467         call to _dl_get_origin.
3468         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3469         around call_map.
3470         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3471         * dlfcn/modstatic3.c: New file.
3472         * dlfcn/tststatic3.c: New file.
3473         * dlfcn/tststatic4.c: New file.
3474         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3475         (tests-static): Likewise.
3476         (modules-names): Add modstatic3.
3477         (tststatic3-ENV, tststatic4-ENV): New variables.
3478         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3479         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3481 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3483         * configure.in (CC): Require GCC version 4.4 or later.
3484         * configure: Regenerated.
3485         * manual/install.texi (Tools for Compilation): Update GCC version
3486         requirement.
3487         * INSTALL: Regenerated.
3489 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3491         [BZ #15674]
3492         * string/test-memcmp.c (check2): New.
3493         (main): Call check2.
3495         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3497 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3499         [BZ #15022]
3500         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3501         over to...
3502         (dl_open_worker) [!SHARED]: ... here.
3504 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3506         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3508 2013-06-25  Richard Henderson  <rth@redhat.com>
3510         * locale/programs/locarchive.c: Include <libc-internal.h>
3512 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3514         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3515         trailing whitespace removed.
3517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3519         [BZ #10283]
3520         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3521         * locale/programs/locarchive.c: Include libc-mmap.h.
3522         (prepare_address_space): Take two new outputs (the mmap base and len).
3523         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3524         values.
3525         (create_archive): Declare new mmap base and len values for
3526         prepare_address_space, and store the result in ah.
3527         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3528         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3529         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3530         Declare new mmap base and len values for
3531         prepare_address_space, and store the result in new_ah.
3532         (open_archive): Declare new mmap base and len values for
3533         prepare_address_space, and store the result in ah.
3534         (close_archive): If ah->mmap_base is not NULL, use that and
3535         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3536         * sysdeps/generic/libc-mmap.h: New file.
3538 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3540         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3541         (ALIGN_UP): Likewise.
3542         (PTR_ALIGN_DOWN): Likewise.
3543         (PTR_ALIGN_UP): Likewise.
3545 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3548         entry mapped to PPC_PLATFORM_POWER8.
3549         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3550         POWER8.
3551         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3552         (_dl_string_platform): Add case for exporting platform position for
3553         POWER8.
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3555         search path to sysdeps/powerpc/powerpc32/power8 directory.
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3557         search path to sysdeps/powerpc/powerpc64/power8 directory.
3558         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3559         power7 directories.
3560         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3561         power7 directories.
3563 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3565         * INSTALL: Regenerate.
3567         * nscd/connections.c (nscd_init): Fix comment.
3569 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3571         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3573         [BZ #15667]
3574         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3575         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3577 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3579         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3580         DL_DST_REQ_STATIC.
3581         (DL_DST_REQ_STATIC): Remove macro.
3583 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3585         [BZ #7006]
3586         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3587         with a shift of 0 bits.
3589 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3591         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3592         $(tststatic-ENV).
3594 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3596         [BZ #15655]
3597         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3599 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3601         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3602         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3603         accepts -fno-tree-loop-distribute-patterns.
3604         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3605         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3606         recursive call.
3607         * string/memset.c (memset): Likewise.
3608         * string/test-memmove.c (simple_memmove): Disable loop transformation
3609         to library calls.
3610         * string/test-memset.c (simple_memset): Likewise.
3611         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3612         * benchtests/bench-memset.c (simple_memset): Likewise.
3613         * configure: Regenerated.
3615 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3617         * math/test-misc.c (main): Ignore fesetround failure when failures
3618         of subsequent rounding tests would be ignored.
3620         [BZ #15654]
3621         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3622         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3623         * math/fegetenv.c (__fegetenv): Return 0.
3624         * math/fegetexcept.c (fegetexcept): Return 0.
3625         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3626         FE_TONEAREST.
3627         * math/feholdexcpt.c (feholdexcept): Return 0.
3628         * math/fesetenv.c (__fesetenv): Return 0.
3629         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3630         argument FE_TONEAREST.
3631         * math/feupdateenv.c (__feupdateenv): Return 0.
3632         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3634 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3636         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3637         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3638         ($(objpfx)rtld-%.os rules): Use them.
3640 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3642         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3643         fields.
3645 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3647         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3648         length of target pattern, then descending length of dependency pattern.
3649         * configure.in (AWK): Require gawk 3.1.2 or newer.
3650         * manual/install.texi (Tools for Compilation): Say that we do.
3651         * configure: Regenerated.
3653         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3654         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3655         * scripts/sysd-rules.awk: ... this new script.
3656         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3657         than a glob-style pattern.
3659 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3661         * math/test-misc.c (main): Do not treat incorrectly rounded
3662         conversions as failure unless ROUNDING_TESTS passes.
3664 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3666         [BZ #15631]
3667         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3668         restore exception state around main square root computation, then
3669         check for inexactness explicitly.
3671         * math/libm-test.inc (fma_test_data): Add another test.
3673 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3675         * manual/threads.texi (Non-POSIX Extensions): New document
3676         node.  Document pthread_getattr_default_np and
3677         pthread_setattr_default_np.
3679         * Versions.def (libpthread): Add GLIBC_2.18.
3680         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3682         Likewise.
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3684         Likewise.
3685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3686         Likewise.
3687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3688         Likewise.
3689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3690         Likewise.
3691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3692         Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3694         Likewise.
3695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3698         Likewise.
3700 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3703         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3705 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3706             H.J. Lu  <hjl.tools@gmail.com>
3708         [BZ #15627]
3709         * sysdeps/x86_64/rtld-memset.c: Remove file.
3710         * sysdeps/x86_64/rtld-memset.S: New file.
3712 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3714         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3715         (test_in_one_mode): Take arguments for whether the rounding mode
3716         is supported for each floating-point type.
3717         (do_test): Pass new arguments to test_in_one_mode using
3718         ROUNDING_TESTS.
3720 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3722         * posix/tst-waitid.c (do_test): Distinguish different instances of
3723         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3724         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3725         before entering the kernel for waitpid.
3727 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3729         * NEWS: Fix note on clock function precision.  Text by Roland
3730         McGrath.
3732 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3734         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3735         it into place only when and if the sanity check passes.
3737 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3739         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3740         output for whether conversion result is exact.  Take argument
3741         indicating whether type is IBM long double.
3742         (round_for_all): Change need_exact field to ibm_ld.
3743         * stdlib/tst-strtod-round.c (struct exactness): New type.
3744         (struct test): Change bool ld_ok field to struct exactness exact.
3745         (TEST): Update all definitions for change to field.
3746         (tests): Regenerate array contents.
3747         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3748         field value.  Check for IBM long double here.
3749         (do_test): Update calls to test_in_one_mode.
3751 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3753         [BZ #12515]
3754         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3755         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3757 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3759         [BZ #15605]
3760         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3761         generated by the compiler on loop optimizations.
3762         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3763         general definitions.
3765 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3767         * math/bug-nextafter.c: Include <math-tests.h>.
3768         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3769         the relevant type.
3770         * math/bug-nexttoward.c: Include <math-tests.h>.
3771         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3772         the relevant type.
3773         * math/test-misc.c: Include <math-tests.h>.
3774         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3775         the relevant type.
3777 2013-06-12  Andreas Jaeger  <aj@suse.de>
3779         * po/ia.po: Update Interlingua translation from translation
3780         project.
3782 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3784         * include/fenv.h: Include stdbool.h.
3785         (struct rm_ctx): New structure.
3786         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3787         Define macro.
3788         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3789         (SET_RESTORE_ROUNDF): Likewise.
3790         (SET_RESTORE_ROUNDL): Likewise.
3791         (SET_RESTORE_ROUND_NOEX): Likewise.
3792         (SET_RESTORE_ROUND_NOEXF): Likewise.
3793         (SET_RESTORE_ROUND_NOEXL): Likewise.
3794         (SET_RESTORE_ROUND_53BIT): Likewise.
3795         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3796         (libc_feresetround_noexf_ctx): Likewise.
3797         (libc_feresetround_noexl_ctx): Likewise.
3798         (libc_feholdsetround_53bit_ctx): Likewise.
3799         (libc_feresetround_53bit_ctx): Likewise.
3800         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3801         (libc_feholdexcept_setround_sse_ctx): New function.
3802         (libc_fesetenv_sse_ctx): Likewise.
3803         (libc_feupdateenv_sse_ctx): Likewise.
3804         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3805         (libc_feholdexcept_setround_387_ctx): Likewise.
3806         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3807         (libc_feholdsetround_387_prec_ctx): Likewise.
3808         (libc_feholdsetround_387_ctx): Likewise.
3809         (libc_feholdsetround_387_53bit_ctx): Likewise.
3810         (libc_feholdsetround_sse_ctx): Likewise.
3811         (libc_feresetround_sse_ctx): Likewise.
3812         (libc_feresetround_387_ctx): Likewise.
3813         (libc_feupdateenv_387_ctx): Likewise.
3814         (libc_feholdexcept_setroundf_ctx): Define macro.
3815         (libc_fesetenvf_ctx): Likewise.
3816         (libc_feupdateenvf_ctx): Likewise.
3817         (libc_feholdsetroundf_ctx): Likewise.
3818         (libc_feresetroundf_ctx): Likewise.
3819         (libc_feholdexcept_setround_ctx): Likewise.
3820         (libc_fesetenv_ctx): Likewise.
3821         (libc_feupdateenv_ctx): Likewise.
3822         (libc_feholdsetround_ctx): Likewise.
3823         (libc_feresetround_ctx): Likewise.
3824         (libc_feholdexcept_setroundl_ctx): Likewise.
3825         (libc_feupdateenvl_ctx): Likewise.
3826         (libc_feholdsetroundl_ctx): Likewise.
3827         (libc_feresetroundl_ctx): Likewise.
3828         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3829         (libc_feresetround_53bit_ctx): Likewise.
3831 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3833         * locale/iso-639.def: Convert to UTF-8.
3835 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3837         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3838         (EXCEPTION_TESTS_double): Likewise.
3839         (EXCEPTION_TESTS_long_double): Likewise.
3840         (EXCEPTION_TESTS): Likewise.
3841         * math/libm-test.inc (test_exceptions): Only test exceptions if
3842         EXCEPTION_TESTS (FLOAT).
3844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3846         * benchtests/Makefile (string-bench): Add strcpy_chk and
3847         stpcpy_chk.
3848         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3849         * benchtests/bench-stpcpy_chk.c: New file.
3850         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3851         * benchtests/bench-strcpy_chk.c: New file.
3852         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3853         code.
3854         (do_test): Likewise.
3856 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3859         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3860         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3861         with tabs where appropriate.
3862         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3863         dl-procinfo.h.
3864         [PPC_PLATFORM_PPC440]: Likewise.
3865         [PPC_PLATFORM_PPC464]: Likewise.
3866         [PPC_PLATFORM_PPC476]: Likewise.
3867         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3868         ppc464, and ppc476 platform strings merging from ports/
3869         dl-procinfo.h.
3871 2013-06-11  Andreas Schwab  <schwab@suse.de>
3873         [BZ #14991]
3874         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3875         (from_ucs4_idx): Regenerate.
3876         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3877         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3878         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3879         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3880         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3881         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3882         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3883         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3884         from FROM_LOOP and TO_LOOP specific macros.
3885         (BODY): Handle combining characters.
3886         * iconvdata/BIG5HKSCS.irreversible: Update.
3887         * iconvdata/BIG5HKSCS.precomposed: New file.
3888         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3889         characters.
3890         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3892 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3894         * include/sys/time.h: Fix indentation and add copyright header.
3896         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3897         (do_test): Likewise.
3898         * string/test-memchr.c (do_one_test): Likewise.
3899         (do_test): Likewise.
3900         * string/test-memcmp.c (do_one_test): Likewise.
3901         (do_test): Likewise.
3902         * string/test-memcpy.c (do_one_test): Likewise.
3903         (do_test): Likewise.
3904         * string/test-memmem.c (do_one_test): Likewise.
3905         (do_test): Likewise.
3906         (do_random_tests): Likewise.
3907         * string/test-memmove.c (do_one_test): Likewise.
3908         (do_test): Likewise.
3909         * string/test-memset.c (do_one_test): Likewise.
3910         (do_test): Likewise.
3911         * string/test-rawmemchr.c (do_one_test): Likewise.
3912         (do_test): Likewise.
3913         * string/test-strcasecmp.c (do_one_test): Likewise.
3914         (do_test): Likewise.
3915         * string/test-strcasestr.c (do_one_test): Likewise.
3916         (do_test): Likewise.
3917         * string/test-strcat.c (do_one_test): Likewise.
3918         (do_test): Likewise.
3919         * string/test-strchr.c (do_one_test): Likewise.
3920         (do_test): Likewise.
3921         * string/test-strcmp.c (do_one_test): Likewise.
3922         (do_test): Likewise.
3923         * string/test-strcpy.c (do_one_test): Likewise.
3924         (do_test): Likewise.
3925         * string/test-string.h: Likewise.
3926         (test_init): Likewise.
3927         * string/test-strlen.c (do_one_test): Likewise.
3928         (do_test): Likewise.
3929         * string/test-strncasecmp.c (do_one_test): Likewise.
3930         (do_test): Likewise.
3931         * string/test-strncat.c (do_one_test): Likewise.
3932         (do_test): Likewise.
3933         * string/test-strncmp.c (do_one_test): Likewise.
3934         (do_test_limit): Likewise.
3935         (do_test): Likewise.
3936         * string/test-strncpy.c (do_one_test): Likewise.
3937         (do_test): Likewise.
3938         * string/test-strnlen.c (do_one_test): Likewise.
3939         (do_test): Likewise.
3940         * string/test-strpbrk.c (do_one_test): Likewise.
3941         (do_test): Likewise.
3942         * string/test-strrchr.c (do_one_test): Likewise.
3943         (do_test): Likewise.
3944         * string/test-strspn.c (do_one_test): Likewise.
3945         (do_test): Likewise.
3946         * string/test-strstr.c (do_one_test): Likewise.
3947         (do_test): Likewise.
3949         * benchtests/Makefile (string-bench): Add string benchmarks.
3950         * benchtests/bench-bcopy-ifunc.c: New file.
3951         * benchtests/bench-bcopy.c: New file.
3952         * benchtests/bench-bzero-ifunc.c: New file.
3953         * benchtests/bench-bzero.c: New file.
3954         * benchtests/bench-memccpy-ifunc.c: New file.
3955         * benchtests/bench-memccpy.c: New file.
3956         * benchtests/bench-memchr-ifunc.c: New file.
3957         * benchtests/bench-memchr.c: New file.
3958         * benchtests/bench-memcmp-ifunc.c: New file.
3959         * benchtests/bench-memcmp.c: New file.
3960         * benchtests/bench-memmem-ifunc.c: New file.
3961         * benchtests/bench-memmem.c: New file.
3962         * benchtests/bench-memmove-ifunc.c: New file.
3963         * benchtests/bench-memmove.c: New file.
3964         * benchtests/bench-mempcpy-ifunc.c: New file.
3965         * benchtests/bench-mempcpy.c: New file.
3966         * benchtests/bench-memset-ifunc.c: New file.
3967         * benchtests/bench-memset.c: New file.
3968         * benchtests/bench-rawmemchr-ifunc.c: New file.
3969         * benchtests/bench-rawmemchr.c: New file.
3970         * benchtests/bench-stpcpy-ifunc.c: New file.
3971         * benchtests/bench-stpcpy.c: New file.
3972         * benchtests/bench-stpncpy-ifunc.c: New file.
3973         * benchtests/bench-stpncpy.c: New file.
3974         * benchtests/bench-strcasecmp-ifunc.c: New file.
3975         * benchtests/bench-strcasecmp.c: New file.
3976         * benchtests/bench-strcasestr-ifunc.c: New file.
3977         * benchtests/bench-strcasestr.c: New file.
3978         * benchtests/bench-strcat-ifunc.c: New file.
3979         * benchtests/bench-strcat.c: New file.
3980         * benchtests/bench-strchr-ifunc.c: New file.
3981         * benchtests/bench-strchr.c: New file.
3982         * benchtests/bench-strchrnul-ifunc.c: New file.
3983         * benchtests/bench-strchrnul.c: New file.
3984         * benchtests/bench-strcmp-ifunc.c: New file.
3985         * benchtests/bench-strcmp.c: New file.
3986         * benchtests/bench-strcpy-ifunc.c: New file.
3987         * benchtests/bench-strcpy.c: New file.
3988         * benchtests/bench-strcspn-ifunc.c: New file.
3989         * benchtests/bench-strcspn.c: New file.
3990         * benchtests/bench-strlen-ifunc.c: New file.
3991         * benchtests/bench-strlen.c: New file.
3992         * benchtests/bench-strncasecmp-ifunc.c: New file.
3993         * benchtests/bench-strncasecmp.c: New file.
3994         * benchtests/bench-strncat-ifunc.c: New file.
3995         * benchtests/bench-strncat.c: New file.
3996         * benchtests/bench-strncmp-ifunc.c: New file.
3997         * benchtests/bench-strncmp.c: New file.
3998         * benchtests/bench-strncpy-ifunc.c: New file.
3999         * benchtests/bench-strncpy.c: New file.
4000         * benchtests/bench-strnlen-ifunc.c: New file.
4001         * benchtests/bench-strnlen.c: New file.
4002         * benchtests/bench-strpbrk-ifunc.c: New file.
4003         * benchtests/bench-strpbrk.c: New file.
4004         * benchtests/bench-strrchr-ifunc.c: New file.
4005         * benchtests/bench-strrchr.c: New file.
4006         * benchtests/bench-strspn-ifunc.c: New file.
4007         * benchtests/bench-strspn.c: New file.
4008         * benchtests/bench-strstr-ifunc.c: New file.
4009         * benchtests/bench-strstr.c: New file.
4011         * benchtests/Makefile: Disable parallel execution of targets.
4012         (string-bench): Add memcpy.
4013         (benchset): New variable to store a list of benchmark sets.
4014         (bench-func): Renamed from bench.
4015         (bench-set): New target.
4016         (bench): Depend on bench-func and bench-set.
4017         * benchtests/README: Add section on benchmark sets.
4018         * benchtests/bench-memcpy-ifunc.c: New file.
4019         * benchtests/bench-memcpy.c: New file.
4020         * benchtests/bench-string.h: New file.
4022 2013-06-11  Andreas Schwab  <schwab@suse.de>
4024         [BZ #15577]
4025         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4026         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4027         values in the triple.
4028         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4029         terminator in the group key.
4031 2013-06-11  Andreas Jaeger  <aj@suse.de>
4033         * po/zh_TW.po: Update Chinese (traditional) translation from
4034         translation project.
4036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4038         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4039         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4040         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4042         (clock_getcpuclockid): Likewise.
4043         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4044         Add weak_alias and libc_hidden_def.
4045         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4046         * rt/clock_gettime.c (clock_gettime): Rename to
4047         __clock_gettime.  Add weak_alias and libc_hidden_def.
4048         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4049         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4050         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4051         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4052         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4053         Likewise.
4054         * rt/clock_settime.c (clock_settime): Rename to
4055         __clock_settime.  Add weak_alias and libc_hidden_def.
4056         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4058 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4060         * mach/err_boot.sub: Remove trailing whitespace.
4061         * mach/err_ipc.sub: Likewise.
4062         * mach/err_mach.sub: Likewise.
4064         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4065         (ROUNDING_TESTS_double): Likewise.
4066         (ROUNDING_TESTS_long_double): Likewise.
4067         (ROUNDING_TESTS): Likewise.
4068         * math/libm-test.inc: Include <math-tests.h>.
4069         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4070         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4071         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4072         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4074 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4076         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4077         of assigning.
4079 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4081         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4082         otherwise empty TRANS lines.
4083         * sysdeps/gnu/errlist.c: Regenerated.
4085         * catgets/gencat.c (error_print): Use (void) in function
4086         definition.
4087         * crypt/crypt_util.c (__init_des): Likewise.
4088         * crypt/speeds.c (Stop): Likewise.
4089         (main): Likewise.
4090         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4091         * inet/ruserpass.c (token): Likewise.
4092         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4093         * intl/localealias.c (extend_alias_table): Likewise.
4094         * intl/plural-exp.c (init_germanic_plural): Likewise.
4095         * libio/fcloseall.c (__fcloseall): Likewise.
4096         * libio/genops.c (_IO_flush_all): Likewise.
4097         (_IO_flush_all_linebuffered): Likewise.
4098         (_IO_cleanup): Likewise.
4099         (_IO_iter_begin): Likewise.
4100         (_IO_iter_end): Likewise.
4101         (_IO_list_lock): Likewise.
4102         (_IO_list_unlock): Likewise.
4103         (_IO_list_resetlock): Likewise.
4104         * libio/getchar.c (getchar): Likewise.
4105         * libio/getchar_u.c (getchar_unlocked): Likewise.
4106         * libio/getwchar.c (getwchar): Likewise.
4107         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4108         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4109         * login/getpt.c (__getpt): Likewise.
4110         * login/tst-utmp.c (main): Likewise.
4111         * malloc/hooks.c (__malloc_check_init): Likewise.
4112         * malloc/malloc.c (__malloc_stats): Likewise.
4113         * malloc/mtrace.c (tr_break): Likewise.
4114         (mtrace): Likewise.
4115         (muntrace): Likewise.
4116         * misc/fstab.c (endfsent): Likewise.
4117         * misc/getclktck.c (__getclktck): Likewise.
4118         * misc/getdtsz.c (__getdtablesize): Likewise.
4119         * misc/gethostid.c (gethostid): Likewise.
4120         * misc/getpagesize.c (__getpagesize): Likewise.
4121         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4122         (__get_nprocs): Likewise.
4123         (__get_phys_pages): Likewise.
4124         (__get_avphys_pages): Likewise.
4125         * misc/getttyent.c (getttyent): Likewise.
4126         (setttyent): Likewise.
4127         (endttyent): Likewise.
4128         * misc/getusershell.c (getusershell): Likewise.
4129         (endusershell): Likewise.
4130         (setusershell): Likewise.
4131         (initshells): Likewise.
4132         * misc/hsearch.c (__hdestroy): Likewise.
4133         * misc/sync.c (sync): Likewise.
4134         * misc/syslog.c (closelog_internal): Likewise.
4135         (closelog): Likewise.
4136         * misc/ttyslot.c (ttyslot): Likewise.
4137         * misc/vhangup.c (vhangup): Likewise.
4138         * posix/fork.c (__fork): Likewise.
4139         * posix/getegid.c (__getegid): Likewise.
4140         * posix/geteuid.c (__geteuid): Likewise.
4141         * posix/getgid.c (__getgid): Likewise.
4142         * posix/getpid.c (__getpid): Likewise.
4143         * posix/getppid.c (__getppid): Likewise.
4144         * posix/getuid.c (__getuid): Likewise.
4145         * posix/pause.c (pause): Likewise.
4146         * posix/setpgrp.c (setpgrp): Likewise.
4147         * posix/setsid.c (__setsid): Likewise.
4148         * posix/test-vfork.c (noop): Likewise.
4149         * resolv/gethnamaddr.c (_endhtent): Likewise.
4150         (_gethtent): Likewise.
4151         (ht_endhostent): Likewise.
4152         (gethostent): Likewise.
4153         (dns_service): Likewise.
4154         * stdlib/drand48.c (drand48): Likewise.
4155         * stdlib/lrand48.c (lrand48): Likewise.
4156         * stdlib/mrand48.c (mrand48): Likewise.
4157         * stdlib/rand.c (rand): Likewise.
4158         * stdlib/random.c (__random): Likewise.
4159         * stdlib/setenv.c (clearenv): Likewise.
4160         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4161         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4162         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4163         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4164         (__get_nprocs): Likewise.
4165         (__get_phys_pages): Likewise.
4166         (__get_avphys_pages): Likewise.
4167         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4168         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4169         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4170         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4171         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4172         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4173         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4174         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4175         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4176         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4177         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4178         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4179         * sysdeps/posix/clock.c (clock): Likewise.
4180         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4181         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4182         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4183         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4184         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4186         (__get_nprocs_conf): Likewise.
4187         (__get_phys_pages): Likewise.
4188         (__get_avphys_pages): Likewise.
4189         * time/clock.c (clock): Likewise.
4190         * time/tzset.c (__tzname_max): Likewise.
4192 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4194         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4195         (__bswap_32): Do not use "register".
4196         * crypt/crypt.c (_ufc_doit_r): Likewise.
4197         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4199         * gmon/gmon.c (__monstartup): Likewise.
4200         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4201         * hurd/hurdmalloc.c (more_memory): Likewise.
4202         (malloc): Likewise.
4203         (free): Likewise.
4204         (realloc): Likewise.
4205         (malloc_fork_prepare): Likewise.
4206         (malloc_fork_parent): Likewise.
4207         (malloc_fork_child): Likewise.
4208         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4209         (_svcauth_des): Likewise.
4210         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4211         * inet/inet_net.c (inet_network): Likewise.
4212         * inet/inet_netof.c (inet_netof): Likewise.
4213         * inet/rcmd.c (__validuser2_sa): Likewise.
4214         * io/fts.c (fts_open): Likewise.
4215         (fts_load): Likewise.
4216         (fts_close): Likewise.
4217         (fts_read): Likewise.
4218         (fts_children): Likewise.
4219         (fts_build): Likewise.
4220         (fts_stat): Likewise.
4221         (fts_sort): Likewise.
4222         (fts_alloc): Likewise.
4223         (fts_lfree): Likewise.
4224         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4225         (_IO_file_xsgetn): Likewise.
4226         (_IO_file_xsgetn_mmap): Likewise.
4227         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4228         (_IO_cookie_write): Likewise.
4229         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4230         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4231         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4232         * malloc/obstack.c (_obstack_begin): Likewise.
4233         (_obstack_begin_1): Likewise.
4234         (_obstack_newchunk): Likewise.
4235         (_obstack_allocated_p): Likewise.
4236         (obstack_free): Likewise.
4237         (_obstack_memory_used): Likewise.
4238         * misc/getttyent.c (getttynam): Likewise.
4239         (getttyent): Likewise.
4240         (skip): Likewise.
4241         (value): Likewise.
4242         * misc/getusershell.c (initshells): Likewise.
4243         * misc/syslog.c (__vsyslog_chk): Likewise.
4244         * misc/ttyslot.c (ttyslot): Likewise.
4245         * nis/nis_hash.c (__nis_hash): Likewise.
4246         * posix/fnmatch_loop.c (FCT): Likewise.
4247         * posix/getconf.c (print_all): Likewise.
4248         (main): Likewise.
4249         * posix/getopt.c (exchange): Likewise.
4250         * posix/glob.c (globfree): Likewise.
4251         (prefix_array): Likewise.
4252         (__glob_pattern_type): Likewise.
4253         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4254         (NS_GET32): Likewise.
4255         (NS_PUT16): Likewise.
4256         (NS_PUT32): Likewise.
4257         * resolv/gethnamaddr.c (getanswer): Likewise.
4258         (gethostbyname2): Likewise.
4259         (gethostbyaddr): Likewise.
4260         (_gethtent): Likewise.
4261         (_gethtbyname2): Likewise.
4262         (_gethtbyaddr): Likewise.
4263         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4264         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4265         * resolv/res_init.c (__res_vinit): Likewise.
4266         (net_mask): Likewise.
4267         * resolv/res_mkquery.c (outchar): Likewise.
4268         (PRINT): Likewise.
4269         * stdio-common/printf_fp.c (outchar): Likewise.
4270         (PRINT): Likewise.
4271         * stdio-common/printf_fphex.c (outchar): Likewise.
4272         (PRINT): Likewise.
4273         * stdio-common/printf_size.c (outchar): Likewise.
4274         (PRINT): Likewise.
4275         * stdio-common/test_rdwr.c (main): Likewise.
4276         * stdio-common/tfformat.c (matches): Likewise.
4277         * stdio-common/vfprintf.c (outchar): Likewise.
4278         (printf_unknown): Likewise.
4279         (buffered_vfprintf): Likewise.
4280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4281         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4282         (ReadFile): Likewise.
4283         * stdlib/qsort.c (SWAP): Likewise.
4284         (_quicksort): Likewise.
4285         * stdlib/setenv.c (__add_to_environ): Likewise.
4286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4287         * stdlib/strtol_l.c (__strtol_l): Likewise.
4288         * stdlib/tst-strtod.c (main): Likewise.
4289         * stdlib/tst-strtol.c (main): Likewise.
4290         * stdlib/tst-strtoll.c (main): Likewise.
4291         * string/bits/string2.h (__strcmp_cc): Likewise.
4292         (__strcmp_cg): Likewise.
4293         (__strcspn_c1): Likewise.
4294         (__strcspn_c2): Likewise.
4295         (__strcspn_c3): Likewise.
4296         (__strspn_c1): Likewise.
4297         (__strspn_c2): Likewise.
4298         (__strspn_c3): Likewise.
4299         (__strsep_1c): Likewise.
4300         (__strsep_2c): Likewise.
4301         (__strsep_3c): Likewise.
4302         * string/memccpy.c (__memccpy): Likewise.
4303         * string/stpcpy.c (__stpcpy): Likewise.
4304         * string/strcmp.c (strcmp): Likewise.
4305         * string/strrchr.c (strrchr): Likewise.
4306         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4307         Likewise.
4308         * sysdeps/mach/hurd/getcwd.c
4309         (_hurd_canonicalize_directory_name_internal): Likewise.
4310         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4311         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4313         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4314         Likewise, in both definitions.
4315         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4316         definitions.
4317         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4318         64] (__bswap_64): Likewise.
4319         * time/test_time.c (main): Likewise.
4320         * time/tzfile.c (__tzfile_read): Likewise.
4321         (__tzfile_compute): Likewise.
4322         * time/tzset.c (__tzset_parse_tz): Likewise.
4323         (tzset_internal): Likewise.
4324         (compute_change): Likewise.
4325         * wcsmbs/wcscat.c (__wcscat): Likewise.
4326         * wcsmbs/wcschr.c (wcschr): Likewise.
4327         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4328         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4329         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4330         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4331         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4332         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4333         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4334         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4335         * wcsmbs/wmemset.c (wmemset): Likewise.
4337 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4339         * scripts/config.guess: Update to version 2013-05-16.
4340         * scripts/config.sub: Update to version 2013-04-24.
4341         * scripts/install-sh: Update to version 2011-11-20.07.
4342         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4343         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4345 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4347         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4348         * elf/sln.c: Likewise.
4349         * hurd/hurd/ioctl.h: Likewise.
4350         * hurd/hurdmalloc.c: Likewise.
4351         * hurd/xattr.c: Likewise.
4352         * include/shlib-compat.h: Likewise.
4353         * inet/ruserpass.c: Likewise.
4354         * libio/iofgets_u.c: Likewise.
4355         * libio/iofgetws_u.c: Likewise.
4356         * locale/programs/ld-identification.c: Likewise.
4357         * locale/programs/ld-time.c: Likewise.
4358         * mach/msg-destroy.c: Likewise.
4359         * nss/nss_files/files-netgrp.c: Likewise.
4360         * resolv/res_data.c: Likewise.
4361         * soft-fp/op-1.h: Likewise.
4362         * soft-fp/op-2.h: Likewise.
4363         * soft-fp/op-4.h: Likewise.
4364         * soft-fp/op-common.h: Likewise.
4365         * stdio-common/printf_fphex.c: Likewise.
4366         * stdlib/strtod_l.c: Likewise.
4367         * sunrpc/rpc/clnt.h: Likewise.
4368         * sysdeps/generic/framestate.c: Likewise.
4369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4370         * sysdeps/i386/bsd-setjmp.S: Likewise.
4371         * sysdeps/i386/__longjmp.S: Likewise.
4372         * sysdeps/i386/setjmp.S: Likewise.
4373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4374         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4391         * sysdeps/ieee754/support.c: Likewise.
4392         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4393         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4394         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4395         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4396         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4397         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4398         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4399         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4400         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4401         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4402         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4403         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4404         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4405         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4407         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4408         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4411 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4413         * posix/transbug.c: Remove executable mode.
4415 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4417         * crypt/speeds.c: Remove trailing whitespace.
4418         * dlfcn/default.c: Likewise.
4419         * elf/ifuncdep2.c: Likewise.
4420         * elf/ifuncmain1.c: Likewise.
4421         * elf/ifuncmain1vis.c: Likewise.
4422         * elf/testobj.h: Likewise.
4423         * elf/tst-stackguard1.c: Likewise.
4424         * gmon/sys/gmon.h: Likewise.
4425         * hurd/hurdmsg.c: Likewise.
4426         * hurd/new-fd.c: Likewise.
4427         * hurd/ports-get.c: Likewise.
4428         * iconvdata/ibm1008_420.c: Likewise.
4429         * inet/tst-getni1.c: Likewise.
4430         * inet/tst-getni2.c: Likewise.
4431         * libio/ioungetc.c: Likewise.
4432         * libio/wfiledoalloc.c: Likewise.
4433         * manual/libm-err-tab.pl: Likewise.
4434         * math/w_dremf.c: Likewise.
4435         * misc/ftruncate.c: Likewise.
4436         * posix/bug-glob2.c: Likewise.
4437         * posix/tst-pcre.c: Likewise.
4438         * posix/wait4.c: Likewise.
4439         * resolv/README: Likewise.
4440         * resolv/res_debug.h: Likewise.
4441         * resolv/tst-inet_ntop.c: Likewise.
4442         * setjmp/bug269-setjmp.c: Likewise.
4443         * soft-fp/extended.h: Likewise.
4444         * soft-fp/op-1.h: Likewise.
4445         * soft-fp/op-2.h: Likewise.
4446         * soft-fp/op-4.h: Likewise.
4447         * soft-fp/op-8.h: Likewise.
4448         * soft-fp/testit.c: Likewise.
4449         * stdio-common/bug16.c: Likewise.
4450         * stdlib/random.c: Likewise.
4451         * sunrpc/rpcsvc/rquota.x: Likewise.
4452         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4457         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4458         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4461         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4463         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4468         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4469         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4470         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4474         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4475         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4480         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4481         * sysdeps/ieee754/s_lib_version.c: Likewise.
4482         * sysdeps/mach/hurd/check_fds.c: Likewise.
4483         * sysdeps/mach/hurd/getsockname.c: Likewise.
4484         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4485         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4486         * sysdeps/powerpc/bits/link.h: Likewise.
4487         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4488         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4489         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4490         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4491         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4492         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4493         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4494         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4495         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4496         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4497         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4498         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4499         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4501         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4502         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4507         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4509         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4510         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4511         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4512         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4516         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4521         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4523         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4525         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4526         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4527         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4528         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4529         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4530         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4531         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4532         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4533         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4534         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4535         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4536         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4540         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4541         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4542         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4543         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4546         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4547         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4549         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4550         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4551         * sysdeps/powerpc/sysdep.h: Likewise.
4552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4553         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4554         * sysdeps/sh/dl-trampoline.S: Likewise.
4555         * sysdeps/sh/memset.S: Likewise.
4556         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4557         * sysdeps/sh/strlen.S: Likewise.
4558         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4559         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4560         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4561         * sysdeps/sparc/sparc32/rem.S: Likewise.
4562         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4563         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4564         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4565         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4566         * sysdeps/sparc/sparc32/urem.S: Likewise.
4567         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4568         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4569         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4570         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4572         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4573         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4574         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4575         * sysdeps/unix/bsd/times.c: Likewise.
4576         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4577         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4581         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4582         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4585         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4588         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4589         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4591         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4593         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4594         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4595         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4596         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4597         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4598         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4601         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4602         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4603         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4604         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4605         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4606         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4607         * sysdeps/x86_64/strcspn.S: Likewise.
4609 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4611         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4612         generated file.  Regenerate properly from gen-translit.pl.
4613         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4614         locale/C-translit.h.
4616 2013-06-05  Andreas Schwab  <schwab@suse.de>
4618         [BZ #15100]
4619         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4620         week as 6 instead of -1.
4621         * time/tst-strptime.c (day_tests): Add test case.
4623 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4625         * sysdeps/generic/math_private.h
4626         (libc_feholdexcept_setround_53bit): Replace with
4627         libc_feholdsetround_53bit.
4628         (libc_feupdateenv_53bit): Replace with
4629         libc_feresetround_53bit.
4630         (SET_RESTORE_ROUND_53BIT): Adjust.
4632 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4634         * string/test-strchrnul.c: Add copyright header.
4636         * posix/tst-getaddrinfo4.c: Increase test timeout.
4638 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4640         [BZ #15536]
4641         * math/libm-test.inc (MAX_EXP): Remove
4642         (MIN_EXP): Define.
4643         (ulp): Use MIN_EXP - MANT_DIG.
4644         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4646 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4648         * po/be.po: Revert last change.
4649         * po/zh_CN.po: Likewise.
4650         * po/header.pot: Likewise.
4652 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4654         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4655         link-libc-deps to empty as target-specific variable.
4656         * Makerules (link-libc-args): New variable.
4657         (libc-for-link): Likewise.
4658         (link-libc-deps): Likewise.
4659         (lib%.so): Depend on $(link-libc-deps).  Link with
4660         $(link-libc-args).
4661         (build-module): Link with $(link-libc-args).
4662         (build-module-asneeded): Likewise.
4663         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4664         list of objects.
4665         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4666         target-specific variable.
4667         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4668         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4669         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4670         libc.
4671         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4672         libc and ld.so.
4673         ($(objpfx)libpcprofile.so): Likewise.
4674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4675         libc_nonshared.a.
4676         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4677         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4678         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4679         $(link-libc-deps).
4680         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4681         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4682         * login/Makefile ($(objpfx)libutil.so): Likewise.
4683         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4684         * math/Makefile ($(objpfx)libm.so): Likewise.
4685         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4686         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4687         variable instead of depending directly on libc.
4688         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4689         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4690         $(link-libc-deps).
4691         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4692         libc.
4693         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4694         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4695         ($(objpfx)libanl.so): Likewise.
4696         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4697         ld.so.
4698         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4699         $(link-libc-deps).
4700         * sysdeps/i386/fpu/Makefile: Remove file.
4701         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4702         ($(objpfx)libm.so): Remove dependency on ld.so.
4704 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4706         [BZ # 15553]
4707         * nis/yp_xdr.c (XDRMAXNAME): Define.
4708         (XDRMAXRECORD): Define.
4709         (xdr_domainname): Use XDRMAXNAME.
4710         (xdr_mapname): Likewise.
4711         (xdr_peername): Likewise.
4712         (xdr_keydat): Use XDRMAXRECORD.
4713         (xdr_valdat): Likewise.
4715 2013-05-30  Jeff Law  <law@redhat.com>
4717         [BZ #14256]
4718         * manual/errno.texi (ESTALE): Update to account for more than
4719         just NFS file systems.
4720         * sysdeps/gnu/errlist.c: Regenerated.
4722 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4724         [BZ #15465]
4725         * elf/Makefile (tests): Add tst-null-argv.
4726         (modules-names):  Add tst-null-argv-lib.
4727         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4728         (tst-null-argv-ENV): Set environment for tst-null-argv.
4729         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4730         (RTLD_PROGNAME): New macro.
4731         * elf/tst-null-argv.c: New test case.
4732         * elf/tst-null-argv-lib.c: Library for test case.
4733         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4734         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4735         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4736         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4737         * elf/dl-init.c (call_init): Likewise.
4738         (_dl_init): Likewise.
4739         * elf/dl-load.c (print_search_path): Likewise.
4740         (_dl_map_object): Likewise.
4741         * elf/dl-lookup.c (do_lookup_x): Likewise.
4742         (add_dependency): Likewise.
4743         (_dl_lookup_symbol_x): Likewise.
4744         (_dl_debug_bindings): Likewise.
4745         * elf/dl-open.c (_dl_show_scope): Likewise.
4746         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4747         * elf/dl-version.c (match_symbol): Likewise.
4748         (_dl_check_map_versions): Likewise.
4749         * elf/rtld.c (dl_main): Likewise.
4750         (print_unresolved): Use RTLD_PROGNAME.
4751         (print_missing_version): Likewise.
4752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4753         (elf_machine_rela): Likewise.
4754         * sysdeps/powerpc/powerpc32/dl-machine.c
4755         (__process_machine_rela): Likewise.
4756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4757         Likewise.
4758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4759         Likewise.
4760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4761         Likewise.
4762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4764         Likewise.
4765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4766         Likewise.
4767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4769 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4771         * po/be.po: Add descriptive title.
4772         * po/zh_CN.po: Likewise.
4773         * po/header.pot: Likewise.
4775 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4777         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4778         error message.
4779         (enlarge_archive): Likewise.
4781 2013-05-28  Ben North  <ben@redfrontdoor.org>
4783         * manual/arith.texi (frexp): It is the magnitude of the return
4784         value which lies in [0.5, 1), not the return value itself.
4786 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4790 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4792         * stdio-common/bug26.c (main): Correct fscanf template.
4794         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4795         declare _dl_skip_args.
4797         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4798         Don't declare.
4800         * manual/platform.texi: Add missing @end deftypefun.
4802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4804         [BZ #15529]
4805         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4806         bit of mantissa of 2^16382.
4807         * math/libm-test.inc (hypot_test_data): Add more tests.
4809         * math/libm-test.inc: Add drem and pow10 to list of tested
4810         functions.
4811         (pow10_test): New function.
4812         (drem_test): Likewise.
4813         (drem_test_tonearest): Likewise.
4814         (drem_test_towardzero): Likewise.
4815         (drem_test_downward): Likewise.
4816         (drem_test_upward): Likewise.
4817         (main): Call the new functions.
4819         * math/libm-test.inc (finite_test_data): Remove.
4820         (finite_test): Run tests from isfinite_test_data.
4821         (gamma_test_data): Remove.
4822         (gamma_test): Run tests from lgamma_test_data.
4823         * sysdeps/i386/fpu/libm-test-ulps: Update.
4824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4826 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4828         * manual/platform.texi: Add PowerPC PPR function set documentation.
4829         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4830         implementation.
4832 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4834         * math/libm-test.inc (MAX_EXP): Define.
4835         (ULPDIFF): Define.
4836         (ulp): New function.
4837         (check_float_internal): Use ULPDIFF.
4838         (cpow_test): Disable failing test.
4839         (check_ulp): Test ulp() implemetnation.
4840         (main): Call check_ulp before starting tests.
4842 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4844         * math/gen-libm-test.pl (generate_testfile): Do not handle
4845         START_DATA and END_DATA.
4846         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4847         END_DATA.
4848         (acos_tonearest_test_data): Likewise.
4849         (acos_towardzero_test_data): Likewise.
4850         (acos_downward_test_data): Likewise.
4851         (acos_upward_test_data): Likewise.
4852         (acosh_test_data): Likewise.
4853         (asin_test_data): Likewise.
4854         (asin_tonearest_test_data): Likewise.
4855         (asin_towardzero_test_data): Likewise.
4856         (asin_downward_test_data): Likewise.
4857         (asin_upward_test_data): Likewise.
4858         (asinh_test_data): Likewise.
4859         (atan_test_data): Likewise.
4860         (atanh_test_data): Likewise.
4861         (atan2_test_data): Likewise.
4862         (cabs_test_data): Likewise.
4863         (cacos_test_data): Likewise.
4864         (cacosh_test_data): Likewise.
4865         (carg_test_data): Likewise.
4866         (casin_test_data): Likewise.
4867         (casinh_test_data): Likewise.
4868         (catan_test_data): Likewise.
4869         (catanh_test_data): Likewise.
4870         (cbrt_test_data): Likewise.
4871         (ccos_test_data): Likewise.
4872         (ccosh_test_data): Likewise.
4873         (ceil_test_data): Likewise.
4874         (cexp_test_data): Likewise.
4875         (cimag_test_data): Likewise.
4876         (clog_test_data): Likewise.
4877         (clog10_test_data): Likewise.
4878         (conj_test_data): Likewise.
4879         (copysign_test_data): Likewise.
4880         (cos_test_data): Likewise.
4881         (cos_tonearest_test_data): Likewise.
4882         (cos_towardzero_test_data): Likewise.
4883         (cos_downward_test_data): Likewise.
4884         (cos_upward_test_data): Likewise.
4885         (cosh_test_data): Likewise.
4886         (cosh_tonearest_test_data): Likewise.
4887         (cosh_towardzero_test_data): Likewise.
4888         (cosh_downward_test_data): Likewise.
4889         (cosh_upward_test_data): Likewise.
4890         (cpow_test_data): Likewise.
4891         (cproj_test_data): Likewise.
4892         (creal_test_data): Likewise.
4893         (csin_test_data): Likewise.
4894         (csinh_test_data): Likewise.
4895         (csqrt_test_data): Likewise.
4896         (ctan_test_data): Likewise.
4897         (ctan_tonearest_test_data): Likewise.
4898         (ctan_towardzero_test_data): Likewise.
4899         (ctan_downward_test_data): Likewise.
4900         (ctan_upward_test_data): Likewise.
4901         (ctanh_test_data): Likewise.
4902         (ctanh_tonearest_test_data): Likewise.
4903         (ctanh_towardzero_test_data): Likewise.
4904         (ctanh_downward_test_data): Likewise.
4905         (ctanh_upward_test_data): Likewise.
4906         (erf_test_data): Likewise.
4907         (erfc_test_data): Likewise.
4908         (exp_test_data): Likewise.
4909         (exp_tonearest_test_data): Likewise.
4910         (exp_towardzero_test_data): Likewise.
4911         (exp_downward_test_data): Likewise.
4912         (exp_upward_test_data): Likewise.
4913         (exp10_test_data): Likewise.
4914         (exp2_test_data): Likewise.
4915         (expm1_test_data): Likewise.
4916         (fabs_test_data): Likewise.
4917         (fdim_test_data): Likewise.
4918         (finite_test_data): Likewise.
4919         (floor_test_data): Likewise.
4920         (fma_test_data): Likewise.
4921         (fma_towardzero_test_data): Likewise.
4922         (fma_downward_test_data): Likewise.
4923         (fma_upward_test_data): Likewise.
4924         (fmax_test_data): Likewise.
4925         (fmin_test_data): Likewise.
4926         (fmod_test_data): Likewise.
4927         (fpclassify_test_data): Likewise.
4928         (frexp_test_data): Likewise.
4929         (gamma_test_data): Likewise.
4930         (hypot_test_data): Likewise.
4931         (ilogb_test_data): Likewise.
4932         (isfinite_test_data): Likewise.
4933         (isgreater_test_data): Likewise.
4934         (isgreaterequal_test_data): Likewise.
4935         (isinf_test_data): Likewise.
4936         (isless_test_data): Likewise.
4937         (islessequal_test_data): Likewise.
4938         (islessgreater_test_data): Likewise.
4939         (isnan_test_data): Likewise.
4940         (isnormal_test_data): Likewise.
4941         (issignaling_test_data): Likewise.
4942         (isunordered_test_data): Likewise.
4943         (j0_test_data): Likewise.
4944         (j1_test_data): Likewise.
4945         (jn_test_data): Likewise.
4946         (ldexp_test_data): Likewise.
4947         (lgamma_test_data): Likewise.
4948         (lrint_test_data): Likewise.
4949         (lrint_tonearest_test_data): Likewise.
4950         (lrint_towardzero_test_data): Likewise.
4951         (lrint_downward_test_data): Likewise.
4952         (lrint_upward_test_data): Likewise.
4953         (llrint_test_data): Likewise.
4954         (llrint_tonearest_test_data): Likewise.
4955         (llrint_towardzero_test_data): Likewise.
4956         (llrint_downward_test_data): Likewise.
4957         (llrint_upward_test_data): Likewise.
4958         (log_test_data): Likewise.
4959         (log10_test_data): Likewise.
4960         (log1p_test_data): Likewise.
4961         (log2_test_data): Likewise.
4962         (logb_test_data): Likewise.
4963         (logb_downward_test_data): Likewise.
4964         (lround_test_data): Likewise.
4965         (llround_test_data): Likewise.
4966         (modf_test_data): Likewise.
4967         (nearbyint_test_data): Likewise.
4968         (nextafter_test_data): Likewise.
4969         (nexttoward_test_data): Likewise.
4970         (pow_test_data): Likewise.
4971         (pow_tonearest_test_data): Likewise.
4972         (pow_towardzero_test_data): Likewise.
4973         (pow_downward_test_data): Likewise.
4974         (pow_upward_test_data): Likewise.
4975         (remainder_test_data): Likewise.
4976         (remainder_tonearest_test_data): Likewise.
4977         (remainder_towardzero_test_data): Likewise.
4978         (remainder_downward_test_data): Likewise.
4979         (remainder_upward_test_data): Likewise.
4980         (remquo_test_data): Likewise.
4981         (rint_test_data): Likewise.
4982         (rint_tonearest_test_data): Likewise.
4983         (rint_towardzero_test_data): Likewise.
4984         (rint_downward_test_data): Likewise.
4985         (rint_upward_test_data): Likewise.
4986         (round_test_data): Likewise.
4987         (scalb_test_data): Likewise.
4988         (scalbn_test_data): Likewise.
4989         (scalbln_test_data): Likewise.
4990         (signbit_test_data): Likewise.
4991         (sin_test_data): Likewise.
4992         (sin_tonearest_test_data): Likewise.
4993         (sin_towardzero_test_data): Likewise.
4994         (sin_downward_test_data): Likewise.
4995         (sin_upward_test_data): Likewise.
4996         (sincos_test_data): Likewise.
4997         (sinh_test_data): Likewise.
4998         (sinh_tonearest_test_data): Likewise.
4999         (sinh_towardzero_test_data): Likewise.
5000         (sinh_downward_test_data): Likewise.
5001         (sinh_upward_test_data): Likewise.
5002         (sqrt_test_data): Likewise.
5003         (tan_test_data): Likewise.
5004         (tan_tonearest_test_data): Likewise.
5005         (tan_towardzero_test_data): Likewise.
5006         (tan_downward_test_data): Likewise.
5007         (tan_upward_test_data): Likewise.
5008         (tanh_test_data): Likewise.
5009         (tgamma_test_data): Likewise.
5010         (trunc_test_data): Likewise.
5011         (y0_test_data): Likewise.
5012         (y1_test_data): Likewise.
5013         (yn_test_data): Likewise.
5014         (significand_test_data): Likewise.
5016         * math/gen-libm-test.pl (@functions): Remove variable.
5017         (generate_testfile): Don't handle START and END lines.
5018         * math/libm-test.inc (START): New macro.
5019         (END): Likewise.
5020         (END_COMPLEX): Likewise.
5021         (acos_test): Use END macro without arguments.
5022         (acos_test_tonearest): Likewise.
5023         (acos_test_towardzero): Likewise.
5024         (acos_test_downward): Likewise.
5025         (acos_test_upward): Likewise.
5026         (acosh_test): Likewise.
5027         (asin_test): Likewise.
5028         (asin_test_tonearest): Likewise.
5029         (asin_test_towardzero): Likewise.
5030         (asin_test_downward): Likewise.
5031         (asin_test_upward): Likewise.
5032         (asinh_test): Likewise.
5033         (atan_test): Likewise.
5034         (atanh_test): Likewise.
5035         (atan2_test): Likewise.
5036         (cabs_test): Likewise.
5037         (cacos_test): Use END_COMPLEX macro without arguments.
5038         (cacosh_test): Likewise.
5039         (carg_test): Use END macro without arguments.
5040         (casin_test): Use END_COMPLEX macro without arguments.
5041         (casinh_test): Likewise.
5042         (catan_test): Likewise.
5043         (catanh_test): Likewise.
5044         (cbrt_test): Use END macro without arguments.
5045         (ccos_test): Use END_COMPLEX macro without arguments.
5046         (ccosh_test): Likewise.
5047         (ceil_test): Use END macro without arguments.
5048         (cexp_test): Use END_COMPLEX macro without arguments.
5049         (cimag_test): Use END macro without arguments.
5050         (clog_test): Use END_COMPLEX macro without arguments.
5051         (clog10_test): Likewise.
5052         (conj_test): Likewise.
5053         (copysign_test): Use END macro without arguments.
5054         (cos_test): Likewise.
5055         (cos_test_tonearest): Likewise.
5056         (cos_test_towardzero): Likewise.
5057         (cos_test_downward): Likewise.
5058         (cos_test_upward): Likewise.
5059         (cosh_test): Likewise.
5060         (cosh_test_tonearest): Likewise.
5061         (cosh_test_towardzero): Likewise.
5062         (cosh_test_downward): Likewise.
5063         (cosh_test_upward): Likewise.
5064         (cpow_test): Use END_COMPLEX macro without arguments.
5065         (cproj_test): Likewise.
5066         (creal_test): Use END macro without arguments.
5067         (csin_test): Use END_COMPLEX macro without arguments.
5068         (csinh_test): Likewise.
5069         (csqrt_test): Likewise.
5070         (ctan_test): Likewise.
5071         (ctan_test_tonearest): Likewise.
5072         (ctan_test_towardzero): Likewise.
5073         (ctan_test_downward): Likewise.
5074         (ctan_test_upward): Likewise.
5075         (ctanh_test): Likewise.
5076         (ctanh_test_tonearest): Likewise.
5077         (ctanh_test_towardzero): Likewise.
5078         (ctanh_test_downward): Likewise.
5079         (ctanh_test_upward): Likewise.
5080         (erf_test): Use END macro without arguments.
5081         (erfc_test): Likewise.
5082         (exp_test): Likewise.
5083         (exp_test_tonearest): Likewise.
5084         (exp_test_towardzero): Likewise.
5085         (exp_test_downward): Likewise.
5086         (exp_test_upward): Likewise.
5087         (exp10_test): Likewise.
5088         (exp2_test): Likewise.
5089         (expm1_test): Likewise.
5090         (fabs_test): Likewise.
5091         (fdim_test): Likewise.
5092         (finite_test): Likewise.
5093         (floor_test): Likewise.
5094         (fma_test): Likewise.
5095         (fma_test_towardzero): Likewise.
5096         (fma_test_downward): Likewise.
5097         (fma_test_upward): Likewise.
5098         (fmax_test): Likewise.
5099         (fmin_test): Likewise.
5100         (fmod_test): Likewise.
5101         (fpclassify_test): Likewise.
5102         (frexp_test): Likewise.
5103         (gamma_test): Likewise.
5104         (hypot_test): Likewise.
5105         (ilogb_test): Likewise.
5106         (isfinite_test): Likewise.
5107         (isgreater_test): Likewise.
5108         (isgreaterequal_test): Likewise.
5109         (isinf_test): Likewise.
5110         (isless_test): Likewise.
5111         (islessequal_test): Likewise.
5112         (islessgreater_test): Likewise.
5113         (isnan_test): Likewise.
5114         (isnormal_test): Likewise.
5115         (issignaling_test): Likewise.
5116         (isunordered_test): Likewise.
5117         (j0_test): Likewise.
5118         (j1_test): Likewise.
5119         (jn_test): Likewise.
5120         (ldexp_test): Likewise.
5121         (lgamma_test): Likewise.
5122         (lrint_test): Likewise.
5123         (lrint_test_tonearest): Likewise.
5124         (lrint_test_towardzero): Likewise.
5125         (lrint_test_downward): Likewise.
5126         (lrint_test_upward): Likewise.
5127         (llrint_test): Likewise.
5128         (llrint_test_tonearest): Likewise.
5129         (llrint_test_towardzero): Likewise.
5130         (llrint_test_downward): Likewise.
5131         (llrint_test_upward): Likewise.
5132         (log_test): Likewise.
5133         (log10_test): Likewise.
5134         (log1p_test): Likewise.
5135         (log2_test): Likewise.
5136         (logb_test): Likewise.
5137         (logb_test_downward): Likewise.
5138         (lround_test): Likewise.
5139         (llround_test): Likewise.
5140         (modf_test): Likewise.
5141         (nearbyint_test): Likewise.
5142         (nextafter_test): Likewise.
5143         (nexttoward_test): Likewise.
5144         (pow_test): Likewise.
5145         (pow_test_tonearest): Likewise.
5146         (pow_test_towardzero): Likewise.
5147         (pow_test_downward): Likewise.
5148         (pow_test_upward): Likewise.
5149         (remainder_test): Likewise.
5150         (remainder_test_tonearest): Likewise.
5151         (remainder_test_towardzero): Likewise.
5152         (remainder_test_downward): Likewise.
5153         (remainder_test_upward): Likewise.
5154         (remquo_test): Likewise.
5155         (rint_test): Likewise.
5156         (rint_test_tonearest): Likewise.
5157         (rint_test_towardzero): Likewise.
5158         (rint_test_downward): Likewise.
5159         (rint_test_upward): Likewise.
5160         (round_test): Likewise.
5161         (scalb_test): Likewise.
5162         (scalbn_test): Likewise.
5163         (scalbln_test): Likewise.
5164         (signbit_test): Likewise.
5165         (sin_test): Likewise.
5166         (sin_test_tonearest): Likewise.
5167         (sin_test_towardzero): Likewise.
5168         (sin_test_downward): Likewise.
5169         (sin_test_upward): Likewise.
5170         (sincos_test): Likewise.
5171         (sinh_test): Likewise.
5172         (sinh_test_tonearest): Likewise.
5173         (sinh_test_towardzero): Likewise.
5174         (sinh_test_downward): Likewise.
5175         (sinh_test_upward): Likewise.
5176         (sqrt_test): Likewise.
5177         (tan_test): Likewise.
5178         (tan_test_tonearest): Likewise.
5179         (tan_test_towardzero): Likewise.
5180         (tan_test_downward): Likewise.
5181         (tan_test_upward): Likewise.
5182         (tanh_test): Likewise.
5183         (tgamma_test): Likewise.
5184         (trunc_test): Likewise.
5185         (y0_test): Likewise.
5186         (y1_test): Likewise.
5187         (yn_test): Likewise.
5188         (significand_test): Likewise.
5190 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5192         [BZ #15381]
5193         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5195 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5197         [BZ #14894]
5198         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5199         __ppc_mdoio and __ppc_mdoom.
5200         * manual/platform.texi: Document new functions __ppc_yield,
5201         __ppc_mdoio and __ppc_mdoom.
5203 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5205         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5206         (main): Mention "tls" pseudo-hwcap is legacy.
5207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5209 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5211         * math/gen-libm-test.pl (parse_args): Output only string of
5212         arguments as text for test name, not full call or descriptions of
5213         tests for extra outputs.
5214         (generate_testfile): Do not pass function name to parse_args.
5215         Generate this_func variable from START.
5216         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5217         field to arg_str.
5218         (struct test_ff_f_data): Likewise.
5219         (test_ff_f_data_nexttoward): Likewise.
5220         (struct test_fi_f_data): Likewise.
5221         (struct test_fl_f_data): Likewise.
5222         (struct test_if_f_data): Likewise.
5223         (struct test_fff_f_data): Likewise.
5224         (struct test_c_f_data): Likewise.
5225         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5226         (struct test_fF_f1_data): Likewise.
5227         (struct test_ffI_f1_data): Likewise.
5228         (struct test_c_c_data): Rename test_name field to arg_str.
5229         (struct test_cc_c_data): Likewise.
5230         (struct test_f_i_data): Likewise.
5231         (struct test_ff_i_data): Likewise.
5232         (struct test_f_l_data): Likewise.
5233         (struct test_f_L_data): Likewise.
5234         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5235         and extra2_name.
5236         (COMMON_TEST_SETUP): New macro.
5237         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5238         (COMMON_TEST_CLEANUP): Likewise.
5239         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5240         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5241         macros.
5242         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5243         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5244         macros.
5245         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5246         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5247         cleanup macros.
5248         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5249         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5250         macros.
5251         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5252         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5253         macros.
5254         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5255         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5256         cleanup macros.
5257         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5258         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5259         cleanup macros.
5260         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5261         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5262         cleanup macros.
5263         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5264         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5265         macros.
5266         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5267         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5268         macros.
5269         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5270         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5271         macros.
5272         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5273         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5274         cleanup macros.
5275         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5276         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5277         cleanup macros.
5278         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5279         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5280         macros.
5281         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5282         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5283         cleanup macros.
5284         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5285         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5286         macros.
5287         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5288         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5289         macros.
5290         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5291         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5292         cleanup macros.
5293         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5295 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5297         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5298         to _sifields.sigfault.
5299         (si_addr_lsb): Define new macro.
5300         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5304 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5306         [BZ #15441]
5307         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5308         returns -1.
5309         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5310         null return -1.
5311         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5312         loading the domain.
5314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5316         * math/gen-libm-test.pl (parse_args): Do not include expected
5317         result in test name.
5318         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5321         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5322         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5325 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5327         * benchtests/Makefile: Sort function entries.
5329         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5330         tanh, asinh, acosh, atanh.
5331         * benchtests/acos-inputs: New file.
5332         * benchtests/acosh-inputs: New file.
5333         * benchtests/asin-inputs: New file.
5334         * benchtests/asinh-inputs: New file.
5335         * benchtests/atanh-inputs: New file.
5336         * benchtests/cosh-inputs: New file.
5337         * benchtests/log-inputs: New file.
5338         * benchtests/sinh-inputs: New file.
5339         * benchtests/tanh-inputs: New file.
5341 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5343         [BZ #15339]
5344         * posix/tst-getaddrinfo4.c: New test.
5345         * posix/Makefile (tests): Add it.
5347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5349         [BZ #15339]
5350         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5351         when no services were used.
5352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5353         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5355 2013-05-21  Andreas Schwab  <schwab@suse.de>
5357         [BZ #15014]
5358         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5359         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5360         successful.
5361         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5362         redundant variable declarations and reallocation of buffer when
5363         parsing as IPv6 address.  Always set NSS status when called from
5364         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5365         buffer too small.  Correct computation of needed size.
5366         * nss/Makefile (tests): Add test-digits-dots.
5367         * nss/test-digits-dots.c: New test.
5369 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5371         * benchtests/Makefile: Remove instructions for adding
5372         benchmark tests.
5373         * benchtests/README: New file to explain how to execute and
5374         enhance the benchmark tests.
5376 2013-05-21  Andreas Schwab  <schwab@suse.de>
5378         [BZ #15493]
5379         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5380         * setjmp/tst-sigsetjmp.c: New test.
5382 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5384         * sysdeps/x86_64/memset.S (memset): New implementation.
5385         (__bzero): Likewise.
5386         (__memset_tail): New function.
5388 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5392         __memcpy_sse2_unaligned ifunc selection.
5393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5394         Add memcpy-sse2-unaligned.S.
5395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5396         Add: __memcpy_sse2_unaligned.
5398 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5400         [BZ #15490]
5401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5402         math_force_eval before restoring floating-point envrionment.
5403         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5405         Likewise.
5406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5407         <math_private.h>.
5408         (__nearbyintl): Use math_force_eval before restoring
5409         floating-point environment.
5410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5412         * math/gen-libm-test.pl (special_functions): Remove.
5413         (parse_args): Don't handle TEST_extra.  Handle functions with no
5414         return value.
5415         * math/libm-test.inc (struct test_sincos_data): Replace with
5416         struct test_fFF_11_data.
5417         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5418         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5419         (sincos_test_data): Change element type to struct
5420         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5421         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5422         RUN_TEST_LOOP_sincos.
5423         * math/README.libm-test: Don't mention special handling of
5424         individual functions.
5425         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5428         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432         * math/gen-libm-test.pl (get_variable): Remove function.
5433         (parse_args): Don't show pointer parameters to call in test
5434         names.  Use "extra output N" in test names for extra outputs
5435         rather than naming variables.
5437 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5439         [BZ #15488]
5440         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5441         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5442         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5443         double tests.
5444         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5445         disable.
5446         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5447         check_long_double.
5449         * math/gen-libm-test.pl (@tests): Remove variable.
5450         ($count): Likewise.
5451         (new_test): Remove function.
5452         (show_exceptions): New function.
5453         (special_functions): Use show_exceptions instead of new_test.
5454         (parse_args): Likewise.
5455         (generate_testfile): Pass only function name in generated call to
5456         print_max_error or print_complex_max_error.
5457         (get_ulps): Do not handle complex tests specially.
5458         (output_test): Rename to ...
5459         (get_all_ulps_for_test): ... this.  Return a string rather than
5460         printing to a file.  Require ulps to be present.
5461         (output_ulps): Generate arrays rather than #defines.
5462         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5463         (struct ulp_data): New type.
5464         (BUILD_COMPLEX_ULP): Remove macro.
5465         (compare_ulp_data): New function.
5466         (find_ulps): Likewise.
5467         (find_test_ulps): Likewise.
5468         (find_function_ulps): Likewise.
5469         (find_complex_function_ulps): Likewise.
5470         (print_max_error): Determine allowed ulps using
5471         find_function_ulps.
5472         (print_complex_max_error): Determine allowed ulps using
5473         find_complex_function_ulps.
5474         (check_float_internal): Determine max ulps using find_test_ulps.
5475         (check_float): Do not take max_ulp parameter.  Update call to
5476         check_float_internal.
5477         (check_complex): Likewise.
5478         (check_int): Do not take max_ulp parameter.
5479         (check_long): Likewise.
5480         (check_bool): Likewise.
5481         (check_longlong): Likewise.
5482         (struct test_f_f_data): Remove max_ulp field.
5483         (struct test_ff_f_data): Likewise.
5484         (struct test_ff_f_data_nexttoward): Likewise.
5485         (struct test_fi_f_data): Likewise.
5486         (struct test_fl_f_data): Likewise.
5487         (struct test_if_f_data): Likewise.
5488         (struct test_fff_f_data): Likewise.
5489         (struct test_c_f_data): Likewise.
5490         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5491         (struct test_fF_f1_data): Likewise.
5492         (struct test_ffI_f1_data): Likewise.
5493         (struct test_c_c_data): Remove max_ulp field.
5494         (struct test_cc_c_data): Likewise.
5495         (struct test_f_i_data): Likewise.
5496         (struct test_ff_i_data): Likewise.
5497         (struct test_f_l_data): Likewise.
5498         (struct test_f_L_data): Likewise.
5499         (struct test_sincos_data): Likewise.
5500         (RUN_TEST_f_f): Do not handle ulps.
5501         (RUN_TEST_LOOP_f_f): Likewise.
5502         (RUN_TEST_2_f): Likewise.
5503         (RUN_TEST_LOOP_2_f): Likewise.
5504         (RUN_TEST_fff_f): Likewise.
5505         (RUN_TEST_LOOP_fff_f): Likewise.
5506         (RUN_TEST_c_f): Likewise.
5507         (RUN_TEST_LOOP_c_f): Likewise.
5508         (RUN_TEST_f_f1): Likewise.
5509         (RUN_TEST_LOOP_f_f1): Likewise.
5510         (RUN_TEST_fF_f1): Likewise.
5511         (RUN_TEST_LOOP_fF_f1): Likewise.
5512         (RUN_TEST_fI_f1): Likewise.
5513         (RUN_TEST_LOOP_fI_f1): Likewise.
5514         (RUN_TEST_ffI_f1): Likewise.
5515         (RUN_TEST_LOOP_ffI_f1): Likewise.
5516         (RUN_TEST_c_c): Likewise.
5517         (RUN_TEST_LOOP_c_c): Likewise.
5518         (RUN_TEST_cc_c): Likewise.
5519         (RUN_TEST_LOOP_cc_c): Likewise.
5520         (RUN_TEST_f_i): Likewise.
5521         (RUN_TEST_LOOP_f_i): Likewise.
5522         (RUN_TEST_f_i_tg): Likewise.
5523         (RUN_TEST_LOOP_f_i_tg): Likewise.
5524         (RUN_TEST_ff_i_tg): Likewise.
5525         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5526         (RUN_TEST_f_b): Likewise.
5527         (RUN_TEST_LOOP_f_b): Likewise.
5528         (RUN_TEST_f_b_tg): Likewise.
5529         (RUN_TEST_LOOP_f_b_tg): Likewise.
5530         (RUN_TEST_f_l): Likewise.
5531         (RUN_TEST_LOOP_f_l): Likewise.
5532         (RUN_TEST_f_L): Likewise.
5533         (RUN_TEST_LOOP_f_L): Likewise.
5534         (RUN_TEST_sincos): Likewise.
5535         (RUN_TEST_LOOP_sincos): Likewise.
5537 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5539         [BZ #15480]
5540         [BZ #15485]
5541         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5542         main case of finite arguments, set rounding mode to FE_TONEAREST
5543         and discard exceptions.
5544         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5545         exceptions.
5546         (remainder_tonearest_test_data): New variable.
5547         (remainder_test_tonearest): New function.
5548         (remainder_towardzero_test_data): New variable.
5549         (remainder_test_towardzero): New function.
5550         (remainder_downward_test_data): New variable.
5551         (remainder_test_downward): New function.
5552         (remainder_upward_test_data): New variable.
5553         (remainder_test_upward): New function.
5554         (main): Call the new test functions.
5556         * math/libm-test.inc (struct test_f_f1_data): Remove field
5557         extra_init.
5558         (struct test_fF_f1_data): Likewise.
5559         (struct test_ffI_f1_data): Likewise.
5560         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5561         based on value of EXTRA_EXPECTED.
5562         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5563         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5564         EXTRA_VAR based on value of EXTRA_EXPECTED.
5565         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5566         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5567         EXTRA_VAR based on value of EXTRA_EXPECTED.
5568         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5569         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5570         EXTRA_VAR based on value of EXTRA_EXPECTED.
5571         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5572         * math/gen-libm-test.pl (parse_args): Don't output initializers
5573         for extra output values.
5575         * math/libm-test.inc (check_int): Expect result to be exactly
5576         equal to expected value and do not handle ulps.
5577         (check_long): Likewise.
5578         (check_longlong): Likewise.
5580         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5581         exceptions.
5582         (cimag_test_data): Likewise.
5583         (conj_test_data): Likewise.
5584         (copysign_test_data): Likewise.
5585         (cproj_test_data): Likewise.
5586         (creal_test_data): Likewise.
5587         (fabs_test_data): Likewise.
5588         (fdim_test_data): Likewise.
5589         (finite_test_data): Likewise.
5590         (floor_test_data): Likewise.
5591         (fmax_test_data): Likewise.
5592         (fmin_test_data): Likewise.
5593         (fmod_test_data): Likewise.
5594         (fpclassify_test_data): Likewise.
5595         (frexp_test_data): Likewise.
5596         (ilogb_test_data): Likewise.
5597         (isfinite_test_data): Likewise.
5598         (isgreater_test_data): Likewise.
5599         (isgreaterequal_test_data): Likewise.
5600         (isinf_test_data): Likewise.
5601         (isless_test_data): Likewise.
5602         (islessequal_test_data): Likewise.
5603         (islessgreater_test_data): Likewise.
5604         (isnan_test_data): Likewise.
5605         (isnormal_test_data): Likewise.
5606         (issignaling_test_data): Likewise.
5607         (isunordered_test_data): Likewise.
5608         (ldexp_test_data): Likewise.
5609         (lrint_test_data): Likewise.
5610         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5611         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5612         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5613         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5614         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5615         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5616         test input.
5617         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5618         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5619         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5620         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5621         that test input.
5622         (lrint_downward_test_data): Test for "inexact" exceptions.
5623         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5624         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5625         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5626         test input.
5627         (lrint_upward_test_data): Test for "inexact" exceptions.
5628         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5629         test input.
5630         (llrint_test_data): Test for "inexact" exceptions.
5631         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5632         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5633         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5634         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5635         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5636         (llrint_downward_test_data): Test for "inexact" exceptions.
5637         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5638         (llrint_upward_test_data): Test for "inexact" exceptions.
5639         (logb_test_data): Likewise.
5640         (logb_downward_test_data): Likewise.
5641         (nextafter_test_data): Likewise.
5642         (nexttoward_test_data): Likewise.
5643         (remainder_test_data): Likewise.
5644         (remquo_test_data): Likewise.
5645         (scalbn_test_data): Likewise.
5646         (scalbln_test_data): Likewise.
5647         (signbit_test_data): Likewise.
5648         (sqrt_test_data): Likewise.
5649         (significand_test_data): Likewise.
5651 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5653         [BZ #15424]
5654         * benchtests/bench-modf.c (struct args): Mark arg0 as
5655         volatile.
5656         * scripts/bench.pl: Mark members of struct args as volatile.
5658 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5660         [BZ # 15497]
5661         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5662         negative infinity on POWER6 or lower.
5663         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5665 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5667         [BZ #15442]
5668         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5669         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5670         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5671         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5672         (_FP_SETQNAN): New macro.
5673         (_FP_SETQNAN_SEMIRAW): Likewise.
5674         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5675         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5676         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5677         (FP_EXTEND): Use _FP_FRAC_SNANP.
5678         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5679         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5680         into account.
5681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5682         New macro.
5683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5684         Likewise.
5686 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5688         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5689         with DIVIDE_BY_ZERO_EXCEPTION.
5690         (gamma_test_data): Likewise.
5691         (lgamma_test_data): Likewise.
5692         (log_test_data): Likewise.
5693         (log10_test_data): Likewise.
5694         (log2_test_data): Likewise.
5695         (tgamma_test_data): Likewise.
5697         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5698         (acos_test_tonearest): Likewise.
5699         (acos_test_towardzero): Likewise.
5700         (acos_test_downward): Likewise.
5701         (acos_test_upward): Likewise.
5702         (acosh_test): Likewise.
5703         (asin_test): Likewise.
5704         (asin_test_tonearest): Likewise.
5705         (asin_test_towardzero): Likewise.
5706         (asin_test_downward): Likewise.
5707         (asin_test_upward): Likewise.
5708         (asinh_test): Likewise.
5709         (atan_test): Likewise.
5710         (atanh_test): Likewise.
5711         (atan2_test): Likewise.
5712         (cabs_test): Likewise.
5713         (cacos_test): Likewise.
5714         (cacosh_test): Likewise.
5715         (casin_test): Likewise.
5716         (casinh_test): Likewise.
5717         (catan_test): Likewise.
5718         (catanh_test): Likewise.
5719         (cbrt_test): Likewise.
5720         (ccos_test): Likewise.
5721         (ccosh_test): Likewise.
5722         (cexp_test): Likewise.
5723         (clog_test): Likewise.
5724         (clog10_test): Likewise.
5725         (cos_test): Likewise.
5726         (cos_test_tonearest): Likewise.
5727         (cos_test_towardzero): Likewise.
5728         (cos_test_downward): Likewise.
5729         (cos_test_upward): Likewise.
5730         (cosh_test): Likewise.
5731         (cosh_test_tonearest): Likewise.
5732         (cosh_test_towardzero): Likewise.
5733         (cosh_test_downward): Likewise.
5734         (cosh_test_upward): Likewise.
5735         (cpow_test): Likewise.
5736         (csin_test): Likewise.
5737         (csinh_test): Likewise.
5738         (csqrt_test): Likewise.
5739         (ctan_test): Likewise.
5740         (ctan_test_tonearest): Likewise.
5741         (ctan_test_towardzero): Likewise.
5742         (ctan_test_downward): Likewise.
5743         (ctan_test_upward): Likewise.
5744         (ctanh_test): Likewise.
5745         (ctanh_test_tonearest): Likewise.
5746         (ctanh_test_towardzero): Likewise.
5747         (ctanh_test_downward): Likewise.
5748         (ctanh_test_upward): Likewise.
5749         (erf_test): Likewise.
5750         (erfc_test): Likewise.
5751         (exp_test): Likewise.
5752         (exp_test_tonearest): Likewise.
5753         (exp_test_towardzero): Likewise.
5754         (exp_test_downward): Likewise.
5755         (exp_test_upward): Likewise.
5756         (exp10_test): Likewise.
5757         (exp2_test): Likewise.
5758         (expm1_test): Likewise.
5759         (fmod_test): Likewise.
5760         (gamma_test): Likewise.
5761         (hypot_test): Likewise.
5762         (j0_test): Likewise.
5763         (j1_test): Likewise.
5764         (jn_test): Likewise.
5765         (lgamma_test): Likewise.
5766         (log_test): Likewise.
5767         (log10_test): Likewise.
5768         (log1p_test): Likewise.
5769         (log2_test): Likewise.
5770         (logb_test_downward): Likewise.
5771         (pow_test): Likewise.
5772         (pow_test_tonearest): Likewise.
5773         (pow_test_towardzero): Likewise.
5774         (pow_test_downward): Likewise.
5775         (pow_test_upward): Likewise.
5776         (remainder_test): Likewise.
5777         (remquo_test): Likewise.
5778         (sin_test): Likewise.
5779         (sin_test_tonearest): Likewise.
5780         (sin_test_towardzero): Likewise.
5781         (sin_test_downward): Likewise.
5782         (sin_test_upward): Likewise.
5783         (sincos_test): Likewise.
5784         (sinh_test): Likewise.
5785         (sinh_test_tonearest): Likewise.
5786         (sinh_test_towardzero): Likewise.
5787         (sinh_test_downward): Likewise.
5788         (sinh_test_upward): Likewise.
5789         (sqrt_test): Likewise.
5790         (tan_test): Likewise.
5791         (tan_test_tonearest): Likewise.
5792         (tan_test_towardzero): Likewise.
5793         (tan_test_downward): Likewise.
5794         (tan_test_upward): Likewise.
5795         (tanh_test): Likewise.
5796         (tgamma_test): Likewise.
5797         (y0_test): Likewise.
5798         (y1_test): Likewise.
5799         (yn_test): Likewise.
5801         * math/gen-libm-test.pl (adjust_arg): Remove function.
5802         (special_function): Remove argument $in_func.  Only handle
5803         generating output for tables of tests, not inside functions.
5804         (parse_args): Likewise.
5805         (generate_testfile): Remove variable $in_func.  Update call to
5806         parse_args.
5807         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5808         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5809         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5810         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5811         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5812         (MAX_VALUE_INIT): Rename macro to max_value.
5813         (MIN_VALUE_INIT): Rename macro to min_value.
5814         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5815         (plus_zero): Remove variable.
5816         (minus_zero): Likewise.
5817         (plus_infty): Likewise.
5818         (minus_infty): Likewise.
5819         (qnan_value): Likewise.
5820         (max_value): Likewise.
5821         (min_value): Likewise.
5822         (min_subnorm_value): Likewise.
5824 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5826         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5827         uint64_t or uint32_t usage.
5828         * crypt/sha256-block.c: Likewise.
5829         * crypt/sha256-crypt.c: Likewise.
5830         * crypt/sha256.c: Likewise.
5831         * crypt/sha512-block.c: Likewise.
5832         * crypt/sha512-crypt.c: Likewise.
5833         * crypt/sha512.c: Likewise.
5834         * debug/backtrace-tst.c: Likewise.
5835         * debug/pcprofiledump.c: Likewise.
5836         * elf/cache.c: Likewise.
5837         * elf/dl-cache.c: Likewise.
5838         * elf/dl-misc.c: Likewise.
5839         * elf/dl-profile.c: Likewise.
5840         * elf/dl-support.c: Likewise.
5841         * elf/ldconfig.c: Likewise.
5842         * elf/sprof.c: Likewise.
5843         * iconv/dummy-repertoire.c: Likewise.
5844         * iconv/iconv_charmap.c: Likewise.
5845         * iconv/skeleton.c: Likewise.
5846         * iconvdata/8bit-generic.c: Likewise.
5847         * iconvdata/cp737.h: Likewise.
5848         * iconvdata/cp775.h: Likewise.
5849         * iconvdata/ibm1008.h: Likewise.
5850         * iconvdata/ibm1025.h: Likewise.
5851         * iconvdata/ibm1046.h: Likewise.
5852         * iconvdata/ibm1097.h: Likewise.
5853         * iconvdata/ibm1112.h: Likewise.
5854         * iconvdata/ibm1122.h: Likewise.
5855         * iconvdata/ibm1123.h: Likewise.
5856         * iconvdata/ibm1124.h: Likewise.
5857         * iconvdata/ibm1129.h: Likewise.
5858         * iconvdata/ibm1130.h: Likewise.
5859         * iconvdata/ibm1132.h: Likewise.
5860         * iconvdata/ibm1133.h: Likewise.
5861         * iconvdata/ibm1137.h: Likewise.
5862         * iconvdata/ibm1140.h: Likewise.
5863         * iconvdata/ibm1141.h: Likewise.
5864         * iconvdata/ibm1142.h: Likewise.
5865         * iconvdata/ibm1143.h: Likewise.
5866         * iconvdata/ibm1144.h: Likewise.
5867         * iconvdata/ibm1145.h: Likewise.
5868         * iconvdata/ibm1146.h: Likewise.
5869         * iconvdata/ibm1147.h: Likewise.
5870         * iconvdata/ibm1148.h: Likewise.
5871         * iconvdata/ibm1149.h: Likewise.
5872         * iconvdata/ibm1153.h: Likewise.
5873         * iconvdata/ibm1154.h: Likewise.
5874         * iconvdata/ibm1155.h: Likewise.
5875         * iconvdata/ibm1156.h: Likewise.
5876         * iconvdata/ibm1157.h: Likewise.
5877         * iconvdata/ibm1158.h: Likewise.
5878         * iconvdata/ibm1160.h: Likewise.
5879         * iconvdata/ibm1161.h: Likewise.
5880         * iconvdata/ibm1162.h: Likewise.
5881         * iconvdata/ibm1163.h: Likewise.
5882         * iconvdata/ibm1164.h: Likewise.
5883         * iconvdata/ibm1166.h: Likewise.
5884         * iconvdata/ibm1167.h: Likewise.
5885         * iconvdata/ibm12712.h: Likewise.
5886         * iconvdata/ibm1390.h: Likewise.
5887         * iconvdata/ibm1399.h: Likewise.
5888         * iconvdata/ibm16804.h: Likewise.
5889         * iconvdata/ibm4517.h: Likewise.
5890         * iconvdata/ibm4899.h: Likewise.
5891         * iconvdata/ibm4909.h: Likewise.
5892         * iconvdata/ibm4971.h: Likewise.
5893         * iconvdata/ibm5347.h: Likewise.
5894         * iconvdata/ibm803.h: Likewise.
5895         * iconvdata/ibm856.h: Likewise.
5896         * iconvdata/ibm901.h: Likewise.
5897         * iconvdata/ibm902.h: Likewise.
5898         * iconvdata/ibm9030.h: Likewise.
5899         * iconvdata/ibm9066.h: Likewise.
5900         * iconvdata/ibm921.h: Likewise.
5901         * iconvdata/ibm922.h: Likewise.
5902         * iconvdata/ibm9448.h: Likewise.
5903         * iconvdata/isiri-3342.h: Likewise.
5904         * iconvdata/jis0201.h: Likewise.
5905         * include/link.h: Likewise.
5906         * include/netdb.h: Likewise.
5907         * inet/check_native.c: Likewise.
5908         * inet/check_pf.c: Likewise.
5909         * inet/getipv4sourcefilter.c: Likewise.
5910         * inet/getnameinfo.c: Likewise.
5911         * inet/getsourcefilter.c: Likewise.
5912         * inet/htonl.c: Likewise.
5913         * inet/setipv4sourcefilter.c: Likewise.
5914         * inet/setsourcefilter.c: Likewise.
5915         * inet/test-inet6_opt.c: Likewise.
5916         * inet/tst-network.c: Likewise.
5917         * locale/C-collate.c: Likewise.
5918         * locale/C-ctype.c: Likewise.
5919         * locale/C-time.c: Likewise.
5920         * locale/C-translit.h: Likewise.
5921         * locale/loadarchive.c: Likewise.
5922         * locale/programs/3level.h: Likewise.
5923         * locale/programs/charmap.c: Likewise.
5924         * locale/programs/charmap.h: Likewise.
5925         * locale/programs/ld-address.c: Likewise.
5926         * locale/programs/ld-collate.c: Likewise.
5927         * locale/programs/ld-ctype.c: Likewise.
5928         * locale/programs/ld-identification.c: Likewise.
5929         * locale/programs/ld-measurement.c: Likewise.
5930         * locale/programs/ld-messages.c: Likewise.
5931         * locale/programs/ld-monetary.c: Likewise.
5932         * locale/programs/ld-name.c: Likewise.
5933         * locale/programs/ld-numeric.c: Likewise.
5934         * locale/programs/ld-paper.c: Likewise.
5935         * locale/programs/ld-telephone.c: Likewise.
5936         * locale/programs/ld-time.c: Likewise.
5937         * locale/programs/linereader.c: Likewise.
5938         * locale/programs/locale.c: Likewise.
5939         * locale/programs/locarchive.c: Likewise.
5940         * locale/programs/locfile.h: Likewise.
5941         * locale/programs/repertoire.c: Likewise.
5942         * locale/programs/simple-hash.c: Likewise.
5943         * locale/programs/simple-hash.h: Likewise.
5944         * malloc/memusage.c: Likewise.
5945         * malloc/memusagestat.c: Likewise.
5946         * nis/nis_defaults.c: Likewise.
5947         * nis/nis_hash.c: Likewise.
5948         * nis/nis_print.c: Likewise.
5949         * nis/nis_xdr.c: Likewise.
5950         * nscd/connections.c: Likewise.
5951         * nscd/hstcache.c: Likewise.
5952         * nscd/nscd_gethst_r.c: Likewise.
5953         * nscd/nscd_getserv_r.c: Likewise.
5954         * nscd/nscd_helper.c: Likewise.
5955         * nscd/servicescache.c: Likewise.
5956         * nss/makedb.c: Likewise.
5957         * nss/nss_db/db-XXX.c: Likewise.
5958         * nss/nss_db/db-initgroups.c: Likewise.
5959         * nss/nss_db/db-netgrp.c: Likewise.
5960         * nss/nss_files/files-network.c: Likewise.
5961         * nss/nss_files/files-parse.c: Likewise.
5962         * posix/bug-regex5.c: Likewise.
5963         * posix/fnmatch_loop.c: Likewise.
5964         * posix/regcomp.c: Likewise.
5965         * posix/regexec.c: Likewise.
5966         * posix/tst-rfc3484-2.c: Likewise.
5967         * posix/tst-rfc3484-3.c: Likewise.
5968         * posix/tst-rfc3484.c: Likewise.
5969         * resolv/nss_dns/dns-canon.c: Likewise.
5970         * resolv/nss_dns/dns-network.c: Likewise.
5971         * resolv/res_init.c: Likewise.
5972         * resolv/res_mkquery.c: Likewise.
5973         * resolv/tst-aton.c: Likewise.
5974         * stdlib/cxa_atexit.c: Likewise.
5975         * stdlib/cxa_finalize.c: Likewise.
5976         * stdlib/gen-fpioconst.c: Likewise.
5977         * stdlib/strtol_l.c: Likewise.
5978         * string/tst-endian.c: Likewise.
5979         * sunrpc/auth_des.c: Likewise.
5980         * sunrpc/clnt_udp.c: Likewise.
5981         * sunrpc/rtime.c: Likewise.
5982         * sunrpc/svcauth_des.c: Likewise.
5983         * sunrpc/xdr.c: Likewise.
5984         * sunrpc/xdr_intXX_t.c: Likewise.
5985         * sunrpc/xdr_rec.c: Likewise.
5986         * sysdeps/generic/ldconfig.h: Likewise.
5987         * sysdeps/generic/ldsodefs.h: Likewise.
5988         * sysdeps/generic/memusage.h: Likewise.
5989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5997         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5999         * sysdeps/posix/getaddrinfo.c: Likewise.
6000         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6002         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6004         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6005         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6006         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6007         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6008         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6010         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6011         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6012         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6013         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6014         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6015         * sysdeps/x86_64/dl-tls.h: Likewise.
6016         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6017         * time/alt_digit.c: Likewise.
6018         * time/era.c: Likewise.
6019         * wcsmbs/tst-c16c32-1.c: Likewise.
6021 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6023         * math/libm-test.inc (struct test_sincos_data): New type.
6024         (RUN_TEST_LOOP_sincos): New macro.
6025         (sincos_test_data): New variable.
6026         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6028 2013-05-16  Richard Henderson  <rth@redhat.com>
6030         * math/atest-exp2.c (LIMB64): New macro.
6031         (CONSTSZ): New macro.
6032         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6033         (hexdig): Move ...
6034         (print_mpn_fp): ... to function scope.
6035         (read_mpn_hex): Remove.
6036         (get_log2): Remove.
6037         (exp2_mpn): Use mp_log2.
6038         (main): Use mp_exp1.
6040 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6042         * math/libm-test.inc: Remove comment about not testing "inexact"
6043         exceptions.
6044         (INEXACT_EXCEPTION): New macro.
6045         (NO_INEXACT_EXCEPTION): Likewise.
6046         (INVALID_EXCEPTION_OK): Update value.
6047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6048         (OVERFLOW_EXCEPTION_OK): Likewise.
6049         (UNDERFLOW_EXCEPTION_OK): Likewise.
6050         (IGNORE_ZERO_INF_SIGN): Likewise.
6051         (ERRNO_UNCHANGED): Likewise.
6052         (ERRNO_EDOM): Likewise.
6053         (ERRNO_ERANGE): Likewise.
6054         (test_exceptions): Handle testing "inexact" exceptions.
6055         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6056         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6057         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6058         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6059         INEXACT_EXCEPTION.
6060         (rint_towardzero_test_data): Likewise.
6061         (rint_downward_test_data): Likewise.
6062         (rint_upward_test_data): Likewise.
6064         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6065         with OVERFLOW_EXCEPTION.
6066         (exp10_test_data): Likewise.
6067         (exp2_test_data): Likewise.
6068         (expm1_test_data): Likewise.
6069         (lgamma_test_data): Likewise.
6070         (pow_test_data): Likewise.
6071         (tgamma_test_data): Likewise.
6072         (yn_test_data): Remove duplicate test of overflow.
6074         * math/libm-test.inc (struct test_cc_c_data): New type.
6075         (RUN_TEST_LOOP_cc_c): New macro.
6076         (cpow_test_data): New variable.
6077         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6079         * math/libm-test.inc (struct test_f_L_data): New type.
6080         (RUN_TEST_LOOP_f_L): New macro.
6081         (llrint_test_data): New variable.
6082         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6083         (llrint_tonearest_test_data): New variable.
6084         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6085         (llrint_towardzero_test_data): New variable.
6086         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6087         (llrint_downward_test_data): New variable.
6088         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6089         (llrint_upward_test_data): New variable.
6090         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6091         (llround_test_data): New variable.
6092         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6094 2013-05-13  Peter Collingbourne  <pcc@google.com>
6096         * math/atest-exp2.c (get_log2): Remove const attribute.
6098 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6100         * math/libm-test.inc (struct test_f_l_data): New type.
6101         (RUN_TEST_LOOP_f_l): New macro.
6102         (lrint_test_data): New variable.
6103         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6104         (lrint_tonearest_test_data): New variable.
6105         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6106         (lrint_towardzero_test_data): New variable.
6107         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6108         (lrint_downward_test_data): New variable.
6109         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6110         (lrint_upward_test_data): New variable.
6111         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6112         (lround_test_data): New variable.
6113         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6115 2013-05-15  Peter Collingbourne  <pcc@google.com>
6117         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6118         (EXTRACT_WORDS64) Use where appropriate.
6119         (INSERT_WORDS64) Likewise.
6121         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6122         constraints with x constraints.
6123         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6125         * malloc/obstack.c (_obstack_compat): Add initializer.
6127 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6130         si_trapno and add si_addr_lsb to _sifields.sigfault.
6131         (si_trapno): Remove macro.
6132         (si_addr_lsb): Define new macro.
6133         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6135 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6137         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6138         instead of TEST_f_l.
6139         (llrint_test_tonearest): Likewise.
6140         (llrint_test_towardzero): Likewise.
6141         (llrint_test_downward): Likewise.
6142         (llrint_test_upward): Likewise.
6143         (llround_test): Likewise.
6145         * math/libm-test.inc (struct test_f_i_data): Add comment.
6146         (RUN_TEST_LOOP_f_b): New macro.
6147         (RUN_TEST_LOOP_f_b_tg): Likewise.
6148         (finite_test_data): New variable.
6149         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6150         (isfinite_test_data): New variable.
6151         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6152         (isinf_test_data): New variable.
6153         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6154         (isnan_test_data): New variable.
6155         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6156         (isnormal_test_data): New variable.
6157         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6158         (issignaling_test_data): New variable.
6159         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6160         (signbit_test_data): New variable.
6161         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6163         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6164         with INVALID_EXCEPTION.
6165         (acosh_test_data): Likewise.
6166         (asin_test_data): Likewise.
6167         (atanh_test_data): Likewise.
6168         (fmod_test_data): Likewise.
6169         (log_test_data): Likewise.
6170         (log10_test_data): Likewise.
6171         (log2_test_data): Likewise.
6172         (pow_test_data): Likewise.
6173         (sqrt_test_data): Likewise.
6174         (y0_test_data): Likewise.
6175         (y1_test_data): Likewise.
6176         (yn_test_data): Likewise.
6178         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6179         function contents.
6181         * math/libm-test.inc (struct test_ff_i_data): New type.
6182         (RUN_TEST_LOOP_ff_i_tg): New macro.
6183         (isgreater_test_data): New variable.
6184         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6185         (isgreaterequal_test_data): New variable.
6186         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6187         (isless_test_data): New variable.
6188         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6189         (islessequal_test_data): New variable.
6190         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6191         (islessgreater_test_data): New variable.
6192         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6193         (isunordered_test_data): New variable.
6194         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6196 2013-05-14  David S. Miller  <davem@davemloft.net>
6198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6200 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6202         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6204         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6205         extra_test to int.
6206         (struct test_f_i_data): Change type of max_ulp to int.
6208         * math/libm-test.inc (test_ffI_f1_data): New type.
6209         (RUN_TEST_LOOP_ffI_f1): New macro.
6210         (remquo_test_data): New variable.
6211         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6213         * setjmp/tst-setjmp-fp.c: New file.
6214         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6215         (link-libm): New variable.
6216         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6218         * math/libm-test.inc (struct test_f_i_data): New type.
6219         (RUN_TEST_LOOP_f_i): New macro.
6220         (RUN_TEST_LOOP_f_i_tg): Likewise.
6221         (fpclassify_test_data): New variable.
6222         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6223         (ilogb_test_data): New variable.
6224         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6226         * math/libm-test.inc (scalbln_test): Correct function name in END
6227         call.
6229         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6230         (RUN_TEST_LOOP_fI_f1): New macro.
6231         (frexp_test_data): New variable.
6232         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6234         * math/libm-test.inc (struct test_fF_f1_data): New type.
6235         (RUN_TEST_LOOP_fF_f1): New macro.
6236         (modf_test_data): New variable.
6237         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6239         * math/libm-test.inc (struct test_f_f1_data): New type.
6240         (RUN_TEST_LOOP_f_f1): New macro.
6241         (gamma_test_data): New variable.
6242         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6243         (lgamma_test_data): New variable.
6244         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6246 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6249         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6250         (main): Comment "tls" pseudo-hwcap.
6252 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6254         * math/libm-test.inc (struct test_fl_f_data): New type.
6255         (RUN_TEST_LOOP_fl_f): New variable.
6256         (scalbln_test_data): New variable.
6257         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6259         * math/libm-test.inc (struct test_fi_f_data): New type.
6260         (RUN_TEST_LOOP_fi_f): New macro.
6261         (ldexp_test_data): New variable.
6262         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6263         (scalbn_test_data): New variable.
6264         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6266         * math/libm-test.inc (struct test_c_f_data): New type.
6267         (RUN_TEST_LOOP_c_f): New macro.
6268         (cabs_test_data): New variable.
6269         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6270         (carg_test_data): New variable.
6271         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6272         (cimag_test_data): New variable.
6273         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6274         (creal_test_data): New variable.
6275         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6277         * math/libm-test.inc (struct test_if_f_data): New type.
6278         (RUN_TEST_LOOP_if_f): New macro.
6279         (jn_test_data): New variable.
6280         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6281         (yn_test_data): New variable.
6282         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6284         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6286 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6288         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6289         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6291 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6293         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6294         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6295         (bench-deps): Add bench-timing.h.
6296         * benchtests-bench-skeleton.c: Include bench-timing.h.
6297         (main): Use TIMING_* macros instead of clock_gettime.
6298         * benchtests/bench-timing.h: New file.
6300         [BZ #14582]
6301         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6302         Renamed from _LIB_VERSION.
6303         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6305 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6307         * math/libm-test.inc (struct test_fff_f_data): New type.
6308         (RUN_TEST_LOOP_fff_f): New macro.
6309         (fma_test_data): New variable.
6310         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6311         (fma_towardzero_test_data): New variable.
6312         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6313         (fma_downward_test_data): New variable.
6314         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6315         (fma_upward_test_data): New variable.
6316         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6318         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6319         (struct test_c_c_data): New type.
6320         (RUN_TEST_LOOP_c_c): New macro.
6321         (cacos_test_data): New variable.
6322         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6323         (cacosh_test_data): New variable.
6324         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6325         (casin_test_data): New variable.
6326         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6327         (casinh_test_data): New variable.
6328         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6329         (catan_test_data): New variable.
6330         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6331         (catanh_test_data): New variable.
6332         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6333         (ccos_test_data): New variable.
6334         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6335         (ccosh_test_data): New variable.
6336         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6337         (cexp_test_data): New variable.
6338         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6339         (clog_test_data): New variable.
6340         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6341         (clog10_test_data): New variable.
6342         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6343         (conj_test_data): New variable.
6344         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6345         (cproj_test_data): New variable.
6346         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6347         (csin_test_data): New variable.
6348         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6349         (csinh_test_data): New variable.
6350         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6351         (csqrt_test_data): New variable.
6352         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6353         (ctan_test_data): New variable.
6354         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6355         (ctan_tonearest_test_data): New variable.
6356         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6357         (ctan_towardzero_test_data): New variable.
6358         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6359         (ctan_downward_test_data): New variable.
6360         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6361         (ctan_upward_test_data): New variable.
6362         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6363         (ctanh_test_data): New variable.
6364         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6365         (ctanh_tonearest_test_data): New variable.
6366         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6367         (ctanh_towardzero_test_data): New variable.
6368         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6369         (ctanh_downward_test_data): New variable.
6370         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6371         (ctanh_upward_test_data): New variable.
6372         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6373         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6374         of BUILD_COMPLEX.
6376         * math/libm-test.inc (struct test_ff_f_data): New type.
6377         (struct test_ff_f_data_nexttoward): Likewise.
6378         (RUN_TEST_LOOP_2_f): New macro.
6379         (RUN_TEST_LOOP_ff_f): Likewise.
6380         (atan2_test_data): New variable.
6381         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6382         (copysign_test_data): New variable.
6383         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6384         (fdim_test_data): New variable.
6385         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6386         (fmax_test_data): New variable.
6387         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6388         (fmin_test_data): New variable.
6389         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6390         (fmod_test_data): New variable.
6391         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6392         (hypot_test_data): New variable.
6393         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6394         (nextafter_test_data): New variable.
6395         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6396         (nexttoward_test_data): New variable.
6397         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6398         (pow_test_data): New variable.
6399         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6400         (pow_tonearest_test_data): New variable.
6401         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6402         (pow_towardzero_test_data): New variable.
6403         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6404         (pow_downward_test_data): New variable.
6405         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6406         (pow_upward_test_data): New variable.
6407         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6408         (remainder_test_data): New variable.
6409         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6410         (scalb_test_data): New variable.
6411         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6412         * sysdeps/i386/fpu/libm-test-ulps: Update.
6414 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6416         * math/libm-test.inc (fma_test): Use max_value instead of local
6417         variable fltmax.
6418         (nextafter_test): Likewise.
6420         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6421         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6422         (acos_downward_test_data): New variable.
6423         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6424         (acos_upward_test_data): New variable.
6425         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6426         (acosh_test_data): New variable.
6427         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6428         (asin_test_data): New variable.
6429         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6430         (asin_tonearest_test_data): New variable.
6431         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6432         (asin_towardzero_test_data): New variable.
6433         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6434         (asin_downward_test_data): New variable.
6435         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6436         (asin_upward_test_data): New variable.
6437         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6438         (asinh_test_data): New variable.
6439         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6440         (atan_test_data): New variable.
6441         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6442         (atanh_test_data): New variable.
6443         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6444         (cbrt_test_data): New variable.
6445         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6446         (ceil_test_data): New variable.
6447         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6448         (cos_test_data): New variable.
6449         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6450         (cos_tonearest_test_data): New variable.
6451         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6452         (cos_towardzero_test_data): New variable.
6453         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6454         (cos_downward_test_data): New variable.
6455         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6456         (cos_upward_test_data): New variable.
6457         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6458         (cosh_test_data): New variable.
6459         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6460         (cosh_tonearest_test_data): New variable.
6461         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6462         (cosh_towardzero_test_data): New variable.
6463         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6464         (cosh_downward_test_data): New variable.
6465         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6466         (cosh_upward_test_data): New variable.
6467         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6468         (erf_test_data): New variable.
6469         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6470         (erfc_test_data): New variable.
6471         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6472         (exp_test_data): New variable.
6473         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6474         (exp_tonearest_test_data): New variable.
6475         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6476         (exp_towardzero_test_data): New variable.
6477         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6478         (exp_downward_test_data): New variable.
6479         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6480         (exp_upward_test_data): New variable.
6481         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6482         (exp10_test_data): New variable.
6483         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6484         (exp2_test_data): New variable.
6485         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6486         (expm1_test_data): New variable.
6487         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6488         (fabs_test_data): New variable.
6489         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6490         (floor_test_data): New variable.
6491         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6492         (j0_test_data): New variable.
6493         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6494         (j1_test_data): New variable.
6495         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6496         (log_test_data): New variable.
6497         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6498         (log10_test_data): New variable.
6499         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6500         (log1p_test_data): New variable.
6501         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6502         (log2_test_data): New variable.
6503         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6504         (logb_test_data): New variable.
6505         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6506         (logb_downward_test_data): New variable.
6507         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6508         (nearbyint_test_data): New variable.
6509         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6510         (rint_test_data): New variable.
6511         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6512         (rint_tonearest_test_data): New variable.
6513         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6514         (rint_towardzero_test_data): New variable.
6515         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6516         (rint_downward_test_data): New variable.
6517         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6518         (rint_upward_test_data): New variable.
6519         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6520         (round_test_data): New variable.
6521         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6522         (sin_test_data): New variable.
6523         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6524         (sin_tonearest_test_data): New variable.
6525         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6526         (sin_towardzero_test_data): New variable.
6527         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6528         (sin_downward_test_data): New variable.
6529         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6530         (sin_upward_test_data): New variable.
6531         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6532         (sinh_test_data): New variable.
6533         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6534         (sinh_tonearest_test_data): New variable.
6535         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6536         (sinh_towardzero_test_data): New variable.
6537         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6538         (sinh_downward_test_data): New variable.
6539         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6540         (sinh_upward_test_data): New variable.
6541         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6542         (sqrt_test_data): New variable.
6543         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6544         (tan_test_data): New variable.
6545         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6546         (tan_tonearest_test_data): New variable.
6547         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6548         (tan_towardzero_test_data): New variable.
6549         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6550         (tan_downward_test_data): New variable.
6551         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6552         (tan_upward_test_data): New variable.
6553         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6554         (tanh_test_data): New variable.
6555         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6556         (tgamma_test_data): New variable.
6557         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6558         (trunc_test_data): New variable.
6559         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6560         (y0_test_data): New variable.
6561         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6562         (y1_test_data): New variable.
6563         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6564         (significand_test_data): New variable.
6565         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6567 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6569         [BZ #12387]
6570         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6572 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6574         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6576 2013-05-10  Andreas Jaeger  <aj@suse.de>
6578         [BZ #15448]
6579         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6580         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6582 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6584         * math/gen-libm-test.pl (adjust_arg): New function.
6585         (special_functions): Handle generating output in both functions
6586         and arrays.
6587         (parse_args): Likewise.
6588         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6589         $in_func argument to parse_args.
6590         * math/libm-test.inc (struct test_f_f_data): New type.
6591         (IF_ROUND_INIT_): New macro.
6592         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6593         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6594         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6595         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6596         (ROUND_RESTORE_): Likewise.
6597         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6598         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6599         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6600         (ROUND_RESTORE_FE_UPWARD): Likewise.
6601         (RUN_TEST_LOOP_f_f): New macro.
6602         (acos_test_data): New variable.
6603         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6604         (acos_tonearest_test_data): New variable.
6605         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6607 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6609         * benchtests/bench-skeleton.c (startup): Fix coding style.
6611 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6613         [BZ #6809]
6614         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6615         negative infinity argument.
6616         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6617         negative infinity argument.
6618         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6619         negative infinity argument.
6620         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6621         domain errors.
6623 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6625         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6626         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6627         * iconv/iconv_prog.c (main): Likewise.
6628         * locale/programs/charmap-dir.c (charmap_readdir)
6629         (fopen_uncompressed): Likewise.
6630         * locale/programs/locfile.c (siblings_uncached)
6631         (write_locale_data): Use lstat64 instead of lstat.
6632         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6633         stat.
6635 2013-05-10  Andreas Jaeger  <aj@suse.de>
6637         [BZ #15395]
6638         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6639         localization.
6640         Include <locale.h>.
6642 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6644         * elf/dl-close.c (_dl_close_worker): Add comments.
6646 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6648         [BZ #15359]
6649         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6650         high part of pi/2.
6651         (__ieee754_rem_pio2l): Update comments.
6653         [BZ #15429]
6654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6655         high part of pi/2.
6656         (__ieee754_rem_pio2l): Update comments.
6658         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6659         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6661         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6662         M_PI_4l.
6664         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6665         (M_PI_34_LOG10El): Likewise.
6666         (M_PI2_LOG10El): Likewise.
6667         (M_PI4_LOG10El): Likewise.
6668         (M_PI_LOG10El): Likewise.
6670 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6674 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6676         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6677         (MINUS_ZERO_INIT): Likewise.
6678         (PLUS_INFTY_INIT): Likewise.
6679         (MINUS_INFTY_INIT): Likewise.
6680         (QNAN_VALUE_INIT): Likewise.
6681         (MAX_VALUE_INIT): Likewise.
6682         (MIN_VALUE_INIT): Likewise.
6683         (MIN_SUBNORM_VALUE_INIT): Likewise.
6684         (plus_zero): Initialize with PLUS_ZERO_INIT.
6685         (minus_zero): Initialize with MINUS_ZERO_INIT.
6686         (plus_infty): Initialize with PLUS_INFTY_INIT.
6687         (minus_infty): Initialize with MINUS_INFTY_INIT.
6688         (qnan_value): Initialize with QNAN_VALUE_INIT.
6689         (max_value): Initialize with MAX_VALUE_INIT.
6690         (min_value): Initialize with MIN_VALUE_INIT.
6691         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6693         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6694         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6695         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6696         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6698         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6699         (RUN_TEST_2_f): Likewise.
6700         (RUN_TEST_ff_f): Likewise.
6701         (RUN_TEST_fi_f): Likewise.
6702         (RUN_TEST_fl_f): Likewise.
6703         (RUN_TEST_fff_f): Likewise.
6704         (RUN_TEST_c_f): Likewise.
6705         (RUN_TEST_f_f1): Likewise.
6706         (RUN_TEST_fF_f1): Likewise.
6707         (RUN_TEST_fI_f1): Likewise.
6708         (RUN_TEST_ffI_f1): Likewise.
6709         (RUN_TEST_c_c): Likewise.
6710         (RUN_TEST_cc_c): Likewise.
6711         (RUN_TEST_f_i): Likewise.
6712         (RUN_TEST_f_i_tg): Likewise.
6713         (RUN_TEST_ff_i_tg): Likewise.
6714         (RUN_TEST_f_b): Likewise.
6715         (RUN_TEST_f_b_tg): Likewise.
6716         (RUN_TEST_f_l): Likewise.
6717         (RUN_TEST_f_L): Likewise.
6718         (RUN_TEST_sincos): Likewise.
6719         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6720         whether to show exceptions.  Do not include ");\n" in return
6721         value.
6722         (special_functions): Output call to RUN_TEST_sincos instead of
6723         check_float calls.  Update calls to new_test.
6724         (parse_args): Output call to single RUN_TEST_* macro instead of
6725         check_* calls and other assignments.  Update calls to new_test.
6727         [BZ #2546]
6728         [BZ #2560]
6729         [BZ #5159]
6730         [BZ #15426]
6731         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6732         input to result for tgamma overflow.
6733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6734         (gamma_coeff): New variable.
6735         (NCOEFF): New macro.
6736         (gamma_positive): New function.
6737         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6738         underflow here.  Use gamma_positive instead of exp (lgamma) for
6739         other arguments.
6740         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6741         (gamma_coeff): New variable.
6742         (NCOEFF): New macro.
6743         (gammaf_positive): New function.
6744         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6745         underflow here.  Use gamma_positive instead of exp (lgamma) for
6746         other arguments.
6747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6748         (gamma_coeff): New variable.
6749         (NCOEFF): New macro.
6750         (gammal_positive): New function.
6751         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6752         underflow here.  Use gamma_positive instead of exp (lgamma) for
6753         other arguments.
6754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6755         (gamma_coeff): New variable.
6756         (NCOEFF): New macro.
6757         (gammal_positive): New function.
6758         (__ieee754_gammal_r): Handle positive infinity, overflow and
6759         underflow here.  Handle NaN the same as positive infinity.  Remove
6760         check x < 0xffffffff for negative integers.  Use gamma_positive
6761         instead of exp (lgamma) for other arguments.
6762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6763         (gamma_coeff): New variable.
6764         (NCOEFF): New macro.
6765         (gammal_positive): New function.
6766         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6767         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6768         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6769         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6770         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6771         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6772         * sysdeps/generic/math_private.h (__gamma_productf): New
6773         prototype.
6774         (__gamma_product): Likewise.
6775         (__gamma_productl): Likewise.
6776         * math/Makefile (libm-calls): Add gamma_product.
6777         * math/libm-test.inc (tgamma_test): Add more tests.
6778         * sysdeps/i386/fpu/libm-test-ulps: Update.
6779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6781 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6783         * benchtests/bench-skeleton.c (main): Preheat CPU.
6785 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6787         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6789 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6791         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6792         and _dl_skip_args_internal.
6794 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6796         * manual/message.texi (Message Translation): Talk about users.
6797         Message to key mapping impacts design.
6799 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6801         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6803         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6805         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6806         * sysdeps/wordsize-64/glob64.c: ... here.
6808         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6809         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6810         New macros.
6812         * debug/getlogin_r_chk.c: Moved to ...
6813         * login/getlogin_r_chk.c: ... here.
6814         * debug/Makefile (routines): Move getlogin_r_chk to ...
6815         * login/Makefile (routines): ... here.
6816         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6817         * login/Versions (libc: GLIBC_2.4): ... here.
6819         * io/poll.c (__poll): Renamed from poll.
6820         Add libc_hidden_def.
6821         (poll): Define as weak alias.
6823         * debug/ptsname_r_chk.c: Moved to ...
6824         * login/ptsname_r_chk.c: ... here.
6825         * debug/Makefile (routines): Move ptsname_r_chk to ...
6826         * login/Makefile (routines): ... here.
6827         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6828         * login/Versions (libc: GLIBC_2.4): ... here.
6830         * posix/getlogin.c: Moved to ...
6831         * login/getlogin.c: ... here.
6832         * posix/getlogin_r.c: Moved to ...
6833         * login/getlogin_r.c: ... here.
6834         * posix/getlogin_r.c: Moved to ...
6835         * login/getlogin_r.c: ... here.
6836         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6837         * login/Makefile (routines): ... here.
6838         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6839         * login/Versions (libc: GLIBC_2.0): ... here.
6841         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6842         (setrlimit): Define as weak alias.
6844         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6845         Call __ names for open, ftruncate, and close.
6846         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6847         (truncate): Define as weak alias.
6849 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6851         * math/gen-libm-test.pl (parse_args): Initialize x before each
6852         test of frexp, modf and remquo.
6854         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6855         test signgam value.
6857 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6859         [BZ #15418]
6860         [BZ #15419]
6861         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6862         internal tests.
6863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6865 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6867         * elf/dl-writev.h: New file.
6868         * elf/dl-misc.c: Include it.
6869         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6870         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6872 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6874         * math/libm-test.inc (noXFails): Remove variable.
6875         (noXPasses): Likewise.
6876         (BUILD_COMPLEX_INT): Remove macro.
6877         (print_screen): Remove xfail argument.
6878         (print_screen_max_error): Likewise.
6879         (update_stats): Likewise.
6880         (print_max_error): Likewise.  Update calls to other affected
6881         functions.
6882         (print_complex_max_error): Likewise.
6883         (test_single_exception): Update calls to print_screen.
6884         (test_single_errno): Likewise.
6885         (check_float_internal): Remove xfail argument.  Update calls to
6886         other affected functions.
6887         (check_float): Likewise.
6888         (check_complex): Likewise.
6889         (check_int): Likewise.
6890         (check_long): Likewise.
6891         (check_bool): Likewise.
6892         (check_longlong): Likewise.
6893         (main): Don't print noXFails and noXPasses.
6894         * math/gen-libm-test.pl (top level): Don't mention expected
6895         failure handling in comment.
6896         (new_test): Don't handle expected failures.
6897         (parse_args): Don't mention expected failure handling in comment.
6898         (generate_testfile): Don't handle expected failures.
6899         (parse_ulps): Likewise.
6900         (print_ulps_file): Likewise.
6901         (get_failure): Remove function.
6902         (output_test): Don't handle expected failures.
6903         * make/README.libm-test: Don't mention expected failure handling.
6905         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6906         (minus_zero): Likewise.
6907         (plus_infty): Likewise.
6908         (minus_infty): Likewise.
6909         (qnan_value): Likewise.
6910         (max_value): Likewise.
6911         (min_value): Likewise.
6912         (min_subnorm_value): Likewise.
6913         (initialize): Do not initialize those variables dynamically.
6915 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6917         * io/open.c (__open_2): Moved to ...
6918         * io/open_2.c: ... this new file.
6919         * io/open64.c (__open64_2): Moved to ...
6920         * io/open64_2.c: ... this new file.
6921         * io/openat.c (__openat_2): Moved to ...
6922         * io/openat_2.c: ... this new file.
6923         * io/openat64.c (__openat64_2): Moved to ...
6924         * io/openat64_2.c: ... this new file.
6925         * io/Makefile (routines): Add them.
6926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6927         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6928         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6929         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6930         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6931         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6932         (__openat64): Add hidden_ver.
6933         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6934         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6936         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6937         Separately conditionalize setting of GLRO(dl_sysinfo) so
6938         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6939         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6943         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6945         definition.
6946         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6947         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6948         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6949         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6950         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6952 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6954         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6955         test signgam value.
6957         * math/libm-test.inc (hypot_test): Do not use
6958         IGNORE_ZERO_INF_SIGN.
6960 2013-05-03  Andreas Jaeger  <aj@suse.de>
6962         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6963         Linux 3.9.
6964         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6965         (PF_MAX): Adjust for VSOCK change.
6967 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6971 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6973         [BZ #15264]
6974         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6975         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6976         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6978 2013-05-02  David S. Miller  <davem@davemloft.net>
6980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6982 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6984         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6986 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6988         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6990 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6992         [BZ #14952]
6993         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6994         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6995         Use __attribute__ ((__gnu_inline__)).
6996         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6997         Don't use __attribute__ ((__gnu_inline__)).
6999 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7001         [BZ #15423]
7002         * math/s_catan.c (__catan): Handle small real or imaginary part of
7003         input specially to avoid spurious underflow.
7004         * math/s_catanf.c (__catanf): Likewise.
7005         * math/s_catanh.c (__catanh): Likewise.
7006         * math/s_catanhf.c (__catanhf): Likewise.
7007         * math/s_catanhl.c (__catanhl): Likewise.
7008         * math/s_catanl.c (__catanl): Likewise.
7009         * math/libm-test.inc (catan_test): Add more tests.
7010         (catanh_test): Likewise.
7011         * sysdeps/i386/fpu/libm-test-ulps: Update.
7012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7018 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7020         [BZ #15416]
7021         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7022         accurately for denominator in atan2.
7023         * math/s_catanf.c (__catanf): Likewise.
7024         * math/s_catanh.c (__catanh): Likewise.
7025         * math/s_catanhf.c (__catanhf): Likewise.
7026         * math/s_catanhl.c (__catanhl): Likewise.
7027         * math/s_catanl.c (__catanl): Likewise.
7028         * math/libm-test.inc (catan_test): Add more tests.
7029         (catanh_test): Likewise.
7030         * sysdeps/i386/fpu/libm-test-ulps: Update.
7031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7033 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7035         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7037         * benchtests/Makefile (bench): Remove slow benchmarks.
7038         * benchtests/atan-inputs: Add slow benchmark inputs.
7039         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7040         (BENCH_FUNC): Accept variant offset.
7041         (VARIANT): Define.
7042         * benchtests/bench-skeleton.c (main): Run benchmark for each
7043         variant.
7044         * benchtests/cos-inputs: Add slow benchmark inputs.
7045         * benchtests/exp-inputs: Likewise.
7046         * benchtests/pow-inputs: Likewise.
7047         * benchtests/sin-inputs: Likewise.
7048         * benchtests/slowatan-inputs: Remove.
7049         * benchtests/slowatan.c: Remove.
7050         * benchtests/slowcos-inputs: Remove.
7051         * benchtests/slowcos.c: Remove.
7052         * benchtests/slowexp-inputs: Remove.
7053         * benchtests/slowexp.c: Remove.
7054         * benchtests/slowpow-inputs: Remove.
7055         * benchtests/slowpow.c: Remove.
7056         * benchtests/slowsin-inputs: Remove.
7057         * benchtests/slowsin.c: Remove.
7058         * benchtests/slowtan-inputs: Remove.
7059         * benchtests/slowtan.c: Remove.
7060         * benchtests/tan-inputs: Add slow benchmark inputs.
7061         * scripts/bench.pl: Parse comments and directives.
7063         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7064         in CPPFLAGS.
7065         ($(objpfx)bench-%.c): Remove *-ITER.
7066         * benchtests/bench-modf.c: Remove definition of ITER.
7067         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7068         (main): Loop for DURATION seconds instead of fixed number of
7069         iterations.
7070         * scripts/bench.pl: Don't expect iterations in parameters.
7072 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7074         * io/fchdir.c (__fchdir): Renamed from fchdir.
7075         (fchdir): Define as weak alias.
7077 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7079         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7080         (ERRNO_EDOM): Likewise.
7081         (ERRNO_ERANGE): Likewise.
7082         (noErrnoTests): New variable.
7083         (init_max_error): Set errno to 0.
7084         (test_single_errno): New function.
7085         (test_errno): Likewise.
7086         (check_float_internal): Call test_errno.  Set errno to 0.
7087         (check_complex): Refer to errno tests in comment.
7088         (check_int): Call test_errno.  Set errno to 0.
7089         (check_long): Likewise.
7090         (check_bool): Likewise.
7091         (check_longlong): Likewise.
7092         (cos_test): Use ERRNO_* flags for errno tests instead of
7093         check_int.
7094         (expm1_test): Likewise.
7095         (fmod_test): Likewise.
7096         (ilogb_test): Likewise.
7097         (lgamma_test): Likewise.
7098         (pow_test): Likewise.
7099         (remainder_test): Likewise.
7100         (sin_test): Likewise.
7101         (tan_test): Likewise.
7102         (yn_test): Likewise.
7103         (initialize): Set errno to 0.
7104         (main): Print number of errno tests.
7105         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7107 2013-04-29  Andreas Jaeger  <aj@suse.de>
7109         [BZ #15084]
7110         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7111         and RES_USEVC.
7113         [BZ #15085]
7114         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7115         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7116         unimplemented.
7118         [BZ #15380]
7119         * stdlib/random.c (__initstate): Return NULL if
7120         __initstate fails.
7122         [BZ #15086]
7123         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7124         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7125         RES_SNGLKUPREOP.
7127 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7131 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7133         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7134         of individual tests.
7135         (casin_test): Likewise.
7136         (casinh_test): Likewise.
7138 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7140         [BZ #15409]
7141         * math/s_catan.c (__catan): Handle arguments with large real or
7142         imaginary part separately without squaring.
7143         * math/s_catanf.c (__catanf): Likewise.
7144         * math/s_catanh.c (__catanh): Likewise.
7145         * math/s_catanhf.c (__catanhf): Likewise.
7146         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7147         and redefine.
7148         (__catanhl): Handle arguments with large real or imaginary part
7149         separately without squaring.
7150         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7151         and redefine.
7152         (__catanl): Handle arguments with large real or imaginary part
7153         separately without squaring.
7154         * math/libm-test.inc (catan_test): Add more tests.
7155         (catanh_test): Likewise.
7156         * sysdeps/i386/fpu/libm-test-ulps: Update.
7157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7159 2013-04-27  Andreas Jaeger  <aj@suse.de>
7161         [BZ #15007]
7162         * stdlib/stdlib.h: Update guards for qecvt.
7163         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7164         <stdlib.h>.
7166 2013-04-27  Allan McRae  <allan@archlinux.org>
7168         * sysdeps/i386/fpu/libm-test-ulps: Update.
7170 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7172         [BZ #15406]
7173         * math/s_catan.c: Include <float.h>.
7174         (__catan): Ensure underflow exception occurs for underflowed
7175         result.
7176         * math/s_catanf.c: Include <float.h>.
7177         (__catanf): Ensure underflow exception occurs for underflowed
7178         result.
7179         * math/s_catanh.c: Include <float.h>.
7180         (__catanh): Ensure underflow exception occurs for underflowed
7181         result.
7182         * math/s_catanhf.c: Include <float.h>.
7183         (__catanhf): Ensure underflow exception occurs for underflowed
7184         result.
7185         * math/s_catanhl.c: Include <float.h>.
7186         (__catanhl): Ensure underflow exception occurs for underflowed
7187         result.
7188         * math/s_catanl.c: Include <float.h>.
7189         (__catanl): Ensure underflow exception occurs for underflowed
7190         result.
7191         * math/libm-test.inc (catan_test): Add more tests.
7192         (catanh_test): Likewise.
7194         [BZ #15405]
7195         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7196         underflowed result.
7197         * math/s_ccoshf.c (__ccoshf): Likewise.
7198         * math/s_ccoshl.c (__ccoshl): Likewise.
7199         * math/s_csin.c (__csin): Likewise.
7200         * math/s_csinf.c (__csinf): Likewise.
7201         * math/s_csinh.c (__csinh): Likewise.
7202         * math/s_csinhf.c (__csinhf): Likewise.
7203         * math/s_csinhl.c (__csinhl): Likewise.
7204         * math/s_csinl.c (__csinl): Likewise.
7205         * math/libm-test.inc (ccos_test): Add more tests.
7206         (ccosh_test): Likewise.
7207         (csin_test): Likewise.
7208         (csinh_test): Likewise.
7210 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7212         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7213         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7214         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7215         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7216         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7217         powerpc/power5+/fpu folders.
7218         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7221 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7225 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7227         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7228         additions to variable.
7229         [$(config-machine) = x86_64] (modules-names): Likewise.
7230         ($(objpfx)tst-audit3): Remove dependency.
7231         ($(objpfx)tst-audit3.out): Likewise.
7232         ($(objpfx)tst-audit4): Likewise.
7233         ($(objpfx)tst-audit4.out): Likewise.
7234         ($(objpfx)tst-audit5): Likewise.
7235         ($(objpfx)tst-audit5.out): Likewise.
7236         ($(objpfx)tst-audit6): Likewise.
7237         ($(objpfx)tst-audit6.out): Likewise.
7238         ($(objpfx)tst-audit7): Likewise.
7239         ($(objpfx)tst-audit7.out): Likewise.
7240         (tst-audit3-ENV): Remove variable.
7241         (tst-audit4-ENV): Likewise.
7242         (tst-audit5-ENV): Likewise.
7243         (tst-audit6-ENV): Likewise.
7244         (tst-audit7-ENV): Likewise.
7245         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7246         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7247         addition to variable.
7248         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7249         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7253         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7254         tst-audit3, tst-audit4 and tst-audit5.
7255         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7256         tst-audit6 and tst-audit7.
7257         [$(subdir) = elf] (modules-names): Add audit modules for those
7258         tests.
7259         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7260         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7261         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7262         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7263         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7264         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7265         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7266         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7267         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7268         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7269         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7270         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7271         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7272         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7273         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7274         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7275         Likewise.
7276         [$(subdir) = elf && $(config-cflags-avx) = yes]
7277         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7278         [$(subdir) = elf && $(config-cflags-avx) = yes]
7279         (CFLAGS-tst-auditmod4a.c): Likewise.
7280         [$(subdir) = elf && $(config-cflags-avx) = yes]
7281         (CFLAGS-tst-auditmod4b.c): Likewise.
7282         [$(subdir) = elf && $(config-cflags-avx) = yes]
7283         (CFLAGS-tst-auditmod6b.c): Likewise.
7284         [$(subdir) = elf && $(config-cflags-avx) = yes]
7285         (CFLAGS-tst-auditmod6c.c): Likewise.
7286         [$(subdir) = elf && $(config-cflags-avx) = yes]
7287         (CFLAGS-tst-auditmod7b.c): Likewise.
7288         * elf/tst-audit3.c: Move to ...
7289         * sysdeps/x86_64/tst-audit3.c: ... here.
7290         * elf/tst-audit4.c: Move to ...
7291         * sysdeps/x86_64/tst-audit4.c: ... here.
7292         * elf/tst-audit5.c: Move to ...
7293         * sysdeps/x86_64/tst-audit5.c: ... here.
7294         * elf/tst-audit6.c: Move to ...
7295         * sysdeps/x86_64/tst-audit6.c: ... here.
7296         * elf/tst-audit7.c: Move to ...
7297         * sysdeps/x86_64/tst-audit7.c: ... here.
7298         * elf/tst-auditmod3a.c: Move to ...
7299         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7300         * elf/tst-auditmod3b.c: Move to ...
7301         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7302         * elf/tst-auditmod4a.c: Move to ...
7303         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7304         * elf/tst-auditmod4b.c: Move to ...
7305         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7306         * elf/tst-auditmod5a.c: Move to ...
7307         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7308         * elf/tst-auditmod5b.c: Move to ...
7309         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7310         * elf/tst-auditmod6a.c: Move to ...
7311         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7312         * elf/tst-auditmod6b.c: Move to ...
7313         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7314         * elf/tst-auditmod6c.c: Move to ...
7315         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7316         * elf/tst-auditmod7a.c: Move to ...
7317         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7318         * elf/tst-auditmod7b.c: Move to ...
7319         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7321 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7323         [BZ #15366]
7324         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7325         define unconditionally.
7326         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7327         define unconditionally.
7328         (INT8_C, INT16_C, etc.): Likewise.
7330 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7332         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7333         __ehdr_start with hidden visibility.
7335         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7337 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7339         * math/libm-test.inc (cos_test): Use accurate hex constants.
7340         (sincost_test): Likewise.
7342 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7344         * math/libm-test.inc (catan_test): Add more tests.
7345         (catanh_test): Likewise.
7347         * math/s_catanf.c (__catanf): Use suffixed floating-point
7348         constants.
7349         * math/s_catanhf.c (__catanhf): Likewise.
7350         * math/s_catanhl.c (__catanhl): Likewise.
7351         * math/s_catanl.c (__catanl): Likewise.
7353         [BZ #15394]
7354         * math/s_catan.c (__catan): Calculate imaginary part of result
7355         with log1p not log unless computing log of number close to 0.
7356         * math/s_catanf.c (__catanf): Likewise.
7357         * math/s_catanl.c (__catanl): Likewise.
7358         * math/s_catanh.c (__catanh): Calculate real part of result with
7359         log1p not log unless computing log of number close to 0.
7360         * math/s_catanhf.c (__catanhf): Likewise.
7361         * math/s_catanhl.c (__catanhl): Likewise.
7362         * math/libm-test.inc (catan_test): Add more tests.
7363         (catanh_test): Likewise.
7364         * sysdeps/i386/fpu/libm-test-ulps: Update.
7365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7369         * benchtests/Makefile: Mention files in which fast and slow
7370         paths of math functions are implemented.
7372 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7374         * sysdeps/posix/timespec_get.c: New file.
7376 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7378         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7379         POWER.
7380         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7381         for POWER.
7382         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7383         powerpc/power5/fpu folders.
7384         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7385         * benchtests/Makefile: Add modf testcase.
7386         * benchtests/bench-modf.c: New file: Benchmark test for mo
7388 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7390         [BZ #14888]
7391         * time/Makefile (tests): Add tst-strptime-whitespace.
7392         * time/strptime_l.c (get_number): Use ISSPACE.
7393         (__strptime_internal): Likewise.
7394         * time/tst-strptime-whitespace.c: New test case.
7396 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7398         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7399         member.
7400         (_nss_files_init): Set it here.
7402 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7404         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7405         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7406         unsigned.
7408 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7410         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7412 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7415         size just once.
7417 2013-04-21  David S. Miller  <davem@davemloft.net>
7419         * po/ru.po: Update Russion translation from translation project.
7421 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7423         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7424         and setfsgid.
7426 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7428         * configure.in: Remove i386 configure warning. Remove i386 case.
7429         * configure: Regenerate.
7430         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7431         Add example to error message.
7432         * sysdeps/i386/configure: Regenerate.
7434 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7436         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7437         slowtan.
7438         * benchtests/cos-inputs: New file.
7439         * benchtests/slowcos-inputs: New file.
7440         * benchtests/slowcos.c: New file.
7441         * benchtests/slowtan-inputs: New file.
7442         * benchtests/slowtan.c: New file.
7443         * benchtests/tan-inputs: New file.
7445 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7447         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7448         considered kosher.
7450 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7452         * benchtests/Makefile: Include cppflags-iterator.mk to add
7453         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7455         * Makefile.in (bench-clean): New target.
7456         * benchtests/Makefile (bench-clean): Likewise.
7458 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7460         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7462 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7464         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7466 2013-04-15  Andreas Schwab  <schwab@suse.de>
7468         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7470         * nscd/pwdcache.c (cache_addpw): Likewise.
7471         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7472         more than recsize.
7474 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7476         * benchtests/Makefile (bench): Write all output to
7477         bench-out.tmp together.
7479 2013-04-15  Andreas Schwab  <schwab@suse.de>
7481         * nscd/nscd.c (main): Don't fork again after closing files.
7483 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7485         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7487         * benchtests/Rules (bench-deps): Collect dependencies into a
7488         single variable.  Add Makefile to dependencies.
7489         ($(objpfx)bench-%.c): Depend on bench-deps.
7491 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7492             Xavier Roche  <roche+kml2@exalead.com>
7494         [BZ #15361]
7495         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7496         just that it's a file descriptor.
7497         * manual/llio.texi (Synchronizing AIO Operations): Update description
7498         for EBADF error from aio_fsync.
7500 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7502         * Rules (bench): Move target definition...
7503         * benchtests/Makefile: ... here.
7505 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7507         * math/libm-test.inc (cos_test): Fix PI/2 test.
7508         (sincos_test): Likewise.
7509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7510         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7512 2013-04-11  Andreas Schwab  <schwab@suse.de>
7514         [BZ #13988]
7515         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7516         accept exponent character only when digits were seen.
7517         * stdio-common/Makefile (tests): Add bug26.
7518         * stdio-common/bug26.c: New file.
7520         [BZ #14293]
7521         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7522         non-freeable.
7524 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7526         * Makeconfig (rtld-prefix): Define built linker prefix.
7527         * Rules (run-bench): Use it.
7528         * math/Makefile (run-regen-ulps): Likewise.
7530         * Rules (bench): Remove eval.
7532 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7533             Roland McGrath  <roland@hack.frob.com>
7534             Ondrej Bilka  <neleai@seznam.cz>
7536         [BZ #15346]
7537         * time/getdate.c: Include ctype.h and alloca.h.
7538         (__getdate_r): Trim leading and trailing spaces of input.
7539         * time/tst-getdate.c (tests): Add tests with leading and
7540         trailing spaces.
7542 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7544         [BZ #14280]
7545         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7546         when computing value.
7548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7550         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7551         Use testrun.sh to run libm tests.
7553         [BZ #15309]
7554         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7556 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7558         [BZ #15264]
7559         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7563         * Makefile.in (regen-ulps): New target.
7564         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7565         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7566         [ifneq (no,$(PERL)] (regen-ulps): New target.
7567         [ifeq (no,$(PERL)] (regen-ulps): New target.
7568         * math/libm-test.inc (ulps_file_name): Define.
7569         (output_dir): New variable.
7570         (options): Add "output-dir" option.
7571         (parse_opt): Handle 'o' case.
7572         (main): If output_dir is non-NULL use it as a prefix
7573         otherwise use "".
7574         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7578         [BZ #10060, #10062]
7579         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7580         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7581         fail configure if __sync_val_compare_and_swap is not inlined.
7582         * sysdeps/i386/configure: Regenerate.
7583         * configure.in: Build for i686 when configured for i386.
7584         * configure: Regenerate.
7585         * README: Remove i386 reference.
7587 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7589         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7592 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7594         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7595         (lmsnanval): New variables.
7596         (F): Add conversion tests.
7597         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7598         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7600         * stdio-common/tstdiomisc.c (F): Properly collect individual
7601         tests' results.
7603         [BZ #14686, #15336]
7604         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7605         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7606         Instead, use input NaN values or generate a qNaN by arithmetic
7607         operation.  Also fix bugs to comply with the standard.
7608         * math/libm-test.inc (remainder_test): Add more tests.
7610         [BZ #15335, #15342]
7611         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7613         input NaN values or generate a qNaN by arithmetic operation.
7615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7616         unreachable code.
7618         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7619         definitions.
7621 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #14478]
7624         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7625         underflowed result.
7626         * math/s_cexpf.c (__cexpf): Likewise.
7627         * math/s_cexpl.c (__cexpl): Likewise.
7628         * math/libm-test.inc (cexp_test): Add more tests.
7630 2013-04-03  Andreas Schwab  <schwab@suse.de>
7632         [BZ #15330]
7633         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7634         order arrays from heap if bigger than alloca cutoff.
7636 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7638         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7639         (SNAN_TESTS_double): Refer to GCC PR56831.
7640         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7641         GCC PR56828.
7643 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7645         * Rules (bench): Move bench.out after the run is complete.
7647         * Rules (bench): Echo currently running benchmark.
7649         * benchtests/Makefile (bench): Add atan and slowatan.
7650         * benchtests/atan-inputs: New file.
7651         * benchtests/slowatan-inputs: New file.
7652         * benchtests/slowatan.c: New file.
7654         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7656         its value.
7658         [BZ #15305]
7659         * sysdeps/unix/sysv/linux/kernel-features.h
7660         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7661         __ASSUME_XFS_RESTRICTED_CHOWN.
7662         * sysdeps/unix/sysv/linux/pathconf.c
7663         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7664         Save and restore errno.
7666 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7668         [BZ #15327]
7669         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7670         arguments using __kernel_casinh.
7671         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7672         arguments using __kernel_casinhf.
7673         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7674         arguments using __kernel_casinhl.
7675         * math/libm-test.inc (cacosh_test): Add more tests.
7676         * sysdeps/i386/fpu/libm-test-ulps: Update.
7677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7679 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7681         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7684         * bench/Makefile (bench): Add sin and slowsin.
7685         * benchtests/sin-inputs: New file.
7686         * benchtests/slowsin-inputs: New file.
7687         * benchtests/slowsin.c: New file.
7689         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7690         (bench): Add slowexp and slowpow.
7691         (exp-ITER): Increase iterations.
7692         (pow-ITER): Likewise.
7693         * benchtests/exp-inputs: Change input.
7694         * benchtests/pow-inputs: Likewise.
7695         * benchtests/slowexp-inputs: New file.
7696         * benchtests/slowexp.c: New file.
7697         * benchtests/slowpow-inputs: New file.
7698         * benchtests/slowpow.c: New file.
7700 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7702         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7703         instructions.
7704         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7707         * benchtests/Makefile: Add rint benchtest.
7708         * benchtests/rint-inputs: Input for rint benchtest.
7710 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7712         * Versions.def (libm): Add GLIBC_2.18.
7713         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7714         hidden libm prototypes.
7715         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7716         * math/Makefile (libm-calls): Add s_issignaling.
7717         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7718         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7719         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7720         declaration.
7721         * math/math.h [__USE_GNU] (issignaling): New macro.
7722         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7723         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7724         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7725         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7726         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7727         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7728         * manual/arith.texi (issignaling): New section.
7729         * manual/libm-err-tab.pl (@all_functions): Update comment.
7730         * math/gen-libm-test.pl (parse_args): Apply special handling for
7731         issignaling.
7732         * math/libm-test.inc (print_float, issignaling_test): New
7733         functions.
7734         (check_float_internal): Add issignaling checks.
7735         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7736         default definition.
7737         * sysdeps/powerpc/math-tests.h: New file.
7738         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7739         tests.
7740         * math/test-snan.c (TEST_FUNC): Likewise.
7742 2013-03-30  David S. Miller  <davem@davemloft.net>
7744         * po/de.po: Update from translation team.
7746 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7748         [BZ #10357]
7749         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7750         imaginary part less than 1.0 and real part less than 0.5
7751         specially.
7752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7755         (cacos_test): Add more tests.
7756         (casin_test): Likewise.
7757         (casinh_test): Likewise.
7758         * sysdeps/i386/fpu/libm-test-ulps: Update.
7759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7761 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7763         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7764         ONE with its value.
7766         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7767         (__pow_mp): Replace ONE and MONE with their values.
7768         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7771         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7775         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7777         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7778         (__pow_mp): Replace ZERO and MZERO with their values.
7779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7783         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7784         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7785         (__sqr): Likewise.
7787         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7789         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7791 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7793         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7794         Declare with __attribute__ ((weak)).
7795         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7796         Call __call_tls_dtors only if it's not NULL.
7798 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7800         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7801         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7802         magic __ehdr_start linker symbol if it's defined.
7803         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7804         them up here if it was already done.
7806         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7807         (_dl_aux_init): Use const in cast when setting it.
7808         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7809         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7810         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7812         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7813         Declare them here.
7814         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7815         * csu/libc-tls.c: Nor here.
7816         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7818         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7819         (__libc_message): Never call vsyslog.
7821 2013-03-28  Alan Modra  <amodra@gmail.com>
7823         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7824         Define as empty.
7825         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7826         Likewise.
7828 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7830         [BZ #15214]
7831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7832         underflow.
7833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7835 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7837         [BZ #15304]
7838         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7839         Don't add gid passed as argument.
7841         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7843 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7845         [BZ #15307]
7846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7847         imaginary part between 1.0 and 1.5 and real part less than 0.5
7848         specially.
7849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7851         * math/libm-test.inc (cacos_test): Add more tests.
7852         (casin_test): Likewise.
7853         (casinh_test): Likewise.
7854         * sysdeps/i386/fpu/libm-test-ulps: Update.
7855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7857 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7860         constants.
7861         (norm): Likewise.
7862         (denorm): Likewise.
7863         (__dbl_mp): Likewise.
7864         (add_magnitudes): Likewise.
7865         (sub_magnitudes): Likewise.
7866         (__add): Likewise.
7867         (__sub): Likewise.
7868         (__mul): Likewise.
7869         (__sqr): Likewise.
7870         (__inv): Likewise.
7871         (__dvd): Likewise.
7873         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7874         commented code.
7875         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7876         (__dubcos): Likewise.
7877         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7878         (__ieee754_acos): Likewise.
7879         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7880         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7881         (__exp1): Likewise.
7882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7884         (log1): Likewise.
7885         (my_log2): Likewise.
7886         (checkint): Likewise.
7887         * sysdeps/ieee754/dbl-64/e_remainder.c
7888         (__ieee754_remainder): Likewise.
7889         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7891         (bsloww): Likewise.
7892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7894         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7896         MANTISSA_STORE_T to store computations on mantissa.  Use
7897         macros for rounding and division.
7898         (denorm): Likewise.
7899         (__dbl_mp): Likewise.
7900         (add_magnitudes): Likewise.
7901         (sub_magnitudes): Likewise.
7902         (__mul): Likewise.
7903         (__sqr): Likewise.
7904         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7905         powers of two in terms of TWOPOW macro.
7906         (mp_no): Make type of mantissa as MANTISSA_T.
7907         [!RADIXI]: Define RADIXI.
7908         [!TWO52]: Define TWO52.
7909         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7911 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7913         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7914         llroundl symbol when building for PPC32.
7916 2013-03-24  Mark H Weaver  <mhw@netris.org>
7918         * manual/arith.texi (Normalization Functions): Fix prototypes for
7919         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7921 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7923         [BZ #13889]
7924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7925         high value to check if expl overflow.
7926         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7927         to check for underflow and overflow.
7928         * math/libm-test.inc: Add exp test.
7930 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7932         [BZ #11120]
7933         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7934         with NOT_IN_libc.
7936 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7938         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7939         symbol.
7941 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7943         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7944         wrap blocks consisting of several statements.
7946         * sysdeps/generic/math-tests.h: New file.
7947         * sysdeps/i386/fpu/math-tests.h: Likewise.
7948         * math/test-snan.c: Include it.
7949         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7953         [BZ #15285]
7954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7955         (__ieee754_j0l): Do not improve calculations using cos of twice
7956         input for inputs above LDBL_MAX / 2.0L.
7957         (__ieee754_y0l): Likewise.
7958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7959         (__ieee754_j1l): Do not improve calculations using cos of twice
7960         input for inputs above LDBL_MAX / 2.0L.
7961         (__ieee754_y1l): Likewise.
7962         * math/libm-test.inc (j0_test): Add another test.
7963         (j1_test): Likewise.
7964         (y0_test): Likewise.
7965         (y1_test): Likewise.
7966         * sysdeps/i386/fpu/libm-test-ulps: Update.
7968 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7970         * Rules ($(objpfx)bench-%.c): Include code from a C source
7971         file.
7973 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7975         [BZ #15287]
7976         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7977         imaginary part 1.0 and real part less than 0.5 specially.
7978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7980         * math/libm-test.inc (cacos_test): Add more tests.
7981         (casin_test): Likewise.
7982         (casinh_test): Likewise.
7983         * sysdeps/i386/fpu/libm-test-ulps: Update.
7984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7989         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7991 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7993         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7994         * config.make.in (config-cflags-sse4): Remove variable.
7995         (config-cflags-avx): Likewise.
7996         (config-cflags-sse2avx): Likewise.
7997         (config-cflags-novzeroupper): Likewise.
7998         (config-asflags-i686): Likewise.
7999         (have-mfma4): Likewise.
8000         (have-as-vis3): Likewise.
8001         (MIG): Likewise.
8002         * configure.in (MIG): Do not AC_SUBST.
8003         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8004         (libc_cv_cc_sse4): Do not AC_SUBST.
8005         (libc_cv_cc_avx): Likewise.
8006         (libc_cv_cc_sse2avx): Likewise.
8007         (libc_cv_cc_novzeroupper): Likewise.
8008         (libc_cv_cc_fma4): Likewise.
8009         (libc_cv_as_i686): Likewise.
8010         (libc_cv_sparc_as_vis3): Likewise.
8011         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8012         LIBC_CONFIG_VAR.
8013         (config-asflags-i686): Likewise.
8014         (config-cflags-avx): Likewise.
8015         (config-cflags-sse2avx): Likewise.
8016         (have-mfma4): Likewise.
8017         (config-cflags-novzeroupper): Likewise.
8018         * sysdeps/mach/configure.in (MIG): Likewise.
8019         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8020         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8021         LIBC_CONFIG_VAR.
8022         (config-cflags-avx): Likewise.
8023         (config-cflags-sse2avx): Likewise.
8024         (have-mfma4): Likewise.
8025         (config-cflags-novzeroupper): Likewise.
8026         * configure: Regenerated.
8027         * sysdeps/i386/configure: Likewise.
8028         * sysdeps/mach/configure: Likewise.
8029         * sysdeps/sparc/configure: Likewise.
8030         * sysdeps/x86_64/configure: Likewise.
8032 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8034         [BZ #14812]
8035         * locale/programs/localedef.c (options): Put N_ translation marker
8036         on argument names, not just descriptions.
8038 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8040         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8042 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8044         [BZ #14176]
8045         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8047 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8049         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8050         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8051         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8052         [!BEFORE_ABORT] (before_abort): New function.
8053         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8054         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8055         (writev_for_fatal): New function.
8056         (WRITEV_FOR_FATAL): New macro; call that.
8057         (backtrace_and_maps): New function.
8058         (BEFORE_ABORT): New macro; call that.
8059         (struct str_list): Type removed.
8060         (__libc_message, __libc_fatal): Functions removed.
8061         Include <sysdeps/posix/libc_fatal.c> instead.
8063 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8065         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8066         constants.
8067         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8068         double constants.
8070 2013-03-19  Andreas Schwab  <schwab@suse.de>
8072         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8073         * sysdeps/gnu/configure: Regenerate.
8075         * configure.in: Substitute libc_cv_rtlddir.
8076         * configure: Regenerate.
8077         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8078         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8079         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8080         * elf/Makefile (install-others, CFLAGS-interp.c)
8081         (ldso_install, common-ldd-rewrite): Likewise.
8082         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8083         $(inst_slibdir)/$(rtld-installed-name).
8084         * scripts/rellns-sh: Add -p option.
8085         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8086         for source.
8088 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8090         * manual/nptl.texi: Renamed to ...
8091         * manual/threads.texi: ... this.
8092         * manual/Makefile (chapters): Update.
8094 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8096         [BZ #14812]
8097         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8098         on argument names, not just descriptions.
8099         * malloc/memusagestat.c (options): Likewise.
8100         * nss/getent.c (options): Likewise.
8102 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8104         [BZ #14812]
8105         * iconv/iconv_prog.c (options): Put N_ translation marker
8106         on argument names, not just descriptions.
8107         * iconv/iconvconfig.c (options): Likewise.
8109 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8111         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8112         implementation which is faster on all x86_64 architectures.
8113         Tested on AMD, Intel Nehalem, SNB, IVB.
8114         * sysdeps/x86_64/strnlen.S: Likewise.
8116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8117         Remove all multiarch strlen and strnlen versions.
8118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8119         Remove strlen and strnlen related parts.
8121         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8122         Inline strlen part.
8123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8125         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8126         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8127         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8128         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8129         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8130         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8132 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8134         * manual/memory.texi (Malloc Tunable Parameters):
8135         Sort parameters alphabetically. Add comments for missing entries.
8137 2013-03-17  David S. Miller  <davem@davemloft.net>
8139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8141 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8143         [BZ #15283]
8144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8145         for arguments at most half maximum finite value.
8146         * math/libm-test.inc (j0_test): Add more tests.
8147         (j1_test): Likewise.
8148         (y0_test): Likewise.
8149         (y1_test): Likewise.
8150         * sysdeps/i386/fpu/libm-test-ulps: Update.
8151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8153         [BZ #14155]
8154         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8155         1 / x and functions P and Q for arguments above 0x1p256L.
8156         (__ieee754_y0l): Likewise.
8157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8158         (__ieee754_y1l): Likewise.
8159         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8160         (j1_test): Likewise.
8161         (y0_test): Likewise.
8162         (y1_test): Likewise.
8164 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8166         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8167         variable.
8169 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8171         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8172         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8173         zero since it's initialized to EXEC_PAGESIZE.
8175         * sysdeps/unix/sysv/linux/ldsodefs.h
8176         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8177         * sysdeps/generic/ldsodefs.h: ... here.
8179 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8181         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8183         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8184         math/test-snan.c.
8185         * math/test-snan.c: Renamed from
8186         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8187         * math/Makefile (tests): Add test-snan.
8188         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8189         test-powerpc-snan.
8191         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8192         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8193         functions.
8194         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8195         __builtin_nan family of functions.
8196         * math/libm-test.inc (initialize): Initialize qnan_value with
8197         __builtin_nan family of functions.
8198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8199         Remove variables.
8200         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8201         Remove functions.
8202         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8203         storage class.  Initialize qNaN_var and sNaN_var with
8204         __builtin_nan and __builtin_nans families of functions,
8205         respectively.
8207         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8208         (sqrt_test): Remove duplicate test with qNaN input.
8209         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8210         (round_test, signbit_test, significand_test): Note missing +/-Inf
8211         as well as qNaN tests.
8213         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8214         qNaN_var.  Fix a few strings, too.
8215         * math/libm-test.inc (nan_value): Rename to qnan_value.
8216         * math/gen-libm-test.pl (%beautify): Adjust to that.
8217         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8218         * math/test-misc.c (main): Likewise.
8219         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8220         to __qnan_bytes, and __qnan_union, respectively.
8221         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8222         Likewise.
8223         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8224         and lqnanval, respectively.
8225         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8226         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8227         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8228         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8230         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8231         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8232         doubles.
8234         * math/test-misc.c (main): Fix copy'n'pastos.
8235         * misc/tst-efgcvt.c (special): Likewise.
8237         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8238         Remove declarations.
8240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8242         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8243         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8244         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8245         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8247 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8250         macro to return vdso values correctly in IFUNC implementations.
8251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8252         Optimization by using IFUNC.
8254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8255             Richard Henderson  <rth@redhat.com>
8256             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8258         * Makefile.in (bench): New target.
8259         * NEWS: Mention the benchmark framework.
8260         * Rules (bench): Likewise.
8261         (binaries-bench): Generate binaries for functions to
8262         benchmark.
8263         * benchtests/Makefile: New makefile for benchmark tests.
8264         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8265         programs.
8266         * benchtests/exp-inputs: New input file for EXP function.
8267         * benchtests/pow-inputs: New input file for POW function.
8268         * scripts/bench.pl: New script to generate source files for
8269         benchmark programs.
8271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8273         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8275         computations on mantissa.  Use macros for rounding and
8276         division.
8277         (denorm): Likewise.
8278         (__dbl_mp): Likewise.
8279         (add_magnitudes): Likewise.
8280         (sub_magnitudes): Likewise.
8281         (__mul): Likewise.
8282         (__sqr): Likewise.
8283         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8284         powers of two in terms of TWOPOW macro.
8285         (mp_no): Make type of mantissa as MANTISSA_T.
8286         [!RADIXI]: Define RADIXI.
8287         [!TWO52]: Define TWO52.
8288         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8290         * manual/nptl.texi (cindex): Modify threads to pthreads.
8292 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8294         * sysdeps/x86_64/preconfigure: Regenerated.
8296 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8298         [BZ #14155]
8299         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8300         0x1p28 and above.
8301         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8302         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8303         0x1p28 and above.
8304         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8305         * math/libm-test.inc (j0_test): Do not allow one spurious
8306         underflow exception.
8307         (y1_test): Likewise.
8309 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8311         * manual/Makefile (chapters): Add nptl.
8312         * manual/debug.texi (Debugging Support): Add link to Threads
8313         chapter.
8314         * manual/nptl.texi: New file.
8316         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8318 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8320         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8321         for non-NULL pointer before the memory validity test. Pointed
8322         out by Holger Brunck <holger.brunck@keymile.com>.
8324 2013-03-13  Andreas Schwab  <schwab@suse.de>
8326         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8327         instead of .os.
8329 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8331         * timezone/zic.c: Update from tzcode 2013b.
8333 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8335         * manual/install.texi (Configuring and compiling):
8336         Mention i686 and i586.
8337         * INSTALL: Regenerate.
8339 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8341         * sysdeps/init_array/elf-init.c: New file.
8342         * csu/elf-init.c
8343         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8344         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8346         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8347         __gmon_start__ as global, but as static with a .preinit_array pointer.
8348         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8349         * sysdeps/init_array/crti.S: New file, empty except for comments.
8350         * sysdeps/init_array/crtn.S: Likewise.
8352 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8354         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8355         definining bcopy.
8356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8357         Remove Prefer_SSE_for_memop.
8358         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8359         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8360         HAS_PREFER_SSE_FOR_MEMOP.
8361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8362         memset-x86-64.
8363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8364         Remove bzero, memset ifunc support.
8365         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8366         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8367         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8370 2013-03-11  Andreas Schwab  <schwab@suse.de>
8372         [BZ #15234]
8373         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8374         by SHLIB_COMPAT.
8375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8376         (GLIBC_2.16): Remove pthread_atfork.
8378 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8380         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8381         (ptestcases.h): Likewise.
8383 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8385         * Makeconfig ($(common-objpfx)config.status): Depend on
8386         sysdeps/*/preconfigure{,.in} too.
8388 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8390         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8391         (__free_hook): Use void * instead of __malloc_ptr_t.
8392         (__malloc_hook): Likewise.
8393         (__realloc_hook): Likewise.
8394         (__memalign_hook): Likewise.
8395         (__after_morecore_hook): Likewise.
8396         * malloc/arena.c (save_malloc_hook): Likewise.
8397         (save_free_hook): Likewise.
8398         * malloc/hooks.c (malloc_hook_ini): Likewise.
8399         (realloc_hook_ini): Likewise.
8400         (memalign_hook_ini): Likewise.
8401         * malloc/malloc.c (malloc_hook_ini): Likewise.
8402         (realloc_hook_ini): Likewise.
8403         (memalign_hook_ini): Likewise.
8404         (__free_hook): Likewise.
8405         (__malloc_hook): Likewise.
8406         (__realloc_hook): Likewise.
8407         (__memalign_hook): Likewise.
8408         (__libc_malloc): Likewise.
8409         (__libc_free): Likewise.
8410         (__libc_realloc): Likewise.
8411         (__libc_memalign): Likewise.
8412         (__libc_valloc): Likewise.
8413         (__libc_pvalloc): Likewise.
8414         (__libc_calloc): Likewise.
8415         (__posix_memalign): Likewise.
8416         * malloc/morecore.c (__sbrk): Likewise.
8417         (__default_morecore): Likewise.
8419         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8421         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8422         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8423         __malloc_ptrdiff_t.
8425         * malloc/malloc.h (__malloc_size_t): Remove macro.
8426         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8427         __malloc_size_t.
8428         (old_memalign_hook): Likewise.
8429         (old_realloc_hook): Likewise.
8430         (struct hdr): Likewise.
8431         (flood): Likewise.
8432         (mallochook): Likewise.
8433         (memalignhook): Likewise.
8434         (reallochook): Likewise.
8435         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8436         (tr_old_realloc_hook): Likewise.
8437         (tr_old_memalign_hook): Likewise.
8438         (tr_mallochook): Likewise.
8439         (tr_reallochook): Likewise.
8440         (tr_memalignhook): Likewise.
8442 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8445         default_ldbl_pack and using as default implementation.
8446         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8447         implementation.
8448         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8449         redundant definition.
8450         (ldbl_insert_mantissa): Likewise.
8451         (ldbl_canonicalize): Likewise.
8452         (ldbl_nearbyint): Likewise.
8453         (ldbl_pack): Rename to ldbl_pack_ppc.
8454         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8455         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8456         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8458 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8461         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8463         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8466         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8467         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8469 2013-03-07  Andreas Jaeger  <aj@suse.de>
8471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8472         bits/mman-linux.h.
8474 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8476         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8477         Include mpa.h and declare __MPEXP.
8478         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8480         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8481         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8483         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8484         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8486         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8487         (__slowpow): Use long double EXPL and LOGL functions to
8488         compute POW.
8489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8490         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8493         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8497         intermediate variable to calculate exponent.
8498         (__sqr): Likewise.
8499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8500         Likewise.
8501         (__sqr): Likewise.
8503         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8504         [!NO__SQR]: Define __sqr.
8505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8506         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8507         sysdeps/ieee754/dbl-64/mpa.c.
8508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8510         [BZ #12723]
8511         * posix/Makefile (tests): Add tst-pathconf.
8512         * posix/tst-pathconf.c: New test case.
8513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8514         _PC_PIPE_BUF.
8515         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8517 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8519         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8521 2013-03-06  Andreas Jaeger  <aj@suse.de>
8523         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8524         definition via __MAP_ANONYMOUS.
8526         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8527         it's not part of Linux headers.
8529         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8530         (MAP_HUGE_MASK): Define.
8532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8533         Define.
8534         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8536         Define.
8537         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8538         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8539         Define.
8540         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8542         Define.
8543         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8545         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8546         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8547         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8548         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8549         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8550         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8553         Handle f2fs.
8555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8556         Handle f2fs and efivarfs.
8558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8559         f2fs.
8561         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8562         (EFIVARFS_MAGIC): Add.
8563         (F2FS_LINK_MAX): Add.
8565 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8567         * stdio-common/vfprintf.c: Replace __builtin_expect with
8568         __glibc_unlikely.
8570 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8572         [BZ #13550]
8573         * sysdeps/generic/bp-sym.h: Remove file.
8574         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8575         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8576         <bp-sym.h> and <bp-asm.h>.
8577         (__longjmp): Don't use BP_SYM.
8578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8579         and <bp-asm.h>.
8580         (memcpy): Don't use BP_SYM.
8581         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8582         <bp-sym.h> and <bp-asm.h>.
8583         (memcpy): Don't use BP_SYM.
8584         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8585         <bp-asm.h>.
8586         (memcpy): Don't use BP_SYM.
8587         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8588         <bp-asm.h>.
8589         (memset): Don't use BP_SYM.
8590         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8591         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8592         (__bzero): Don't use BP_SYM.
8593         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8594         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8595         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8596         <bp-sym.h> and <bp-asm.h>.
8597         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8598         pointers.
8599         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8600         <bp-sym.h> and <bp-asm.h>.
8601         (memcpy): Don't use BP_SYM.
8602         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8603         <bp-sym.h> and <bp-asm.h>.
8604         (memset): Don't use BP_SYM.
8605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8607         (__bzero): Don't use BP_SYM.
8608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8610         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8611         <bp-sym.h> and <bp-asm.h>.
8612         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8613         pointers.
8614         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8615         <bp-sym.h> and <bp-asm.h>.
8616         (memcpy): Don't use BP_SYM.
8617         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8618         <bp-sym.h> and <bp-asm.h>.
8619         (memset): Don't use BP_SYM.
8620         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8621         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8622         (__bzero): Don't use BP_SYM.
8623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8626         <bp-sym.h> and <bp-asm.h>.
8627         (__memchr): Don't use BP_SYM.
8628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8629         <bp-sym.h> and <bp-asm.h>.
8630         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8631         pointers.
8632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8633         <bp-sym.h> and <bp-asm.h>.
8634         (memcpy): Don't use BP_SYM.
8635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8636         <bp-sym.h> and <bp-asm.h>.
8637         (__mempcpy): Don't use BP_SYM.
8638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8639         <bp-sym.h> and <bp-asm.h>.
8640         (__memrchr): Don't use BP_SYM.
8641         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8642         <bp-sym.h> and <bp-asm.h>.
8643         (memset): Don't use BP_SYM.
8644         (__bzero): Likewise.
8645         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8646         <bp-sym.h> and <bp-asm.h>.
8647         (__rawmemchr): Don't use BP_SYM.
8648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8649         <bp-sym.h> and <bp-asm.h>.
8650         (__STRCMP): Don't use BP_SYM.
8651         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8652         <bp-sym.h> and <bp-asm.h>.
8653         (strchr): Don't use BP_SYM.
8654         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8655         <bp-sym.h> and <bp-asm.h>.
8656         (__strchrnul): Don't use BP_SYM.
8657         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8658         <bp-sym.h> and <bp-asm.h>.
8659         (strlen): Don't use BP_SYM.
8660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8661         <bp-sym.h> and <bp-asm.h>.
8662         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8663         pointers.
8664         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8665         <bp-sym.h> and <bp-asm.h>.
8666         (__strnlen): Don't use BP_SYM.
8667         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8668         <bp-sym.h> and <bp-asm.h>.
8669         (__GI__setjmp): Don't use BP_SYM.
8670         (_setjmp): Likewise.
8671         (__sigsetjmp): Likewise.
8672         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8673         (L(start_addresses)): Don't use BP_SYM.
8674         (_start): Likewise.
8675         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8676         <bp-asm.h>.
8677         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8678         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8679         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8680         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8681         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8682         <bp-asm.h>.
8683         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8684         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8685         about bounded pointers.
8686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8688         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8689         <bp-asm.h>.
8690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8691         about bounded pointers.  Remove GKM FIXME comments.
8692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8693         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8694         <bp-asm.h>.
8695         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8696         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8697         Remove GKM FIXME comments.
8698         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8699         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8700         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8701         <bp-asm.h>.
8702         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8703         about bounded pointers.  Remove GKM FIXME comment.
8704         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8705         and <bp-asm.h>.
8706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8707         pointers.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8709         <bp-sym.h> and <bp-asm.h>.
8710         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8712         <bp-sym.h> and <bp-asm.h>.
8713         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8714         comment.
8716 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8718         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8719         call free(NULL).
8721 2013-03-05  David S. Miller  <davem@davemloft.net>
8723         * po/es.po: Update from translation team.
8725 2013-03-05  Andreas Jaeger  <aj@suse.de>
8727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8728         <bits/mman-linux.h>.
8729         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8730         is fine.
8731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8732         <bits/mman-linux.h> to end of file.
8733         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8734         is fine.
8735         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8736         <bits/mman-linux.h> to end of file.
8737         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8738         is fine.
8739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8740         <bits/mman-linux.h> to end of file.
8742         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8743         (MCL_CURRENT, MCL_FUTURE): Define here.
8745 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8747         [BZ #15232]
8748         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8749         attribute_hidden.
8750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8752 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8755         fourth parameter needed for rt_sigprocmask syscall.
8756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8757         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8758         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8760         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8761         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8763 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8765         [BZ #13550]
8766         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8767         comment about bounded pointers.
8768         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8769         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8771 2013-03-04  Andreas Jaeger  <aj@suse.de>
8773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8774         common definitions.
8776         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8777         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8778         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8783 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8785         [BZ #15055]
8786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8787         __ieee754_sqrl instead of __sqrl.
8789 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8791         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8792         * sysdeps/powerpc/fpu_control.h: ... here.
8793         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8794         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8795         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8796         * sysdeps/powerpc/bits/mathinline.h: ... here.
8798 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8800         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8801         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8802         to just [NEED_DL_SYSINFO_DSO].
8803         * elf/dl-support.c: Likewise.
8804         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8805         * elf/rtld.c (dl_main): Likewise.
8806         * elf/setup-vdso.h (setup_vdso): Likewise.
8807         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8808         * sysdeps/unix/sysv/linux/dl-sysdep.c
8809         (_dl_discover_osversion): Likewise.
8811 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8813         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8814         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8816 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8818         * NEWS: Mention libm performance improvements and non-x86 PI
8819         futex support.
8821         * csu/libc-start.c (__pthread_initialize_minimal): Change
8822         function arguments.
8823         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8825 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8827         [BZ #13550]
8828         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8830         <bp-sym.h> and <bp-asm.h>.
8831         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8833         and <bp-asm.h>.
8834         (memcpy): Don't use BP_SYM.
8835         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8836         <bp-asm.h>.
8837         (__mpn_add_n): Don't use BP_SYM.
8838         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8839         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8840         and <bp-asm.h>.
8841         (__mpn_addmul_1): Don't use BP_SYM.
8842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8844         <bp-sym.h>.
8845         (_setjmp): Don't use BP_SYM.
8846         (__novmx_setjmp): Likewise.
8847         (__GI__setjmp): Likewise.
8848         (__vmx_setjmp): Likewise.
8849         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8850         <bp-sym.h>.
8851         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8852         (__bzero): Don't use BP_SYM.
8853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8856         <bp-sym.h> and <bp-asm.h>.
8857         (memcpy): Don't use BP_SYM.
8858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8859         <bp-sym.h> and <bp-asm.h>.
8860         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8862         <bp-sym.h> and <bp-asm.h>.
8863         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8864         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8865         <bp-asm.h>.
8866         (__mpn_lshift): Don't use BP_SYM.
8867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8868         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8869         <bp-asm.h>.
8870         (memset): Don't use BP_SYM.
8871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8873         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8874         <bp-asm.h>.
8875         (__mpn_mul_1): Don't use BP_SYM.
8876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8878         <bp-sym.h> and <bp-asm.h>.
8879         (memcmp): Don't use BP_SYM.
8880         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8881         <bp-sym.h> and <bp-asm.h>.
8882         (memcpy): Don't use BP_SYM.
8883         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8884         <bp-sym.h> and <bp-asm.h>.
8885         (memset): Don't use BP_SYM.
8886         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8887         <bp-sym.h> and <bp-asm.h>.
8888         (strncmp): Don't use BP_SYM.
8889         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8890         <bp-sym.h> and <bp-asm.h>.
8891         (memcpy): Don't use BP_SYM.
8892         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8893         <bp-sym.h> and <bp-asm.h>.
8894         (memset): Don't use BP_SYM.
8895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8896         <bp-sym.h> and <bp-asm.h>.
8897         (__memchr): Don't use BP_SYM.
8898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8899         <bp-sym.h> and <bp-asm.h>.
8900         (memcmp): Don't use BP_SYM.
8901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8902         <bp-sym.h> and <bp-asm.h>.
8903         (memcpy): Don't use BP_SYM.
8904         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8905         <bp-sym.h> and <bp-asm.h>.
8906         (__mempcpy): Don't use BP_SYM.
8907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8908         <bp-sym.h> and <bp-asm.h>.
8909         (__memrchr): Don't use BP_SYM.
8910         * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
8914         <bp-sym.h> and <bp-asm.h>.
8915         (__rawmemchr): Don't use BP_SYM.
8916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8917         <bp-sym.h> and <bp-asm.h>.
8918         (__STRCMP): Don't use BP_SYM.
8919         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8920         <bp-sym.h> and <bp-asm.h>.
8921         (strchr): Don't use BP_SYM.
8922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8923         <bp-sym.h> and <bp-asm.h>.
8924         (__strchrnul): Don't use BP_SYM.
8925         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8926         <bp-sym.h> and <bp-asm.h>.
8927         (strlen): Don't use BP_SYM.
8928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8929         <bp-sym.h> and <bp-asm.h>.
8930         (strncmp): Don't use BP_SYM.
8931         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8932         <bp-sym.h> and <bp-asm.h>.
8933         (__strnlen): Don't use BP_SYM.
8934         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8935         <bp-asm.h>.
8936         (__mpn_rshift): Don't use BP_SYM.
8937         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8939         <bp-sym.h> and <bp-asm.h>.
8940         (__sigsetjmp): Don't use BP_SYM.
8941         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8942         (L(start_addresses)): Don't use BP_SYM.
8943         (_start): Likewise.
8944         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8945         <bp-asm.h>.
8946         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8947         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8948         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8949         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8950         <bp-asm.h>.
8951         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8952         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8953         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8954         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8955         <bp-asm.h>.
8956         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8957         comments.
8958         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8959         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8960         <bp-asm.h>.
8961         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8962         FIXME comments.
8963         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8964         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8965         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8966         <bp-asm.h>.
8967         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8968         comment.
8969         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8970         and <bp-asm.h>.
8971         (strncmp): Don't use BP_SYM,
8972         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8973         <bp-asm.h>.
8974         (__mpn_sub_n): Don't use BP_SYM.
8975         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8976         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8977         and <bp-asm.h>.
8978         (__mpn_submul_1): Don't use BP_SYM.
8979         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8981         <bp-sym.h> and <bp-asm.h>.
8982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8984         <bp-sym.h> and <bp-asm.h>.
8985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8986         comment.
8988 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8991         Use ZK to minimize writes to Z.
8992         (sub_magnitudes): Simplify code a bit.
8993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8994         Use ZK to minimize writes to Z.
8995         (sub_magnitudes): Simplify code a bit.
8997 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8999         * csu/gmon-start.c: Add special exception to license text.
9001 2013-02-27  Richard Henderson  <rth@redhat.com>
9003         * scripts/config.guess: Update from config.git.
9004         * scripts/config.sub: Likewise.
9006 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9010         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9012         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9014         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9016         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9018 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9020         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9021         [$(build-shared = yes].
9023 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9025         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9026         (__mul): Reduce iterations for calculating mantissa.
9028         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9029         MPTWO.
9030         (__mpranred): Likewise.
9032         [BZ #15160]
9033         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9034         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9036 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9038         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9039         Define __attribute__.
9041 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9043         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9044         unused.
9045         * posix/regex_internal.h (__attribute): Remove.
9046         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9047         (re_string_context_at): Likewise.
9048         (bitset_not): Use __attribute__ and mark function as possibly
9049         unused.
9050         (bitset_merge): Likewise.
9051         (bitset_mask): Likewise.
9052         (re_string_char_size_at): Likewise.
9053         (re_string_wchar_at): Likewise.
9054         (re_string_elem_size_at): Likewise.
9056 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9058         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9059         code.
9060         (cc32): Likewise.
9062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9063         (__acr): Likewise.
9064         (__cpy): Likewise.
9065         (norm): Likewise.
9066         (denorm): Likewise.
9067         (__dbl_mp): Likewise.
9068         (add_magnitudes): Likewise.
9069         (sub_magnitudes): Likewise.
9070         (__mul): Likewise.
9071         (__inv): Likewise.
9073         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9074         style.
9076         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9077         style.
9079         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9080         code.
9082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9083         up changes with default code.
9084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9085         Likewise.
9087 2013-02-24  Allan McRae  <allan@archlinux.org>
9089         * manual/socket.texi (The Internet Namespace): Order menu items
9090         to match that in the file.
9092         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9093         node listing of the info page menu.
9095 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9097         [BZ #13550]
9098         * sysdeps/i386/bp-asm.h: Remove file.
9099         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9100         (PARMS): Do not use macros from bp-asm.h.
9101         (S1): Likewise.
9102         (S2): Likewise.
9103         (SIZE): Likewise.
9104         (__mpn_add_n): Do not use BP_SYM
9105         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9106         "bp-asm.h".
9107         (PARMS): Do not use macros from bp-asm.h.
9108         (S1): Likewise.
9109         (SIZE): Likewise.
9110         (__mpn_addmul_1): Do not use BP_SYM
9111         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9112         "bp-asm.h".
9113         (PARMS): Do not use macros from bp-asm.h.
9114         (SIGMSK): Likewise.
9115         (_setjmp): Likewise.  Do not use BP_SYM.
9116         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9117         "bp-asm.h".
9118         (PARMS): Do not use macros from bp-asm.h.
9119         (SIGMSK): Likewise.
9120         (setjmp): Likewise.  Do not use BP_SYM.
9121         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9122         "bp-asm.h".
9123         (PARMS): Do not use macros from bp-asm.h.
9124         (__frexp): Do not use BP_SYM.
9125         (frexp): Likewise.
9126         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9127         "bp-asm.h".
9128         (PARMS): Do not use macros from bp-asm.h.
9129         (__frexpf): Do not use BP_SYM.
9130         (frexpf): Likewise.
9131         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9132         "bp-asm.h".
9133         (PARMS): Do not use macros from bp-asm.h.
9134         (__frexpl): Do not use BP_SYM.
9135         (frexpl): Likewise.
9136         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9137         "bp-asm.h".
9138         (PARMS): Do not use macros from bp-asm.h.
9139         (__remquo): Do not use BP_SYM.
9140         (remquo): Likewise.
9141         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9142         "bp-asm.h".
9143         (PARMS): Do not use macros from bp-asm.h.
9144         (__remquof): Do not use BP_SYM.
9145         (remquof): Likewise.
9146         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9147         "bp-asm.h".
9148         (PARMS): Do not use macros from bp-asm.h.
9149         (__remquol): Do not use BP_SYM.
9150         (remquol): Likewise.
9151         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9152         "bp-asm.h".
9153         (PARMS): Do not use macros from bp-asm.h.
9154         (DEST): Likewise.
9155         (SRC): Likewise.
9156         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9157         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9158         "bp-asm.h".
9159         (PARMS): Do not use macros from bp-asm.h.
9160         (strlen): Do not use BP_SYM.
9161         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9162         "bp-asm.h".
9163         (PARMS): Do not use macros from bp-asm.h.
9164         (S1): Likewise.
9165         (S2): Likewise.
9166         (SIZE): Likewise.
9167         (__mpn_add_n): Do not use BP_SYM.
9168         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9169         "bp-asm.h".
9170         (PARMS): Do not use macros from bp-asm.h.
9171         (S1): Likewise.
9172         (SIZE): Likewise.
9173         (__mpn_addmul_1): Do not use BP_SYM.
9174         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9175         weak_alias.
9176         (bzero): Likewise.
9177         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9178         "bp-asm.h".
9179         (PARMS): Do not use macros from bp-asm.h.
9180         (S): Likewise.
9181         (SIZE): Likewise.
9182         (__mpn_lshift): Do not use BP_SYM.
9183         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9184         "bp-asm.h".
9185         (PARMS): Do not use macros from bp-asm.h.
9186         (DEST): Likewise.
9187         (SRC): Likewise.
9188         (LEN): Likewise.
9189         (memcpy): Likewise.  Do not use BP_SYM.
9190         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9191         libc_hidden_def and weak_alias.
9192         (mempcpy): Do not use BP_SYM in weak_alias.
9193         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9194         "bp-asm.h".
9195         (PARMS): Do not use macros from bp-asm.h.
9196         (DEST): Likewise.
9197         (LEN): Likewise.
9198         [!BZERO_P] (CHR): Likewise.
9199         (memset): Likewise.  Do not use BP_SYM.
9200         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9201         "bp-asm.h".
9202         (PARMS): Do not use macros from bp-asm.h.
9203         (S1): Likewise.
9204         (SIZE): Likewise.
9205         (__mpn_mul_1): Do not use BP_SYM.
9206         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9207         "bp-asm.h".
9208         (PARMS): Do not use macros from bp-asm.h.
9209         (S): Likewise.
9210         (SIZE): Likewise.
9211         (__mpn_rshift): Do not use BP_SYM.
9212         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9213         "bp-asm.h".
9214         (PARMS): Do not use macros from bp-asm.h.
9215         (STR): Likewise.
9216         (CHR): Likewise.
9217         (strchr): Likewise.  Do not use BP_SYM.
9218         (index): Do not use BP_SYM in weak_alias.
9219         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9220         "bp-asm.h".
9221         (PARMS): Do not use macros from bp-asm.h.
9222         (DEST): Likewise.
9223         (SRC): Likewise.
9224         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9225         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9226         "bp-asm.h".
9227         (PARMS): Do not use macros from bp-asm.h.
9228         (strlen): Do not use BP_SYM.
9229         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9230         "bp-asm.h".
9231         (PARMS): Do not use macros from bp-asm.h.
9232         (S1): Likewise.
9233         (S2): Likewise.
9234         (SIZE): Likewise.
9235         (__mpn_sub_n): Do not use BP_SYM.
9236         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9237         "bp-asm.h".
9238         (PARMS): Do not use macros from bp-asm.h.
9239         (S1): Likewise.
9240         (SIZE): Likewise.
9241         (__mpn_submul_1): Do not use BP_SYM.
9242         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9243         "bp-asm.h".
9244         (PARMS): Do not use macros from bp-asm.h.
9245         (S1): Likewise.
9246         (S2): Likewise.
9247         (SIZE): Likewise.
9248         (__mpn_add_n): Do not use BP_SYM.
9249         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9250         weak_alias.
9251         (bzero): Likewise.
9252         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9253         "bp-asm.h".
9254         (PARMS): Do not use macros from bp-asm.h.
9255         (BLK2): Likewise.
9256         (LEN): Likewise.
9257         (memcmp): Do not use BP_SYM.
9258         (bcmp): Do not use BP_SYM in weak_alias.
9259         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9260         "bp-asm.h".
9261         (PARMS): Do not use macros from bp-asm.h.
9262         (DEST): Likewise.
9263         (SRC): Likewise.
9264         (LEN): Likewise.
9265         (memcpy): Likewise.  Do not use BP_SYM.
9266         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9267         "bp-asm.h".
9268         (PARMS): Do not use macros from bp-asm.h.
9269         (DEST): Likewise.
9270         (SRC): Likewise.
9271         (LEN): Likewise.
9272         (memmove): Likewise.  Do not use BP_SYM.
9273         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9274         "bp-asm.h".
9275         (PARMS): Do not use macros from bp-asm.h.
9276         (DEST): Likewise.
9277         (SRC): Likewise.
9278         (LEN): Likewise.
9279         (__mempcpy): Likewise.  Do not use BP_SYM.
9280         (mempcpy): Do not use BP_SYM in weak_alias.
9281         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9282         "bp-asm.h".
9283         (PARMS): Do not use macros from bp-asm.h.
9284         (DEST): Likewise.
9285         (LEN): Likewise.
9286         [!BZERO_P] (CHR): Likewise.
9287         (memset): Likewise.  Do not use BP_SYM.
9288         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9289         "bp-asm.h".
9290         (PARMS): Do not use macros from bp-asm.h.
9291         (STR2): Likewise.
9292         (strcmp): Do not use BP_SYM.
9293         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9294         "bp-asm.h".
9295         (PARMS): Do not use macros from bp-asm.h.
9296         (STR): Likewise.
9297         (DELIM): Likewise.
9298         [USE_AS_STRTOK_R] (SAVE): Likewise.
9299         (FUNCTION): Likewise.  Do not use BP_SYM.
9300         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9301         aliases.
9302         (strtok_r): Likewise.
9303         (__GI___strtok_r): Likewise.
9304         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9305         (PARMS): Do not use macros from bp-asm.h.
9306         (S): Likewise.
9307         (SIZE): Likewise.
9308         (__mpn_lshift): Do not use BP_SYM.
9309         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9310         (PARMS): Do not use macros from bp-asm.h.
9311         (STR): Likewise.
9312         (CHR): Likewise.
9313         (__memchr): Do not use BP_SYM.
9314         (memchr): Do not use BP_SYM in weak_alias.
9315         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9316         (PARMS): Do not use macros from bp-asm.h.
9317         (BLK2): Likewise.
9318         (LEN): Likewise.
9319         (memcmp): Do not use BP_SYM.
9320         (bcmp): Do not use BP_SYM in weak_alias.
9321         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9322         (PARMS): Do not use macros from bp-asm.h.
9323         (S1): Likewise.
9324         (SIZE): Likewise.
9325         (__mpn_mul_1): Do not use BP_SYM.
9326         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9327         "bp-asm.h".
9328         (PARMS): Do not use macros from bp-asm.h.
9329         (STR): Likewise.
9330         (CHR): Likewise.
9331         (__rawmemchr): Do not use BP_SYM.
9332         (rawmemchr): Do not use BP_SYM in weak_alias.
9333         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9334         (PARMS): Do not use macros from bp-asm.h.
9335         (S): Likewise.
9336         (SIZE): Likewise.
9337         (__mpn_rshift): Do not use BP_SYM.
9338         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9339         (PARMS): Do not use macros from bp-asm.h.
9340         (SIGMSK): Likewise.
9341         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9342         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9343         (_start): Do not use BP_SYM.
9344         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9345         (PARMS): Do not use macros from bp-asm.h.
9346         (DEST): Likewise.
9347         (SRC): Likewise.
9348         (__stpcpy): Likewise.  Do not use BP_SYM.
9349         (stpcpy): Do not use BP_SYM in weak_alias.
9350         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9351         "bp-asm.h".
9352         (PARMS): Do not use macros from bp-asm.h.
9353         (DEST): Likewise.
9354         (SRC): Likewise.
9355         (LEN): Likewise.
9356         (__stpncpy): Likewise.  Do not use BP_SYM.
9357         (stpncpy): Do not use BP_SYM in weak_alias.
9358         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9359         (PARMS): Do not use macros from bp-asm.h.
9360         (STR): Likewise.
9361         (CHR): Likewise.
9362         (strchr): Likewise.  Do not use BP_SYM.
9363         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9364         "bp-asm.h".
9365         (PARMS): Do not use macros from bp-asm.h.
9366         (STR): Likewise.
9367         (CHR): Likewise.
9368         (__strchrnul): Likewise.  Do not use BP_SYM.
9369         (strchrnul): Do not use BP_SYM in weak_alias.
9370         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9371         "bp-asm.h".
9372         (PARMS): Do not use macros from bp-asm.h.
9373         (STOP): Likewise.
9374         (strcspn): Do not use BP_SYM.
9375         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9376         "bp-asm.h".
9377         (PARMS): Do not use macros from bp-asm.h.
9378         (STR): Likewise.
9379         (STOP): Likewise.
9380         (strpbrk): Likewise.  Do not use BP_SYM.
9381         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9382         "bp-asm.h".
9383         (PARMS): Do not use macros from bp-asm.h.
9384         (STR): Likewise.
9385         (CHR): Likewise.
9386         (strrchr): Likewise.  Do not use BP_SYM.
9387         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9388         (PARMS): Do not use macros from bp-asm.h.
9389         (SKIP): Likewise.
9390         (strspn): Do not use BP_SYM.
9391         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9392         (PARMS): Do not use macros from bp-asm.h.
9393         (STR): Likewise.
9394         (DELIM): Likewise.
9395         (SAVE): Likewise.
9396         (FUNCTION): Likewise.  Do not use BP_SYM.
9397         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9398         aliases.
9399         (strtok_r): Likewise.
9400         (__GI___strtok_r): Likewise.
9401         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9402         (PARMS): Do not use macros from bp-asm.h.
9403         (S1): Likewise.
9404         (S2): Likewise.
9405         (SIZE): Likewise.
9406         (__mpn_sub_n): Do not use BP_SYM.
9407         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9408         "bp-asm.h".
9409         (PARMS): Do not use macros from bp-asm.h.
9410         (S1): Likewise.
9411         (SIZE): Likewise.
9412         (__mpn_submul_1): Do not use BP_SYM.
9413         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9414         <bp-sym.h>.
9415         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9416         and <bp-asm.h>.
9417         (PARMS): Do not use macros from bp-asm.h.
9418         (FLAGS): Likewise.
9419         (PTID): Likewise.
9420         (TLS): Likewise.
9421         (CTID): Likewise.
9422         (__clone): Do not use BP_SYM.
9423         (clone): Do not use BP_SYM in weak_alias.
9424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9425         and <bp-asm.h>.
9426         (PARMS): Do not use macros from bp-asm.h.
9427         (LEN): Likewise.
9428         (__mmap64): Do not use BP_SYM.
9429         (mmap64): Do not use BP_SYM in weak_alias.
9430         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9431         <bp-sym.h> and <bp-asm.h>.
9432         (PARMS): Do not use macros from bp-asm.h.
9433         (__posix_fadvise64_l64): Do not use BP_SYM.
9434         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9435         (PARMS): Do not use macros from bp-asm.h.
9436         (NSOPS): Likewise.
9437         (semtimedop): Do not use BP_SYM.
9438         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9439         and <bp-asm.h>.
9441 2013-02-21  Allan McRae  <allan@archlinux.org>
9443         * manual/message.texi (Charset conversion in gettext):
9444         Move @end statement to beginning of line.
9446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9449         static.
9450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9451         Likewise.
9453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9454         (denorm): Likewise.
9455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9458 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9460         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9461         tail-call to the resolved function if pltexit isn't needed.
9463 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9466         or Y being zero as being unlikely.
9467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9468         Likewise.
9470 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9472         * manual/nss.texi (System Databases and Name Service Switch):
9473         Remove frobnicate @pxref.
9475 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9477         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9478         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9480 2013-02-20  Petr Machata  <pmachata@redhat.com>
9482         * elf/elf.h (R_ARM_TARGET1): New macro.
9483         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9484         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9485         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9486         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9487         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9488         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9489         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9490         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9491         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9492         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9493         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9494         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9495         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9496         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9497         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9498         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9499         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9500         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9501         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9502         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9503         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9504         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9505         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9506         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9507         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9508         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9509         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9510         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9511         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9512         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9513         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9514         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9515         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9516         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9517         (R_ARM_THM_GOT_BREL12): Likewise.
9518         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9519         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9520         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9521         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9522         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9523         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9524         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9525         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9526         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9528 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9530         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9531         __attribute_used__ to __attribute__ ((unused)).
9533 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9536         powerpc mpa.c.
9537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9538         comment formatting.
9539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9541 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9543         [BZ #13550]
9544         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9545         Remove macro.
9546         (ENTER): Remove both macro definitions.
9547         (LEAVE): Likewise.
9548         (CHECK_BOUNDS_LOW): Likewise.
9549         (CHECK_BOUNDS_HIGH): Likewise.
9550         (CHECK_BOUNDS_BOTH): Likewise.
9551         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9552         (RETURN_BOUNDED_POINTER): Likewise.
9553         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9554         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9555         (POP_ERRNO_LOCATION_RETURN): Likewise.
9556         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9558         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9559         macros.
9560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9561         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9562         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9563         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9564         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9565         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9566         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9567         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9568         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9569         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9570         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9571         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9573         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9574         removed macros.
9575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9576         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9577         macros.
9578         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9579         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9580         * sysdeps/i386/i586/memset.S (memset): Likewise.
9581         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9582         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9583         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9584         macros.
9585         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9586         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9587         Change uses of L(2) to L(out).
9588         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9589         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9590         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9591         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9592         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9593         removed macros.
9594         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9595         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9596         macros.
9597         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9598         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9599         (RETURN): Do not use macro LEAVE.
9600         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9601         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9602         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9603         * sysdeps/i386/i686/memset.S (memset): Likewise.
9604         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9605         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9606         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9607         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9608         Likewise.
9609         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9610         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9611         L(1_2) and L(1_3) into L(1).
9612         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9613         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9614         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9615         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9616         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9617         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9618         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9619         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9620         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9621         macros.
9622         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9624         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9625         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9626         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9627         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9628         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9629         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9630         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9631         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9632         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9633         * sysdeps/i386/strspn.S (strspn): Likewise.
9634         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9635         conditional code.
9636         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9637         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9638         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9639         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9640         L(1_3) into L(1_1).
9641         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9642         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9643         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9644         macros.
9645         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9647 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9649         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9650         macro.
9652 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9654         * math/atest-exp.c (exp_mpn): Remove ROUND.
9655         * math/atest-exp2.c (exp_mpn): Likewise.
9656         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9658         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9659         * stdlib/tst-tls-atexit-lib.c: Likewise.
9660         * stdlib/tst-tls-atexit.c: Likewise.
9662 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9664         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9665         and __attribute_alloc_size__.
9667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9669         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9670         __attribute_alloc_size__.
9671         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9672         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9676         * include/programs/xmalloc.h: New file.
9677         * catgets/gencat.c: Include it.
9678         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9679         * elf/pldd.c: Likewise.
9680         * iconv/iconv_charmap.c: Likewise.
9681         * iconv/iconvconfig.c: Likewise.
9682         * iconv/strtab.c: Likewise.
9683         * locale/programs/locale.c: Likewise.
9684         * locale/programs/localedef.h: Likewise.
9685         * locale/programs/simple-hash.c: Likewise.
9686         * nscd/nscd.h: Likewise.
9687         * nss/makedb.c: Likewise.
9688         * sysdeps/generic/ldconfig.h: Likewise.
9690 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9692         * Versions.def: Add GLIBC_2.18.
9693         * include/link.h (struct link_map): New member l_tls_dtor_count.
9694         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9695         (__call_tls_dtors): Likewise.
9696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9697         __cxa_thread_atexit_impl.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9699         Likewise.
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9701         Likewise.
9702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9703         Likewise.
9704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9705         Likewise.
9706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9708         Likewise.
9709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9710         Likewise.
9711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9713         Likewise.
9714         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9715         (tests): Add test case tst-tls-atexit.
9716         (modules-names): Add shared library for tst-tls-atexit.
9717         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9718         (GLIBC_PRIVATE): Add __call_tls_dtors.
9719         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9720         for libstdc++.
9721         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9722         * stdlib/tst-tls-atexit.c: New test case.
9723         * stdlib/tst-tls-atexit-lib.c: New test case.
9725         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9727         * elf/Versions (ld): Add _dl_find_dso_for_object.
9728         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9729         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9730         (dl_open_worker): Use _dl_find_dso_for_object.
9731         * elf/dl-sym.c (do_sym): Likewise.
9732         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9734 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9736         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9737         Syntactic changes only.
9738         (_dl_runtime_profile): Do a tail-call to the resolved function.
9740 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9742         [BZ #13550]
9743         * sysdeps/x86_64/bp-asm.h: Remove file.
9744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9745         <bp-sym.h> and <bp-asm.h>.
9746         (__clone): Do not use BP_SYM.
9747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9748         <bp-sym.h> and <bp-asm.h>.
9749         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9750         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9751         "bp-asm.h".
9752         (_setjmp): Do not use BP_SYM.
9753         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9754         "bp-asm.h".
9755         (setjmp): Do not use BP_SYM.
9756         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9757         libc_hidden_def.
9758         (mempcpy): Do not use BP_SYM in weak_alias.
9759         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9760         "bp-asm.h".
9761         (strchr): Do not use BP_SYM.
9762         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9763         "bp-asm.h".
9764         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9765         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9766         (_start): Do not use BP_SYM.
9767         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9768         "bp-asm.h".
9769         (strcat): Do not use BP_SYM.
9770         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9771         "bp-asm.h".
9772         (STRCMP): Do not use BP_SYM.
9773         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9774         "bp-asm.h".
9775         (STRCPY): Do not use BP_SYM.
9776         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9777         "bp-asm.h".
9778         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9779         "bp-asm.h".
9780         (FUNCTION): Do not use BP_SYM.
9781         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9782         weak_alias.
9783         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9785 2013-02-17  Andreas Jaeger  <aj@suse.de>
9787         * time/Versions: Sort entries.
9788         * string/Versions: Likewise.
9789         * resolv/Versions: Likewise.
9790         * posix/Versions: Likewise.
9791         * iconv/Versions: Likewise.
9792         * elf/Versions: Likewise.
9793         * wcsmbs/Versions: Likewise.
9795 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9798         loop termination condition.
9800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9801         variable to calculate EZ.
9802         (__sqr): Likewise.
9804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9805         the lower precision input.
9807 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9809         [BZ #13550]
9810         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9811         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9812         (run-via-rtld-prefix): Do not handle %-bp tests.
9813         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9814         (all-object-suffixes): Remove .ob.
9815         (bppfx): Remove variable.
9816         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9817         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9818         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9819         [$(build-bounded) = yes] (libtype.ob): Likewise.
9820         * Makerules (elide-routines.ob): Remove variable.
9821         (do-tests-clean): Do not handle *-bp.out.
9822         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9823         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9824         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9825         (tests): Do not include $(tests-bp.out).
9826         (xtests): Do not include $(xtests-bp.out).
9827         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9828         [$(build-bounded) = yes] ($(addprefix
9829         $(objpfx),$(binaries-bounded))): Remove rule.
9830         ($(objpfx)%-bp.out): Remove rule.
9831         * config.make.in (build-bounded): Remove variable.
9832         * crypt/Makefile [$(build-bounded) = yes]
9833         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9834         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9835         append to variable.
9836         [$(build-bounded) = yes] (install-lib): Likewise.
9837         [$(build-bounded) = yes] (generated): Likewise.
9838         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9839         Remove rule.
9840         * intl/Makefile [$(build-bounded) = yes]
9841         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9842         * math/Makefile [$(build-bounded) = yes]
9843         ($(tests:%=$(objpfx)%-bp): Likewise.
9844         * misc/Makefile [$(build-bounded) = yes]
9845         ($(objpfx)tst-tsearch-bp): Likewise.
9846         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9847         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9848         Remove dependency.
9849         * string/Makefile (o-objects.ob): Remove variable.
9850         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9851         (CFLAGS-.ob): Remove variable.
9852         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9854         both definitions of variable.
9855         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9856         (ASFLAGS-.ob): Remove variable.
9858 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9860         [BZ #13550]
9861         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9862         Remove __BOUNDED_POINTERS__ from condition.
9863         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9864         * string/bits/string2.h [!__NO_STRING_INLINES &&
9865         !__BOUNDED_POINTERS__]: Likewise.
9866         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9869         Remove conditional code.
9870         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9871         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9872         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9873         condition.
9875         [BZ #13550]
9876         * csu/libc-start.c: Do not include <bp-sym.h>.
9877         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9878         * elf/dl-open.c: Do not include <bp-sym.h>.
9879         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9880         * math/fegetenv.c: Do not include <bp-sym.h>.
9881         (fegetenv): Do not use BP_SYM in versioned symbols.
9882         * nptl/sysdeps/pthread/bits/libc-lockP.h
9883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9884         <bp-sym.h>.
9885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9886         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9888         (__pthread_mutex_destroy): Likewise.
9889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9890         (__pthread_mutex_lock): Likewise.
9891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9892         (__pthread_mutex_trylock): Likewise.
9893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9894         (__pthread_mutex_unlock): Likewise.
9895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9896         (__pthread_mutexattr_init): Likewise.
9897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9898         (__pthread_mutexattr_destroy): Likewise.
9899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9900         (__pthread_mutexattr_settype): Likewise.
9901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9902         (__pthread_rwlock_init): Likewise.
9903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9904         (__pthread_rwlock_destroy): Likewise.
9905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9906         (__pthread_rwlock_rdlock): Likewise.
9907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9908         (__pthread_rwlock_tryrdlock): Likewise.
9909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9910         (__pthread_rwlock_wrlock): Likewise.
9911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9912         (__pthread_rwlock_trywrlock): Likewise.
9913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9914         (__pthread_rwlock_unlock): Likewise.
9915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9916         (__pthread_key_create): Likewise.
9917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9918         (__pthread_setspecific): Likewise.
9919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9920         (__pthread_getspecific): Likewise.
9921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9922         Likewise.
9923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9924         (_pthread_cleanup_push_defer): Likewise.
9925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9926         (_pthread_cleanup_pop_restore): Likewise.
9927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9928         (pthread_setcancelstate): Likewise.
9929         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9930         <bp-sym.h>.
9931         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9932         (memchr): Do not use BP_SYM in weak_alias.
9933         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9934         (fegetenv): Do not use BP_SYM in versioned symbols.
9935         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9936         (fesetenv): Do not use BP_SYM in versioned symbols.
9937         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9938         (feupdateenv): Do not use BP_SYM in versioned symbols.
9939         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9941         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9942         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9943         (open64): Do not use BP_SYM in weak_alias.
9944         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9945         (fegetenv): Do not use BP_SYM in versioned symbols.
9946         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9947         (fesetenv): Do not use BP_SYM in versioned symbols.
9948         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9949         (feupdateenv): Do not use BP_SYM in versioned symbols.
9950         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9951         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9952         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9953         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9954         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9955         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9956         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9957         <bp-sym.h>.
9958         (__libc_start_main): Do not use BP_SYM.
9960 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9963         redundant return line.
9964         (norm): Likewise.
9965         (denorm): Likewise.
9966         (dbl_mp): Likewise.
9967         (sub_magnitudes): Likewise.
9968         (__add): Likewise.
9969         (__sub): Likewise.
9970         (__mul): Likewise.
9971         (__inv): Likewise.
9972         (__dvd): Likewise.
9973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9974         (norm): Likewise.
9975         (denorm): Likewise.
9976         (dbl_mp): Likewise.
9977         (sub_magnitudes): Likewise.
9978         (__add): Likewise.
9979         (__sub): Likewise.
9980         (__mul): Likewise.
9981         (__inv): Likewise.
9982         (__dvd): Likewise.
9984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9985         instead of __mul.
9986         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9987         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9988         (cc32): Likewise.
9990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9991         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9993         of __mul for squares.
9994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9995         function
9996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9997         Likewise.
9998         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10001 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10003         [BZ #13550]
10004         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10005         code.
10006         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10007         prototype or function definition.  Rename ubp_* variables and
10008         parameters.  Remove argv definitions conditional on
10009         [__BOUNDED_POINTERS__].
10010         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10011         * elf/dl-runtime.c (_dl_fixup): Likewise.
10012         * include/set-hooks.h (RUN_HOOK): Likewise.
10013         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10014         definition.
10015         * string/strcpy.c (strcpy): Do not use __unbounded.
10016         * sysdeps/generic/frame.h (struct layout): Likewise.
10017         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10018         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10019         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10020         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10021         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10022         (__backtrace): Likewise.
10023         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10024         use __ptrvalue.
10025         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10026         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10027         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10030         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10032         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10033         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10034         Do not use __unbounded.
10035         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10036         Rename __unboundedrlimits parameter to rlimits in prototype.
10037         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10038         Do not use __unbounded.
10039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10040         not use __ptrvalue.
10041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10042         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10043         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10044         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10045         __ptrvalue or __unbounded.
10046         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10047         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10048         use __unbounded.
10049         (__new_msgctl): Do not use __ptrvalue.
10050         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10051         __unbounded.
10052         (__libc_msgrcv): Do not use __ptrvalue.
10053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10054         startup_info): Do not use __unbounded.
10055         (__libc_start_main): Likewise.  Rename ubp_* variables and
10056         parameters.  Remove argv definitions conditional on
10057         [__BOUNDED_POINTERS__].
10058         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10059         __ptrvalue.
10060         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10061         use __unbounded.
10062         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10063         or __ptrvalue.
10064         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10065         use __unbounded.
10066         (__new_shmctl): Do not use __ptrvalue.
10067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10068         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10069         Likewise.
10070         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10071         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10072         (__libc_sigaction): Likewise.
10073         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10078 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10080         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10082         * string/mempcpy.c: Implement by calling memcpy.
10084 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10089         evaluation.
10091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10092         values in the mantissa.
10094         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10095         minimize writes to Z.
10096         (sub_magnitudes): Simplify code a bit.
10098 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10100         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10101         from the message.  The linker prefixes all warnings with that already.
10103 2013-02-12  Andreas Schwab  <schwab@suse.de>
10105         [BZ #15078]
10106         * posix/regexec.c (extend_buffers): Add parameter min_len.
10107         (check_matching): Pass minimum needed length.
10108         (clean_state_log_if_needed): Likewise.
10109         (get_subexp): Likewise.
10110         * posix/Makefile (tests): Add bug-regex34.
10111         (bug-regex34-ENV): Define.
10112         * posix/bug-regex34.c: New file.
10114         [BZ #11561]
10115         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10116         elements compare against the byte sequence of it, not its name.
10117         * posix/Makefile (tests): Add bug-regex35.
10118         (bug-regex35-ENV): Define.
10119         * posix/bug-regex35.c: New file.
10121 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10123         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10124         comment.
10125         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10126         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10127         (CHECK_EOL): Add undef.
10129 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10131         * bits/stdlib-bsearch.h: New file.
10132         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10133         * stdlib/stdlib.h: Likewise.
10135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10137         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10138         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10139         declaration.
10140         * manual/search.texi (Array Search Function): Add missing const in
10141         lfind prototype.
10142         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10143         declaration to use rlim_t.
10144         (Basic Scheduling Functions): Remove erroneous const from
10145         sched_getparam prototype.  Remove erroneous * from
10146         sched_get_priority_max and sched_get_priority_min prototypes.
10147         (Resource Usage): Fix summary @comment on vtimes to refer to
10148         sys/vtimes.h rather than vtimes.h.
10149         Add missing *s in vtimes prototype.
10150         (Limits on Resources): Fix ulimit prototype to return long int.
10151         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10152         prototypes to use long int rather than double.
10153         (BSD Random): Fix initstate and setstate to use char *, not void *.
10154         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10155         prototype to make second argument 'struct aiocb64 *const[]'.
10156         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10157         (Status of AIO Operations): Remove erroneous const in aio_return and
10158         aio_return64 prototypes.
10159         (Synchronizing I/O): Fix sync prototype to return void.
10160         * manual/startup.texi (Suboptions): Remove an erroneous const in
10161         getsubopt prototype.
10162         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10163         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10164         use size_t rather than int.
10165         (Scanning All Users): Likewise for getpwent_r.
10166         (Setting Groups): Add missing const to setgroups prototype.
10167         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10168         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10169         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10170         'const void *' rather than 'const char *'.
10171         (Host Address Functions): Likewise for inet_ntop.
10172         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10173         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10174         ssize_t for return value.
10175         (Sending Data): Likewise for send, sendto, sendmsg.
10176         (Socket Option Functions): Add a missing const in setsockopt prototype.
10177         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10178         use wchar_t for the argument.
10179         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10180         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10181         take no arguments.
10182         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10183         double/float/long double for second argument.
10184         Fix return types of significand, significandf, significandl.
10185         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10186         argument in fchmod prototype.
10187         (File Owner): Use uid_t and gid_t in fchown prototype.
10188         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10189         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10190         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10191         use 'const struct dirent **' as argument types to CMP function pointer
10192         argument.
10193         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10194         (File Times): Fix summary magic @comment for struct utimbuf and utime
10195         to refer to utime.h, not time.h.
10196         * manual/string.texi (Argz Functions): Add missing const in
10197         argz_extract and argz_next prototypes.
10198         (Finding Tokens in a String): Likewise for basename.
10199         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10200         (Copying and Concatenation): Fix typo in wmemmove prototype.
10201         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10202         (Signal Stack): Remove erroneous const in sigstack prototype.
10203         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10204         prototype.
10205         (Simple Calendar Time): Likewise for stime.
10206         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10207         prototype.
10208         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10209         say sys/sysctl.h instead.
10210         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10211         and vsyslog prototypes.
10213 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10215         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10216         Remove.
10218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10220         * misc/sys/mman.h: Fix typo in mremap comment.
10222 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10224         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10225         the '\0' terminator.
10227 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10229         [BZ #13550]
10230         * debug/segfault.c: Don't include <bp-checks.h>.
10231         * sysdeps/generic/bp-checks.h: Remove file.
10232         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10233         (__GETDENTS): Don't use CHECK_N.
10234         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10235         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10236         (__getgroups): Don't use CHECK_N.
10237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10238         (setgroups): Don't use CHECK_N.
10239         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10240         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10241         (__libc_msgrcv): Don't use CHECK_N.
10242         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10243         (__libc_msgsnd): Don't use CHECK_N.
10244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10245         <bp-checks.h>.
10246         (__libc_pread): Don't use CHECK_N.
10247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10248         include <bp-checks.h>.
10249         (__libc_pread64): Don't use CHECK_N.
10250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10251         include <bp-checks.h>.
10252         (__libc_pwrite): Don't use CHECK_N.
10253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10254         include <bp-checks.h>.
10255         (__libc_pwrite64): Don't use CHECK_N.
10256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10257         <bp-checks.h>.
10258         (__libc_pread): Don't use CHECK_N.
10259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10260         include <bp-checks.h>.
10261         (__libc_pread64): Don't use CHECK_N.
10262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10263         include <bp-checks.h>.
10264         (__libc_pwrite): Don't use CHECK_N.
10265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10266         include <bp-checks.h>.
10267         (__libc_pwrite64): Don't use CHECK_N.
10268         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10269         (do_pread): Don't use CHECK_N.
10270         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10271         (do_pread64): Don't use CHECK_N.
10272         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10273         (do_pwrite): Don't use CHECK_N.
10274         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10275         (do_pwrite64): Don't use CHECK_N.
10276         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10277         (__libc_readv): Don't use CHECK_N.
10278         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10279         (semop): Don't use CHECK_N.
10280         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10281         <bp-checks.h>.
10282         (semtimedop): Don't use CHECK_N.
10283         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10284         (__libc_pread): Don't use CHECK_N.
10285         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10286         <bp-checks.h>.
10287         (__libc_pread64): Don't use CHECK_N.
10288         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10289         <bp-checks.h>.
10290         (__libc_pwrite): Don't use CHECK_N.
10291         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10292         <bp-checks.h>.
10293         (__libc_pwrite64): Don't use CHECK_N.
10294         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10295         <bp-checks.h>.
10296         (__libc_msgrcv): Don't use CHECK_N.
10297         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10298         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10299         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10300         (__libc_writev): Don't use CHECK_N.
10302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10304         * string/strcpy.c: Removed unused variable.
10306         * Makeconfig (+sysdep-includes): Define with := rather than =.
10307         Use an existing include/ subdir of each sysdeps dir before it.
10309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10311         * nscd/connection.c (register_traced_file): Comment function.
10312         [HAVE_INOTIFY] (union __inev): Define.
10313         [HAVE_INOTIFY] (inotify_check_files): New function.
10314         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10315         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10316         clear_db_cache.
10317         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10321         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10322         loaded if not already and that a failure is permanent.
10324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10326         [BZ #15006]
10327         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10328         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10330 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10332         [BZ #13550]
10333         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10334         (CHECK_1_NULL_OK): Likewise.
10335         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10336         (__fxstat): Do not use CHECK_1.
10337         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10338         <bp-checks.h>.
10339         (___fxstat64): Do not use CHECK_1.
10340         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10341         <bp-checks.h>.
10342         (__fxstatat): Do not use CHECK_1.
10343         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10344         <bp-checks.h>.
10345         (__fxstatat64): Do not use CHECK_1.
10346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10347         <bp-checks.h>.
10348         (__fxstat): Do not use CHECK_1.
10349         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10350         <bp-checks.h>.
10351         (__fxstatat): Do not use CHECK_1.
10352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10353         <bp-checks.h>.
10354         (__getresgid): Do not use CHECK_1.
10355         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10356         <bp-checks.h>.
10357         (__getresuid): Do not use CHECK_1.
10358         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10359         <bp-checks.h>.
10360         (__lxstat): Do not use CHECK_1.
10361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10362         <bp-checks.h>.
10363         (__old_msgctl): Do not use CHECK_1.
10364         (__new_msgctl): Likewise.
10365         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10366         <bp-checks.h>.
10367         (__new_setrlimit): Do not use CHECK_1.
10368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10369         <bp-checks.h>.
10370         (__old_shmctl): Do not use CHECK_1.
10371         (__new_shmctl): Likewise.
10372         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10373         <bp-checks.h>.
10374         (__xstat): Do not use CHECK_1.
10375         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10376         (__lxstat): Do not use CHECK_1.
10377         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10378         <bp-checks.h>.
10379         (___lxstat64): Do not use CHECK_1.
10380         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10381         (__old_msgctl): Do not use CHECK_1.
10382         (__new_msgctl): Likewise.
10383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10384         <bp-checks.h>.
10385         (__gettimeofday): Do not use CHECK_1.
10386         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10387         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10388         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10389         <bp-checks.h>.
10390         (__gettimeofday): Do not use CHECK_1.
10391         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10392         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10393         (__new_shmctl): Do not use CHECK_1.
10394         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10395         <bp-checks.h>.
10396         (do_sigtimedwait): Do not use CHECK_1.
10397         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10398         <bp-checks.h>.
10399         (do_sigwaitinfo): Do not use CHECK_1.
10400         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10401         <bp-checks.h>.
10402         (msgctl): Do not use CHECK_1.
10403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10404         <bp-checks.h>.
10405         (shmctl): Do not use CHECK_1.
10406         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10407         (ustat): Do not use CHECK_1.
10408         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10409         <bp-checks.h>.
10410         (__fxstat): Do not use CHECK_1.
10411         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10412         <bp-checks.h>.
10413         (__fxstatat): Do not use CHECK_1.
10414         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10415         <bp-checks.h>.
10416         (__lxstat): Do not use CHECK_1.
10417         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10418         <bp-checks.h>.
10419         (__xstat): Do not use CHECK_1.
10420         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10421         (__xstat): Do not use CHECK_1.
10422         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10423         (___xstat64): Do not use CHECK_1.
10425         [BZ #13550]
10426         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10427         definitions.
10428         (CHECK_BOUNDS_HIGH): Likewise.
10429         * string/strcpy.c: Do not include <bp-checks.h>.
10430         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10432 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10434         * nscd/nscd-client.h (__nscd_drop_map_ref):
10435         Add __attribute__ ((unused)).
10436         * nis/nss-nisplus.h (niserr2nss): Likewise.
10438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10439         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10441         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10442         Remove inline keyword.
10443         * include/rounding-mode.h (round_away): Likewise.
10444         * libio/wfileops.c (adjust_wide_data): Likewise.
10445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10446         (__m128i_strloadu_tolower): Likewise.
10447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10448         (__m128i_strloadu_tolower): Likewise.
10449         * time/mktime.c (ydhms_diff): Likewise.
10450         * locale/elem-hash.h (elem_hash): Likewise.
10451         * locale/setlocale.c (setdata): Likewise.
10452         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10453         (re_string_wchar_at): Likewise.
10454         (bitset_not, bitset_merge, bitset_mask): Likewise.
10455         [!(__GNUC__ > 3)] (inline): Remove macro.
10456         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10457         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10458         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10459         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10460         * string/memcmp.c (memcmp_bytes): Likewise.
10461         * locale/programs/locarchive.c (compute_hashval): Likewise.
10462         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10463         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10464         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10465         * nss/getent.c (print_rpc, print_protocols): Likewise.
10466         (print_passwd, print_group, print_aliases): Likewise.
10467         * nis/nss-nisplus.h (niserr2nss): Likewise.
10468         * nscd/connections.c (restart_p): Likewise.
10469         Change return type to bool.
10471 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10473         * Makeconfig (all-Depend-files): Add existing
10474         $(sorted-subdirs:=/Depend) files.
10475         (all-subdirs): Remove nss.
10476         * sysdeps/unix/inet/Subdirs: Add it here instead.
10477         * hesiod/Depend: New file.
10479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10480         instead of calling alloca.
10482         * io/lseek.c (__lseek): Rename to __libc_lseek.
10483         Define __lseek as an alias.
10485         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10487 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10489         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10490         else clause and remove check for non-standard endianness.
10492 2013-02-04  David S. Miller  <davem@davemloft.net>
10494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10496 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10498         [BZ #13550]
10499         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10500         (__ubp_memchr): Remove prototype.
10501         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10502         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10503         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10504         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10505         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10506         Remove alias.
10507         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10508         (__ubp_memchr): Likewise.
10509         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10510         (__ubp_memchr): Likewise.
10511         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10512         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10513         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10515         CHECK_STRING.
10516         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10517         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10518         (__getcwd): Do not use CHECK_STRING.
10519         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10520         <bp-checks.h>.
10521         (__real_chown): Do not use CHECK_STRING.
10522         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10523         <bp-checks.h>.
10524         (fchownat): Do not use CHECK_STRING.
10525         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10526         CHECK_STRING.
10527         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10528         <bp-checks.h>.
10529         (__lchown): Do not use CHECK_STRING.
10530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10531         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10532         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10533         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10535         include <bp-checks.h>.
10536         (truncate64): Do not use CHECK_STRING.
10537         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10538         <bp-checks.h>.
10539         (__real_chown): Do not use CHECK_STRING.
10540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10541         <bp-checks.h>.
10542         (__lchown): Do not use CHECK_STRING.
10543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10544         <bp-checks.h>.
10545         (__chown): Do not use CHECK_STRING.
10546         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10547         <bp-checks.h>.
10548         (truncate64): Do not use CHECK_STRING.
10549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10550         Likewise.
10551         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10552         (__xmknod): Do not use CHECK_STRING.
10553         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10554         <bp-checks.h>.
10555         (__xmknodat): Do not use CHECK_STRING.
10556         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10557         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10559 2013-02-04  Andreas Schwab  <schwab@suse.de>
10561         [BZ #14142]
10562         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10563         * include/netdb.h: Likewise for h_errno.
10564         * elf/tst-stackguard1.c: Include <tls.h>.
10566 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10568         * elf/link.h (struct link_map): Extend the l_addr comment.
10569         * include/link.h (struct link_map): Likewise.
10571 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10573         [BZ #13550]
10574         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10575         (BOUNDED_1): Remove macro.
10576         * debug/backtrace.c: Don't include <bp-checks.h>.
10577         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10578         (__backtrace): Likewise.
10579         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10580         <bp-checks.h>.
10581         (__backtrace): Don't use BOUNDED_1.
10582         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10583         <bp-checks.h>.
10584         (__backtrace): Don't use BOUNDED_1.
10585         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10586         (__backtrace): Don't use BOUNDED_1.
10587         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10588         (shmat): Don't use BOUNDED_N.
10590 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10592         [BZ #13550]
10593         * sysdeps/generic/bp-start.h: Remove file.
10594         * csu/libc-start.c: Don't include <bp-start.h>.
10595         (LIBC_START_MAIN): Set up __environ directly instead of using
10596         INIT_ARGV_and_ENVIRON.
10597         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10598         <bp-start.h>.
10600         [BZ #13550]
10601         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10602         definitions.
10603         (CHECK_FCNTL): Likewise.
10604         (CHECK_N_PAGES): Likewise.
10606         [BZ #13550]
10607         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10608         definitions.
10609         (CHECK_SIGSET_NULL_OK): Likewise.
10610         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10611         <bp-checks.h>.
10612         (sigpending): Don't use CHECK_SIGSET.
10613         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10614         <bp-checks.h>.
10615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10616         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10617         <bp-checks.h>.
10618         (do_sigsuspend): Don't use CHECK_SIGSET.
10619         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10620         use CHECK_SIGSET.
10621         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10622         (do_sigwait): Don't use CHECK_SIGSET.
10623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10624         use CHECK_SIGSET.
10625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10626         include <bp-checks.h>.
10627         (sigpending): Don't use CHECK_SIGSET.
10628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10629         include <bp-checks.h>.
10630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10631         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10632         <bp-checks.h>.
10633         (sigpending): Don't use CHECK_SIGSET.
10634         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10635         <bp-checks.h>.
10636         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10638         [BZ #13550]
10639         * sysdeps/generic/bp-semctl.h: Remove file.
10640         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10641         <bp-checks.h> and <bp-semctl.h>.
10642         (__old_semctl): Don't use CHECK_SEMCTL.
10643         (__new_semctl): Likewise.
10644         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10645         and <bp-semctl.h>.
10646         (__old_semctl): Don't use CHECK_SEMCTL.
10647         (__new_semctl): Likewise.
10648         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10649         <bp-checks.h> and <bp-semctl.h>.
10650         (__old_semctl): Don't use CHECK_SEMCTL.
10651         (__new_semctl): Likewise.
10652         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10653         <bp-checks.h> and <bp-semctl.h>.
10654         (semctl): Don't use CHECK_SEMCTL.
10656         [BZ #13550]
10657         * Makerules (elide-bp-thunks): Remove variable.
10658         (elide-routines.oS): Don't use $(elide-bp-thunks).
10659         (elide-routines.os): Likewise.
10660         (elide-routines.o): Likewise.
10661         (elide-routines.op): Likewise.
10662         (elide-routines.og): Likewise.
10663         (objects): Don't use $(bp-thunks).
10664         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10665         include.
10666         (common-generated): Do not add s-proto-bp.d.
10667         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10668         (int): Likewise.
10669         (typ): Likewise.
10670         Do not generate makefile rules for bounded-pointer thunks.
10671         * sysdeps/generic/bp-thunks.h: Remove file.
10672         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10673         * sysdeps/unix/s-proto-bp.S: Likewise.
10675         [BZ #15062]
10676         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10677         parts of result separately when argument is not close to line from
10678         -i to i and one part of argument is small.
10679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10681         * math/libm-test.inc (cacos_test): Add more tests.
10682         (casin_test): Likewise.
10683         (casinh_test): Likewise.
10684         * sysdeps/i386/fpu/libm-test-ulps: Update.
10685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10687 2013-01-31  David S. Miller  <davem@davemloft.net>
10689         * po/de.po: Update from translation team.
10691 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10693         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10695 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10697         * configure.in (_AC_PROG_CC_C89): New definition.
10698         * configure: Regenerate.
10700         * configure.in (AC_PROG_CPP): New definition.
10701         * configure: Regenerate.
10703 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10705         * debug/tst-backtrace.h: New file.
10706         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10707         (ret): Remove variable.
10708         (x): Likewise.
10709         (FAIL): Remove macro.
10710         (NO_INLINE): Likewise.
10711         (fn1): Use match function instead of strstr.
10712         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10713         (ret): Remove variable.
10714         (x): Likewise.
10715         (FAIL): Remove macro.
10716         (NO_INLINE): Likewise.
10717         (fn): Use match function instead of strstr.
10718         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10719         (ret): Remove variable.
10720         (x): Likewise.
10721         (FAIL): Remove macro.
10722         (NO_INLINE): Likewise.
10723         (handle_signal): Use match function instead of strstr.
10724         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10725         (ret): Remove variable.
10726         (x): Likewise.
10727         (FAIL): Remove macro.
10728         (NO_INLINE): Likewise.
10729         (handle_signal): Use match function instead of strstr.
10731 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10733         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10735 2013-01-23  David S. Miller  <davem@davemloft.net>
10737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10738         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10739         argument of CAS if possible.
10740         * sysdeps/sparc/sparc64/bits/atomic.h
10741         (__arch_compare_and_exchange_val_32_acq): Likewise.
10742         (__arch_compare_and_exchange_val_64_acq): Likewise.
10744 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10746         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10747         * sysdeps/posix/ulimit.c: ... this.
10748         Include <limits.h>.
10749         * sysdeps/unix/bsd/ulimit.c: Remove file.
10751 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10753         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10754         (LDFLAGS-tst-array5): Likewise.
10756 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10758         [BZ #15036]
10759         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10760         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10761         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10762         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10764 2013-01-21  David S. Miller  <davem@davemloft.net>
10766         * sysdeps/sparc/backtrace.c: New file.
10767         * sysdeps/sparc/sparc32/backtrace.h: New file.
10768         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10769         * sysdeps/sparc/sparc64/backtrace.h: New file.
10770         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10771         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10772         -funwind-tables.
10774 2013-01-21  Andreas Schwab  <schwab@suse.de>
10776         [BZ #15020]
10777         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10778         closed its stdout.
10780 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10783         "mpa2.h".
10784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10786 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10787             Mark Mitchell  <mark@codesourcery.com>
10788             Tom de Vries  <tom@codesourcery.com>
10789             Paul Pluzhnikov  <ppluzhnikov@google.com>
10791         * debug/tst-backtrace2.c: New file.
10792         * debug/tst-backtrace3.c: Likewise.
10793         * debug/tst-backtrace4.c: Likewise.
10794         * debug/tst-backtrace5.c: Likewise.
10795         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10796         (CFLAGS-tst-backtrace3.c): Likewise.
10797         (CFLAGS-tst-backtrace4.c): Likewise.
10798         (CFLAGS-tst-backtrace5.c): Likewise.
10799         (LDFLAGS-tst-backtrace2): Likewise.
10800         (LDFLAGS-tst-backtrace3): Likewise.
10801         (LDFLAGS-tst-backtrace4): Likewise.
10802         (LDFLAGS-tst-backtrace5): Likewise.
10803         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10804         tst-backtrace4 and tst-backtrace5.
10806 2013-01-18  Anton Blanchard  <anton@samba.org>
10807             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10809         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10810         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10812         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10814         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10815         "+r" and remove output regs list as redundant.  Add explicit inline
10816         asm to specify register of return val to work around compiler codegen
10817         bug.  Remove (int) cast on return value.  Add return type parameter to
10818         use in macro so that this macro does not truncate return value for
10819         64-bit values.
10820         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10821         pass to INTERNAL_VSYSCALL_NCS.
10822         (INLINE_VSYSCALL): Add 'long int' as return type to
10823         INTERNAL_VSYSCALL_NCS macro invocation.
10824         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10825         INTERNAL_VSYSCALL_NCS macro invocation.
10826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10828 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10830         [BZ #14496]
10831         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10832         Fix application of SIMD FP exception mask.
10834         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10835         mp_no from a power of two.
10836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10837         __mpexp_twomm1.  Use __pow_mp.
10839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10840         multiplication.
10842 2013-01-17  David S. Miller  <davem@davemloft.net>
10844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10846 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10848         [BZ #15023]
10849         * include/complex.h: Condition contents on [!_COMPLEX_H].
10850         (__kernel_casinhf): New prototype.
10851         (__kernel_casinh): Likewise.
10852         (__kernel_casinhl): Likewise.
10853         * math/Makefile (libm_calls): Add k_casinh.
10854         * math/k_casinh.c: New file.
10855         * math/k_casinhf.c: Likewise.
10856         * math/k_casinhl.c: Likewise.
10857         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10858         finite nonzero arguments.
10859         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10860         finite nonzero arguments.
10861         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10862         finite nonzero arguments.
10863         * math/s_casinh.c: Do not include <float.h>.
10864         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10865         * math/s_casinhf.c: Do not include <float.h>.
10866         (__casinhf): Move code for finite nonzero arguments to
10867         k_casinhf.c.
10868         * math/s_casinhl.c: Do not include <float.h>.
10869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10870         redefine.
10871         (__casinhl): Move code for finite nonzero arguments to
10872         k_casinhl.c.
10873         * math/libm-test.inc (cacos_test): Add more tests.
10874         * sysdeps/i386/fpu/libm-test-ulps: Update.
10875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10877 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10879         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10880         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10881         [!HAVE_MREMAP]: Remove [defined linux] case.
10882         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10884 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10886         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10888 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10890         * elf/elf.h (R_386_SIZE32): New relocation.
10891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10892         R_386_SIZE32.
10893         (elf_machine_rela): Likewise.
10894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10895         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10897 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10899         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10900         (FP_FAST_FMA): Do not define.
10901         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10902         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10903         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10904         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10905         !_SOFT_FLOAT]: Likewise.
10906         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10907         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10908         value.
10909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10910         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10913         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10914         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10915         file.
10917 2013-01-16  Andreas Schwab  <schwab@suse.de>
10919         [BZ #14327]
10920         * include/stdlib.h (__mktemp): Add declaration.
10921         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10922         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10924 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10926         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10927         definitions.
10928         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10929         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10930         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10931         definitions here.
10932         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10933         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10934         definitions.
10935         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10936         and ONE.
10937         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10938         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10939         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10940         definitions.
10941         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10942         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10943         definitions.
10944         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10946         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10948 2013-01-15  David S. Miller  <davem@davemloft.net>
10950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10951         trunc{,f} to libm-sysdep_routes.
10952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10954         file.
10955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10957         file.
10958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10959         file.
10960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10962         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10963         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10964         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10965         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10966         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10967         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10970         nearbyint{,f} to libm-sysdep_routes.
10971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10973         New file.
10974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10975         file.
10976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10977         New file.
10978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10979         file.
10980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10982         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10983         file.
10984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10985         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10986         file.
10987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10988         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10989         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10992         libc_feholdexcept and libc_fesetenv.
10994 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10996         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10998 2013-01-14  David S. Miller  <davem@davemloft.net>
11000         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11001         (SPARC_ASM_VIS2_IFUNC): Likewise.
11002         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11004         use of 'siam' instruction.
11005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11006         Likewise.
11007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11008         Likewise.
11009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11010         Likewise.
11011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11016         file.
11017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11018         file.
11019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11020         file.
11021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11022         file.
11023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11028         new VIS2 routines.
11029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11032         Likewise.
11033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11038         routines to libm-sysdep_routines.
11039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11042         fdim/fdimf to libm-sysdep_routines.
11043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11044         file.
11045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11047         file.
11048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11051         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11052         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11053         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11054         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11056 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11059         to optimize copies.
11061         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11066         local variable MPTWO.
11067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11068         Likewise.
11070 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11072         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11073         GLOB_NOESCAPE.
11075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11077         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11079 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11081         * manual/pattern.texi (glob_t): Document gl_flags.
11082         (glob64_t): Likewise.
11084 2013-01-11  David S. Miller  <davem@davemloft.net>
11086         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11087         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11088         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11089         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11090         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11091         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11092         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11093         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11094         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11095         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11096         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11097         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11098         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11100         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11101         sparc V9 rather than using V8 code.
11102         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11103         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11106         Move to...
11107         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11108         Here.
11110 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11112         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11113         not in the main loop.
11114         * configure: Regenerated.
11116 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11118         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11119         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11120         to just #else.
11121         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11122         [!__GLIBC_HAVE_LONG_LONG] case.
11123         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11124         condition to just #else.
11125         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11126         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11127         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11128         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11129         unconditional.
11130         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11131         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11132         #elif condition to just #else.
11133         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11134         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11135         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11136         #elif condition to just #else.
11138 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11140         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11141         (EF_MIPS_ARCH_64): Fix value.
11142         (EF_MIPS_ARCH_32R2): New.
11143         (EF_MIPS_ARCH_64R2): New.
11145 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11147         * Makeconfig (+link-pie-before-libc): New.
11148         (+link-pie-after-libc): Likewise.
11149         (+link-pie-tests): Likewise.
11150         (+link-pie): Rewritten.
11151         (link-before-libc): Remove $(config-LDFLAGS).
11152         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11153         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11154         (config-LDFLAGS): Renamed to ...
11155         (rtld-LDFLAGS): This.
11156         (rtld-tests-LDFLAGS): New macro.
11157         (link-libc-rpath-link): Likewise.
11158         (link-libc-tests-rpath-link): Likewise.
11159         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11160         (link-libc): Prepand $(link-libc-rpath-link).
11161         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11162         (test-program-prefix): New macro.
11163         (test-via-rtld-prefix): Likewise.
11164         (test-program-cmd): Likewise.
11165         (host-test-program-cmd): Likewise.
11166         * Makefile ($(common-objpfx)testrun.sh): Replace
11167         $(run-program-prefix) with $(test-program-prefix).
11168         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11169         $(rtld-LDFLAGS).
11170         ($(common-objpfx)shlib.lds): Likewise.
11171         (build-module-helper): Likewise.
11172         ($(common-objpfx)format.lds): Likewise.
11173         * Rules (binaries-pie-tests): New.
11174         (binaries-pie-notests): Likewise.
11175         (binaries-pie): Rewritten.
11176         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11177         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11178         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11179         (make-test-out): Replace $(host-built-program-cmd) with
11180         $(host-test-program-cmd).
11181         * config.make.in (build-hardcoded-path-in-tests): New variable.
11182         * configure.in (--enable-hardcoded-path-in-tests): New configure
11183         option.
11184         (hardcoded_path_in_tests): New AC_SUBST.
11185         * configure: Regenerated.
11186         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11187         $(built-program-cmd) with $(test-program-cmd).
11188         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11189         (test_program_cmd): This.
11190         * elf/Makefile ($(objpfx)order.out): Run test with
11191         $(test-program-prefix).
11192         ($(objpfx)order2.out): Likewise.
11193         ($(objpfx)tst-initorder.out): Likewise.
11194         ($(objpfx)tst-initorder2.out): Likewise.
11195         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11196         $(test-program-cmd).
11197         ($(objpfx)tst-array1-static.out): Likewise.
11198         ($(objpfx)tst-array2.out): Likewise.
11199         ($(objpfx)tst-array3.out): Likewise.
11200         ($(objpfx)tst-array4.out): Likewise.
11201         ($(objpfx)tst-array5.out): Likewise.
11202         ($(objpfx)tst-array5-static.out): Likewise.
11203         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11204         $(test-program-cmd).
11205         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11206         $(run-program-prefix) with $(test-program-prefix).
11207         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11208         (test_program_prefix): This.
11209         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11210         $(run-program-prefix) with $(test-program-prefix).
11211         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11212         (test_program_prefix): This.
11213         * iconvdata/tst-tables.sh: Likewise.
11214         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11215         $(run-program-prefix) with $(test-program-prefix).
11216         ($(objpfx)tst-translit.out): Likewise.
11217         ($(objpfx)tst-gettext2.out): Likewise.
11218         ($(objpfx)tst-gettext4.out): Likewise.
11219         ($(objpfx)tst-gettext6.out): Likewise.
11220         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11221         (test_program_prefix): This.
11222         * intl/tst-gettext2.sh: Likewise.
11223         * intl/tst-gettext4.sh  Likewise.
11224         * intl/tst-gettext6.sh: Likewise.
11225         * intl/tst-translit.sh: Likewise.
11226         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11227         with $(test-program-cmd).
11228         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11229         $(run-program-prefix) with $(test-program-prefix).
11230         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11231         (test_program_prefix): This.
11232         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11233         $(run-program-prefix) with $(test-program-prefix).
11234         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11235         (test_program_prefix): This.
11236         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11237         * posix/Makefile ($(objpfx)globtest.out): Replace
11238         $(run-via-rtld-prefix) and $(test-wrapper) with
11239         $(test-program-prefix) and $(test-via-rtld-prefix).
11240         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11241         $(test-program-prefix).
11242         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11243         $(host-test-program-cmd).
11244         (tst-spawn-ARGS): Likewise.
11245         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11246         $(test-program-prefix).
11247         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11248         (test_via_rtld_prefix): This.
11249         (test_wrapper): Renamed to ...
11250         (test_program_prefix): This.
11251         (run_program_prefix): Replaced by test_program_prefix.
11252         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11253         (test_program_prefix): This.
11254         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11255         with $(host-test-program-cmd).
11256         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11257         $(run-program-prefix) with $(test-program-prefix).
11258         ($(objpfx)tst-printf.out): Likewise.
11259         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11260         $(test-program-cmd).
11261         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11262         (test_program_prefix): This.
11263         * stdio-common/tst-unbputc.sh: Likewise.
11264         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11265         $(run-program-prefix) with $(test-program-prefix).
11266         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11267         (test_program_prefix): This.
11268         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11269         $(built-program-cmd) with $(test-program-cmd).
11271 2013-01-11  Andreas Jaeger  <aj@suse.de>
11273         [BZ #15003]
11274         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11275         value. Sync with Linux 3.7.
11277 2013-01-10  David S. Miller  <davem@davemloft.net>
11279         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11280         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11281         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11283 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11285         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11286         never set.
11287         * configure: Regenerated.
11289 2013-01-10  David S. Miller  <davem@davemloft.net>
11291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11292         sparc V9 rather than using V8 code.
11293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11296 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11298         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11299         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11300         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11301         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11302         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11303         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11304         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11305         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11306         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11307         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11308         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11309         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11310         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11311         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11312         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11313         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11314         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11315         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11316         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11317         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11318         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11319         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11320         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11321         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11322         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11323         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11324         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11326 2013-01-10  David S. Miller  <davem@davemloft.net>
11328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11330 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11332         * posix/Makefile (tests-static): New variable.
11333         (tests): Add $(tests-static).
11334         (tst-exec-static-ARGS): New variable.
11335         (tst-spawn-static-ARGS): Likewise.
11336         * posix/tst-exec-static.c: New file.
11337         * posix/tst-spawn-static.c: Likewise.
11338         * posix/tst-exec.c: Support run directly.
11339         * posix/tst-spawn.c: Likewise.
11341 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11343         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11344         long.
11345         * math/bits/mathcalls.h (llrint): Likewise.
11346         (llround): Likewise.
11347         * stdlib/stdlib.h (struct drand48_data): Likewise.
11348         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11349         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11350         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11351         Likewise.
11352         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11353         Likewise.
11354         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11355         (elf_greg_t): Likewise.
11356         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11357         (__jmp_buf): Likewise.
11358         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11359         definitions.
11360         (llrint): Likewise, for all definitions.
11361         (llrintl): Likewise.
11363         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11364         Remove [__GNUC__] condition.
11365         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11366         condition to just [__USE_ISOC99].
11367         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11369 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11371         [BZ #14200]
11372         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11373         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11374         defined.
11375         (_POSIX_V6_ILP32_OFF32): Likewise.
11376         (_XBS5_ILP32_OFF32): Likewise.
11377         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11378         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11380 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11382         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11385         doubles __mpexp_twomm1.  Adjust usage.
11386         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11387         Remove.
11389 2013-01-10  Andreas Schwab  <schwab@suse.de>
11391         [BZ #14964]
11392         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11393         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11395 2013-01-09  David S. Miller  <davem@davemloft.net>
11397         [BZ #15003]
11398         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11399         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11400         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11401         TCP_FASTOPEN): Define.
11402         (tcp_repair_opt): New structure.
11403         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11404         enum values.
11405         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11406         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11407         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11408         (tcp_cookie_transactions): New structure.
11410 2013-01-09  Anton Blanchard  <anton@samba.org>
11412         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11413         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11415         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11417 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11419         * include/features.h (__USE_ANSI): Remove.
11421 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11423         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11425         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11427 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11429         * sysdeps/s390/fpu/libm-test-ulps: Update.
11431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11433         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11434         (__acr): Likewise.
11435         (__cpy): Likewise.
11436         (norm): Likewise.
11437         (denorm): Likewise.
11438         (__mp_dbl): Likewise.
11439         (__dbl_mp): Likewise.
11440         (add_magnitudes): Likewise.
11441         (sub_magnitudes): Likewise.
11442         (__add): Likewise.
11443         (__sub): Likewise.
11444         (__mul): Likewise.
11445         (__inv): Likewise.
11446         (__dvd): Likewise.
11447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11448         (__acr): Likewise.
11449         (__cpy): Likewise.
11450         (norm): Likewise.
11451         (denorm): Likewise.
11452         (__mp_dbl): Likewise.
11453         (__dbl_mp): Likewise.
11454         (add_magnitudes): Likewise.
11455         (sub_magnitudes): Likewise.
11456         (__add): Likewise.
11457         (__sub): Likewise.
11458         (__mul): Likewise.
11459         (__inv): Likewise.
11460         (__dvd): Likewise.
11461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11462         (__acr): Likewise.
11463         (__cpy): Likewise.
11464         (norm): Likewise.
11465         (denorm): Likewise.
11466         (__mp_dbl): Likewise.
11467         (__dbl_mp): Likewise.
11468         (add_magnitudes): Likewise.
11469         (sub_magnitudes): Likewise.
11470         (__add): Likewise.
11471         (__sub): Likewise.
11472         (__mul): Likewise.
11473         (__inv): Likewise.
11474         (__dvd): Likewise.
11476 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11478         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11479         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11480         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11481         2 && __USE_EXTERN_INLINES]: Likewise.
11483 2013-01-08  Andreas Jaeger  <aj@suse.de>
11485         [BZ# 14985]
11486         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11487         Remove.
11488         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11489         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11491 2013-01-07  Anton Blanchard  <anton@samba.org>
11493         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11494         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11495         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11496         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11497         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11498         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11499         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11500         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11502         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11503         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11504         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11506         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11507         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11508         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11510         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11511         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11512         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11513         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11514         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11515         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11516         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11517         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11518         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11519         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11520         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11521         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11522         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11523         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11525         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11526         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11527         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11528         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11529         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11530         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11531         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11532         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11533         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11534         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11535         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11537 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11539         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11540         (__MALLOC_PMT): Likewise.
11541         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11542         [__GNUC__], only on [_LIBC].
11543         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11544         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11545         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11546         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11547         forward declaration.
11548         (realloc_hook_ini): Likewise.
11549         (memalign_hook_ini): Likewise.
11550         (__libc_memalign): Do not use __MALLOC_PMT in variable
11551         declaration.
11552         (__libc_valloc): Likewise.
11553         (__libc_pvalloc): Likewise.
11554         (__libc_calloc): Likewise.
11555         (__posix_memalign): Likewise.
11557         [BZ #14996]
11558         * math/s_casinh.c: Include <float.h>.
11559         (__casinh): Do not do computation with squaring and square root
11560         for large arguments.
11561         * math/s_casinhf.c: Include <float.h>.
11562         (__casinhf): Do not do computation with squaring and square root
11563         for large arguments.
11564         * math/s_casinhl.c: Include <float.h>.
11565         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11566         (__casinhl): Do not do computation with squaring and square root
11567         for large arguments.
11568         * math/libm-test.inc (casin_test): Add more tests.
11569         (casinh_test): Likewise.
11570         * sysdeps/i386/fpu/libm-test-ulps: Update.
11571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11573 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11575         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11576         (__x86_64_raw_data_cache_size): Likewise.
11577         (__x86_64_data_cache_size_half): Likewise.
11578         (__x86_64_raw_data_cache_size_half): Likewise.
11579         (__x86_64_shared_cache_size): Likewise.
11580         (__x86_64_raw_shared_cache_size): Likewise.
11581         (__x86_64_shared_cache_size_half): Likewise.
11582         (__x86_64_raw_shared_cache_size_half): Likewise.
11583         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11584         to ...
11585         (__x86_data_cache_size): This.
11586         (__x86_64_raw_data_cache_size): Renamed to ...
11587         (__x86_raw_data_cache_size): This.
11588         (__x86_64_data_cache_size_half): Renamed to ...
11589         (__x86_data_cache_size_half): This.
11590         (__x86_64_raw_data_cache_size_half): Renamed to ...
11591         (__x86_raw_data_cache_size_half): This.
11592         (__x86_64_shared_cache_size): Renamed to ...
11593         (__x86_shared_cache_size): This.
11594         (__x86_64_raw_shared_cache_size): Renamed to ...
11595         (__x86_raw_shared_cache_size): This.
11596         (__x86_64_shared_cache_size_half): Renamed to ...
11597         (__x86_shared_cache_size_half): This.
11598         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11599         (__x86_raw_shared_cache_size_half): This.
11600         * sysdeps/x86_64/memcpy.S: Updated.
11601         * sysdeps/x86_64/memset.S: Likewise.
11602         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11603         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11604         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11606 2013-01-04  David S. Miller  <davem@davemloft.net>
11608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11610 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11612         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11613         1 to avoid redefinition warning.
11614         (__USE_GNU): Don't define.
11615         (init_signaling_nan): Protoize.
11617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11619 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11621         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11623         (__cpymn): Likewise.
11624         (norm): Remove commented code.
11625         (denorm): Likewise.
11626         (__mp_dbl): Likewise.
11627         (__inv): Likewise.
11628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11629         (__cpymn): Likewise.
11630         (norm): Remove commented code.
11631         (denorm): Likewise.
11632         (__mp_dbl): Likewise.
11633         (__inv): Likewise.
11635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11636         mp_no value for 1.0 and 2.0.
11637         (norm): Use RADIXI instead of radixi.d.
11638         (denorm): Likewise.
11639         (__mul): Use 0.0 instead of zero.d.
11640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11641         mp_no value for 1.0 and 2.0.
11642         (norm): Use RADIXI instead of radixi.d.
11643         (denorm): Likewise.
11644         (__mul): Use 0.0 instead of zero.d.
11646 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11648         [BZ #14994]
11649         * math/s_casinh.c (__casinh): Reduce finite argument to first
11650         quadrant then set signs of results at the end.
11651         * math/s_casinhf.c (__casinhf): Likewise.
11652         * math/s_casinhl.c (__casinhl): Likewise.
11653         * math/libm-test.inc (casin_test): Add more tests.
11654         (casinh_test): Likewise.
11655         * sysdeps/i386/fpu/libm-test-ulps: Update.
11656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11658 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11662         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11664         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11665         declarations.
11666         (denorm): Likewise.
11667         (__mp_dbl): Likewise.
11668         (__inv): Likewise.
11670         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11671         and adjust the header comment.
11673         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11674         variable name from declaration.
11676 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11679         Initialize COMMON_CPUID_INDEX_7 element.
11680         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11681         (CPUID_RTM): Likewise.
11682         (HAS_RTM): Likewise.
11683         (COMMON_CPUID_INDEX_7): New enum.
11685 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11687         [BZ #14981]
11688         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11689         size is zero, record memory as freed.
11691 2013-01-03  Andreas Jaeger  <aj@suse.de>
11693         * po/ia.po: Add new Interlingua translation.
11695 2012-01-03  Allan McRae  <allan@archlinux.org>
11697         * locale/programs/localedef.c: Fix description of '--posix' flag.
11699 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11701         * NEWS: Update dates in second copyright notice.
11702         * README: Update copyright dates in example.
11703         * manual/libc.texinfo: Update copyright dates.
11704         * scripts/test-installation.pl: Update copyright date in --version
11705         output.
11707         * hurd/ctty-input.c: Fix copyright notice formatting.
11708         * hurd/ctty-output.c: Likewise.
11709         * hurd/dtable.c: Likewise.
11710         * hurd/hurd-raise.c: Likewise.
11711         * hurd/hurdprio.c: Likewise.
11712         * hurd/msgportdemux.c: Likewise.
11713         * misc/sys/file.h: Likewise.
11714         * misc/sys/ioctl.h: Likewise.
11715         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11716         * sysdeps/mach/hurd/chdir.c: Likewise.
11717         * sysdeps/mach/hurd/fchdir.c: Likewise.
11718         * sysdeps/mach/hurd/rename.c: Likewise.
11719         * sysdeps/mach/hurd/rmdir.c: Likewise.
11720         * sysdeps/mach/hurd/seekdir.c: Likewise.
11721         * sysdeps/mach/hurd/setsid.c: Likewise.
11722         * sysdeps/posix/wait3.c: Likewise.
11724         * All files with FSF copyright notices: Update copyright dates
11725         using scripts/update-copyrights.
11726         * intl/plural.c: Regenerated.
11727         * locale/programs/charmap-kw.h: Likewise.
11728         * locale/programs/locfile-kw.h: Likewise.
11730 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11732         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11733         four values.
11735         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11736         calculation loop and add branch prediction.
11738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11739         check access beyond bounds of m1np.
11741         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11742         MPTWO.
11743         (__inv): Remove local variable MPTWO to use the global
11744         constant.
11745         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11746         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11747         variable MPTWO.
11748         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11749         MP3HALFS static const.
11751 2013-01-01  David S. Miller  <davem@davemloft.net>
11753         * po/ca.po: Update from translation team.
11755 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11757         * scripts/update-copyrights: New file.
11758         * Makeconfig: Reformat copyright notice.
11759         * ctype/ctype.h: Likewise.
11760         * debug/swprintf_chk.c: Likewise.
11761         * elf/dl-cache.c: Likewise.
11762         * elf/dl-debug.c: Likewise.
11763         * elf/dl-object.c: Likewise.
11764         * grp/initgroups.c: Likewise.
11765         * hurd/Makefile: Likewise.
11766         * hurd/hurd/signal.h: Likewise.
11767         * hurd/hurdfault.c: Likewise.
11768         * hurd/hurdioctl.c: Likewise.
11769         * hurd/hurdlookup.c: Likewise.
11770         * hurd/intr-msg.c: Likewise.
11771         * iconv/gconv_open.c: Likewise.
11772         * libio/swprintf.c: Likewise.
11773         * locale/lc-ctype.c: Likewise.
11774         * locale/nl_langinfo.c: Likewise.
11775         * mach/Machrules: Likewise.
11776         * mach/Makefile: Likewise.
11777         * malloc/obstack.h: Likewise.
11778         * manual/Makefile: Likewise.
11779         * manual/tsort.awk: Likewise.
11780         * misc/bits/stab.def: Likewise.
11781         * nis/nis_print_group_entry.c: Likewise.
11782         * nis/nis_table.c: Likewise.
11783         * nis/nss_compat/compat-pwd.c: Likewise.
11784         * nis/nss_compat/compat-spwd.c: Likewise.
11785         * po/Makefile: Likewise.
11786         * posix/fnmatch.c: Likewise.
11787         * posix/regex.h: Likewise.
11788         * resolv/Makefile: Likewise.
11789         * resolv/nss_dns/dns-network.c: Likewise.
11790         * resolv/res_hconf.c: Likewise.
11791         * scripts/gen-sorted.awk: Likewise.
11792         * soft-fp/soft-fp.h: Likewise.
11793         * stdio-common/printf.h: Likewise.
11794         * stdlib/monetary.h: Likewise.
11795         * stdlib/random.c: Likewise.
11796         * stdlib/random_r.c: Likewise.
11797         * sysdeps/generic/Makefile: Likewise.
11798         * sysdeps/gnu/Makefile: Likewise.
11799         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11801         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11806         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11807         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11808         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11809         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11810         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11811         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11812         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11813         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11814         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11815         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11816         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11818         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11819         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11820         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11821         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11822         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11823         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11827         * sysdeps/mach/hurd/errnos.awk: Likewise.
11828         * sysdeps/mach/hurd/fork.c: Likewise.
11829         * sysdeps/mach/hurd/getcwd.c: Likewise.
11830         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11831         * sysdeps/mach/hurd/mmap.c: Likewise.
11832         * sysdeps/mach/hurd/utimes.c: Likewise.
11833         * sysdeps/mach/hurd/xmknod.c: Likewise.
11834         * sysdeps/posix/profil.c: Likewise.
11835         * sysdeps/posix/readdir_r.c: Likewise.
11836         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11837         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11838         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11839         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11841         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11842         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11843         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11845         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11846         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11847         * sysdeps/pthread/lio_listio.c: Likewise.
11848         * sysdeps/sparc/dl-procinfo.h: Likewise.
11849         * sysdeps/unix/i386/sysdep.S: Likewise.
11850         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11851         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11852         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11853         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11855         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11856         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11857         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11858         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11859         * sysdeps/wordsize-32/divdi3.c: Likewise.
11860         * time/sys/time.h: Likewise.
11861         * wcsmbs/Makefile: Likewise.
11863 2013-01-01  David S. Miller  <davem@davemloft.net>
11865         * po/fr.po: Update from translation team.
11867         * catgets/gencat.c: Update copyright year.
11868         * csu/version.c: Likewise.
11869         * debug/catchsegv.sh: Likewise.
11870         * debug/pcprofiledump.c: Likewise.
11871         * debug/xtrace.sh: Likewise.
11872         * elf/ldconfig.c: Likewise.
11873         * elf/ldd.bash.in: Likewise.
11874         * elf/pldd.c: Likewise.
11875         * elf/sotruss.ksh: Likewise.
11876         * elf/sprof.c: Likewise.
11877         * iconv/iconv_prog.c: Likewise.
11878         * iconv/iconvconfig.c: Likewise.
11879         * locale/programs/locale.c: Likewise.
11880         * locale/programs/localedef.c: Likewise.
11881         * login/programs/pt_chown.c: Likewise.
11882         * malloc/memusage.sh: Likewise.
11883         * malloc/memusagestat.c: Likewise.
11884         * malloc/mtrace.pl: Likewise.
11885         * nscd/nscd.c: Likewise.
11886         * nss/getent.c: Likewise.
11887         * nss/makedb.c: Likewise.
11888         * posix/getconf.c: Likewise.
11890 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11892         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11893         numbers.
11895 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11897         * math/bits/mathcalls.h (modf): Use __nonnull.
11899 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11901         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11902         (split): Use macro CN instead of the bare value.
11903         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11904         could be used.
11905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11906         instead of the bare value.
11907         (power1): Likewise.
11909 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11912         __ATAN_TWOM.
11913         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11915         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11916         their values.
11917         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11918         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11919         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11920         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11922 2012-12-28  Andreas Jaeger  <aj@suse.de>
11924         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11925         values are from Linux 3.7.
11927         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11928         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11930 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11932         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11933         TRUE case.
11935         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11936         (norm): Likewise.
11937         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11938         variables with preprocessor constants.
11939         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11940         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11943 2012-12-27  Bruno Haible  <bruno@clisp.org>
11945         [BZ #14317]
11946         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11947         only if needed.
11949 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11952         and use variable directly.
11953         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11955         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11956         MPONE.
11957         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11958         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11959         variable MPONE.
11960         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11962         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11963         include directive.  Remove local variable MPONE.
11964         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11965         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11966         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11968 2012-12-25  David S. Miller  <davem@davemloft.net>
11970         * version.h (RELEASE): Set to "development".
11971         (VERSION): Set to "2.17.90".
11972         * NEWS: Add 2.18 section.
11974 2012-12-21  David S. Miller  <davem@davemloft.net>
11976         * po/hr.po: Update from translation team.
11978 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11980         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11982 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11984         * NEWS:  Mention new memcpy for MIPS.
11986 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11988         * manual/contrib.texi (Contributors): Spelling correction.
11990 2012-12-15  David S. Miller  <davem@davemloft.net>
11992         * po/ru.po: Update from translation team.
11994 2012-12-13  David S. Miller  <davem@davemloft.net>
11996         * NEWS: Mention IFUNC testsuite enhancements.
11998         * po/pl.po: Update from translation team.
11999         * po/bg.po: Likewise.
12001         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12002         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12004 2012-12-11  David S. Miller  <davem@davemloft.net>
12006         * po/sv.po: Update from translation team.
12008         * po/vi.po: Update from translation team.
12010         * po/cs.po: Update from translation team.
12012         * po/de.po: Update from translation team.
12013         * po/eo.po: Likewise.
12014         * po/nl.po: Likewise.
12016 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12018         [BZ #14246]
12019         * manual/argp.texi (Argp Helper Functions): Move node to follow
12020         Argp Parsing State.
12022         [BZ #14872]
12023         * manual/conf.texi (Limits on File System Capacity): Mention if
12024         terminating null is included in the max size.
12026 2012-12-10  Andreas Jaeger  <aj@suse.de>
12028         * po/cs.po: Update from translation team.
12030 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12032         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12033         void pointer and cast to uintptr_t.
12034         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12035         path.
12036         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12037         * sysdeps/s390/s390-64/memset.S: Likewise.
12039 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12041         [BZ #14833]
12042         * menual/message.texi (Message Translation): Fix typos.
12043         (Helper programs for gettext): Likewise.
12045 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12047         [BZ #14898]
12048         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12049         Change to -1.
12051 2012-12-07  David S. Miller  <davem@davemloft.net>
12053         * po/libc.pot: Update.
12055 2012-12-07  Richard Henderson  <rth@redhat.com>
12057         [BZ #10114]
12058         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12059         normal/normal case to before the switch.
12060         (_FP_DIV): Likewise.
12062 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12063             Mike Frysinger  <vapier@gentoo.org>
12065         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12066         check for __NR_fadvise64_64.
12068 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12070         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12071         0, not just to plain "0" as a statement.
12072         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12073         with cw.
12075 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12077         * NEWS: Use sourceware.org in Bugzilla URL.
12079 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12082         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12084         * stdio-common/tst-put-error.c (do_test): Add newline to the
12085         padded test to ensure flush.
12087 2012-12-05  Jeff Law  <law@redhat.com>
12089         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12091 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12093         * README: Don't refer to ports add-on as distributed separately.
12094         Mention AArch64 in list of systems supported in the ports add-on.
12096         * LICENSES: Add more non-FSF copyright and license notices.
12098         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12099         ((unused)).
12101         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12103         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12104         10000 as width of padded output.
12106 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12108         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12110         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12111         variable LX with __attribute__ ((unused)).
12112         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12113         Likewise.
12114         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12115         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12116         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12117         with __attribute__ ((unused)).
12119 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12121         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12123 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12125         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12126         (CFLAGS-nldbl-acos.c): New variable.
12127         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12128         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12129         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12130         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12131         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12132         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12133         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12134         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12135         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12136         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12137         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12138         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12139         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12140         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12141         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12142         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12143         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12144         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12145         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12146         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12147         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12148         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12149         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12150         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12151         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12152         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12153         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12154         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12155         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12156         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12157         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12158         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12159         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12160         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12161         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12162         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12163         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12164         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12165         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12166         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12167         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12168         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12169         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12170         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12171         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12172         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12173         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12174         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12175         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12176         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12177         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12178         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12179         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12180         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12181         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12182         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12183         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12184         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12185         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12186         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12187         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12188         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12189         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12190         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12191         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12192         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12193         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12194         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12195         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12196         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12197         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12198         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12199         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12200         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12201         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12202         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12203         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12204         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12205         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12206         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12207         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12208         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12209         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12210         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12211         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12212         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12213         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12214         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12215         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12216         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12217         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12218         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12219         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12220         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12221         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12222         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12223         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12226         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12228         [BZ #14914]
12229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12230         whole low double instead of just low 47 bits when splitting values
12231         into two parts.
12233 2012-12-03  Allan McRae  <allan@archlinux.org>
12235         * manual/stdio.texi (Predefined Printf Handlers): Remove
12236         @hsep and @vsep usage.
12238 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12240         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12241         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12243 2012-12-03  Jeff Law  <law@redhat.com>
12245         * time/sys/time.h (settimeofday): Do not mark TV argument
12246         as __nonnull.
12248 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12250         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12251         when currently writing and seek to current position when not.
12252         * libio/Makefile (tests): Remove bug-fclose1.
12253         * libio/bug-fclose1.c: Delete.
12255 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12257         * manual/arith.texi (feenableexcept): Fix typo.
12258         (fedisableexcept): Likewise.
12260 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12262         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12263         second, differently-typed declaration, rather than a cast.
12265 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12267         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12268         * include/rpc/svc.h: ... here.
12270 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12272         [BZ #13013]
12273         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12274         depending n and resplen2 to catch cases where answer
12275         equals answerp2.
12277 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12279         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12280         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12282 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12284         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12286 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12288         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12290 2012-11-28  Jeff Law  <law@redhat.com>
12292         [BZ #13761]
12293         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12294         dataset_temporary.  Track alloca usage into alloca_used.
12295         If dataset is large allocate and release it via malloc/free.
12297 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12299         [BZ #14197]
12300         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12302 2012-11-28  David S. Miller  <davem@davemloft.net>
12304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12306 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12308         [BZ #14803]
12309         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12310         of pi/2 rounded to nearest to 64 bits.
12311         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12312         nearest to 64 bits.
12313         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12314         bits.
12316 2012-11-28  Jeff Law <law@redhat.com>
12317             Martin Osvald <mosvald@redhat.com>
12319         [BZ #14889]
12320         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12321         * sunrpc/svc.c: Include time.h.
12322         (__svc_accept_failed): New function.
12323         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12324         any reason other than EINTR, call __svc_accept_failed.
12325         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12326         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12328 2012-11-28  Andreas Schwab  <schwab@suse.de>
12330         * scripts/abilist.awk: Also handle indirect functions in .opd
12331         section.
12333 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12335         [BZ #13881]
12336         * sysdeps/x86/fpu/powl_helper.c: New file.
12337         * sysdeps/x86/fpu/Makefile: Likewise.
12338         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12339         (p3): New object.
12340         (__ieee754_powl): Use __powl_helper for finite arguments except
12341         integer exponents below 8.
12342         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12343         (p3): New object.
12344         (__ieee754_powl): Use __powl_helper for finite arguments except
12345         integer exponents below 8.
12346         * math/libm-test.inc (pow_test): Add more tests and enable some
12347         previously disabled tests.
12348         * sysdeps/i386/fpu/libm-test-ulps: Update.
12349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12351 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12352             Carlos O'Donell  <carlos_odonell@mentor.com>
12354         * nss/makedb.c (is_prime): Assert that input is odd and greater
12355         than 4.  Note that fact in a comment too.
12356         (next_prime): Add 4 to input.
12358 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12360         [BZ #11741]
12361         * libio/Makefile (tests): Add test case tst-fwrite-error.
12362         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12363         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12364         * libio/tst-fwrite-error.c: New test case.
12366 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12368         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12369         before casting to void *.
12370         * include/libc-internal.h (__pointer_type): New macro.
12371         (__integer_if_pointer_type_sub): Likewise.
12372         (__integer_if_pointer_type): Likewise.
12373         (cast_to_integer): Likewise.
12374         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12375         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12376         before casting to atomic64_t.
12377         (atomic_exchange_acq): Likewise.
12378         (__arch_exchange_and_add_body): Likewise.
12379         (__arch_add_body): Likewise.
12380         (atomic_add_negative): Likewise.
12381         (atomic_add_zero): Likewise.
12383 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12385         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12386         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12387         (add_fdes): Likewise.
12388         (linear_search_fdes): Likewise.
12389         (binary_search_unencoded_fdes): Likewise.
12391 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12393         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12395 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12397         * configure.in: Autodetect C++ header directories.
12398         * configure: Regenerated.
12400 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12402         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12404 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12408 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12410         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12411         LDBL_MANT_DIG == 106]: Disable some tests.
12412         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12413         Likewise.
12414         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12415         Likewise.
12417         [BZ #14871]
12418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12419         input for small inputs.  Return +/- pi/2 for large inputs.
12420         * math/libm-test.inc (atan_test): Add more tests.
12422         * sysdeps/generic/unwind-dw2-fde-glibc.c
12423         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12424         __attribute__ ((unused)).
12426         [BZ #14645]
12427         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12428         x * y if x and y are nonzero and z is zero.
12430         [BZ #14811]
12431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12432         nonzero exponents with absolute value below 0x1p-117 to +/-
12433         0x1p-117.
12435         [BZ #14869]
12436         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12437         up arguments below 2**-450, not just those below 2**-500.
12438         * math/libm-test.inc (hypot_test): Add another test.
12440         [BZ #14868]
12441         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12442         Return a+b for ratio over 2**120, not 2**60.
12443         * math/libm-test.inc (hypot_test): Add another test.
12445         * math/libm-test.inc (clog_test): Use
12446         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12447         (clog10_test): Likewise.
12449         [BZ #6778]
12450         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12452 2012-11-22  Andreas Schwab  <schwab@suse.de>
12454         * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12458         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12459         printf output with newline.
12461 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12463         [BZ #14865]
12464         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12465         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12466         -z nodlopen, -z initfirst and -z execstack support.
12467         * configure: Regenerated.
12469         * elf/elf.h (DF_1_NODIRECT): New macro.
12470         (DF_1_IGNMULDEF): Likewise.
12471         (DF_1_NOKSYMS): Likewise.
12472         (DF_1_NOHDR): Likewise.
12473         (DF_1_EDITED): Likewise.
12474         (DF_1_NORELOC): Likewise.
12475         (DF_1_SYMINTPOSE): Likewise.
12476         (DF_1_GLOBAUDIT): Likewise.
12477         (DF_1_SINGLETON): Likewise.
12478         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12479         DT_1_SUPPORTED_MASK bits.
12480         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12482 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12484         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12486 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12488         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12489         macro.
12491         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12492         (sendmmsg): Move declarations...
12493         * socket/sys/socket.h: ... here.
12494         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12495         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12496         include it from...
12497         * socket/recvmmsg.c: ... this new file.
12498         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12499         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12500         definition of __sendmmsg hidden.
12501         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12502         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12503         Move ENOSYS stub into and include it from...
12504         * socket/sendmmsg.c: ... this new file.
12505         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12506         (sysdep_routines): Move recvmmsg and sendmmsg...
12507         * socket/Makefile (routines): ... here.
12508         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12509         (GLIBC_PRIVATE): Add __sendmmsg.
12510         * include/sys/socket.h (__sendmmsg): Add declarations.
12511         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12512         sendmmsg.
12514 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12516         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12517         variable I1 with __attribute__ ((unused)).
12518         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12520 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12522         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12523         DUMMY variables with __attribute__ ((unused)).
12525         * bits/byteswap.h: Include <bits/types.h>.
12526         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12528 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12530         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12531         string_t.  Do not manually set errno.
12532         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12533         length with __strnlen.  Make sure to both set errno and return it on
12534         failure.
12536 2012-11-19  David S. Miller  <davem@davemloft.net>
12538         With help from Joseph Myers.
12539         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12540         very large arguments properly.
12541         * math/libm-test.inc (atan_test): New tests.
12542         (atan2_test): New tests.
12543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12546 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12548         [BZ #14856]
12549         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12550         Define to 3.
12552         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12553         [POSIX] (EADDRNOTAVAIL): Likewise.
12554         [POSIX] (EAFNOSUPPORT): Likewise.
12555         [POSIX] (EALREADY): Likewise.
12556         [POSIX] (ECONNABORTED): Likewise.
12557         [POSIX] (ECONNREFUSED): Likewise.
12558         [POSIX] (ECONNRESET): Likewise.
12559         [POSIX] (EDESTADDRREQ): Likewise.
12560         [POSIX] (EDQUOT): Likewise.
12561         [POSIX] (EHOSTUNREACH): Likewise.
12562         [POSIX] (EIDRM): Likewise.
12563         [POSIX] (EISCONN): Likewise.
12564         [POSIX] (ELOOP): Likewise.
12565         [POSIX] (EMULTIHOP): Likewise.
12566         [POSIX] (ENETDOWN): Likewise.
12567         [POSIX] (ENETUNREACH): Likewise.
12568         [POSIX] (ENOBUFS): Likewise.
12569         [POSIX] (ENODATA): Likewise.
12570         [POSIX] (ENOLINK): Likewise.
12571         [POSIX] (ENOMSG): Likewise.
12572         [POSIX] (ENOPROTOOPT): Likewise.
12573         [POSIX] (ENOSR): Likewise.
12574         [POSIX] (ENOSTR): Likewise.
12575         [POSIX] (ENOTCONN): Likewise.
12576         [POSIX] (ENOTSOCK): Likewise.
12577         [POSIX] (EOPNOTSUPP): Likewise.
12578         [POSIX] (EOVERFLOW): Likewise.
12579         [POSIX] (EPROTO): Likewise.
12580         [POSIX] (EPROTONOSUPPORT): Likewise.
12581         [POSIX] (EPROTOTYPE): Likewise.
12582         [POSIX] (ESTALE): Likewise.
12583         [POSIX] (ETIME): Likewise.
12584         [POSIX] (ETXTBSY): Likewise.
12585         [POSIX] (EWOULDBLOCK): Likewise.
12586         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12587         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12588         [POSIX] (SEEK_CUR): Likewise.
12589         [POSIX] (SEEK_END): Likewise.
12590         [POSIX || UNIX98] (mode_t): Do not require.
12591         [POSIX] (off_t): Likewise.
12592         [POSIX] (pid_t): Likewise.
12593         [POSIX] (sys/stat.h): Do not allow header.
12594         [POSIX] (unistd.h): Likewise.
12595         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12596         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12597         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12598         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12599         require.
12600         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12601         sigevent): Specify elements.
12602         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12603         entry.
12604         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12605         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12607         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12608         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12609         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12610         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12611         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12612         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12613         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12614         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12615         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12616         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12617         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12618         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12619         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12620         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12621         Likewise.
12622         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12623         Likewise.
12624         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12625         Likewise.
12626         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12627         Likewise.
12628         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12629         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12630         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12632         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12633         Specify lower bound on value.
12634         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12635         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12636         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12637         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12638         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12639         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12640         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12641         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12642         value.
12643         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12644         as optional.
12645         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12646         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12647         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12648         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12649         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12650         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12651         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12652         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12653         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12654         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12655         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12656         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12657         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12658         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12659         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12660         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12661         entry.
12662         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12663         optional.
12664         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12665         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12666         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12667         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12668         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12669         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12670         Likewise.
12671         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12672         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12673         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12674         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12675         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12676         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12677         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12678         as optional.
12679         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12680         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12682         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12683         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12684         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12685         specify as optional.
12686         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12687         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12688         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12689         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12690         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12691         [XPG3] (NL_LANGMAX): Likewise.
12692         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12693         [POSIX || XPG3] (NL_NMAX): Likewise.
12694         [POSIX || XPG3] (NL_SETMAX): Likewise.
12695         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12696         [XPG3] (NZERO): Likewise.
12697         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12698         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12699         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12700         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12701         (REG_ERANGE): Expect.
12702         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12703         optional-constant.
12704         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12705         Use (void) in prototype.
12706         [POSIX] (*_t): Allow.
12707         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12708         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12709         (WRDE_BADVAL): Expect.
12711         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12712         expect.
12713         [XPG3 || XPG4] (O_RSYNC): Likewise.
12714         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12715         Likewise.
12716         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12717         [XPG3 || XPG4] (sigqueue): Likewise.
12718         [XPG3 || XPG4] (sigtimedwait): Likewise.
12719         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12720         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12721         [XPG3 || XPG4] (vsnprintf): Likewise.
12722         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12723         Likewise.
12724         [XPG3 || XPG4] (blksize_t): Likewise.
12725         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12726         Likewise.
12727         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12728         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12729         [XPG3 || XPG4] (struct itimerspec): Likewise.
12730         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12731         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12732         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12733         [XPG3 || XPG4] (clockid_t): Likewise.
12734         [XPG3 || XPG4] (timer_t): Likewise.
12735         [XPG3 || XPG4] (clock_getres): Likewise.
12736         [XPG3 || XPG4] (clock_gettime): Likewise.
12737         [XPG3 || XPG4] (clock_settime): Likewise.
12738         [XPG3 || XPG4] (nanosleep): Likewise.
12739         [XPG3 || XPG4] (timer_create): Likewise.
12740         [XPG3 || XPG4] (timer_delete): Likewise.
12741         [XPG3 || XPG4] (timer_gettime): Likewise.
12742         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12743         [XPG3 || XPG4] (timer_settime): Likewise.
12744         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12745         [XPG3 || XPG4] (getlogin_r): Likewise.
12746         [XPG3 || XPG4] (pread): Likewise.
12747         [XPG3 || XPG4] (pthread_atfork): Likewise.
12748         [XPG3 || XPG4] (pwrite): Likewise.
12750         [BZ #14835]
12751         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12752         <bits/siginfo.h>.
12754 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12756         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12757         finalizing MALLSTREAM.
12759         * sysdeps/mach/hurd/syncfs.c: New file.
12761 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12763         [BZ #14719]
12764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12765         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12767         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12768         (_nss_dns_gethostbyname4_r): Likewise.
12769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12770         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12772 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12774         [BZ #13763]
12775         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12777 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12779         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12780         * elf/cache.c (print_entry): Print ",AArch64" for
12781         FLAG_AARCH64_LIB64
12783         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12784         * elf/cache.c (print_entry): Print ",hard-float" for
12785         FLAG_ARM_LIBHF.
12787 2012-11-18  David S. Miller  <davem@davemloft.net>
12789         With help from Joseph Myers.
12790         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12791         cutoff to 2**-13.
12792         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12793         cutoff to 2**-25.
12794         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12795         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12796         small.
12797         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12798         * math/libm-test.inc (y0_test): New tests.
12799         (y1_test): New tests.
12800         * sysdeps/i386/fpu/libm-test-ulps: Update.
12801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12804 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12806         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12807         64-bit targets.
12808         * configure: Regenerated.
12810 2012-11-17  David S. Miller  <davem@davemloft.net>
12812         [BZ #14811]
12813         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12814         nonzero exponents with absolute value below 0x1p-128 to +/-
12815         0x1p-128.
12817 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12819         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12821         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12823         * posix/getconf-speclist.c: New file.
12824         * posix/posix-envs.def: Likewise.
12825         * posix/confstr.c (START_ENV_GROUP): New macro.
12826         (END_ENV_GROUP): Likewise.
12827         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12828         (KNOWN_PRESENT_ENV_STRING): Likewise.
12829         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12830         (UNKNOWN_ENVIRONMENT): Likewise.
12831         (confstr): Include posix-envs.def instead of handling
12832         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12833         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12834         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12835         (END_ENV_GROUP): Likewise.
12836         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12837         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12838         (UNKNOWN_ENVIRONMENT): Likewise.
12839         (__sysconf): Include posix-envs.def instead of handling associated
12840         cases directly here.
12841         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12842         preprocessing getconf-speclist.c rather than running getconf or
12843         generating empty file.
12845 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12847         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12849 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12851         [BZ #14672]
12852         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12854 2012-11-16  David S. Miller  <davem@davemloft.net>
12856         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12857         smaller than LDBL_EPSILON/2.0L, just return xm1.
12859 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12861         * elf/tst-array1.c (init): Set constructor priority to 1000.
12862         (fini): Set destructor priority to 1000.
12863         * elf/tst-array2dep.c: Likewise.
12865 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12867         [BZ #11741]
12868         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12869         (_IO_new_file_xsputn): Also return EOF if none of the input
12870         data was written when overflow failed.
12871         * libio/iopadn.c (_IO_padn): Likewise.
12872         * libio/iowpadn.c (_IO_wpadn): Likewise.
12873         * stdio-common/tst-put-error.c: Add copyright notice.
12874         (do_test): Add case for printing padded string.
12875         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12876         _IO_padn returned error.
12877         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12878         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12879         return EOF.
12881 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12883         * libio/libioP.h: Add comment note that the references to C++
12884         bits are now obsolete.
12886 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12888         * math/libm-test.inc (check_complex): Use asprintf.
12890 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12892         * debug/pcprofiledump.c (print_version): Update copyright year.
12893         * malloc/memusagestat.c (print_version): Likewise.
12895 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12897         [BZ #14831]
12898         * elf/Makefile (tests): Add tst-audit8.
12899         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12900         ($(objpfx)tst-audit8.out): New target.
12901         (tst-audit8-ENV): New variable.
12902         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12903         audit if l_reloc_result is NULL.
12904         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12905         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12906         * elf/tst-audit8.c: New file.
12908 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12910         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12911         * misc/Makefile (CFLAGS-select.c): Define.
12912         * posix/Makefile (CFLAGS-pause.c): Define.
12914 2012-11-13  David S. Miller  <davem@davemloft.net>
12916         * crypt/Makefile: Move test targets after toplevel Rules
12917         inclusion.  Grab any necessary sysdep routines when linking.
12918         * crypt/md5.c (md5_process_block): Remove define, we will always
12919         name it __md5_process_block.
12920         (md5_finish_ctx): Update md5_process_block call.
12921         (md5_stream): Likewise.
12922         (md5_process_bytes): Likewise.
12923         (md5_process_block): Rename to __md5_process_block and move to ...
12924         * crypt/md5-block.c: ... here.
12925         * crypt/sha256.c (sha256_process_block): Move to ...
12926         * crypt/sha256-block.c: ... here.
12927         * crypt/sha512.c (sha512_process_block): Move to ...
12928         * crypt/sha512-block.c: ... here.
12929         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12930         path.
12931         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12932         * sysdeps/sparc/sparc64/multiarch/Makefile
12933         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12934         crypt subdir.
12935         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12936         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12937         multiarch changes.
12938         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12939         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12940         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12941         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12942         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12943         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12944         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12945         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12946         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12947         file.
12948         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12949         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12950         file.
12951         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12953 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12955         * timezone/tzselect.ksh: Update from tzcode git revision
12956         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12957         * timezone/zdump.c: Likewise.
12958         * timezone/zic.c: Likewise.
12959         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12960         in TZVERSION setting, not $(PKGVERSION).
12961         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12962         REPORT_BUGS_TO settings.
12964         [BZ #14838]
12965         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12966         macro.
12968 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12970         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12971         detection to immediately after _FP_ROUND().
12972         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12973         bits are 0.
12975 2012-11-11  David S. Miller  <davem@davemloft.net>
12977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12978         inttypes.h
12979         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12980         __close rather than their public counterparts.
12982 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12984         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12985         file.
12986         [UNIX98] (sem_timedwait): Do not expect.
12987         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12988         [XPG4 || UNIX98] (sockatmark): Do not expect.
12989         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12990         (clock_getcpuclockid): Do not expect.
12991         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12992         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12993         Do not expect.
12994         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12995         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12996         [UNIX98] (vwscanf): Likewise.
12997         [UNIX98] (vswscanf): Likewise.
12999 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13001         * timezone/version.h: Remove file.
13002         * timezone/README: Do not refer to version.h.
13003         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13004         $(objpfx)version.h.
13005         ($(objpfx)zdump.o): Likewise.
13006         ($(objpfx)version.h): New target.
13008         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13009         2012i.
13010         * timezone/README: Don't mention modification to tzselect.ksh.
13011         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13012         work on unmodified tzselect.ksh.  Substitute version numbers in
13013         tzselect.ksh.
13015         * Makefile (format-me): Remove.
13016         (INSTALL): Adjust indentation.  Use commands directly instead of
13017         using $(format-me).
13019         * aclocal.m4 (ACX_PKGVERSION): New macro.
13020         (ACX_BUGURL): Likewise.
13021         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13022         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13023         (REPORT_BUGS_TO): Likewise.
13024         * configure: Regenerated.
13025         * config.h.in (PKGVERSION): New macro.
13026         (REPORT_BUGS_TO): Likewise.
13027         * config.make.in (PKGVERSION): New variable.
13028         (PKGVERSION_TEXI): Likewise.
13029         (REPORT_BUGS_TO): Likewise.
13030         (REPORT_BUGS_TEXI): Likewise.
13031         * Makefile (format-me): Use -I$(common-objpfx)manual.
13032         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13033         ($(common-objpfx)manual/%): New target.
13034         (manual/%): Remove target.
13035         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13036         (print_version): Use PKGVERSION.
13037         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13038         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13039         and REPORT_BUGS_TO.
13040         ($(objpfx)xtrace): Likewise.
13041         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13042         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13043         (print_version): Use PKGVERSION.
13044         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13045         (do_version): Use PKGVERSION.
13046         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13047         REPORT_BUGS_TO.
13048         (common-ldd-rewrite): Likewise.
13049         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13050         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13051         (print_version): Use PKGVERSION.
13052         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13053         * elf/pldd.c (argp_program_bug_address): Remove variable.
13054         (more_help): New function.
13055         (argp): Use more_help.
13056         (print_version): Use PKGVERSION.
13057         * elf/sln.c (main): Use PKGVERSION.
13058         (usage): Use REPORT_BUGS_TO.
13059         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13060         (top level): Use PKGVERSION.
13061         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13062         (print_version): Use PKGVERSION.
13063         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13064         (print_version): Use PKGVERSION.
13065         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13066         (print_version): Use PKGVERSION.
13067         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13068         (print_version): Use PKGVERSION.
13069         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13070         (print_version): Use PKGVERSION.
13071         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13072         (print_version): Use PKGVERSION.
13073         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13074         and BUGURL.
13075         ($(objpfx)memusage): Likewise.
13076         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13077         (do_version): Use PKGVERSION.
13078         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13079         (print_version): Use PKGVERSION.
13080         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13081         ($PKGVERSION): New variable.
13082         ($REPORT_BUGS_TO): Likewise.
13083         (usage): Use $REPORT_BUGS_TO.
13084         (top level): Use $PKGVERSION.
13085         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13086         ($(objpfx)pkgvers.texi): New rule.
13087         ($(objpfx)stamp-pkgvers): Likewise.
13088         * manual/install.texi: Include pkgvers.texi.
13089         (--with-pkgversion): Document new configure option.
13090         (--with-bugurl): Likewise.
13091         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13092         than necessarily for this particular distribution.  Use
13093         REPORT_BUGS_TO for where to report bugs.
13094         * INSTALL: Regenerated.
13095         * manual/libc.texinfo: Include pkgvers.texi.
13096         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13097         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13098         (print_version): Use PKGVERSION.
13099         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13100         (print_version): Use PKGVERSION.
13101         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13102         (print_version): Use PKGVERSION.
13103         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13104         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13105         macro.
13106         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13107         (print_version): Use PKGVERSION.
13108         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13109         (print_version): Use PKGVERSION.
13110         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13111         and PKGVERSION.
13113         * timezone/checktab.awk: Update from tzcode 2012i.
13114         * timezone/ialloc.c: Likewise.
13115         * timezone/private.h: Likewise.
13116         * timezone/scheck.c: Likewise.
13117         * timezone/tzfile.h: Likewise.
13118         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13119         (TZVERSION): Hardcode tzcode version number.
13120         * timezone/zdump.c: Update from tzcode 2012i.
13121         * timezone/zic.c: Likewise.
13122         * timezone/version.h: New file.
13123         * timezone/README: Describe version.h.  Update upstream location.
13125         [BZ #14824]
13126         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13127         (mktemp): Enable declaration.
13128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13132         Likewise.
13133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13134         Likewise.
13135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13136         Likewise.
13137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13138         Likewise.
13139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13140         Likewise.
13141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13142         Likewise.
13144         [BZ #14821]
13145         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13146         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13147         for copies of such integer values.
13148         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13149         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13151 2012-11-09  Andreas Jaeger  <aj@suse.de>
13153         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13154         definitions and declarations that are provided by
13155         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13157 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13159         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13160         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13161         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13162         definition.
13164 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13166         * elf/elf.h: Update comment before AArch64 relocations.
13168 2012-11-07  David S. Miller  <davem@davemloft.net>
13170         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13171         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13172         (__start_context): Declare.
13173         (__makecontext_ret): Delete.
13174         (__makecontext): Hook up __start_context instead of
13175         __makecontext_ret.
13176         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13177         (sysdep_routines): Add __start_context when in stdlib.
13179 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13181         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13182         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13183         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13184         hardcoded "nm".
13185         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13186         (READELF): New variable.  Use it instead of hardcoded "readelf".
13188 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13190         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13191         * sysdeps/x86/Makefile: Here.
13192         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13193         * sysdeps/x86/tst-xmmymm.sh: This.
13195 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13197         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13198         expectations.
13199         [UNIX98] (pthread_barrier_t): Do not expect.
13200         [UNIX98] (pthread_barrierattr_t): Likewise.
13201         [UNIX98] (pthread_spinlock_t): Likewise.
13202         [UNIX98] (pthread_barrier_destroy): Likewise.
13203         [UNIX98] (pthread_barrier_init): Likewise.
13204         [UNIX98] (pthread_barrier_wait): Likewise.
13205         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13206         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13207         [UNIX98] (pthread_barrierattr_init): Likewise.
13208         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13209         [UNIX98] (pthread_getcpuclockid): Likewise.
13210         [UNIX98] (pthread_mutex_timedlock): Likewise.
13211         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13212         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13213         [UNIX98] (pthread_sigmask): Likewise.
13214         [UNIX98] (pthread_spin_destroy): Likewise.
13215         [UNIX98] (pthread_spin_init): Likewise.
13216         [UNIX98] (pthread_spin_lock): Likewise.
13217         [UNIX98] (pthread_spin_trylock): Likewise.
13218         [UNIX98] (pthread_spin_unlock): Likewise.
13219         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13220         Do not expect.
13221         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13222         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13223         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13224         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13225         [XPG3 || XPG4] (pthread_key_t): Likewise.
13226         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13227         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13228         [XPG3 || XPG4] (pthread_once_t): Likewise.
13229         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13230         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13231         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13232         [XPG3 || XPG4] (pthread_t): Likewise.
13234         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13235         not expect.
13236         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13238         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13239         Change function return type to int.
13241         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13242         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13243         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13244         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13245         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13246         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13247         [!POSIX] (posix_madvise): Likewise.
13248         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13249         && !UNIX98].
13250         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13251         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13252         (mode_t): Likewise.
13253         (posix_mem_offset): Likewise.
13254         (posix_typed_mem_get_info): Likewise.
13255         (posix_typed_mem_open): Likewise.
13257         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13258         Change condition to [XOPEN2K8].
13260         * conform/conformtest.pl: Preprocess allow-header data with -x c
13261         instead of from stdin.
13262         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13263         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13264         [C99-based standards] (cerfc): Likewise.
13265         [C99-based standards] (cexp2): Likewise.
13266         [C99-based standards] (cexpm1): Likewise.
13267         [C99-based standards] (clog10): Likewise.
13268         [C99-based standards] (clog1p): Likewise.
13269         [C99-based standards] (clog2): Likewise.
13270         [C99-based standards] (clgamma): Likewise.
13271         [C99-based standards] (ctgamma): Likewise.
13272         [C99-based standards] (cerff): Likewise.
13273         [C99-based standards] (cerfcf): Likewise.
13274         [C99-based standards] (cexp2f): Likewise.
13275         [C99-based standards] (cexpm1f): Likewise.
13276         [C99-based standards] (clog10f): Likewise.
13277         [C99-based standards] (clog1pf): Likewise.
13278         [C99-based standards] (clog2f): Likewise.
13279         [C99-based standards] (clgammaf): Likewise.
13280         [C99-based standards] (ctgammaf): Likewise.
13281         [C99-based standards] (cerfl): Likewise.
13282         [C99-based standards] (cerfcl): Likewise.
13283         [C99-based standards] (cexp2l): Likewise.
13284         [C99-based standards] (cexpm1l): Likewise.
13285         [C99-based standards] (clog10l): Likewise.
13286         [C99-based standards] (clog1pl): Likewise.
13287         [C99-based standards] (clog2l): Likewise.
13288         [C99-based standards] (clgammal): Likewise.
13289         [C99-based standards] (ctgammal): Likewise.
13290         * conform/data/inttypes.h-data [C99-based standards]: Include
13291         stdint.h-data.  Remove all expectations for stdint.h contents.
13292         [C99-based standards] (PRI*): Do not allow.
13293         [C99-based standards] (SCN*): Likewise.
13294         [C99-based standards] (*_t): Likewise.
13295         [C99-based-standards] (PRId8): Expect macro.
13296         [C99-based-standards] (PRIi8): Likewise.
13297         [C99-based-standards] (PRIo8): Likewise.
13298         [C99-based-standards] (PRIu8): Likewise.
13299         [C99-based-standards] (PRIx8): Likewise.
13300         [C99-based-standards] (PRIX8): Likewise.
13301         [C99-based-standards] (SCNd8): Likewise.
13302         [C99-based-standards] (SCNi8): Likewise.
13303         [C99-based-standards] (SCNo8): Likewise.
13304         [C99-based-standards] (SCNu8): Likewise.
13305         [C99-based-standards] (SCNx8): Likewise.
13306         [C99-based-standards] (PRIdLEAST8): Likewise.
13307         [C99-based-standards] (PRIiLEAST8): Likewise.
13308         [C99-based-standards] (PRIoLEAST8): Likewise.
13309         [C99-based-standards] (PRIuLEAST8): Likewise.
13310         [C99-based-standards] (PRIxLEAST8): Likewise.
13311         [C99-based-standards] (PRIXLEAST8): Likewise.
13312         [C99-based-standards] (SCNdLEAST8): Likewise.
13313         [C99-based-standards] (SCNiLEAST8): Likewise.
13314         [C99-based-standards] (SCNoLEAST8): Likewise.
13315         [C99-based-standards] (SCNuLEAST8): Likewise.
13316         [C99-based-standards] (SCNxLEAST8): Likewise.
13317         [C99-based-standards] (PRIdFAST8): Likewise.
13318         [C99-based-standards] (PRIiFAST8): Likewise.
13319         [C99-based-standards] (PRIoFAST8): Likewise.
13320         [C99-based-standards] (PRIuFAST8): Likewise.
13321         [C99-based-standards] (PRIxFAST8): Likewise.
13322         [C99-based-standards] (PRIXFAST8): Likewise.
13323         [C99-based-standards] (SCNdFAST8): Likewise.
13324         [C99-based-standards] (SCNiFAST8): Likewise.
13325         [C99-based-standards] (SCNoFAST8): Likewise.
13326         [C99-based-standards] (SCNuFAST8): Likewise.
13327         [C99-based-standards] (SCNxFAST8): Likewise.
13328         [C99-based-standards] (PRId16): Likewise.
13329         [C99-based-standards] (PRIi16): Likewise.
13330         [C99-based-standards] (PRIo16): Likewise.
13331         [C99-based-standards] (PRIu16): Likewise.
13332         [C99-based-standards] (PRIx16): Likewise.
13333         [C99-based-standards] (PRIX16): Likewise.
13334         [C99-based-standards] (SCNd16): Likewise.
13335         [C99-based-standards] (SCNi16): Likewise.
13336         [C99-based-standards] (SCNo16): Likewise.
13337         [C99-based-standards] (SCNu16): Likewise.
13338         [C99-based-standards] (SCNx16): Likewise.
13339         [C99-based-standards] (PRIdLEAST16): Likewise.
13340         [C99-based-standards] (PRIiLEAST16): Likewise.
13341         [C99-based-standards] (PRIoLEAST16): Likewise.
13342         [C99-based-standards] (PRIuLEAST16): Likewise.
13343         [C99-based-standards] (PRIxLEAST16): Likewise.
13344         [C99-based-standards] (PRIXLEAST16): Likewise.
13345         [C99-based-standards] (SCNdLEAST16): Likewise.
13346         [C99-based-standards] (SCNiLEAST16): Likewise.
13347         [C99-based-standards] (SCNoLEAST16): Likewise.
13348         [C99-based-standards] (SCNuLEAST16): Likewise.
13349         [C99-based-standards] (SCNxLEAST16): Likewise.
13350         [C99-based-standards] (PRIdFAST16): Likewise.
13351         [C99-based-standards] (PRIiFAST16): Likewise.
13352         [C99-based-standards] (PRIoFAST16): Likewise.
13353         [C99-based-standards] (PRIuFAST16): Likewise.
13354         [C99-based-standards] (PRIxFAST16): Likewise.
13355         [C99-based-standards] (PRIXFAST16): Likewise.
13356         [C99-based-standards] (SCNdFAST16): Likewise.
13357         [C99-based-standards] (SCNiFAST16): Likewise.
13358         [C99-based-standards] (SCNoFAST16): Likewise.
13359         [C99-based-standards] (SCNuFAST16): Likewise.
13360         [C99-based-standards] (SCNxFAST16): Likewise.
13361         [C99-based-standards] (PRId32): Likewise.
13362         [C99-based-standards] (PRIi32): Likewise.
13363         [C99-based-standards] (PRIo32): Likewise.
13364         [C99-based-standards] (PRIu32): Likewise.
13365         [C99-based-standards] (PRIx32): Likewise.
13366         [C99-based-standards] (PRIX32): Likewise.
13367         [C99-based-standards] (SCNd32): Likewise.
13368         [C99-based-standards] (SCNi32): Likewise.
13369         [C99-based-standards] (SCNo32): Likewise.
13370         [C99-based-standards] (SCNu32): Likewise.
13371         [C99-based-standards] (SCNx32): Likewise.
13372         [C99-based-standards] (PRIdLEAST32): Likewise.
13373         [C99-based-standards] (PRIiLEAST32): Likewise.
13374         [C99-based-standards] (PRIoLEAST32): Likewise.
13375         [C99-based-standards] (PRIuLEAST32): Likewise.
13376         [C99-based-standards] (PRIxLEAST32): Likewise.
13377         [C99-based-standards] (PRIXLEAST32): Likewise.
13378         [C99-based-standards] (SCNdLEAST32): Likewise.
13379         [C99-based-standards] (SCNiLEAST32): Likewise.
13380         [C99-based-standards] (SCNoLEAST32): Likewise.
13381         [C99-based-standards] (SCNuLEAST32): Likewise.
13382         [C99-based-standards] (SCNxLEAST32): Likewise.
13383         [C99-based-standards] (PRIdFAST32): Likewise.
13384         [C99-based-standards] (PRIiFAST32): Likewise.
13385         [C99-based-standards] (PRIoFAST32): Likewise.
13386         [C99-based-standards] (PRIuFAST32): Likewise.
13387         [C99-based-standards] (PRIxFAST32): Likewise.
13388         [C99-based-standards] (PRIXFAST32): Likewise.
13389         [C99-based-standards] (SCNdFAST32): Likewise.
13390         [C99-based-standards] (SCNiFAST32): Likewise.
13391         [C99-based-standards] (SCNoFAST32): Likewise.
13392         [C99-based-standards] (SCNuFAST32): Likewise.
13393         [C99-based-standards] (SCNxFAST32): Likewise.
13394         [C99-based-standards] (PRId64): Likewise.
13395         [C99-based-standards] (PRIi64): Likewise.
13396         [C99-based-standards] (PRIo64): Likewise.
13397         [C99-based-standards] (PRIu64): Likewise.
13398         [C99-based-standards] (PRIx64): Likewise.
13399         [C99-based-standards] (PRIX64): Likewise.
13400         [C99-based-standards] (SCNd64): Likewise.
13401         [C99-based-standards] (SCNi64): Likewise.
13402         [C99-based-standards] (SCNo64): Likewise.
13403         [C99-based-standards] (SCNu64): Likewise.
13404         [C99-based-standards] (SCNx64): Likewise.
13405         [C99-based-standards] (PRIdLEAST64): Likewise.
13406         [C99-based-standards] (PRIiLEAST64): Likewise.
13407         [C99-based-standards] (PRIoLEAST64): Likewise.
13408         [C99-based-standards] (PRIuLEAST64): Likewise.
13409         [C99-based-standards] (PRIxLEAST64): Likewise.
13410         [C99-based-standards] (PRIXLEAST64): Likewise.
13411         [C99-based-standards] (SCNdLEAST64): Likewise.
13412         [C99-based-standards] (SCNiLEAST64): Likewise.
13413         [C99-based-standards] (SCNoLEAST64): Likewise.
13414         [C99-based-standards] (SCNuLEAST64): Likewise.
13415         [C99-based-standards] (SCNxLEAST64): Likewise.
13416         [C99-based-standards] (PRIdFAST64): Likewise.
13417         [C99-based-standards] (PRIiFAST64): Likewise.
13418         [C99-based-standards] (PRIoFAST64): Likewise.
13419         [C99-based-standards] (PRIuFAST64): Likewise.
13420         [C99-based-standards] (PRIxFAST64): Likewise.
13421         [C99-based-standards] (PRIXFAST64): Likewise.
13422         [C99-based-standards] (SCNdFAST64): Likewise.
13423         [C99-based-standards] (SCNiFAST64): Likewise.
13424         [C99-based-standards] (SCNoFAST64): Likewise.
13425         [C99-based-standards] (SCNuFAST64): Likewise.
13426         [C99-based-standards] (SCNxFAST64): Likewise.
13427         [C99-based-standards] (PRIdMAX): Likewise.
13428         [C99-based-standards] (PRIiMAX): Likewise.
13429         [C99-based-standards] (PRIoMAX): Likewise.
13430         [C99-based-standards] (PRIuMAX): Likewise.
13431         [C99-based-standards] (PRIxMAX): Likewise.
13432         [C99-based-standards] (PRIXMAX): Likewise.
13433         [C99-based-standards] (SCNdMAX): Likewise.
13434         [C99-based-standards] (SCNiMAX): Likewise.
13435         [C99-based-standards] (SCNoMAX): Likewise.
13436         [C99-based-standards] (SCNuMAX): Likewise.
13437         [C99-based-standards] (SCNxMAX): Likewise.
13438         [C99-based-standards] (PRIdPTR): Likewise.
13439         [C99-based-standards] (PRIiPTR): Likewise.
13440         [C99-based-standards] (PRIoPTR): Likewise.
13441         [C99-based-standards] (PRIuPTR): Likewise.
13442         [C99-based-standards] (PRIxPTR): Likewise.
13443         [C99-based-standards] (PRIXPTR): Likewise.
13444         [C99-based-standards] (SCNdPTR): Likewise.
13445         [C99-based-standards] (SCNiPTR): Likewise.
13446         [C99-based-standards] (SCNoPTR): Likewise.
13447         [C99-based-standards] (SCNuPTR): Likewise.
13448         [C99-based-standards] (SCNxPTR): Likewise.
13449         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13450         allow.
13451         * conform/data/stdint.h-data: Update comments to clarify
13452         requirements.
13453         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13454         type.
13455         [C99-based standards] (INT8_MAX): Likewise.
13456         [C99-based standards] (INT16_MIN): Likewise.
13457         [C99-based standards] (INT16_MAX): Likewise.
13458         [C99-based standards] (INT32_MIN): Likewise.
13459         [C99-based standards] (INT32_MAX): Likewise.
13460         [C99-based standards] (INT64_MIN): Likewise.
13461         [C99-based standards] (INT64_MAX): Likewise.
13462         [C99-based standards] (UINT8_MAX): Likewise.
13463         [C99-based standards] (UINT16_MAX): Likewise.
13464         [C99-based standards] (UINT32_MAX): Likewise.
13465         [C99-based standards] (UINT64_MAX): Likewise.
13466         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13467         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13468         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13469         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13470         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13471         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13472         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13473         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13474         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13475         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13476         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13477         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13478         [C99-based standards] (INT_FAST8_MIN): Likewise.
13479         [C99-based standards] (INT_FAST8_MAX): Likewise.
13480         [C99-based standards] (INT_FAST16_MIN): Likewise.
13481         [C99-based standards] (INT_FAST16_MAX): Likewise.
13482         [C99-based standards] (INT_FAST32_MIN): Likewise.
13483         [C99-based standards] (INT_FAST32_MAX): Likewise.
13484         [C99-based standards] (INT_FAST64_MIN): Likewise.
13485         [C99-based standards] (INT_FAST64_MAX): Likewise.
13486         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13487         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13488         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13489         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13490         [C99-based standards] (INTPTR_MIN): Likewise.
13491         [C99-based standards] (INTPTR_MAX): Likewise.
13492         [C99-based standards] (UINTPTR_MAX): Likewise.
13493         [C99-based standards] (INTMAX_MIN): Likewise.
13494         [C99-based standards] (INTMAX_MAX): Likewise.
13495         [C99-based standards] (UINTMAX_MAX): Likewise.
13496         [C99-based standards] (PTRDIFF_MIN): Likewise.
13497         [C99-based standards] (PTRDIFF_MAX): Likewise.
13498         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13499         [C99-based standards] (SIZE_MAX): Likewise.
13500         [C99-based standards] (WCHAR_MAX): Likewise.
13501         [C99-based standards] (WINT_MAX): Likewise.
13502         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13503         constraint on value.
13504         [C99-based standards] (WCHAR_MIN): Likewise.
13505         [C99-based standards] (WINT_MIN): Likewise.
13506         [C99-based standards] (*_t): Allow.
13507         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13508         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13509         Include math.h-data and complex.h-data.  Remove all expectations
13510         of math.h and complex.h contents.
13511         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13512         at end of line.
13513         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13514         (struct tm): Expect tag.
13515         [C99-based-standards] (wcstof): Expect function.
13516         [C99-based-standards] (wcstold): Likewise.
13517         [C99-based-standards] (wcstoll): Likewise.
13518         [C99-based-standards] (wcstoull): Likewise.
13519         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13520         macro-int-constant.  Specify type.
13521         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13522         constraint on value.
13523         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13524         Specify type.
13525         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13526         Specify value.
13527         [ISO C standards]: Do not allow headers.
13528         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13529         wcs[abcdefghijklmnopqrstuvwxyz]*.
13530         [ISO C standards] (*_t): Do not allow.
13531         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13532         Expect function.
13533         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13534         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13535         Specify type.
13536         [ISO C standards]: Do not allow headers.
13537         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13538         is[abcdefghijklmnopqrstuvwxyz]*.
13539         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13540         to[abcdefghijklmnopqrstuvwxyz]*.
13541         [ISO C standards] (*_t): Do not allow.
13542         * conform/data/stdalign.h-data: New file.
13543         * conform/data/stdbool.h-data: Likewise.
13544         * conform/data/stdnoreturn.h-data: Likewise.
13546 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13548         [BZ #14815]
13549         * manual/filesys.texi (Directory Entries): Typo fix.
13550         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13552 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13554         * elf/elf.h (EM_AARCH64): New macro.
13555         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13556         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13557         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13558         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13559         (R_AARCH64_TLSDESC): Likewise.
13560         (NT_ARM_TLS): Likewise.
13561         (NT_ARM_HW_BREAK): Likewise.
13562         (NT_ARM_HW_WATCH): Likewise.
13564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13566         [BZ #14811]
13567         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13568         (__ieee754_powl): Saturate nonzero exponents with absolute value
13569         below 0x1p-79 to +/- 0x1p-79.
13570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13571         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13572         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13573         nonzero exponents with absolute value below 0x1p-32 to +/-
13574         0x1p-32.
13575         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13576         (__ieee754_powl): Saturate nonzero exponents with absolute value
13577         below 0x1p-79 to +/- 0x1p-79.
13578         * math/libm-test.inc (pow_test): Add more tests.
13580 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13583         _dl_s390_cap_flags with kernel. Increase string length.
13584         (_dl_s390_platforms): Add z196 and zEC12.
13586 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13588         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13589         Change XOPEN21K to XOPEN2K.
13591 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13593         * string/memmove.c: Use memcpy when possible.
13595 2012-11-06  Andreas Jaeger  <aj@suse.de>
13597         * po/eo.po: Update from translation team.
13599 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13601         [BZ #14793]
13602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13603         exponent and small x and y exponents, scale x or y up.  Increase
13604         by 2 the exponent used in scaling up.
13605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13607         * math/libm-test.inc (fma_test): Add more tests.
13608         (fma_test_towardzero): Likewise.
13609         (fma_test_downward): Likewise.
13610         (fma_test_upward): Likewise.
13612 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13614         [BZ #14805]
13615         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13616         fenv_t *.
13618         [BZ #14801]
13619         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13620         namespace for names of struct fields.
13621         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13622         fenv_t fields.
13623         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13624         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13626 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13628         [BZ #3665]
13629         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13631 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13633         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13634         PTR_DEMANGLE.
13636         [BZ #5246]
13637         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13638         PTR_DEMANGLE.
13640 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13642         [BZ #14797]
13643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13644         definitely overflow as x * y not x * y + z.
13645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13647         * math/libm-test.inc (fma_test): Add more tests.
13648         (fma_test_towardzero): Likewise.
13649         (fma_test_downward): Likewise.
13650         (fma_test_upward): Likewise.
13652 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13654         [BZ #157]
13656         * include/stub-tag.h: Remove file.
13657         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13658         '#include' of it.
13659         * manual/maint.texi (Porting): Don't reference it.
13660         * Makerules ($(objpfx)stubs): Likewise.
13661         * dirent/closedir.c: Don't include <stub-tag.h>.
13662         * dirent/dirfd.c: Likewise.
13663         * dirent/fdopendir.c: Likewise.
13664         * dirent/getdents.c: Likewise.
13665         * dirent/getdents64.c: Likewise.
13666         * dirent/opendir.c: Likewise.
13667         * dirent/readdir.c: Likewise.
13668         * dirent/readdir64.c: Likewise.
13669         * dirent/readdir64_r.c: Likewise.
13670         * dirent/readdir_r.c: Likewise.
13671         * dirent/rewinddir.c: Likewise.
13672         * dirent/seekdir.c: Likewise.
13673         * dirent/telldir.c: Likewise.
13674         * gmon/profil.c: Likewise.
13675         * grp/setgroups.c: Likewise.
13676         * inet/if_index.c: Likewise.
13677         * io/access.c: Likewise.
13678         * io/chdir.c: Likewise.
13679         * io/chmod.c: Likewise.
13680         * io/chown.c: Likewise.
13681         * io/close.c: Likewise.
13682         * io/dup.c: Likewise.
13683         * io/dup2.c: Likewise.
13684         * io/dup3.c: Likewise.
13685         * io/euidaccess.c: Likewise.
13686         * io/faccessat.c: Likewise.
13687         * io/fchdir.c: Likewise.
13688         * io/fchmod.c: Likewise.
13689         * io/fchmodat.c: Likewise.
13690         * io/fchown.c: Likewise.
13691         * io/fchownat.c: Likewise.
13692         * io/fcntl.c: Likewise.
13693         * io/flock.c: Likewise.
13694         * io/fstatfs.c: Likewise.
13695         * io/fstatfs64.c: Likewise.
13696         * io/fstatvfs.c: Likewise.
13697         * io/fstatvfs64.c: Likewise.
13698         * io/futimens.c: Likewise.
13699         * io/fxstat.c: Likewise.
13700         * io/fxstat64.c: Likewise.
13701         * io/fxstatat.c: Likewise.
13702         * io/fxstatat64.c: Likewise.
13703         * io/getcwd.c: Likewise.
13704         * io/isatty.c: Likewise.
13705         * io/lchmod.c: Likewise.
13706         * io/lchown.c: Likewise.
13707         * io/link.c: Likewise.
13708         * io/linkat.c: Likewise.
13709         * io/lseek.c: Likewise.
13710         * io/lseek64.c: Likewise.
13711         * io/lxstat64.c: Likewise.
13712         * io/mkdir.c: Likewise.
13713         * io/mkdirat.c: Likewise.
13714         * io/mkfifo.c: Likewise.
13715         * io/mkfifoat.c: Likewise.
13716         * io/open.c: Likewise.
13717         * io/open64.c: Likewise.
13718         * io/openat.c: Likewise.
13719         * io/openat64.c: Likewise.
13720         * io/pipe.c: Likewise.
13721         * io/pipe2.c: Likewise.
13722         * io/poll.c: Likewise.
13723         * io/posix_fadvise.c: Likewise.
13724         * io/posix_fadvise64.c: Likewise.
13725         * io/posix_fallocate.c: Likewise.
13726         * io/posix_fallocate64.c: Likewise.
13727         * io/read.c: Likewise.
13728         * io/readlink.c: Likewise.
13729         * io/readlinkat.c: Likewise.
13730         * io/rmdir.c: Likewise.
13731         * io/sendfile.c: Likewise.
13732         * io/sendfile64.c: Likewise.
13733         * io/statfs.c: Likewise.
13734         * io/statfs64.c: Likewise.
13735         * io/statvfs.c: Likewise.
13736         * io/statvfs64.c: Likewise.
13737         * io/symlink.c: Likewise.
13738         * io/symlinkat.c: Likewise.
13739         * io/ttyname.c: Likewise.
13740         * io/ttyname_r.c: Likewise.
13741         * io/umask.c: Likewise.
13742         * io/unlink.c: Likewise.
13743         * io/unlinkat.c: Likewise.
13744         * io/utime.c: Likewise.
13745         * io/utimensat.c: Likewise.
13746         * io/write.c: Likewise.
13747         * io/xmknod.c: Likewise.
13748         * io/xmknodat.c: Likewise.
13749         * io/xstat.c: Likewise.
13750         * io/xstat64.c: Likewise.
13751         * login/getpt.c: Likewise.
13752         * login/grantpt.c: Likewise.
13753         * login/unlockpt.c: Likewise.
13754         * math/e_acoshl.c: Likewise.
13755         * math/e_acosl.c: Likewise.
13756         * math/e_asinl.c: Likewise.
13757         * math/e_atan2l.c: Likewise.
13758         * math/e_atanhl.c: Likewise.
13759         * math/e_coshl.c: Likewise.
13760         * math/e_expl.c: Likewise.
13761         * math/e_fmodl.c: Likewise.
13762         * math/e_gammal_r.c: Likewise.
13763         * math/e_hypotl.c: Likewise.
13764         * math/e_j0l.c: Likewise.
13765         * math/e_j1l.c: Likewise.
13766         * math/e_jnl.c: Likewise.
13767         * math/e_lgammal_r.c: Likewise.
13768         * math/e_log10l.c: Likewise.
13769         * math/e_log2l.c: Likewise.
13770         * math/e_logl.c: Likewise.
13771         * math/e_powl.c: Likewise.
13772         * math/e_rem_pio2l.c: Likewise.
13773         * math/e_sinhl.c: Likewise.
13774         * math/e_sqrtl.c: Likewise.
13775         * math/fclrexcpt.c: Likewise.
13776         * math/fedisblxcpt.c: Likewise.
13777         * math/feenablxcpt.c: Likewise.
13778         * math/fegetenv.c: Likewise.
13779         * math/fegetexcept.c: Likewise.
13780         * math/fegetround.c: Likewise.
13781         * math/feholdexcpt.c: Likewise.
13782         * math/fesetenv.c: Likewise.
13783         * math/fesetround.c: Likewise.
13784         * math/feupdateenv.c: Likewise.
13785         * math/fgetexcptflg.c: Likewise.
13786         * math/fraiseexcpt.c: Likewise.
13787         * math/fsetexcptflg.c: Likewise.
13788         * math/ftestexcept.c: Likewise.
13789         * math/k_cosl.c: Likewise.
13790         * math/k_rem_pio2l.c: Likewise.
13791         * math/k_sinl.c: Likewise.
13792         * math/k_tanl.c: Likewise.
13793         * math/s_asinhl.c: Likewise.
13794         * math/s_atanl.c: Likewise.
13795         * math/s_cbrtl.c: Likewise.
13796         * math/s_erfl.c: Likewise.
13797         * math/s_expm1l.c: Likewise.
13798         * math/s_log1pl.c: Likewise.
13799         * math/s_tanhl.c: Likewise.
13800         * misc/acct.c: Likewise.
13801         * misc/brk.c: Likewise.
13802         * misc/chflags.c: Likewise.
13803         * misc/chroot.c: Likewise.
13804         * misc/fchflags.c: Likewise.
13805         * misc/fgetxattr.c: Likewise.
13806         * misc/flistxattr.c: Likewise.
13807         * misc/fremovexattr.c: Likewise.
13808         * misc/fsetxattr.c: Likewise.
13809         * misc/fsync.c: Likewise.
13810         * misc/ftruncate.c: Likewise.
13811         * misc/futimes.c: Likewise.
13812         * misc/futimesat.c: Likewise.
13813         * misc/getdomain.c: Likewise.
13814         * misc/getdtsz.c: Likewise.
13815         * misc/gethostid.c: Likewise.
13816         * misc/gethostname.c: Likewise.
13817         * misc/getloadavg.c: Likewise.
13818         * misc/getpagesize.c: Likewise.
13819         * misc/getsysstats.c: Likewise.
13820         * misc/getxattr.c: Likewise.
13821         * misc/gtty.c: Likewise.
13822         * misc/ioctl.c: Likewise.
13823         * misc/lgetxattr.c: Likewise.
13824         * misc/listxattr.c: Likewise.
13825         * misc/llistxattr.c: Likewise.
13826         * misc/lremovexattr.c: Likewise.
13827         * misc/lsetxattr.c: Likewise.
13828         * misc/lutimes.c: Likewise.
13829         * misc/madvise.c: Likewise.
13830         * misc/mincore.c: Likewise.
13831         * misc/mlock.c: Likewise.
13832         * misc/mlockall.c: Likewise.
13833         * misc/mmap.c: Likewise.
13834         * misc/mprotect.c: Likewise.
13835         * misc/msync.c: Likewise.
13836         * misc/munlock.c: Likewise.
13837         * misc/munlockall.c: Likewise.
13838         * misc/munmap.c: Likewise.
13839         * misc/preadv.c: Likewise.
13840         * misc/preadv64.c: Likewise.
13841         * misc/ptrace.c: Likewise.
13842         * misc/pwritev.c: Likewise.
13843         * misc/pwritev64.c: Likewise.
13844         * misc/readv.c: Likewise.
13845         * misc/reboot.c: Likewise.
13846         * misc/remap_file_pages.c: Likewise.
13847         * misc/removexattr.c: Likewise.
13848         * misc/revoke.c: Likewise.
13849         * misc/select.c: Likewise.
13850         * misc/setdomain.c: Likewise.
13851         * misc/setegid.c: Likewise.
13852         * misc/seteuid.c: Likewise.
13853         * misc/sethostid.c: Likewise.
13854         * misc/sethostname.c: Likewise.
13855         * misc/setregid.c: Likewise.
13856         * misc/setreuid.c: Likewise.
13857         * misc/setxattr.c: Likewise.
13858         * misc/sstk.c: Likewise.
13859         * misc/stty.c: Likewise.
13860         * misc/swapoff.c: Likewise.
13861         * misc/swapon.c: Likewise.
13862         * misc/sync.c: Likewise.
13863         * misc/syncfs.c: Likewise.
13864         * misc/syscall.c: Likewise.
13865         * misc/truncate.c: Likewise.
13866         * misc/ualarm.c: Likewise.
13867         * misc/usleep.c: Likewise.
13868         * misc/ustat.c: Likewise.
13869         * misc/utimes.c: Likewise.
13870         * misc/vhangup.c: Likewise.
13871         * misc/writev.c: Likewise.
13872         * posix/_exit.c: Likewise.
13873         * posix/alarm.c: Likewise.
13874         * posix/execve.c: Likewise.
13875         * posix/fexecve.c: Likewise.
13876         * posix/fork.c: Likewise.
13877         * posix/fpathconf.c: Likewise.
13878         * posix/getaddrinfo.c: Likewise.
13879         * posix/getegid.c: Likewise.
13880         * posix/geteuid.c: Likewise.
13881         * posix/getgid.c: Likewise.
13882         * posix/getgroups.c: Likewise.
13883         * posix/getlogin.c: Likewise.
13884         * posix/getlogin_r.c: Likewise.
13885         * posix/getpgid.c: Likewise.
13886         * posix/getpid.c: Likewise.
13887         * posix/getppid.c: Likewise.
13888         * posix/getresgid.c: Likewise.
13889         * posix/getresuid.c: Likewise.
13890         * posix/getsid.c: Likewise.
13891         * posix/getuid.c: Likewise.
13892         * posix/glob64.c: Likewise.
13893         * posix/nanosleep.c: Likewise.
13894         * posix/pathconf.c: Likewise.
13895         * posix/pause.c: Likewise.
13896         * posix/posix_madvise.c: Likewise.
13897         * posix/pread.c: Likewise.
13898         * posix/pread64.c: Likewise.
13899         * posix/pwrite.c: Likewise.
13900         * posix/pwrite64.c: Likewise.
13901         * posix/sched_getaffinity.c: Likewise.
13902         * posix/sched_getp.c: Likewise.
13903         * posix/sched_gets.c: Likewise.
13904         * posix/sched_primax.c: Likewise.
13905         * posix/sched_primin.c: Likewise.
13906         * posix/sched_rr_gi.c: Likewise.
13907         * posix/sched_setaffinity.c: Likewise.
13908         * posix/sched_setp.c: Likewise.
13909         * posix/sched_sets.c: Likewise.
13910         * posix/sched_yield.c: Likewise.
13911         * posix/setgid.c: Likewise.
13912         * posix/setlogin.c: Likewise.
13913         * posix/setpgid.c: Likewise.
13914         * posix/setresgid.c: Likewise.
13915         * posix/setresuid.c: Likewise.
13916         * posix/setsid.c: Likewise.
13917         * posix/setuid.c: Likewise.
13918         * posix/sleep.c: Likewise.
13919         * posix/spawni.c: Likewise.
13920         * posix/sysconf.c: Likewise.
13921         * posix/times.c: Likewise.
13922         * posix/wait.c: Likewise.
13923         * posix/wait3.c: Likewise.
13924         * posix/wait4.c: Likewise.
13925         * posix/waitpid.c: Likewise.
13926         * resolv/gai_sigqueue.c: Likewise.
13927         * resource/getpriority.c: Likewise.
13928         * resource/getrlimit.c: Likewise.
13929         * resource/getrusage.c: Likewise.
13930         * resource/nice.c: Likewise.
13931         * resource/setpriority.c: Likewise.
13932         * resource/setrlimit.c: Likewise.
13933         * resource/ulimit.c: Likewise.
13934         * rt/aio_cancel.c: Likewise.
13935         * rt/aio_fsync.c: Likewise.
13936         * rt/aio_read.c: Likewise.
13937         * rt/aio_sigqueue.c: Likewise.
13938         * rt/aio_suspend.c: Likewise.
13939         * rt/aio_write.c: Likewise.
13940         * rt/clock_getres.c: Likewise.
13941         * rt/clock_gettime.c: Likewise.
13942         * rt/clock_nanosleep.c: Likewise.
13943         * rt/clock_settime.c: Likewise.
13944         * rt/lio_listio.c: Likewise.
13945         * rt/mq_close.c: Likewise.
13946         * rt/mq_getattr.c: Likewise.
13947         * rt/mq_notify.c: Likewise.
13948         * rt/mq_open.c: Likewise.
13949         * rt/mq_receive.c: Likewise.
13950         * rt/mq_send.c: Likewise.
13951         * rt/mq_setattr.c: Likewise.
13952         * rt/mq_timedreceive.c: Likewise.
13953         * rt/mq_timedsend.c: Likewise.
13954         * rt/mq_unlink.c: Likewise.
13955         * rt/shm_open.c: Likewise.
13956         * rt/shm_unlink.c: Likewise.
13957         * rt/timer_create.c: Likewise.
13958         * rt/timer_delete.c: Likewise.
13959         * rt/timer_getoverr.c: Likewise.
13960         * rt/timer_gettime.c: Likewise.
13961         * rt/timer_settime.c: Likewise.
13962         * setjmp/__longjmp.c: Likewise.
13963         * setjmp/setjmp.c: Likewise.
13964         * signal/kill.c: Likewise.
13965         * signal/killpg.c: Likewise.
13966         * signal/raise.c: Likewise.
13967         * signal/sigaction.c: Likewise.
13968         * signal/sigaltstack.c: Likewise.
13969         * signal/sigblock.c: Likewise.
13970         * signal/sigignore.c: Likewise.
13971         * signal/sigintr.c: Likewise.
13972         * signal/signal.c: Likewise.
13973         * signal/sigpause.c: Likewise.
13974         * signal/sigpending.c: Likewise.
13975         * signal/sigqueue.c: Likewise.
13976         * signal/sigreturn.c: Likewise.
13977         * signal/sigset.c: Likewise.
13978         * signal/sigsetmask.c: Likewise.
13979         * signal/sigstack.c: Likewise.
13980         * signal/sigsuspend.c: Likewise.
13981         * signal/sigtimedwait.c: Likewise.
13982         * signal/sigvec.c: Likewise.
13983         * signal/sigwait.c: Likewise.
13984         * signal/sigwaitinfo.c: Likewise.
13985         * signal/sysv_signal.c: Likewise.
13986         * socket/accept.c: Likewise.
13987         * socket/accept4.c: Likewise.
13988         * socket/bind.c: Likewise.
13989         * socket/connect.c: Likewise.
13990         * socket/getpeername.c: Likewise.
13991         * socket/getsockname.c: Likewise.
13992         * socket/getsockopt.c: Likewise.
13993         * socket/isfdtype.c: Likewise.
13994         * socket/listen.c: Likewise.
13995         * socket/recv.c: Likewise.
13996         * socket/recvfrom.c: Likewise.
13997         * socket/recvmsg.c: Likewise.
13998         * socket/send.c: Likewise.
13999         * socket/sendmsg.c: Likewise.
14000         * socket/sendto.c: Likewise.
14001         * socket/setsockopt.c: Likewise.
14002         * socket/shutdown.c: Likewise.
14003         * socket/sockatmark.c: Likewise.
14004         * socket/socket.c: Likewise.
14005         * socket/socketpair.c: Likewise.
14006         * stdio-common/ctermid.c: Likewise.
14007         * stdio-common/cuserid.c: Likewise.
14008         * stdio-common/remove.c: Likewise.
14009         * stdio-common/rename.c: Likewise.
14010         * stdio-common/renameat.c: Likewise.
14011         * stdio-common/tempname.c: Likewise.
14012         * stdlib/getcontext.c: Likewise.
14013         * stdlib/makecontext.c: Likewise.
14014         * stdlib/setcontext.c: Likewise.
14015         * stdlib/swapcontext.c: Likewise.
14016         * stdlib/system.c: Likewise.
14017         * streams/fattach.c: Likewise.
14018         * streams/fdetach.c: Likewise.
14019         * streams/getmsg.c: Likewise.
14020         * streams/getpmsg.c: Likewise.
14021         * streams/putmsg.c: Likewise.
14022         * streams/putpmsg.c: Likewise.
14023         * sysdeps/unix/bsd/getpt.c: Likewise.
14024         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14025         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14026         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14028         Likewise.
14029         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14030         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14031         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14032         * sysvipc/msgctl.c: Likewise.
14033         * sysvipc/msgget.c: Likewise.
14034         * sysvipc/msgrcv.c: Likewise.
14035         * sysvipc/msgsnd.c: Likewise.
14036         * sysvipc/semctl.c: Likewise.
14037         * sysvipc/semget.c: Likewise.
14038         * sysvipc/semop.c: Likewise.
14039         * sysvipc/semtimedop.c: Likewise.
14040         * sysvipc/shmat.c: Likewise.
14041         * sysvipc/shmctl.c: Likewise.
14042         * sysvipc/shmdt.c: Likewise.
14043         * sysvipc/shmget.c: Likewise.
14044         * termios/tcdrain.c: Likewise.
14045         * termios/tcflow.c: Likewise.
14046         * termios/tcflush.c: Likewise.
14047         * termios/tcgetattr.c: Likewise.
14048         * termios/tcgetpgrp.c: Likewise.
14049         * termios/tcsendbrk.c: Likewise.
14050         * termios/tcsetattr.c: Likewise.
14051         * termios/tcsetpgrp.c: Likewise.
14052         * time/adjtime.c: Likewise.
14053         * time/clock.c: Likewise.
14054         * time/getitimer.c: Likewise.
14055         * time/gettimeofday.c: Likewise.
14056         * time/setitimer.c: Likewise.
14057         * time/settimeofday.c: Likewise.
14058         * time/stime.c: Likewise.
14059         * time/time.c: Likewise.
14061 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14063         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14064         /usr/old/bin.
14066         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14067         instead of spaces.
14068         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14070 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14072         [BZ #14796]
14073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14074         FE_TONEAREST before applying Dekker multiplication and Knuth
14075         addition.  Clear inexact exceptions and check for exact zero
14076         results afterwards.
14077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14080         * math/libm-test.inc (fma_test): Add more tests.
14081         (fma_test_towardzero): Likewise.
14082         (fma_test_downward): Likewise.
14083         (fma_test_upward): Likewise.
14084         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14085         function.
14086         (libc_fesetround): New macro.
14087         (libc_fesetroundf): Likewise.
14088         (libc_fesetroundl): Likewise.
14089         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14090         function.
14091         (libc_fesetround_387): Likewise.
14092         (libc_fesetroundf): New macro.
14093         (libc_fesetround): Likewise.
14094         (libc_fesetroundl): Likewise.
14095         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14096         function.
14097         (libc_fesetroundf): New macro.
14098         (libc_fesetround): Likewise.
14099         (libc_fesetroundl): Likewise.
14100         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14101         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14102         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14103         libm_hidden_ver.
14104         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14105         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14106         libm_hidden_def.
14107         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14108         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14109         libm_hidden_ver.
14110         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14111         libm_hidden_def.
14113         [BZ #3439]
14114         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14115         integer constant usable in #if and use that to give value to enum
14116         constant.
14117         (FE_DIVBYZERO): Likewise.
14118         (FE_UNDERFLOW): Likewise.
14119         (FE_OVERFLOW): Likewise.
14120         (FE_INVALID): Likewise.
14121         (FE_INVALID_SNAN): Likewise.
14122         (FE_INVALID_ISI): Likewise.
14123         (FE_INVALID_IDI): Likewise.
14124         (FE_INVALID_ZDZ): Likewise.
14125         (FE_INVALID_IMZ): Likewise.
14126         (FE_INVALID_COMPARE): Likewise.
14127         (FE_INVALID_SOFTWARE): Likewise.
14128         (FE_INVALID_SQRT): Likewise.
14129         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14130         (FE_TONEAREST): Likewise.
14131         (FE_TOWARDZERO): Likewise.
14132         (FE_UPWARD): Likewise.
14133         (FE_DOWNWARD): Likewise.
14134         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14135         (FE_DIVBYZERO): Likewise.
14136         (FE_OVERFLOW): Likewise.
14137         (FE_UNDERFLOW): Likewise.
14138         (FE_INEXACT): Likewise.
14139         (FE_TONEAREST): Likewise.
14140         (FE_DOWNWARD): Likewise.
14141         (FE_UPWARD): Likewise.
14142         (FE_TOWARDZERO): Likewise.
14143         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14144         (FE_UNDERFLOW): Likewise.
14145         (FE_OVERFLOW): Likewise.
14146         (FE_DIVBYZERO): Likewise.
14147         (FE_INVALID): Likewise.
14148         (FE_TONEAREST): Likewise.
14149         (FE_TOWARDZERO): Likewise.
14150         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14151         (FE_OVERFLOW): Likewise.
14152         (FE_UNDERFLOW): Likewise.
14153         (FE_DIVBYZERO): Likewise.
14154         (FE_INEXACT): Likewise.
14155         (FE_TONEAREST): Likewise.
14156         (FE_TOWARDZERO): Likewise.
14157         (FE_UPWARD): Likewise.
14158         (FE_DOWNWARD): Likewise.
14159         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14160         (FE_DIVBYZERO): Likewise.
14161         (FE_OVERFLOW): Likewise.
14162         (FE_UNDERFLOW): Likewise.
14163         (FE_INEXACT): Likewise.
14164         (FE_TONEAREST): Likewise.
14165         (FE_DOWNWARD): Likewise.
14166         (FE_UPWARD): Likewise.
14167         (FE_TOWARDZERO): Likewise.
14169 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14171         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14173 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14175         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14176         commands.  Quote $PWD.
14177         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14178         -x" by "export".
14179         (remove_newlines): Remove.
14181 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14183         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14184         * stdlib/stdlib.h (atof): Moved to ...
14185         * include/bits/stdlib-float.h: Here.  New file.
14186         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14187         * stdlib/bits/stdlib-float.h: New file.
14188         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14189         -mno-sse -mno-mmx.
14190         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14191         <xmmintrin.h>.
14193 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14195         * conform/conformtest.pl (@headers): Add fenv.h.
14196         * conform/data/fenv.h-data: New file.
14197         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14198         include of <math/fenv.h>.
14200         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14201         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14202         && !UNIX98].  Enables tests for XOPEN2K8.
14203         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14204         POSIX2008]: Likewise.
14206         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14207         (struct rusage): Do not expect type or its members.
14209         [BZ #3439]
14210         * math/math.h (FP_NAN): Define macro to integer constant usable in
14211         #if and use that to give value to enum constant.
14212         (FP_INFINITE): Likewise.
14213         (FP_ZERO): Likewise.
14214         (FP_SUBNORMAL): Likewise.
14215         (FP_NORMAL): Likewise.
14217 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14219         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14220         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14221         arguments.
14223 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14225         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14226         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14227         autoconf-time if not.
14228         * configure.in: Remove AC_PREREQ.
14230 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14232         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14233         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14234         of the internal implementation.
14236 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14238         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14239         except include of <misc/sys/syslog.h>.
14241 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14244         function returns with a NULL context exit with zero.
14246 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14248         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14250 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14252         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14253         (run_program_cmd): This.
14254         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14255         (tst_langinfo): New variable.  Use it.
14257 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14259         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14260         floating point opcodes.
14262 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14264         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14265         variable.
14267         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14269         * sysdeps/mach/hurd/powerpc: Remove directory.
14270         * sysdeps/mach/powerpc: Likewise.
14272 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14274         * scripts/check-local-headers.sh: Ignore c++ headers.
14276 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14278         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14279         __libc_cleanup_region_start argument.
14281 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14283         [BZ #14784]
14284         [BZ #14785]
14285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14286         x * y using scaling, not as x * y + z.
14287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14289         * math/libm-test.inc (fma_test): Add more tests.
14290         (fma_test_towardzero): Likewise.
14291         (fma_test_downward): Likewise.
14292         (fma_test_upward): Likewise.
14294 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14296         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14298 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14300         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14301         New variable.
14303 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14305         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14307 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14310         Fix sort order.
14311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14312         Likewise.
14314 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14317         Fix the order of the list for glibc 2.17.
14318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14319         Likewise.
14321 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14325 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14327         [BZ #14610]
14328         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14329         for low part of x being zero before using __atanl (y).
14330         * math/libm-test.inc (atan2_test): Add another test.
14332         * manual/install.texi (Configuring and compiling): Document
14333         general use of test-wrapper and test-wrapper-env.
14334         * INSTALL: Regenerated.
14336         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14337         (__fma): Do not extract and scale down low bits on after-rounding
14338         systems when result rounded to normal precision would have normal
14339         exponent.
14340         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14341         (__fmal): Do not extract and scale down low bits on after-rounding
14342         systems when result rounded to normal precision would have normal
14343         exponent.
14344         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14345         (__fmal): Do not extract and scale down low bits on after-rounding
14346         systems when result rounded to normal precision would have normal
14347         exponent.
14348         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14349         macro.
14350         (fma_test): Add more tests.
14351         (fma_test_towardzero): Likewise.
14352         (fma_test_downward): Likewise.
14353         (fma_test_upward): Likewise.
14355 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14357         * sysdeps/i386/tininess.h: Renamed to ...
14358         * sysdeps/x86/tininess.h: This.
14359         * sysdeps/x86_64/tininess.h: Removed.
14361 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14363         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14364         input.  Use $(build-program-cmd).
14365         ($(objpfx)tst-array1-static.out): Likewise.
14366         ($(objpfx)tst-array2.out): Likewise.
14367         ($(objpfx)tst-array3.out): Likewise.
14368         ($(objpfx)tst-array4.out): Likewise.
14369         ($(objpfx)tst-array5.out): Likewise.
14370         ($(objpfx)tst-array5-static.out): Likewise.
14372 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14374         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14375         if defined.
14377         * nss/nsswitch.h (nss_interface_function): Provide new
14378         macro for use with NSS functions.
14379         * grp/initgroups.c: Use new macro.
14380         * nss/getXXbyYY.c: Likewise.
14381         * nss/getXXbyYY_r.c: Likewise.
14382         * nss/getXXent.c: Likewise.
14383         * nss/getXXent_r.c: Likewise.
14384         * sysdeps/posix/getaddrinfo.c: Likewise.
14386 2012-10-30  Andreas Jaeger  <aj@suse.de>
14388         * po/ru.po: Update Russion translation from translation project.
14390 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14392         [BZ #14152]
14393         [BZ #14783]
14394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14395         result and shift together with sticky bit instead of replicating
14396         round-to-nearest rounding.
14397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14399         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14400         missing underflow exceptions.
14401         (fma_test_towardzero): Add more tests.
14402         (fma_test_downward): Likewise.
14403         (fma_test_upward): Likewise.
14405         [BZ #14047]
14406         * sysdeps/generic/tininess.h: New file.
14407         * sysdeps/i386/tininess.h: Likewise.
14408         * sysdeps/sh/tininess.h: Likewise.
14409         * sysdeps/x86_64/tininess.h: Likewise.
14410         * stdlib/tst-strtod-underflow.c: Likewise.
14411         * stdlib/tst-tininess.c: Likewise.
14412         * stdlib/strtod_l.c: Include <tininess.h>.
14413         (round_and_return): Do not set errno for exact underflow cases.
14414         Force an underflow exception when setting errno for underflow.
14415         Determine underflow based on rounding to normal precision if
14416         TININESS_AFTER_ROUNDING.
14417         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14418         ERANGE for exact underflow cases.
14419         * stdlib/Makefile (tests): Add tst-tininess and
14420         tst-strtod-underflow.
14421         ($(objpfx)tst-tininess): Use $(link-libm).
14422         ($(objpfx)tst-strtod-underflow): Likewise.
14424 2012-10-30  Andreas Jaeger  <aj@suse.de>
14426         [BZ#14767]
14427         * elf/Makefile (tests): Remove conditional for have-initfini-array
14428         since this is now always required and the variable does not exist
14429         anymore.
14430         (tests-static): Likewise.
14431         (modules-names): Likewise.
14433         * po/eo.po: Add Esperanto translation from translation project.
14435         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14436         merged with constructor/destructor.
14437         (init_array): Likewise.
14438         * elf/tst-array2dep.c (fini_array): Likewise.
14439         (init_array): Likewise.
14441 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14443         * manual/message.texi: Delete @cartouche tags.
14445 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14447         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14448         EOPNOTSUPP.
14449         * sysdeps/mach/hurd/fsync.c: Likewise.
14451         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14452         [_POSIX_REALTIME_SIGNALS]: Change condition to
14453         [_POSIX_REALTIME_SIGNALS > 0].
14455 2012-10-27  Andreas Jaeger  <aj@suse.de>
14457         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14458         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14460         [__WORDSIZE != 64]: Likewise.
14462 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14464         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14465         *  iconvdata/tst-tables.sh: Likewise.
14467 2012-10-25  David S. Miller  <davem@davemloft.net>
14469         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14470         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14471         of strtoull.
14473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14474         ifunc-impl-list.c
14475         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14476         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14477         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14478         file.
14480 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14483         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14484         __getdirentries.
14486 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14487             Jim Blandy  <jimb@codesourcery.com>
14489         * scripts/cross-test-ssh.sh: New file.
14490         * manual/install.texi (Configuring and compiling): Document use of
14491         cross-test-ssh.sh.
14492         * INSTALL: Regenerated.
14494 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14496         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14497         EOPNOTSUPP.
14499 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14501         * Makeconfig (run-program-prefix): Fix comment.
14503 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14504             Jim Blandy  <jimb@codesourcery.com>
14506         * Makeconfig (test-wrapper): New variable,
14507         (test-wrapper-env): Likewise.
14508         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14509         (run-built-tests): Define to yes.
14510         (run-program-prefix): Use $(test-wrapper).
14511         (built-program-cmd): Likewise.
14512         * Rules (make-test-out): Use $(test-wrapper-env) and
14513         $(host-built-program-cmd).
14514         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14515         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14516         tst-pathopt.sh.
14517         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14518         $(test-wrapper-env) to tst-rtld-load-self.sh.
14519         ($(objpfx)order2.out): Use $(test-wrapper).
14520         ($(objpfx)tst-initorder.out): Likewise.
14521         ($(objpfx)tst-initorder2.out): Likewise.
14522         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14523         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14524         (test_wrapper_env): New variable.  Use it to run ld.so.
14525         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14526         Use it to run ld.so.
14527         (test_wrapper_env): Likewise.
14528         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14529         $(test-wrapper) to run-iconv-test.sh.
14530         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14531         (ICONV): Use $test_wrapper.
14532         * posix/Makefile ($(objpfx)globtest.out): Pass
14533         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14534         globtest.sh, not $(run-program-prefix).
14535         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14536         (test_wrapper): Likewise.
14537         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14538         set together with run_via_rtld_prefix.
14539         (run_program_prefix): Define in terms of test_wrapper and
14540         run_via_rtld_prefix.
14542 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14544         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14545         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14546         Targets removed.
14548         [BZ #14743]
14549         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14550         Declare __clock_getres, __clock_gettime, __clock_settime,
14551         __clock_nanosleep, and __clock_getcpuclockid.
14552         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14553         Remove librt_hidden_def (clock_gettime).
14554         * sysdeps/unix/clock_gettime.c: Likewise.
14555         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14556         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14557         * rt/clock_getres.c: Define __clock_getres as an alias.
14558         * sysdeps/posix/clock_getres.c: Likewise.
14559         * rt/clock_settime.c: Define __clock_settime as an alias.
14560         * sysdeps/unix/clock_settime.c: Likewise.
14561         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14562         * sysdeps/unix/clock_nanosleep.c: Likewise.
14563         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14564         * rt/clock-compat.c: New file.
14565         * rt/Makefile (librt-routines): Add clock-compat and move
14566         $(clock-routines) to ...
14567         (routines): ... here, new variable.
14568         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14569         Don't add get_clockfreq here.
14570         * rt/Versions (libc: GLIBC_2.17): New version set.
14571         Add clock_* symbols here.
14572         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14574         (GLIBC_2.17): Add clock_* symbols.
14575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14581         Likewise.
14582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14586         * NEWS: Mention the move.
14588         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14589         Use __open, __read, __close rather than their public counterparts.
14590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14591         (__get_clockfreq_via_cpuinfo): Likewise.
14592         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14593         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14595         * config.h.in (HAVE_IFUNC): New #undef.
14596         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14597         was successful.
14598         * configure: Regenerated.
14600 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14602         * configure.in: Move READELF check to start of file.
14603         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14604         libc_cv_asm_gnu_indirect_function in the process.
14605         * configure: Regenerated.
14607 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14609         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14610         send the output to /dev/null.
14611         (libc_cv_cc_with_libunwind): Likewise.
14612         (libc_cv_as_noexecstack): Likewise.
14613         * configure: Regenerate.
14615 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14617         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14619         * posix/globtest.sh (TMPDIR): Do not set.
14620         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14621         (testout): Likewise.
14623 2012-10-24  Andreas Jaeger  <aj@suse.de>
14625         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14626         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14627         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14628         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14629         posix_fadvise64, posix_fallocate64.
14631         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14632         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14633         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14634         Likewise.
14635         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14636         Likewise.
14637         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14640         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14641         <bits/fcntl-linux.h>.
14642         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14645         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14646         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14647         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14648         [__WORDSIZE != 64]: Likewise.
14650 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14652         * Makeconfig (run-built-tests): New variable.
14653         * Rules [$(cross-compiling) = yes]: Change condition to
14654         [$(run-built-tests) = no].
14655         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14656         to [$(run-built-tests) = yes].
14657         * elf/Makefile [$(cross-compiling) = no]: Likewise
14658         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14659         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14660         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14661         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14662         * io/Makefile [$(cross-compiling) = no]: Likewise.
14663         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14664         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14665         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14666         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14667         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14668         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14669         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14670         * string/Makefile [$(cross-compiling) = no]: Likewise.
14672         * posix/Makefile ($(objpfx)globtest.out): Pass
14673         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14674         $(rtld-installed-name).
14675         * posix/globtest.sh (elf_objpfx): Remove variable.
14676         (rtld_installed_name): Likewise.
14677         (library_path): Likewise.
14678         (run_program_prefix): New variable.  Use for running globtest
14679         binary.
14681 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14682             Joseph Myers  <joseph@codesourcery.com>
14684         * Makeconfig (host-built-program-cmd): New variable.
14685         * elf/Makefile (tst-stackguard1-ARGS): Use
14686         $(host-built-program-cmd).
14687         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14688         (tst-spawn-ARGS): Likewise.
14689         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14691 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14692             Jim Blandy  <jimb@codesourcery.com>
14694         * Makeconfig (run-via-rtld-prefix): New variable.
14695         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14696         (built-program-cmd): Likewise.
14698 2012-10-22  Andreas Jaeger  <aj@suse.de>
14700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14701         __O_RSYNC if it exists, otherwise to O_SYNC.
14703 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14704             Joseph Myers  <joseph@codesourcery.com>
14706         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14707         /dev/null.
14708         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14709         from /dev/null
14710         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14711         /dev/null.
14713 2012-10-22  Andreas Jaeger  <aj@suse.de>
14715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14716         Define always.
14717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14720         bits/fcntl-linux.h.
14722         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14723         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14726         to __O_LARGEFILE.
14727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14728         to __O_LARGEFILE.
14730 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14731             Joseph Myers  <joseph@codesourcery.com>
14733         * config.make.in (NM): New variable.
14735 2012-10-21  Andreas Jaeger  <aj@suse.de>
14737         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14738         definitions and declarations that are provided by
14739         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14741 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14743         [BZ #14683]
14744         * elf/Makefile (tests-static): Add tst-leaks1-static.
14745         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14746         ($(objpfx)tst-leaks1-static): New rule.
14747         ($(objpfx)tst-leaks1-static-mem): Likewise.
14748         (tst-leaks1-static-ENV): New macro.
14749         * elf/dl-open.c (dl_open_worker): Check the main application
14750         only if SHARED is defined.
14751         * elf/tst-leaks1-static.c: New file.
14753 2012-10-20  Andreas Jaeger  <aj@suse.de>
14755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14756         generic values for Linux.
14757         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14758         and declarations that are provided by <bits/fcntl-linux.h> and
14759         include <bits/fcntl-linux.h>.
14760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14763 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14765         * io/fcntl.h: Move include of <bits/types.h> to the top and
14766         include it unconditionally.
14768 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14770         * wcsmbs/Makefile (tests-ifunc): New variable.
14771         (tests): Add $(tests-ifunc).
14772         * wcsmbs/test-wcschr-ifunc.c: New file.
14773         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14774         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14775         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14776         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14777         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14779         * string/Makefile (tests-ifunc): New variable.
14780         (tests): Add $(tests-ifunc).
14781         * string/test-memccpy.c (TEST_NAME): New macro.
14782         * string/test-memchr.c (TEST_NAME): Likewise.
14783         * string/test-memcmp.c (TEST_NAME): Likewise.
14784         * string/test-memcpy.c (TEST_NAME): Likewise.
14785         * string/test-memmem.c (TEST_NAME): Likewise.
14786         * string/test-memmove.c (TEST_NAME): Likewise.
14787         * string/test-memset.c (TEST_NAME): Likewise.
14788         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14789         * string/test-stpcpy.c (TEST_NAME): Likewise.
14790         * string/test-stpncpy.c (TEST_NAME): Likewise.
14791         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14792         * string/test-strcasestr.c (TEST_NAME): Likewise.
14793         * string/test-strcat.c (TEST_NAME): Likewise.
14794         * string/test-strchr.c (TEST_NAME): Likewise.
14795         * string/test-strcmp.c(TEST_NAME): Likewise.
14796         * string/test-strcpy.c (TEST_NAME): Likewise.
14797         * string/test-strcspn.c (TEST_NAME): Likewise.
14798         * string/test-strlen.c (TEST_NAME): Likewise.
14799         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14800         * string/test-strncmp.c (TEST_NAME): Likewise.
14801         * string/test-strncpy.c (TEST_NAME): Likewise.
14802         * string/test-strnlen.c (TEST_NAME): Likewise.
14803         * string/test-strpbrk.c (TEST_NAME): Likewise.
14804         * string/test-strrchr.c (TEST_NAME): Likewise.
14805         * string/test-strspn.c (TEST_NAME): Likewise.
14806         * string/test-strstr.c (TEST_NAME): Likewise.
14807         * string/test-bcopy-ifunc.c: New file.
14808         * string/test-bzero-ifunc.c: Likewise.
14809         * string/test-memccpy-ifunc.c: Likewise.
14810         * string/test-memchr-ifunc.c: Likewise.
14811         * string/test-memcmp-ifunc.c: Likewise.
14812         * string/test-memcpy-ifunc.c: Likewise.
14813         * string/test-memmem-ifunc.c: Likewise.
14814         * string/test-memmove-ifunc.c: Likewise.
14815         * string/test-mempcpy-ifunc.c: Likewise.
14816         * string/test-memset-ifunc.c: Likewise.
14817         * string/test-rawmemchr-ifunc.c: Likewise.
14818         * string/test-stpcpy-ifunc.c: Likewise.
14819         * string/test-stpncpy-ifunc.c: Likewise.
14820         * string/test-strcasecmp-ifunc.c: Likewise.
14821         * string/test-strcasestr-ifunc.c: Likewise.
14822         * string/test-strcat-ifunc.c: Likewise.
14823         * string/test-strchr-ifunc.c: Likewise.
14824         * string/test-strchrnul-ifunc.c: Likewise.
14825         * string/test-strcmp-ifunc.c: Likewise.
14826         * string/test-strcpy-ifunc.c: Likewise.
14827         * string/test-strcspn-ifunc.c: Likewise.
14828         * string/test-strlen-ifunc.c: Likewise.
14829         * string/test-strncasecmp-ifunc.c: Likewise.
14830         * string/test-strncat-ifunc.c: Likewise.
14831         * string/test-strncmp-ifunc.c: Likewise.
14832         * string/test-strncpy-ifunc.c: Likewise.
14833         * string/test-strnlen-ifunc.c: Likewise.
14834         * string/test-strpbrk-ifunc.c: Likewise.
14835         * string/test-strrchr-ifunc.c: Likewise.
14836         * string/test-strspn-ifunc.c: Likewise.
14837         * string/test-strstr-ifunc.c: Likewise.
14839         * debug/Makefile (tests-ifunc): New variable.
14840         (tests): Add $(tests-ifunc).
14841         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14842         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14843         * debug/test-stpcpy_chk-ifunc.c: New file.
14844         * debug/test-strcpy_chk-ifunc.c: Likewise.
14846 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14848         [BZ #13601]
14849         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14850         header is not read in.
14852 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14854         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14855         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14856         directly.  Pass built executable to script as
14857         $(built-program-cmd).
14858         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14859         $testprogram without using LD_LIBRARY_PATH and $ldso.
14861         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14862         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14863         $(rtld-installed-name).
14864         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14865         (rtld_installed_name): Likewise.
14866         (library_path): Likewise.
14867         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14868         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14869         $(run-program-prefix) to tst-tables.sh.
14870         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14871         it to run tst-table-from and tst-table-to.
14872         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14873         Pass it to tst-table.sh.
14874         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14875         $(run-program-prefix) to tst-gettext.sh.
14876         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14877         tst-translit.sh.
14878         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14879         tst-gettext2.sh.
14880         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14881         to run tst-gettext.
14882         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14883         to run tst-gettext2.
14884         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14885         to run tst-translit.
14886         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14887         $(run-program-prefix) to tst-mtrace.sh.
14888         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14889         to run tst-mtrace.
14890         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14891         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14892         $(rtld-installed-name).
14893         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14894         (rtld_installed_name): Likewise.
14895         (run_program_prefix): New variable.  Use it to run wordexp-test.
14897         * Makeconfig (ARCH): Remove all definitions.
14898         (machine): Likewise.
14899         [ARCH]: Remove conditional code.
14900         [!objdir]: Give error.
14901         [!objdir] (objpfx): Remove.
14902         [!objdir] (common-objpfx): Likewise.
14903         [!objdir] (common-objdir): Likewise.
14904         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14905         AC_CONFIG_FILES call.
14906         * configure: Regenerated.
14908         [BZ #13888]
14909         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14910         or TMPDIR.
14911         (testout): Likewise.
14913         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14914         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14915         $(rtld-installed-name).
14916         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14917         (rtld_installed_name): Likwise.
14918         (runit): Remove function.
14919         (run_getconf): New variable,  Use it for running getconf binary.
14921 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14923         [BZ #14716]
14924         * string/test-memmem.c (check_result): New function.
14925         (do_one_test): Use it.
14926         (check1): New function.
14927         (test_main): Use it.
14929 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14931         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14933 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14935         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14936         (_G_LSEEK64): Likewise.
14937         (_G_MMAP64): Likewise.
14938         (_G_FSTAT64): Likewise.
14939         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14940         (_G_LSEEK64): Likewise.
14941         (_G_MMAP64): Likewise.
14942         (_G_FSTAT64): Likewise.
14943         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14944         unconditional.  Call __mmap64 directly.
14945         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14946         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14947         __lseek64 directly.
14948         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14949         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14950         __mmap64 directly.
14951         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14952         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14953         __lseek64 directly.
14954         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14955         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14956         __lseek64 directly.
14957         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14958         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14959         __lseek64 directly.
14960         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14961         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14962         __fxstat64 directly.
14963         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14964         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14965         unconditional.
14966         (freopen64) [!_G_OPEN64]: Remove conditional code.
14967         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14968         unconditional.
14969         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14970         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14971         unconditional.
14972         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14973         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14974         unconditional.
14975         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14976         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14977         unconditional.
14978         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14979         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14980         unconditional.
14981         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14982         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14983         unconditional.
14984         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14985         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14986         unconditional.
14987         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14989 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14991         [BZ #12140]
14992         * manual/memory.texi (Malloc Tunable Parameters): Add note
14993         about free list pointers overwriting some perturb bytes.
14994         Wording suggested by Roland McGrath.
14996 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14998         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14999         (lgamma_test): Likewise.
15000         (tgamma_test): Likewise.
15002 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15004         [BZ #14700]
15005         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15006         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15008 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15010         * NEWS: Mention BZ #14716.
15011         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15012         when removing AVAILABLE1_USES_J macro.
15014 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15016         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15017         (__bswap_64): __uint64_t for unsigned 64-bit int.
15019 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15021         * include/string.h (memmem): Declare libc hidden alias.
15022         * string/memmem.c (memmem): Define libc hidden alias.
15023         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15024         __read, __close instead of open, read, close.
15026 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15029         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15030         global and hidden.
15031         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15032         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15033         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15034         Likewise.
15035         (__rawmemchr_sse2): Likewise.
15036         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15037         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15038         (__strchr_sse2): Likewise.
15039         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15040         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15041         (__strcasecmp_sse2): Likewise.
15042         (__strncasecmp_sse2): Likewise.
15043         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15044         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15045         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15046         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15047         (__strrchr_sse2): Likewise.
15048         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15049         ifunc-impl-list.c.
15050         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15051         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15052         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15054         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15056         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15057         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15058         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15059         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15060         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15061         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15062         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15063         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15064         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15065         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15066         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15067         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15068         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15069         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15070         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15071         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15072         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15073         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15074         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15075         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15076         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15077         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15078         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15079         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15081         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15082         global and hidden.
15083         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15084         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15085         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15086         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15087         Likewise.
15088         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15089         Likewise.
15090         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15091         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15092         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15093         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15094         ifunc-impl-list.c.
15095         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15096         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15097         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15098         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15099         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15100         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15101         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15102         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15103         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15104         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15105         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15106         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15107         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15108         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15109         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15110         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15111         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15112         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15113         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15114         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15115         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15116         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15117         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15118         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15120         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15121         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15122         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15123         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15124         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15125         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15126         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15127         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15128         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15129         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15130         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15131         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15132         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15133         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15134         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15135         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15137         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15138         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15139         * include/ifunc-impl-list.h: New file.
15140         * misc/ifunc-impl-list.c: Likewise.
15141         * misc/Makefile (routines): Add ifunc-impl-list.
15142         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15143         * string/test-string.h: Include <ifunc-impl-list.h>.
15144         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15145         impl_array): New variables.
15146         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15147         are defined.
15148         (test_init): Call __libc_ifunc_impl_list to initialize
15149         func_list if TEST_IFUNC and TEST_NAME are defined.
15151         * string/Makefile (strop-tests): Add bcopy and bzero.
15152         * string/test-bcopy.c: New file.
15153         * string/test-bzero.c: Likewise.
15154         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15155         defined.
15156         * string/test-memset.c: Support bzero test if TEST_BZERO is
15157         defined.
15158         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15159         __libc_memmove.
15160         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15161         __libc_memset.
15162         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15163         of memset.
15165 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15167         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15168         * configure: Regenerated.
15170         * Makeconfig (+link-static-before-libc): Don't include
15171         $(link-static-libc).
15173         * libio/libio.h (_IO_pos_t): Remove.
15175 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15177         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15178         McGrath.
15180 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15182         * crypt/crypt-entry.c: Include fips-private.h.
15183         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15184         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15185         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15186         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15188 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15190         * crypt/crypt-private.h: Include stdbool.h.
15191         (_ufc_setup_salt_r): Return bool.
15192         * crypt/crypt-entry.c: Include errno.h.
15193         (__crypt_r): Return NULL with EINVAL for bad salt.
15194         * crypt/crypt_util.c (bad_for_salt): New.
15195         (_ufc_setup_salt_r): Check that salt is long enough and within
15196         the specified alphabet.
15197         * crypt/badsalttest.c: New file.
15198         * crypt/Makefile (tests): Add it.
15199         ($(objpfx)badsalttest): New.
15201 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15203         * NEWS: Add entry for BZ #14602.
15205 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15207         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15208         type-generic.
15209         * math/libm-test.inc: Update comment listing what functions and
15210         macros are tested.
15211         (isgreater_test): New function.
15212         (isgreaterequal_test): Likewise.
15213         (isless_test): Likewise.
15214         (islessequal_test): Likewise.
15215         (islessgreater_test): Likewise.
15216         (isunordered_test): Likewise.
15217         (main): Call the new functions.
15219 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15221         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15222         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15223         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15224         * sysdeps/i386/configure: Regenerated.
15225         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15226         * sysdeps/mach/configure: Regenerated.
15227         * sysdeps/mach/hurd/configure: Regenerated.
15228         * sysdeps/powerpc/configure: Regenerated.
15229         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15230         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15231         * sysdeps/s390/s390-32/configure: Regenerated.
15232         * sysdeps/s390/s390-64/configure: Regenerated.
15233         * sysdeps/sh/configure: Regenerated.
15234         * sysdeps/sparc/configure: Regenerated.
15235         * sysdeps/unix/sysv/linux/configure: Regenerated.
15236         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15237         * sysdeps/x86_64/configure: Regenerated.
15239         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15240         defined.  Don't check if MAP is NULL.
15242 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15244         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15245         (_G_stat64): Likewise.
15246         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15247         (_G_stat64): Likewise.
15248         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15249         instead of struct _G_stat64.
15250         * libio/fileops.c (mmap_remap_check): Likewise.
15251         (decide_maybe_mmap): Likewise.
15252         (_IO_new_file_seekoff): Likewise.
15253         (_IO_file_stat): Likewise.
15254         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15255         _G_off64_t.
15256         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15257         instead of struct _G_stat64.
15258         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15260 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15262         [BZ #14602]
15263         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15264         Replace with ...
15265         (CHECK_EOL): New macro.
15266         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15267         CHECK_EOL.
15268         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15269         Replace with CHECK_EOL.
15270         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15271         Replace with CHECK_EOL.
15273 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15275         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15276         type-generic.
15277         * math/libm-test.inc: Update comment listing what functions and
15278         macros are tested.
15279         (finite_test): New function.
15280         (isinf_test): Likewise.
15281         (isnan_test): Likewise.
15282         (fpclassify_test): Test subnormal input.
15283         (isfinite_test): Likewise.
15284         (isnormal_test): Likewise.
15285         (main): Call the new functions.
15287 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15289         [BZ #14660]
15290         * Makerules (%.dynsym): Force C locale when running
15291         $(OBJDUMP) --dynamic-syms.
15293 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15295         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15296         <stdint.h>.
15298 2012-10-06  David S. Miller  <davem@davemloft.net>
15300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15301         upper 32-bits of the length value in %o2 since we use branch-on-register
15302         tests which consider the entire 64-bit register.
15304 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15306         * string/test-strstr.c (check2): Add a test for page boundary.
15308 2012-10-05  David S. Miller  <davem@davemloft.net>
15310         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15311         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15312         file.
15313         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15314         sysdep_routines.
15315         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15316         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15317         and bzero when HWCAP_SPARC_CRYPTO is present.
15319 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15321         [BZ #14602]
15322         * string/test-strstr.c (check2): New function.
15323         (test_main): Call check2.
15325         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15326         and bug-strchr1.
15327         * string/bug-strcasestr1.c (do_test): Moved to ...
15328         * string/test-strcasestr.c (check1): Here.  New function.
15329         (do_one_test): Break out result checking code into ...
15330         (check_result): This.  New function.
15331         (do_one_test): Call check_result.
15332         (test_main): Call check1.
15333         * string/bug-strchr1.c (do_test): Moved to ...
15334         * string/test-strchr.c (check1): Here.  New function.
15335         (do_one_test): Break out result checking code into ...
15336         (check_result): This.  New function.
15337         (do_one_test): Call check_result.
15338         (test_main): Call check1.
15339         * string/bug-strstr1.c (main): Moved to ...
15340         * string/test-strstr.c (check1): Here.  New function.
15341         (do_one_test): Break out result checking code into ...
15342         (check_result): This.  New function.
15343         (do_one_test): Call check_result.
15344         (test_main): Call check1.
15345         * string/bug-strcasestr1.c: Removed.
15346         * string/bug-strchr1.c: Likewise.
15347         * string/bug-strstr1.c: Likewise.
15349         * elf/Makefile (dl-routines): Add hwcaps.
15350         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15351         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15352         (_dl_important_hwcaps): Moved to ...
15353         * elf/dl-hwcaps.c: Here.  New file.
15354         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15356         [BZ #14557]
15357         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15358         if IS_IN_rtld isn't defined.
15360         * elf/dl-support.c (_dl_sysinfo_map): New.
15361         Include "get-dynamic-info.h" and "setup-vdso.h".
15362         (_dl_non_dynamic_init): Call setup_vdso.
15363         * elf/dynamic-link.h: Don't include <assert.h>.
15364         (elf_get_dynamic_info): Moved to ...
15365         * elf/get-dynamic-info.h: Here.  New file.
15366         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15367         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15368         * elf/setup-vdso.h: Here.  New file.
15369         * elf/rtld.c: Include "setup-vdso.h".
15370         (dl_main): Call setup_vdso.
15372 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15374         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15375         creal in comment listing functions tested.  List finite, isinf,
15376         isnan, isless, islessequal, isgreater, isgreaterequal,
15377         islessgreater, isunordered, lgamma_r and pow10 as functions and
15378         macros not tested.  Mention which functions not tested are aliases
15379         for other functions.  Fix typo.  Note that signs of NaNs are not
15380         tested.
15382         * scripts/config.guess: Update from config.git.
15383         * scripts/config.sub: Likewise.
15385 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15387         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15388         * misc/madvise.c (madvise): Renamed to __madvise.
15389         Make madvise a weak alias.
15390         * include/sys/mman.h: Declare __madvise.
15391         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15392         * sysdeps/unix/syscalls.list
15393         (madvise): Make __madvise the strong name, and madvise a weak alias.
15394         * sysdeps/unix/sysv/linux/syscalls.list
15395         (madvise, mmap): Remove redundant entries.
15396         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15397         * malloc/malloc.c (mtrim): Likewise.
15398         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15400 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15402         * sysdeps/mach/hurd/dl-cache.c: File removed.
15403         * config.h.in (USE_LDCONFIG): New #undef.
15404         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15405         * configure: Regenerated.
15406         * elf/Makefile (dl-routines): Add dl-cache only under
15407         [$(use-ldconfig) = yes].
15408         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15409         cache on [USE_LDCONFIG].
15410         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15411         [USE_LDCONFIG].
15412         * elf/rtld.c (dl_main): Likewise.
15414 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15416         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15417         _SC_LEVEL4_CACHE_LINESIZE.
15419 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15421         * sysdeps/unix/bsd/confstr.h: File removed.
15423 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15425         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15426         sys/sdt-config.h.
15428 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15430         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15431         Make 'mapoff' field ElfW(Off) rather than off_t.
15433 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15435         * nscd/Makefile: Remove nscd-cflags and all its users.
15436         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15437         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15439         [BZ #10631]
15440         * malloc.c (malloc_printerr): Clarify error message.
15442 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15444         [BZ #14648]
15445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15446         Set bit_FMA_Usable if FMA is supported.
15447         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15448         macro.
15449         (bit_FMA4_Usable): Updated.
15450         (index_FMA_Usable): New macro.
15451         (CPUID_FMA): Likewise
15452         (HAS_FMA): Defined with bit_FMA_Usable.
15454 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15456         * bits/types.h (__swblk_t): Type removed.
15457         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15458         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15460         (__SWBLK_T_TYPE): Likewise.
15461         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15462         (__SWBLK_T_TYPE): Likewise.
15463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15464         (__SWBLK_T_TYPE): Likewise.
15465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15466         (__SWBLK_T_TYPE): Likewise.
15468 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15469             Honza Horak <hhorak@redhat.com>
15471         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15472         (xdr_mapname): Use YPMAXMAP as maxsize.
15473         (xdr_peername): Use YPMAXPEER as maxsize.
15474         (xdr_keydat): Use YPAXRECORD as maxsize.
15475         (xdr_valdat): Use YPMAXRECORD as maxsize.
15477 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15479         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15481         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15482         * csu/init-first.c: ... here.
15483         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15484         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15485         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15486         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15487         * sysdeps/i386/init-first.c: File removed.
15488         * sysdeps/sh/init-first.c: File removed.
15490 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15492         [BZ #14645]
15493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15494         if x * y might underflow to zero and z is zero.
15495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15497         * math/libm-test.inc (min_subnorm_value): New variable.
15498         (fma_test): Add more tests.
15499         (fma_test_towardzero): Likewise.
15500         (fma_test_downward): Likewise
15501         (fma_test_upward): Likewise.
15502         (initialize): Set min_subnorm_value.
15504 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15506         [BZ #14638]
15507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15508         0 + 0.
15509         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15510         mode for addition resulting in exact zero.
15511         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15513         exact 0 + 0.
15514         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15516         * math/libm-test.inc (fma_test): Add more tests.
15517         (fma_test_towardzero): New function.
15518         (fma_test_downward): Likewise.
15519         (fma_test_upward): Likewise.
15520         (main): Call the new functions.
15522 2012-09-28  David S. Miller  <davem@davemloft.net>
15524         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15526 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15528         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15529         instead of SIGALRM.
15531         * sysdeps/gnu/_G_config.h: Moved to ...
15532         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15533         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15534         * sysdeps/generic/_G_config.h: ... here.
15536         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15538         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15540         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15541         Conditionalize target on [libnss_test1.so-version].
15543         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15545         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15546         (elfobjdir): Move out of conditionals.
15548         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15549         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15550         (__nss_lookup_function): Conditionalize label remove_from_tree on
15551         [!DO_STATIC_NSS || SHARED], matching its only use.
15553 2012-09-28  David S. Miller  <davem@davemloft.net>
15555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15556         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15557         file.
15558         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15559         sysdep_routines.
15560         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15562         when HWCAP_SPARC_CRYPTO is present.
15564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15566         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15568 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15570         [BZ #6530]
15571         * stdio-common/vfprintf.c (process_string_arg): Revert
15572         2000-07-22 change.
15574 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15576         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15577         for testcase.
15578         * stdio-common/tst-sprintf.c: Include <locale.h>
15579         (main): Test sprintf's handling of incomplete multibyte
15580         characters.
15582 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15584         * elf/dl-runtime.c (VERSYMIDX): Removed.
15585         * elf/dl-version.c (VERSYMIDX): Likewise.
15586         * elf/do-rel.h (VERSYMIDX): Likewise.
15587         (VALIDX): Likewise.
15588         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15589         * elf/rtld.c (VALIDX): Likewise.
15590         (ADDRIDX): Likewise.
15591         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15592         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15593         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15594         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15595         (VALIDX): Likewise.
15596         (ADDRIDX): Likewise.
15598 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15600         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15602 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15604         [BZ #11438]
15605         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15606         to global scope.
15607         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15608         addresses are in the same scope as 192.0.2/24.
15609         * posix/gai.conf: Document new scope table defaults.
15611 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15613         [BZ #5298]
15614         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15615         for ftell.  Compute offsets from write pointers instead.
15616         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15618 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15620         [BZ #14543]
15621         * libio/Makefile (tests): New test case tst-fseek.
15622         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15623         combination works in wide mode.
15624         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15625         state when the external buffer state changes.
15627 2012-09-27  David S. Miller  <davem@davemloft.net>
15629         [BZ #14376]
15630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15631         pass reloc->r_addend in as the 'high' argument to
15632         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15636 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15638         * rt/tst-aio2.c: Include <pthread.h>.
15639         * rt/tst-aio3.c: Likewise.
15641 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15643         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15645 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15647         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15648         contents on [SHARED].
15650 2012-09-26  Marek Polacek  <polacek@redhat.com>
15652         [BZ #14530]
15653         [BZ #13741]
15654         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15655         for C++ and GCC <4.3 as well as for non GCC compilers.
15657 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15661 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15663         * Makefile.in (all, install): Declare with .PHONY.
15664         Reported by Michael Hope <michael.hope@linaro.org>.
15666 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15668         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15669         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15670         system header.
15671         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15672         Likewise.
15673         (sydep_routines): Add the new and the internal functions.
15674         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15675         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15677         (GLIBC_2.17): Add the new function.
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15679         (GLIBC_2.17): Likewise.
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15681         (GLIBC_2.17): Likewise.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15683         (GLIBC_2.17): Likewise.
15684         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15686 2012-09-25  Alan Modra  <amodra@gmail.com>
15688         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15689         Add release barrier before setting once_control to say
15690         initialisation is done.  Add hints on lwarx.  Use macro in
15691         place of isync.
15692         (clear_once_control): Add release barrier.
15694 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15696         [BZ #13629]
15697         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15698         specially.
15699         * math/s_clog10.c (__clog10): Likewise.
15700         * math/s_clog10f.c (__clog10f): Likewise.
15701         * math/s_clog10l.c (__clog10l): Likewise.
15702         * math/s_clogf.c (__clogf): Likewise.
15703         * math/s_clogl.c (__clogl): Likewise.
15704         * math/Makefile (libm-calls): Add x2y2m1.
15705         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15706         (__x2y2m1): Likewise.
15707         (__x2y2m1l): Likewise.
15708         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15709         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15710         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15711         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15712         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15713         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15714         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15715         * sysdeps/i386/fpu/libm-test-ulps: Update.
15716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15718         [BZ #14621]
15719         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15720         int as type of variable DEPTH.
15721         (glob): Use size_t instead of int as type of variables NEWCOUNT
15722         and OLD_PATHC.
15724 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15726         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15727         Add s_sincosf-sse2.
15728         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15729         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15730         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15731         macros for using routine as __sincosf_ia32.
15732         Use macro for function declaration and weak_alias.
15733         * sysdeps/i386/fpu/libm-test-ulps: Update.
15735         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15738         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15739         subnormal argument.
15740         * math/s_cexpf.c (__cexpf): Likewise.
15741         * math/s_csinf.c (__csinf): Likewise.
15742         * math/s_csinhf.c (__csinhf): Likewise.
15743         * math/s_ctanf.c (__ctanf): Likewise.
15744         * math/s_ctanhf.c (__ctanhf): Likewise.
15745         * math/s_ccosh.c (__ccoshf): Likewise.
15746         * math/s_cexp.c (__cexpl): Likewise.
15747         * math/s_csin.c (__csin): Likewise.
15748         * math/s_csinh.c (__csinh): Likewise.
15749         * math/s_ctan.c (__ctan): Likewise.
15750         * math/s_ctanh.c (ctanh): Likewise.
15751         * math/s_ccoshl.c (__ccoshl): Likewise.
15752         * math/s_cexpl.c (__cexpl): Likewise.
15753         * math/s_csinl.c (__csinl): Likewise.
15754         * math/s_csinhl.c (__csinhl): Likewise.
15755         * math/s_ctanl.c (__ctanl): Likewise.
15756         * math/s_ctanhl.c (__ctanhl): Likewise.
15758 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15760         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15761         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15762         (_IO_off_t): Define to __off_t, not _G_off_t.
15763         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15764         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15765         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15766         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15767         type of __dummy and __dummy2 fields.
15768         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15769         (_G_ssize_t): Likewise.
15770         (_G_off_t): Likewise.
15771         (_G_pid_t): Likewise.
15772         (_G_uid_t): Likewise.
15773         (_G_wchar_t): Likewise.
15774         (_G_wint_t): Likewise.
15775         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15776         (_G_ssize_t): Likewise.
15777         (_G_off_t): Likewise.
15778         (_G_pid_t): Likewise.
15779         (_G_uid_t): Likewise.
15780         (_G_wchar_t): Likewise.
15781         (_G_wint_t): Likewise.
15782         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15783         (_G_ssize_t): Likewise.
15784         (_G_off_t): Likewise.
15785         (_G_pid_t): Likewise.
15786         (_G_uid_t): Likewise.
15787         (_G_wchar_t): Likewise.
15788         (_G_wint_t): Likewise.
15790 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15792         * malloc/arena.c: Include malloc-sysdep.h.
15793         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15794         is sufficient to shrink the heap or an unmap is needed.
15795         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15796         new function check_may_shrink_heap.
15797         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15798         new function check_may_shrink_heap.
15800 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15802         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15803         comments.
15805 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15807         * catgets/test-gencat.sh: Add "set -e".
15808         * elf/tst-pathopt.sh: Likewise.
15809         * grp/tst_fgetgrent.sh: Likewise.
15810         * iconvdata/run-iconv-test.sh: Likewise.
15811         * intl/tst-gettext.sh: Likewise.
15812         * intl/tst-gettext2.sh: Likewise.
15813         * intl/tst-gettext4.sh: Likewise.
15814         * intl/tst-gettext6.sh: Likewise.
15815         * intl/tst-translit.sh: Likewise.
15816         * io/ftwtest-sh: Likewise.
15817         * libio/test-freopen.sh: Likewise.
15818         * malloc/tst-mtrace.sh: Likewise.
15819         * posix/globtest.sh: Likewise.
15820         * posix/tst-getconf.sh: Likewise.
15821         * posix/wordexp-tst.sh: Likewise.
15822         * stdio-common/tst-printf.sh: Likewise.
15823         * stdio-common/tst-unbputc.sh: Likewise.
15824         * stdlib/tst-fmtmsg.sh: Likewise.
15825         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15826         * catgets/Makefile: Do not specify -e option when running
15827         testsuite shell scripts.
15828         * elf/Makefile: Likewise.
15829         * grp/Makefile: Likewise.
15830         * iconvdata/Makefile: Likewise.
15831         * intl/Makefile: Likewise.
15832         * io/Makefile: Likewise.
15833         * libio/Makefile: Likewise.
15834         * malloc/Makefile: Likewise.
15835         * posix/Makefile: Likewise.
15836         * stdio-common/Makefile: Likewise.
15837         * stdlib/Makefile: Likewise.
15838         * sysdeps/x86_64/Makefile: Likewise.
15840         * io/ftwtest-sh: Add copyright header.
15841         * posix/globtest.sh: Likewise.
15842         * posix/tst-getconf.sh: Likewise.
15843         * posix/wordexp-tst.sh: Likewise.
15844         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15846 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15848         [BZ #13679]
15849         * Makeconfig (+link): Defined as $(+link-static) if
15850         $(build-shared) isn't yes.
15851         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15852         isn't yes.
15853         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15855         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15857         [BZ #14562]
15858         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15859         new chunk size with MALLOC_ALIGN_MASK.
15861 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15863         [BZ #5044]
15864         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15865         <rounding-mode.h>.
15866         (__printf_fphex): Determine rounding using get_rounding_mode and
15867         round_away.
15868         * stdio-common/tst-printf-round.c (struct hex_test): New
15869         structure.
15870         (hex_tests): New variable.
15871         (test_hex_in_one_mode): New function.
15872         (do_test): Also run tests for hex float output.
15874 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15876         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15877         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15878         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15879         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15880         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15881         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15882         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15885 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15887         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15888         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15889         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15890         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15892 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15894         [BZ #14579]
15895         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15896         mode only.
15897         * elf/tst-rtld-load-self.sh: New test.
15898         * elf/Makefile: Run it.
15900 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15902         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15903         (tst-writev-ENV): Remove.
15904         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15906 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15908         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15910 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15912         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15913         unconditional.
15914         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15915         Likewise.
15916         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15917         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15918         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15919         Likewise.
15921 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15923         [BZ #14587]
15924         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15925         * config.make.in (have-cpp-asm-debuginfo): Removed.
15926         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15927         * configure: Regenerated.
15929 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15931         [BZ #5044]
15932         * stdio-common/printf_fp.c: Include <stdbool.h> and
15933         <rounding-mode.h>.
15934         (___printf_fp): Determine rounding using get_rounding_mode and
15935         round_away.
15936         * stdio-common/tst-printf-round.c: New file.
15937         * stdio-common/Makefile (tests): Add tst-printf-round.
15938         (link-libm): New variable.
15939         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15941 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15943         [BZ #14576]
15944         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15945         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15946         Likewise.
15947         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15948         Likewise.
15950 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15952         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15953         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15954         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15955         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15957 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15959         [BZ #14518]
15960         * include/rounding-mode.h: New file.
15961         * sysdeps/generic/get-rounding-mode.h: Likewise.
15962         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15963         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15964         (MAX_VALUE): New macro.
15965         (MIN_VALUE): Likewise.
15966         (overflow_value): New function.
15967         (underflow_value): Likewise.
15968         (round_and_return): Use overflow_value and underflow_value to
15969         determine return values in overflow and underflow cases.  Use
15970         round_away to determine rounding depending on rounding mode.
15971         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15972         determine return values in overflow and underflow cases.
15973         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15974         (struct test_results): New structure.
15975         (struct test): Use struct test_results to store expected results
15976         for all rounding modes.
15977         (TEST): Include expected results for all rounding modes.
15978         (test_in_one_mode): New function.
15979         (do_test): Use test_in_one_mode to compute and check results.
15980         Check results for all rounding modes.
15981         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15982         $(link-libm).
15984 2012-12-09  Allan McRae  <allan@archlinux.org>
15986         * sysdeps/i386/fpu/libm-test-ulps: Update
15988 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15990         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15991         (_G_int32_t): Likewise.
15992         (_G_uint16_t): Likewise.
15993         (_G_uint32_t): Likewise.
15994         (_G_HAVE_BOOL): Likewise.
15995         (_G_HAVE_ATEXIT): Likewise.
15996         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15997         (_G_HAVE_IO_FILE_OPEN): Likewise.
15998         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15999         (_G_int32_t): Likewise.
16000         (_G_uint16_t): Likewise.
16001         (_G_uint32_t): Likewise.
16002         (_G_HAVE_BOOL): Likewise.
16003         (_G_HAVE_ATEXIT): Likewise.
16004         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16005         (_G_HAVE_IO_FILE_OPEN): Likewise.
16006         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16007         (_G_int32_t): Likewise.
16008         (_G_uint16_t): Likewise.
16009         (_G_uint32_t): Likewise.
16010         (_G_HAVE_BOOL): Likewise.
16011         (_G_HAVE_ATEXIT): Likewise.
16012         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16013         (_G_HAVE_IO_FILE_OPEN): Likewise.
16015 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16017         * csu/libc-tls.c: Update copyright years.
16019 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16021         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16022         [!_G_USING_THUNKS]: Remove conditional code.
16023         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16024         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16026         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16027         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16028         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16029         (_G_VTABLE_LABEL_PREFIX): Likewise.
16030         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16031         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16032         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16033         (_G_VTABLE_LABEL_PREFIX): Likewise.
16034         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16035         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16036         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16037         (_G_VTABLE_LABEL_PREFIX): Likewise.
16038         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16040 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16042         * libio/Makefile: Include ../Makeconfig before tests.
16043         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16044         only if $(build-shared) is yes.
16046         * iconv/gconv_db.c: Update copyright years.
16048 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16050         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16051         unwind info if defined PIC. Fix special cases description.
16052         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16054         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16055         DP_HI_MASK entry.
16056         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16058 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16060         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16062         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16063         is NULL.
16065         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16066         (LDLIBS-tst-chk4): This.
16067         (LDFLAGS-tst-chk5): Renamed to ...
16068         (LDLIBS-tst-chk5): This.
16069         (LDFLAGS-tst-chk6): Renamed to ...
16070         (LDLIBS-tst-chk6): This.
16071         (LDFLAGS-tst-lfschk4): Renamed to ...
16072         (LDLIBS-tst-lfschk4): This.
16073         (LDFLAGS-tst-lfschk5): Renamed to ...
16074         (LDLIBS-tst-lfschk5): This.
16075         (LDFLAGS-tst-lfschk6): Renamed to ...
16076         (LDLIBS-tst-lfschk6): This.
16078         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16079         on $(common-objpfx)soversions.mk.
16081 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16083         [BZ #10014]
16084         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16085         example host name.
16087 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16089         * malloc/arena.c (arena_get_retry): New function that gets
16090         another arena for the caller to try its request on.
16091         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16092         current arena cannot fulfill the request.
16093         (__libc_memalign): Likewise.
16094         (__libc_memalign): Likewise.
16095         (__libc_pvalloc): Likewise.
16096         (__libc_calloc): Likewise.
16098 2012-09-05  John Tobey  <john.tobey@gmail.com>
16100         [BZ #13542]
16101         * manual/arith.texi (Operations on Complex): Fix description
16102         of carg branch cut.
16104 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16106         [BZ #10014]
16107         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16108         host name.
16110         [BZ #10038]
16111         * manual/memory.texi (Memory): Make order of menu items match
16112         order of sections.
16114 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16116         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16117         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16118         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16120 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16122         * csu/libc-tls.c (static_dtv): Renamed to ...
16123         (_dl_static_dtv): This.  Make it global.
16124         (_dl_initial_dtv): Removed.
16125         (__libc_setup_tls): Updated.
16126         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16127         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16128         DL_INITIAL_DTV.
16130 2012-09-06  Petr Machata  <pmachata@redhat.com>
16132         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16133         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16134         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16135         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16137 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16139         [BZ #14545]
16140         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16141         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16142         freeing dtv[-1].
16144 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16146         [BZ #14544]
16147         * Makeconfig (link-static-before-libc): Replace $(+prector)
16148         with $(+prectorT).
16149         (link-static-after-libc): Replace $(+postctor) with
16150         $(+postctorT).
16151         (link-bounded): Replace $(+prector)/$(+postctor) with
16152         $(+prectorT)/$(+postctorT).
16153         (+prectorT): New macro.
16154         (+postctorT): Likewise.
16156 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16158         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16159         (round_str): Handle values above the maximum for IBM long double
16160         as inexact.
16161         * stdlib/tst-strtod-round.c (tests): Regenerated.
16163 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16165         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16166         assembler flag.
16167         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16168         zarch_nohighgprs around the zarch optimized routines.
16169         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16170         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16172         for zarch.
16174 2012-09-05  David S. Miller  <davem@davemloft.net>
16176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16178         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16179         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16180         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16181         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16182         entries.
16184 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16186         * malloc/arena.c: Fold copyright years.
16187         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16189 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16191         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16193 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16195         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16197 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16199         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16200         change internal state upon failure.
16202 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16204         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16205         * malloc/memusage.c (mmap): Likewise.
16206         (mmap64, mremap): Likewise.  Adjust name in comment.
16208 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16210         * libio/fileops.c: Fix typos in comments.
16211         * libio/oldfileops.c: Likewise.
16212         * libio/wfileops.c: Likewise.
16214 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16216         [BZ #1349]
16217         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16218         (tst-malloc-usable-ENV): Set environment for test case.
16219         * malloc/hooks.c (malloc_check_get_size): New function to get
16220         requested size.
16221         * malloc/malloc.c (musable): Use malloc_check_get_size.
16222         * malloc/tst-malloc-usable.c: New test case.
16224 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16226         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16228 2012-09-05  Allan McRae  <allan@archlinux.org>
16230         [BZ #13966]
16231         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16232         determine header location.
16233         * configure: Regenerated.
16235 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16237         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16238         float format.
16239         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16240         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16241         format.
16242         (test): Regenerate.
16244 2012-09-04  David S. Miller  <davem@davemloft.net>
16246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16248         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16250 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16252         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16253         failures.
16255         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16257 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16259         [BZ #9914]
16260         * libio/iogetdelim.c: Include <limits.h>.
16261         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16262         + len + 1 would overflow.
16264 2012-09-03  Andreas Jaeger  <aj@suse.de>
16266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16267         * sysdeps/i386/fpu/libm-test-ulps: Update.
16269 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16271         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16272         Add s_sinf-sse2, s_conf-sse2.
16274         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16275         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16276         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16277         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16279         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16280         for using routine as __sinf_ia32.
16281         Use macro for function declaration and weak_alias.
16282         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16283         for using routine as __cosf_ia32.
16284         Use macro for function declaration and weak_alias.
16286         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16287         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16289         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16290         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16293         * math/libm-test.inc (cos_test): Add more test cases.
16294         (sin_test): Likewise.
16295         (sincos_test): Likewise.
16297 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16300         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16301         hidden.
16302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16304 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16306         [BZ #14538]
16307         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16308         first element of the GOT.
16309         (elf_machine_load_address): Return the difference between
16310         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16312 2012-09-01  Allan McRae  <allan@archlinux.org>
16314         [BZ #13412]
16315         * configure.in (AWK): Require gawk version 3.0 or later.
16316         * configure: Regenerated.
16318 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16320         * sysdeps/unix/sysv/linux/kernel-features.h
16321         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16322         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16323         [__NR_clock_getres]: Make code unconditional.
16324         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16325         (clock_getcpuclockid): Remove code left unreachable by removal of
16326         conditionals.
16327         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16328         code unconditional.
16329         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16330         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16331         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16332         Make code unconditional.
16333         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16334         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16335         * sysdeps/unix/sysv/linux/clock_settime.c
16336         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16337         conditional code.
16338         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16339         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16341 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16343         [BZ #14476]
16344         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16345         scripts/test-installation.pl.
16347         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16348         and $ld_so_version if it is set.
16350 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16352         [BZ #14516]
16353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16354         failure if reading from procfs failed.
16355         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16359         * sysdeps/unix/sysv/linux/kernel-features.h
16360         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16361         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16362         Remove conditional code.
16363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16364         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16365         Remove conditional code.
16366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16367         * sysdeps/unix/sysv/linux/i386/fxstat.c
16368         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16370         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16371         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16373         * sysdeps/unix/sysv/linux/i386/lxstat.c
16374         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16376         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16377         Remove conditional code.
16378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16379         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16380         Remove conditional code.
16381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16382         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16383         <kernel-features.h>.
16384         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16385         Remove.
16386         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16387         Remove conditional code.
16388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16389         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16390         Remove conditional.
16392 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16394         [BZ #5400]
16395         * NEWS: Add fixed bug number.
16397 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16399         [BZ #14519]
16400         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16401         underflowing exponent in case of negative sign.
16402         * stdlib/tst-strtod-round-data: Add more tests.
16403         * stdlib/tst-strtod-round.c (tests): Regenerated.
16405         [BZ #3479]
16406         * stdlib/strtod_l.c (NDIG): Remove.
16407         (HEXNDIG): Likewise.
16408         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16409         smallest representable value.
16410         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16411         lie within an exact representation of 1/2 ulp of the result.
16412         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16413         unconditionally.
16414         (TENS_P9_IDX): Define unconditionally.
16415         (TENS_P9_SIZE): Likewise.
16416         (TENS_P10_IDX): Likewise.
16417         (TENS_P10_SIZE): Likewise.
16418         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16419         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16420         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16421         entries for 10^2^13 and 10^2^14.
16422         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16423         (TENS_P13_IDX): Define.
16424         (TENS_P13_SIZE): Likewise.
16425         (TENS_P14_IDX): Likewise.
16426         (TENS_P14_SIZE): Likewise.
16427         (_fpioconst_pow10): Change array size to
16428         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16429         unconditional.
16430         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16431         1024]: Add entries for 10^2^13 and 10^2^14.
16432         [LAST_POW10 > _LAST_POW10]: Remove #error.
16433         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16434         (_fpioconst_pow10): Change array size to
16435         FPIOCONST_POW10_ARRAY_SIZE.
16436         * stdlib/gen-fpioconst.c: New file.
16437         * stdlib/gen-tst-strtod-round.c: Likewise.
16438         * stdlib/tst-strtod-round-data: Likewise.
16439         * stdlib/tst-strtod-round.c: Likewise.
16440         * stdlib/Makefile (tests): Add tst-strtod-round.
16442         [BZ #14459]
16443         * stdlib/strtod_l.c: Include <stdint.h>.
16444         (NDEBUG): Do not define.
16445         (round_and_return): Change EXPONENT parameter to type intmax_t.
16446         Rearrange calculations to avoid internal overflow possibilities.
16447         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16448         Rearrange calculations to avoid internal overflow possibilities.
16449         Assert that number fits inside MPNSIZE limbs.
16450         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16451         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16452         calculations and add assertions to avoid internal overflow
16453         possibilities.  Add casts to avoid signed/unsigned operations.
16454         * stdlib/tst-strtod-overflow.c: New file.
16455         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16457 2012-08-25  Marek Polacek  <polacek@redhat.com>
16459         * time/time.h: Fix some typos in comments.
16461 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16463         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16464         * posix/tst-rfc3484-2.c: Likewise.
16465         * posix/tst-rfc3484-3.c: Likewise.
16467 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16469         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16470         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16472 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16474         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16475         #include of fxstatat64.c.
16477 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16479         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16480         * shadow/getspent_r.c: Likewise.
16481         * shadow/getspnam.c: Likewise.
16482         * shadow/getspnam_r.c: Likewise.
16483         * gshadow/getsgent.c: Likewise.
16484         * gshadow/getsgent_r.c: Likewise.
16485         * gshadow/getsgnam.c: Likewise.
16486         * gshadow/getsgnam_r.c: Likewise.
16487         * inet/getnetbyad.c: Likewise.
16488         * inet/getnetbyad_r.c: Likewise.
16489         * inet/getnetbynm.c: Likewise.
16490         * inet/getnetbynm_r.c: Likewise.
16491         * inet/getnetent.c: Likewise.
16492         * inet/getnetent_r.c: Likewise.
16493         * inet/getproto.c: Likewise.
16494         * inet/getproto_r.c: Likewise.
16495         * inet/getprtent.c: Likewise.
16496         * inet/getprtent_r.c: Likewise.
16497         * inet/getprtname.c: Likewise.
16498         * inet/getprtname_r.c: Likewise.
16499         * inet/getrpcbyname.c: Likewise.
16500         * inet/getrpcbyname_r.c: Likewise.
16501         * inet/getrpcbynumber.c: Likewise.
16502         * inet/getrpcbynumber_r.c: Likewise.
16503         * inet/getrpcent.c: Likewise.
16504         * inet/getrpcent_r.c: Likewise.
16505         * inet/getaliasent.c: Likewise.
16506         * inet/getaliasent_r.c: Likewise.
16507         * inet/getaliasname.c: Likewise.
16508         * inet/getaliasname_r.c: Likewise.
16509         * nscd/getgrgid_r.c: Likewise.
16510         * nscd/getgrnam_r.c: Likewise.
16511         * nscd/gethstbyad_r.c: Likewise.
16512         * nscd/gethstbynm3_r.c: Likewise.
16513         * nscd/getpwnam_r.c: Likewise.
16514         * nscd/getpwuid_r.c: Likewise.
16515         * nscd/getsrvbynm_r.c: Likewise.
16516         * nscd/getsrvbypt_r.c: Likewise.
16517         * nscd/gai.c: Likewise.
16519         * configure.in (build_nscd): New substituted variable, set
16520         by --disable-build-nscd and defaults to $use_nscd.
16521         * configure: Regenerated.
16522         * config.make.in (build-nscd): New substituted variable.
16523         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16524         Change conditional to require [$(build-nscd) = yes] as well.
16525         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16527         [BZ# 13696]
16528         * configure.in (use_nscd): New substituted variable, set by
16529         --disable-nscd.  If enabled, define USE_NSCD.
16530         * configure: Regenerated.
16531         * config.h.in: Add USE_NSCD.
16532         * config.make.in (use-nscd): New substituted variable.
16533         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16534         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16535         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16536         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16537         (CFLAGS-getgrnam_r.c): Likewise.
16538         (CFLAGS-initgroups.c): Likewise.
16539         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16540         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16541         Variables removed.
16542         * inet/getnetgrent_r.c
16543         (nscd_setnetgrent): New function, broken out of ...
16544         (setnetgrent): ... here.  Call it.
16545         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16546         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16547         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16548         * nscd/Makefile (routines, aux): Move definitions after include of
16549         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16550         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16551         Conditionalize on [USE_NSCD].
16552         (is_nscd, nscd_init_cb): Likewise.
16553         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16554         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16555         * nss/nss_db/db-init.c: Likewise.
16556         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16557         [USE_NSCD].
16558         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16559         (make_request): Use it.
16560         (cache_valid_p): New function.
16561         (__check_pf): Use it.
16562         * NEWS: Add item for --disable-nscd.
16564 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16566         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16567         to support sed >= 4.2.1-20-ga9bf076.
16568         * configure: Regenerated.
16570 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16572         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16573         Conditionalize whole body on [IREL].
16575 2012-08-22  Jeff Law <law@redhat.com>
16577         [BZ #14505]
16578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16579         if the family is PF_UNSPEC.
16581 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16583         * Makerules (lib-version): Rename from V.
16584         (install-lib-nosubdir): Change V to lib-version.
16586 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16588         [BZ #14252]
16589         * powerpc32/power6/wcschr.c: New file.
16590         * powerpc32/power6/wcscpy.c: New file.
16591         * powerpc32/power6/wcsrchr.c: New file.
16592         * powerpc64/power6/wcschr.c: New file.
16593         * powerpc64/power6/wcscpy.c: New file.
16594         * powerpc64/power6/wcsrchr.c: New file.
16596 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16598         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16599         (two_way_short_needle): Use it.
16600         * string/strstr.c (AVAILABLE1_USES_J): Define.
16601         * string/strcasestr.c: Likewise.
16603         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16604         array references.
16605         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16607         [BZ #11607]
16608         * NEWS: Add an entry.
16609         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16610         define their defaults.
16611         (two_way_short_needle): Detect end-of-string on-the-fly.
16612         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16613         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16614         * string/bug-strcasestr1.c: New test.
16615         * string/Makefile: Run it.
16617 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16619         [BZ #11607]
16620         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16621         the first character.
16623 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16625         * csu/elf-init.c (__libc_csu_irel): Function removed.
16626         * csu/libc-start.c (apply_irel): New function.
16627         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16629 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16631         * sysdeps/unix/sysv/linux/kernel-features.h
16632         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16633         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16634         <kernel-features.h>.
16635         [__NR_fadvise64_64]: Make code unconditional.
16636         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16637         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16638         !__NR_fadvise64_64)]: Likewise.
16639         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16640         !__NR_fadvise64_64))]: Likewise.
16641         [__NR_fadvise64]: Make code unconditional.
16642         [!__NR_fadvise64]: Remove conditional code.
16643         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16644         <kernel-features.h>.
16645         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16646         unconditional.
16647         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16648         conditional code.
16649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16650         not include <kernel-features.h>.
16651         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16652         unconditional.
16653         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16654         conditional code.
16655         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16656         include <kernel-features.h>.
16657         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16658         unconditional.
16659         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16660         conditional code.
16662 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16664         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16665         slight instruction rearrangements per scrollpipe analysis.
16666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16668 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16670         * manual/syslog.texi (syslog; vsyslog, closelog):
16671         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16672         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16674         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16675         DSOCAPS to match condition on defining it.
16677 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16679         * sysdeps/unix/sysv/linux/kernel-features.h
16680         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16682         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16683         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16685         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16686         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16688         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16689         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16691         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16692         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16694         * sysdeps/unix/sysv/linux/kernel-features.h
16695         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16696         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16697         unconditional.
16698         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16699         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16700         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16701         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16702         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16703         Make code unconditional.
16704         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16705         (__mmap64) [!__NR_mmap2]: Likewise.
16706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16707         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16708         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16709         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16710         [__NR_mmap2]: Make code unconditional.
16711         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16712         (__mmap64) [!__NR_mmap2]: Likewise.
16714 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16716         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16718 2012-08-18  Andreas Jaeger  <aj@suse.de>
16720         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16722 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16724         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16725         * include/unistd.h (__have_sock_cloexec): Likewise.
16726         (__have_pipe2): Likewise.
16727         (__have_dup3): Likewise.
16729 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16731         [BZ #9685]
16732         * include/unistd.h (__have_pipe2): Change define into an extern int.
16733         (__have_dup3): Likewise.
16734         * socket/have_sock_cloexec.c: Include fcntl.h.
16735         (__have_pipe2): New variable.
16736         (__have_dup3): Likewise.
16738 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16740         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16742 2012-08-17  Marek Polacek  <polacek@redhat.com>
16744         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16745         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16747 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16749         * configure.in: Add AC_SUBST for sysheaders.
16750         * configure: Regenerated.
16751         * config.make.in (sysheaders): New substituted variable.
16753         * sysdeps/unix/mkfifo.c: Moved ...
16754         * sysdeps/posix/mkfifo.c: ... here.
16755         * sysdeps/unix/mkfifoat.c: Moved ...
16756         * sysdeps/posix/mkfifoat.c: ... here.
16758         * sysdeps/unix/utime.c: Moved ...
16759         * sysdeps/posix/utime.c: ... here.
16761         * sysdeps/unix/time.c: Moved ...
16762         * sysdeps/posix/time.c: ... here.
16763         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16764         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16766         * sysdeps/unix/nice.c: Moved ...
16767         * sysdeps/posix/nice.c: ... here.
16769         * sysdeps/unix/alarm.c: Moved ...
16770         * sysdeps/posix/alarm.c: ... here.
16772         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16774 2012-08-17  Jeff Law <law@redhat.com>
16776         * intl/Makefile (codeset_mo): New variable.
16777         ($(codeset_mo)): New target.
16778         (tst-codeset.out): Depend on that.  Remove explicit rule.
16779         (tst-gettext3.out, tst-gettext5.out): Likewise.
16780         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16781         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16782         * intl/tst-codeset.sh: Remove.
16783         * intl/tst-gettext3.sh: Likewise.
16784         * intl/tst-gettext5.sh: Likewise.
16786 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16788         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16789         * sysdeps/unix/syscalls.list: ... here.
16791         * sysdeps/posix/getaddrinfo.c
16792         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16793         (gaiconf_init, gaiconf_reload): Use them.
16794         [!_STATBUF_ST_NSEC]
16795         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16796         Define using time_t rather than struct timespec.
16798         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16799         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16800         Macros removed.
16801         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16802         [!NO_THREADS].
16803         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16804         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16805         Likewise.
16807         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16808         __libc_cleanup_push argument.
16810         * bits/param.h: New file.
16811         * misc/sys/param.h: New file.
16812         * include/sys/param.h: New file.
16813         * misc/Makefile (headers): Add bits/param.h.
16814         * sysdeps/generic/sys/param.h: File removed.
16815         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16816         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16817         * sysdeps/mach/hurd/bits/param.h: New file.
16818         * sysdeps/mach/hurd/sys/param.h: File removed.
16820         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16821         last change.
16823         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16824         [_IO_MTSAFE_IO].
16825         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16826         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16827         New macros.
16829         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16830         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16831         rather than -D_IO_MTSAFE_IO conditionally.
16832         * stdio-common/Makefile (CPPFLAGS): Likewise.
16833         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16834         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16835         Use $(libio-mtsafe).
16836         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16837         of -D_IO_MTSAFE_IO.
16838         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16839         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16840         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16841         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16842         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16843         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16844         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16845         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16846         (CFLAGS-fread_u_chk.c): Likewise.
16847         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16848         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16849         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16850         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16851         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16852         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16853         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16854         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16855         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16857         * libio/Makefile: Test [$(libc-reentrant) = yes]
16858         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16860         * Makeconfig
16861         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16862         * sysdeps/pthread/configure: File removed.
16863         * sysdeps/pthread/Makeconfig: New file.
16864         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16865         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16867 2012-08-16  Gary Benson  <gbenson@redhat.com>
16869         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16870         unmapping the first object in a namespace.
16872 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16874         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16875         (__internal_setnetgrent): ... this.  Add internal_function to
16876         definition.  Add libc_hidden_def.
16877         (setnetgrent): Update caller.
16878         (internal_endnetgrent): Renamed to ...
16879         (__internal_endnetgrent): ... this.  Add internal_function to
16880         definition.  Add libc_hidden_def.
16881         (endnetgrent): Update caller.
16882         (internal_getnetgrent_r): Renamed to ...
16883         (__internal_getnetgrent_r): ... this.  Add internal_function to
16884         definition.  Add libc_hidden_def.
16885         (__getnetgrent_r): Update caller.
16886         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16888 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16890         * stdlib/longlong.h: Update from GCC.
16892 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16894         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16895         on _QL, which is set by umul_ppmm but never used.
16896         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16897         variables, which are set by GMP macros but never used.
16898         * stdio-common/_itowa.c (_itowa): Likewise.
16899         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16900         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16902 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16904         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16905         struct La_sh_regs is not constant.
16906         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16907         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16908         and struct La_sparc64_regs are not constant.
16910 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16912         * sysdeps/unix/sysv/linux/kernel-features.h
16913         (__ASSUME_POSIX_TIMERS): Remove.
16914         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16915         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16916         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16917         Make code unconditional.
16918         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16919         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16920         Make code unconditional.
16921         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16922         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16923         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16924         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16925         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16926         Make code unconditional.
16927         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16928         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16929         (__libc_missing_posix_timers): Remove.
16931 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16933         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16934         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16936         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16938         * elf/dl-sym.c: Include <stdlib.h>.
16940         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16941         constants, which avoids warnings in 32-bit builds.
16943         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16944         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16946         * misc/lseek.c: File moved to ...
16947         * io/lseek.c: ... here.
16949         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16951         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16952         shifting LEN more than 31 bits at once.
16954 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16956         [BZ #14195]
16957         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16958         segmentation fault for a case of two empty input strings.
16959         * string/test-strncasecmp.c (check1): Renamed to...
16960         (bz12205): ...this.
16961         (bz14195): Add new testcase for two empty input strings and N > 0.
16962         (test_main): Call new testcase, adapt for renamed function.
16964 2012-08-15  Andreas Jaeger  <aj@suse.de>
16966         [BZ #14090]
16967         * crypt/md5test2.c: New test, based on test supplied by Serge
16968         Belyshev <belyshev@depni.sinp.msu.ru>.
16969         * crypt/Makefile (xtests): Add md5test-giant..
16970         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16972 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16974         [BZ #14090]
16975         * crypt/md5.c (md5_process_block): Don't assume the buffer
16976         length is less than 2**32.
16977         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16978         length is less than 2**64.
16980 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16982         * string/str-two-way.h: Include <sys/param.h>.
16983         (MAX): Macro removed.
16985         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16986         Move #define and #undef of memmove to just before and after
16987         including <string.h>.
16989         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16990         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16991         and after including <string.h>.  Move declarations of
16992         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16993         to before #include "string/memmove.c".
16995         * include/dirent.h: Declare __getdirentries.
16997         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16998         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17000 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17002         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17003         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17004         * sysdeps/i386/configure: Regenerated.
17005         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17006         STABS_CURRENT_FILE, and STABS_FUN.
17007         (END): Remove call to STABS_FUN_END.
17008         (STABS_CURRENT_FILE1): Delete.
17009         (STABS_CURRENT_FILE): Likewise.
17010         (STABS_FUN): Likewise.
17011         (STABS_FUN_END): Likewise.
17012         (STABS_FUN2): Likewise.
17013         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17014         * sysdeps/x86_64/configure: Regenerated.
17016 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17018         * elf/dl-open.c: Include <atomic.h>.
17019         * elf/dl-lookup.c: Likewise.
17021 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17023         * sysdeps/unix/sysv/linux/kernel-features.h
17024         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17025         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17026         unconditionally.
17027         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17028         unconditionally.
17029         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17030         condition on __ASSUME_CLONE_THREAD_FLAGS.
17032 2012-08-14  Andreas Jaeger  <aj@suse.de>
17034         * sysdeps/i386/fpu/libm-test-ulps: Update.
17036 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17038         * include/atomic.h (atomic_exchange_and_add): Split into ...
17039         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17040         New atomic macros.
17042 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17046 2012-08-13  Jeff Law <law@redhat.com>
17048         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17049         null byte in the output string.
17051 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17053         * sysdeps/unix/sysv/linux/kernel-features.h
17054         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17055         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17056         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17057         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17058         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17059         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17060         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17062 2012-08-09  Jeff Law <law@redhat.com>
17064         [BZ #13939]
17065         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17066         When avoid_arena is set, don't retry in the that arena.  Pick the
17067         next one, whatever it might be.
17068         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17069         (arena_lock): Pass in new parameter to arena_get2.
17070         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17071         arena_get2.
17072         (__libc_malloc): Unify retrying after main arena failure with
17073         __libc_memalign version.
17074         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17076 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17078         [BZ #14166]
17079         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17080         to __redirect_strstr.
17081         (__strstr_sse42): Use typeof __redirect_strstr.
17082         (__strstr_ia32): Likewise.
17083         (__libc_strstr): New prototype.
17084         (strstr): Renamed to ...
17085         (__libc_strstr): This.
17086         (strstr): New strong alias of __libc_strstr.
17087         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17088         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17089         __redirect_time.
17090         Include <time.h>.
17091         (__libc_time): New prototype.
17092         (time_ifunc): Replace time with __libc_time.
17093         (time): New strong alias and hidden definition of __libc_time.
17094         (__GI_time): Remove strong alias.
17095         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17096         Include <stddef.h>.
17097         (memmove): Redefined to __redirect_memmove.
17098         (__memmove_sse2): Use typeof __redirect_memmove.
17099         (__memmove_ssse3): Likewise.
17100         (__memmove_ssse3_back): Likewise.
17101         (__libc_memmove): New prototype.
17102         (memmove): Renamed to ...
17103         (__libc_memmove): This.
17104         (memmove): New strong alias of __libc_memmove.
17106 2012-08-08  Mark Salter  <msalter@redhat.com>
17108         * elf/elf.h
17109         (R_MN10300_TLS_GD): Define.
17110         (R_MN10300_TLS_LD): Likewise.
17111         (R_MN10300_TLS_LDO): Likewise.
17112         (R_MN10300_TLS_GOTIE): Likewise.
17113         (R_MN10300_TLS_IE): Likewise.
17114         (R_MN10300_TLS_LE): Likewise.
17115         (R_MN10300_TLS_DTPMOD): Likewise.
17116         (R_MN10300_TLS_DTPOFF): Likewise.
17117         (R_MN10300_TLS_TPOFF): Likewise.
17118         (R_MN10300_SYM_DIFF): Likewise.
17119         (R_MN10300_ALIGN): Likewise.
17120         (R_MN10300_NUM): Update.
17122 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17125         Remove.
17127 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17129         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17131         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17132         sysdeps/unix -> sysdeps/posix move.
17133         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17135 2012-08-07      Allan McRae     <allan@archlinux.org>
17137         [BZ #14303]
17138         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17139         (SUNOS_CPP): Likewise.
17140         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17141         not found.
17142         (open_input): Call CPP using execvp.
17144 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17146         * sysdeps/unix/sysv/linux/kernel-features.h
17147         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17148         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17149         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17150         (__ASSUME_WAITID_SYSCALL): Likewise.
17151         * sysdeps/unix/sysv/linux/dl-execstack.c
17152         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17153         code unconditional.
17154         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17155         conditional code.
17156         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17157         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17158         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17159         code.
17160         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17161         unconditional.
17162         [__ASSUME_WAITID_SYSCALL]: Likewise.
17163         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17165 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17167         * sysdeps/unix/closedir.c: Renamed to ...
17168         * sysdeps/posix/closedir.c: ... here.
17169         * sysdeps/unix/dirfd.c: Renamed to ...
17170         * sysdeps/posix/dirfd.c: ... here.
17171         * sysdeps/unix/dirstream.h: Renamed to ...
17172         * sysdeps/posix/dirstream.h: ... here.
17173         * sysdeps/unix/fdopendir.c: Renamed to ...
17174         * sysdeps/posix/fdopendir.c: ... here.
17175         * sysdeps/unix/opendir.c: Renamed to ...
17176         * sysdeps/posix/opendir.c: ... here.
17177         * sysdeps/unix/readdir.c: Renamed to ...
17178         * sysdeps/posix/readdir.c: ... here.
17179         * sysdeps/unix/readdir_r.c: Renamed to ...
17180         * sysdeps/posix/readdir_r.c: ... here.
17181         * sysdeps/unix/rewinddir.c: Renamed to ...
17182         * sysdeps/posix/rewinddir.c: ... here.
17183         * sysdeps/unix/seekdir.c: Renamed to ...
17184         * sysdeps/posix/seekdir.c: ... here.
17185         * sysdeps/unix/telldir.c: Renamed to ...
17186         * sysdeps/posix/telldir.c: ... here.
17187         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17188         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17189         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17190         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17192         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17193         * bits/fcntl.h: ... here.
17195         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17196         not 0.
17197         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17198         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17199         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17200         (struct flock): Move l_start, l_len to the beginning.
17201         Use __pid_t for l_pid.
17202         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17203         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17204         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17205         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17206         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17207         [__USE_LARGEFILE64] (struct flock64): New type.
17208         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17210         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17211         * bits/dirent.h: ... here.
17213         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17214         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17216 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17218         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17219         Change from 2.6.0 to 2.6.16.
17220         * sysdeps/unix/sysv/linux/configure: Regenerated.
17221         * sysdeps/unix/sysv/linux/kernel-features.h
17222         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17223         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17224         version.
17225         (__ASSUME_UTIMES): Likewise.
17226         (__ASSUME_CLONE_STOPPED): Remove.
17227         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17228         architectures, not kernel version.
17229         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17230         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17231         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17232         (__ASSUME_WAITID_SYSCALL): Likewise.
17233         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17234         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17235         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17236         refer to older versions.
17238 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17240         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17241         Define alphasort64 as an alias.
17242         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17243         Define versionsort64 as an alias.
17244         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17245         Define scandir64 as an alias.
17246         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17247         Define scandirat64 as an alias.
17248         * dirent/alphasort64.c (alphasort64):
17249         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17250         * dirent/versionsort64.c: Likewise.
17251         * dirent/scandir64.c: Likewise.
17252         * dirent/scandirat64.c: Likewise.
17253         * sysdeps/wordsize-64/alphasort.c: File removed.
17254         * sysdeps/wordsize-64/alphasort64.c: File removed.
17255         * sysdeps/wordsize-64/scandir.c: File removed.
17256         * sysdeps/wordsize-64/scandir64.c: File removed.
17257         * sysdeps/wordsize-64/scandirat.c: File removed.
17258         * sysdeps/wordsize-64/scandirat64.c: File removed.
17259         * sysdeps/wordsize-64/versionsort.c: File removed.
17260         * sysdeps/wordsize-64/versionsort64.c: File removed.
17261         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17263         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17264         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17265         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17266         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17267         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17268         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17270         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17272         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17274         [defined __arch64__ || defined __sparcv9]
17275         (__INO_T_MATCHES_INO64_T): New macro.
17276         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17277         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17278         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17279         * sysdeps/unix/sysv/linux/bits/dirent.h
17280         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17281         (_DIRENT_MATCHES_DIRENT64): New macro.
17283         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17284         Define lockf64 as an alias.
17285         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17286         Define fseeko64 as an alias.
17287         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17288         Define ftello64 as an alias.
17289         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17290         Define _IO_fgetpos64 and fgetpos64 as aliases.
17291         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17292         Define _IO_fsetpos64 and fsetpos64 as aliases.
17293         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17294         Conditionalize body on this.
17295         * libio/fseeko64.c: Likewise.
17296         * libio/ftello64.c: Likewise.
17297         * libio/iofgetpos64.c: Likewise.
17298         * libio/iofsetpos64.c: Likewise.
17299         * sysdeps/wordsize-64/lockf.c: File removed.
17300         * sysdeps/wordsize-64/lockf64.c: File removed.
17301         * sysdeps/wordsize-64/fseeko.c: File removed.
17302         * sysdeps/wordsize-64/fseeko64.c: File removed.
17303         * sysdeps/wordsize-64/ftello.c: File removed.
17304         * sysdeps/wordsize-64/ftello64.c: File removed.
17305         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17306         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17307         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17308         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17309         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17310         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17311         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17312         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17313         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17314         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17315         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17317         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17318         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17320         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17322         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17323         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17324         [defined __arch64__ || defined __sparcv9]
17325         (__OFF_T_MATCHES_OFF64_T): New macro.
17326         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17327         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17329         (__OFF_T_MATCHES_OFF64_T): New macro.
17331 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17333         * stdlib/secure-getenv.c (__secure_getenv): Replace
17334         GLIBC_2_16 with GLIBC_2_17.
17336 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17338         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17339         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17341 2012-08-03  David S. Miller  <davem@davemloft.net>
17343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17345 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17347         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17348         Remove.
17349         (__ASSUME_CORRECT_SI_PID): Likewise.
17350         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17351         (__ASSUME_TMPFS_NAME): Likewise.
17352         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17353         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17354         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17355         (HAVE_AUX_SECURE): Make definition unconditional.
17356         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17357         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17359 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17361         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17362         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17363         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17364         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17365         __eloop_threshold instead of SYMLOOP_MAX.
17367         * sysdeps/generic/eloop-threshold.h: New file.
17368         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17369         of MAXSYMLINKS.
17370         * elf/chroot_canon.c (chroot_canon): Likewise.
17372 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17374         [BZ #13717]
17375         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17376         Change to 2.6.0 everywhere.
17377         * sysdeps/unix/sysv/linux/configure: Regenerated.
17378         * sysdeps/unix/sysv/linux/kernel-features.h
17379         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17380         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17381         kernel versions.
17382         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17383         (__ASSUME_FUTEX_REQUEUE): Remove.
17384         (__ASSUME_STATFS64): Define unconditionally.
17385         (__ASSUME_AT_SECURE): Likewise.
17386         (__ASSUME_CORRECT_SI_PID): Likewise.
17387         (__ASSUME_TGKILL): Define without depending on kernel version for
17388         i386.
17389         (__ASSUME_UTIMES): Likewise.
17390         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17391         kernel version.
17392         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17393         (__ASSUME_TMPFS_NAME): Likewise.
17394         * README: Update reference to Linux kernel versions.
17396 2012-08-02  Marek Polacek  <polacek@redhat.com>
17398         [BZ# 14150]
17399         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17400         libc_cv_asm_type_prefix with %.
17401         * configure: Regenerated.
17402         * include/libc-symbols.h: Remove comment about
17403         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17404         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17405         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17406         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17407         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17408         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17409         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17410         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17411         * elf/tst-unique2mod1.c: Likewise.
17412         * elf/tst-unique1mod2.c: Likewise.
17413         * elf/tst-unique1mod1.c: Likewise.
17414         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17415         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17416         Replace ASM_TYPE_DIRECTIVE with .type.
17417         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17418         * sysdeps/i386/sysdep.h: Likewise.
17419         * sysdeps/x86_64/sysdep.h: Likewise.
17420         * sysdeps/sh/sysdep.h: Likewise.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17422         Do not define ASM_TYPE_DIRECTIVE.
17423         * sysdeps/powerpc/sysdep.h: Likewise.
17424         * sysdeps/powerpc/powerpc32/sysdep.h:
17425         Replace ASM_TYPE_DIRECTIVE with .type.
17426         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17427         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17428         * sysdeps/i386/fpu/e_powf.S: Likewise.
17429         * sysdeps/i386/fpu/e_expl.S: Likewise.
17430         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17431         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17432         * sysdeps/i386/fpu/e_pow.S: Likewise.
17433         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17434         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17435         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17436         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17437         * sysdeps/i386/fpu/e_log2.S: Likewise.
17438         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17439         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17440         * sysdeps/i386/fpu/e_powl.S: Likewise.
17441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17442         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17443         * sysdeps/i386/fpu/e_logl.S: Likewise.
17444         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17445         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17446         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17447         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17448         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17449         * sysdeps/i386/fpu/e_log.S: Likewise.
17450         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17451         * sysdeps/i386/fpu/e_logf.S: Likewise.
17452         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17453         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17454         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17455         * sysdeps/i386/fpu/e_log10.S: Likewise.
17456         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17457         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17458         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17459         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17461         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17462         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17463         * sysdeps/i386/i686/strtok.S: Likewise.
17464         * sysdeps/i386/i386-mcount.S: Likewise.
17465         * sysdeps/i386/strtok.S: Likewise.
17466         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17468         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17469         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17470         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17471         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17472         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17473         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17474         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17475         * sysdeps/x86_64/_mcount.S: Likewise.
17476         * sysdeps/x86_64/strtok.S: Likewise.
17477         * sysdeps/sh/_mcount.S: Likewise.
17479 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17481         * libio/iofopen.c: Include <fcntl.h>.
17482         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17483         (_IO_fopen64, fopen64): Define as aliases.
17484         * libio/iofopen64.c: Include <fcntl.h>.
17485         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17486         Conditionalize body on this.
17487         * sysdeps/wordsize-64/iofopen.c: File removed.
17488         * sysdeps/wordsize-64/iofopen64.c: File removed.
17490 2012-08-01  Marek Polacek  <polacek@redhat.com>
17492         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17493         Use dlfcn directly instead of a variable.
17494         (binfmt-subdir): Do not define.
17495         (dlfcn): Likewise.
17497 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17499         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17500         Remove all definitions.
17501         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17502         <kernel-features.h>.
17503         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17504         (miss_F_GETOWN_EX): Remove all definitions.
17505         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17506         macro definition.
17507         [!__ASSUME_FCNTL64]: Remove conditional code.
17508         [__ASSUME_FCNTL64]: Make code unconditional.
17509         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17510         <kernel-features.h>.
17511         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17512         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17513         (lockf64) [__NR_fcntl64]: Make code unconditional.
17514         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17516         * sysdeps/unix/sysv/linux/kernel-features.h
17517         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17518         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17519         Make code unconditional.
17520         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17521         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17523         [__NR_vfork]: Make code unconditional.
17524         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17525         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17527         [__NR_vfork]: Make code unconditional.
17528         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17529         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17531 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17533         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17534         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17536         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17537         Define mkstemp64 as an alias.
17538         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17539         Define mkstemps64 as an alias.
17540         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17541         Define mkostemp64 as an alias.
17542         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17543         Define mkostemps64 as an alias.
17544         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17545         Conditionalize body on this.
17546         * misc/mkostemp64.c: Likewise.
17547         * misc/mkostemps64.c: Likewise.
17548         * misc/mkstemps64.c: Likewise.
17549         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17550         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17551         * sysdeps/wordsize-64/mkostemp.c: File removed.
17552         * sysdeps/wordsize-64/mkstemp.c: File removed.
17553         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17554         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17555         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17556         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17558         [BZ #14138]
17559         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17560         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17561         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17562         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17564         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17565         compat_symbol macros from <shlib-compat.h> rather than the underlying
17566         default_symbol_version and symbol_version macros, so that DEFAULT
17567         lines in shlib-versions are respected.
17568         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17570 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17572         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17573         Declare with warn_unused_result.
17574         (setgid, setregid, setegid, setresgid): Likewise.
17575         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17576         Likewise.
17577         * WUR-REPORT: Remove set*id functions.
17579 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17581         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17583 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17585         [BZ #10191]
17586         * include/sys/socket.h (__libc_accept, __libc_accept4):
17587         Add attribute_hidden.
17588         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17591         use of PTR_MANGLE.
17592         * inet/getnetgrent_r.c (setup): Likewise.
17594         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17596 2012-07-31  David S. Miller  <davem@davemloft.net>
17598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17600 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17602         [BZ #13629]
17603         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17604         value between 1.0 and 2.0 and smaller part has absolute value less
17605         than 1.0.
17606         * math/s_clog10.c (__clog10): Likewise.
17607         * math/s_clog10f.c (__clog10f): Likewise.
17608         * math/s_clog10l.c (__clog10l): Likewise.
17609         * math/s_clogf.c (__clogf): Likewise.
17610         * math/s_clogl.c (__clogl): Likewise.
17611         * math/libm-test.inc (clog_test): Add more tests.
17612         (clog10_test): Likewise.
17613         * sysdeps/i386/fpu/libm-test-ulps: Update.
17614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17616 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17618         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17619         Exit with zero in case no suitable GID is found, and write a
17620         message to standard error.
17622 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17624         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17625         rather than to 1.
17626         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17627         (MAXPATHLEN): Removed.
17628         (NOGROUP, NODEV): New macros.
17629         (setbit, clrbit, isset, isclr): New macros.
17630         (howmany, roundup, powerof2): New macros.
17631         (DEV_BSIZE): New macro.
17633         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17634         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17636         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17637         definition on [!__NO_LONG_DOUBLE_MATH].
17639         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17640         PTR_MANGLE and PTR_DEMANGLE.
17642         * socket/accept4.c (accept4): Rename to __libc_accept4.
17643         Define accept4 as a weak alias.
17645         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17646         on [_DIRENT_HAVE_D_TYPE].
17647         * io/ftw.c (ftw_dir): Likewise.
17649         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17651         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17653         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17654         Use the BSD numbers rather than the arbitrary ones we had.
17655         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17656         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17657         (SIGXCPU, SIGXFSZ): New macros.
17658         (_NSIG): Now 32.
17660         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17661         initializer on [_LIBC_REENTRANT].
17663         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17664         definitions inside [_POSIX_MAPPED_FILES].
17666         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17668         * dirent/opendir.c: Include <fcntl.h>.
17670         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17671         (__libc_getspecific): Likewise.
17672         (__libc_key_create): Likewise.
17674         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17675         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17676         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17677         (tmpfile64): Define as alias.
17678         * sysdeps/wordsize-64/tmpfile.c: File removed.
17679         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17680         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17683         * stdio-common/vfscanf.c: Include <stdbool.h>.
17684         * nss/makedb.c: Likewise.
17685         * stdio-common/_i18n_number.h: Likewise.
17686         * argp/argp-help.c: Likewise.
17687         * posix/wordexp.c: Likewise.
17688         * sysdeps/posix/spawni.c: Likewise.
17689         * nss/nss_files/files-initgroups.c: Likewise.
17690         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17691         * nss/nss_files/files-initgroups.c: Likewise.
17692         * nss/nss_db/db-netgrp.c: Likewise.
17693         * nss/nss_db/db-initgroups.c: Likewise.
17694         * io/fchmodat.c: Include <sys/stat.h>.
17696         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17697         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17699         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17700         [HAVE_MMAP].
17702         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17703         Add multiple inclusion protection.
17705 2012-07-27  David S. Miller  <davem@davemloft.net>
17707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17709 2012-07-27  Gary Benson  <gbenson@redhat.com>
17711         [BZ #14298]
17712         * elf/rtld.c: Include <stap-probe.h>.
17713         (dl_main): Added static probes "init_start" and "init_complete".
17714         * elf/dl-load.c: Include <stap-probe.h>.
17715         (lose): Take new parameter "nsid".
17716         Added static probe "map_failed".
17717         (_dl_map_object_from_fd): Pass namespace id to lose.
17718         Added static probe "map_start".
17719         (open_verify): Pass namespace id to lose.
17720         * elf/dl-open.c: Include <stap-probe.h>.
17721         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17722         and "reloc_complete".
17723         * elf/dl-close.c: Include <stap-probe.h>.
17724         (_dl_close_worker): Added static probes "unmap_start" and
17725         "unmap_complete".
17726         * elf/rtld-debugger-interface.txt: New file documenting the above.
17728 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17730         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17731         rather than a string variable.
17732         * sunrpc/rpc_main.c (h_output): Likewise.
17733         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17735 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17737         * inet/check_native.c: New file.
17739 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17741         [BZ #13629]
17742         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17743         if larger part has absolute value 1.0.
17744         * math/s_clog10.c (__clog10): Likewise.
17745         * math/s_clog10f.c (__clog10f): Likewise.
17746         * math/s_clog10l.c (__clog10l): Likewise.
17747         * math/s_clogf.c (__clogf): Likewise.
17748         * math/s_clogl.c (__clogl): Likewise.
17749         * math/libm-test.inc (clog_test): Add more tests.
17750         (clog10_test): Likewise.
17751         * sysdeps/i386/fpu/libm-test-ulps: Update.
17752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17754         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17755         (pltexit): Likewise.
17756         (La_regs): Likewise.
17757         (La_retval): Likewise.
17758         (int_retval): Likewise.
17759         Update #error for removed macros to refer only to definitions in
17760         tst-audit.h.
17761         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17762         macro.
17763         (pltexit): Likewise.
17764         (La_regs): Likewise.
17765         (La_retval): Likewise.
17766         (int_retval): Likewise.
17767         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17768         macro.
17769         (pltexit): Likewise.
17770         (La_regs): Likewise.
17771         (La_retval): Likewise.
17772         (int_retval): Likewise.
17773         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17774         macro.
17775         (pltexit): Likewise.
17776         (La_regs): Likewise.
17777         (La_retval): Likewise.
17778         (int_retval): Likewise.
17779         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17780         macro.
17781         (pltexit): Likewise.
17782         (La_regs): Likewise.
17783         (La_retval): Likewise.
17784         (int_retval): Likewise.
17785         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17786         macro.
17787         (pltexit): Likewise.
17788         (La_regs): Likewise.
17789         (La_retval): Likewise.
17790         (int_retval): Likewise.
17791         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17792         macro.
17793         (pltexit): Likewise.
17794         (La_regs): Likewise.
17795         (La_retval): Likewise.
17796         (int_retval): Likewise.
17797         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17798         macro definitions in tst-audit.h.
17799         * sysdeps/i386/tst-audit.h: New file.
17800         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17801         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17802         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17803         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17804         * sysdeps/sh/tst-audit.h: Likewise.
17805         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17806         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17807         * sysdeps/x86_64/tst-audit.h: Likewise.
17809 2012-07-26  Andreas Jaeger  <aj@suse.de>
17811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17812         ptrace.
17814         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17815         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17816         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17817         PTRACE_O_MASK.
17818         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17819         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17820         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17822         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17823         value.
17825         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17826         _sigsys.
17827         (si_call_addr, si_syscall, si_arch): Define new macro.
17828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17829         _sigsys.
17830         (si_call_addr, si_syscall, si_arch): Define new marcro.
17831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17832         _sigsys.
17833         (si_call_addr, si_syscall, si_arch): Define new macro.
17834         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17835         _sigsys.
17836         (si_call_addr, si_syscall, si_arch): Define new macro.
17838 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17840         [BZ #13717]
17841         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17842         Change to 2.4.21 where previously 2.4.1.
17843         * sysdeps/unix/sysv/linux/configure: Regenerated.
17844         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17845         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17846         Linux kernel version.
17847         (__ASSUME_STD_AUXV): Remove.
17848         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17849         kernel version.
17850         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17851         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17852         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17853         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17854         (__ASSUME_NETLINK_SUPPORT): Likewise.
17855         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17856         (__no_netlink_support): Remove conditional definition.
17857         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17858         Remove.
17859         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17860         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17861         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17862         (if_nameindex_ioctl): Remove.
17863         (if_nameindex_netlink): Do not handle __no_netlink_support.
17864         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17865         code.
17866         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17867         Remove conditional code.
17868         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17869         code.
17870         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17871         unconditional.
17872         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17873         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17874         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17875         Remove.
17876         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17877         [!__ASSUME_STD_AUXV]: Remove conditional code.
17878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17879         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17880         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17882         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17883         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17884         code.
17885         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17887         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17888         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17889         conditional code.
17890         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17892         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17893         code.
17894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17895         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17896         conditional code.
17897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17898         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17899         code unconditional.
17900         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17901         conditional code.
17902         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17903         unconditional.
17904         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17905         conditional code.
17906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17907         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17908         unconditional.
17909         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17910         conditional code.
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17912         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17913         code unconditional.
17914         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17915         conditional code.
17916         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17917         unconditional.
17918         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17919         conditional code.
17920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17921         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17922         code unconditional.
17923         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17924         conditional code.
17925         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17926         unconditional.
17927         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17928         conditional code.
17930 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17932         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17933         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17934         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17935         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17936         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17937         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17938         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17939         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17940         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17941         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17942         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17943         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17944         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17945         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17946         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17947         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17948         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17949         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17950         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17952         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17953         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17954         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17956 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17958         * Versions.def: Add GLIBC_2.17.
17959         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17960         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17961         Introduce __libc_secure_getenv.
17962         * stdlib/Versions (2.17): Add secure_getenv
17963         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17964         * stdlib/secure-getenv.c: Rename __secure_getenv to
17965         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17966         symbol __secure_getenv for GLIBC_2.0.
17967         * stdlib/tst-secure-getenv.c: New.
17968         * stdlib/Makefile (tests): Add testcase.
17969         * manual/startup.texi (Environment Access): Document
17970         secure_getenv.
17971         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17972         __libc_secure_getenv.
17973         * inet/ruserpass.c (ruserpass): Likewise.
17974         * malloc/mtrace.c (mtrace): Likewise.
17975         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17976         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17977         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17978         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17979         HAVE_SECURE_GETENV.
17980         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17981         __secure_getenv to __libc_secure_getenv.
17982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17984         Likewise.
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17986         Likewise.
17987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17995 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17997         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17998         (struct La_i86_retval): Likewise.
17999         (struct La_x86_64_regs): Likewise.
18000         (struct La_x86_64_retval): Likewise.
18001         (struct La_x32_regs): Likewise.
18002         (struct La_x32_retval): Likewise.
18003         (struct La_ppc32_regs): Likewise.
18004         (struct La_ppc32_retval): Likewise.
18005         (struct La_ppc64_regs): Likewise.
18006         (struct La_ppc64_retval): Likewise.
18007         (struct La_sh_regs): Likewise.
18008         (struct La_sh_retval): Likewise.
18009         (struct La_s390_32_regs): Likewise.
18010         (struct La_s390_32_retval): Likewise.
18011         (struct La_s390_64_regs): Likewise.
18012         (struct La_s390_64_retval): Likewise.
18013         (struct La_sparc32_regs): Likewise.
18014         (struct La_sparc32_retval): Likewise.
18015         (struct La_sparc64_regs): Likewise.
18016         (struct La_sparc64_retval): Likewise.
18017         (struct audit_ifaces): Remove architecture-specific pltenter and
18018         pltexit members.
18019         * sysdeps/i386/ldsodefs.h: New file.
18020         * sysdeps/powerpc/ldsodefs.h: Likewise.
18021         * sysdeps/s390/ldsodefs.h: Likewise.
18022         * sysdeps/sh/ldsodefs.h: Likewise.
18023         * sysdeps/sparc/ldsodefs.h: Likewise.
18024         * sysdeps/x86_64/ldsodefs.h: Likewise.
18026 2012-07-25  Marek Polacek  <polacek@redhat.com>
18028         [BZ #6808]
18029         * math/libm-test.inc (yn_test): Add another test.
18030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18031         to ERANGE when the result is +-Inf.
18032         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18033         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18034         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18035         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18037 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18039         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18040         equal to 0.
18041         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18042         clock_t.
18043         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18045 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18047         * configure.in <sysdeps resolving>: Correct printing
18048         Implies_before.
18049         * configure: Regenerate.
18051 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18053         * math/w_ilogb.c: Include <limits.h>.
18054         * math/w_ilogbl.c: Likewise.
18056 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18058         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18059         va_copy.  Document allowing for unavailable va_copy only as
18060         pre-C99 compatibility.
18061         * manual/string.texi (Copying and Concatenation): Use va_copy
18062         instead of __va_copy in concat example.
18064 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18066         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18067         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18068         it if not null.
18070         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18071         with O_NOLINK passed to __file_name_lookup.
18073         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18074         with O_NOLINK passed to __file_name_lookup.
18076         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18077         negative N or less than NGIDS.
18079         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18080         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18081         enough.  Use memcpy instead of strncpy.
18083 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18085         * elf/Makefile (check-data): Remove.
18086         (localplt.data): New vpath directive.
18087         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18088         instead of $(check-data).
18089         * scripts/data/localplt-generic.data: Move to ...
18090         * sysdeps/generic/localplt.data: ... here.
18091         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18092         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18093         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18095         ... here.
18096         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18098         ... here.
18099         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18101         ... here.
18102         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18104         ... here.
18105         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18107         ... here.
18108         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18110         ... here.
18112 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18114         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18115         PPC32 and PPC64 files.
18116         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18117         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18119 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18121         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18122         __makecontext_ret to ...
18123         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18124         ... here and call exit if uc_link is NULL.  New file.
18125         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18126         __makecontext_ret.S.
18127         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18128         __makecontext_ret to ...
18129         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18130         ... here and call exit if uc_link is NULL.  New file.
18131         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18132         __makecontext_ret.S.
18134 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18136         * elf/elf.h (R_390_IRELATIVE): New definition.
18137         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18138         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18139         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18141         (elf_machine_lazy_rel): Likewise.
18142         * sysdeps/s390/dl-irel.h: New file.
18143         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18144         * sysdeps/s390/s390-64/memset.S: New asm code.
18145         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18146         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18147         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18148         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18149         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18150         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18151         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18152         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18153         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18154         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18155         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18156         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18157         * sysdeps/s390/s390-32/memset.S: New asm code.
18158         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18160 2012-07-17  Marek Polacek  <polacek@redhat.com>
18162         [BZ #14349]
18163         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18164         * sysdeps/s390/s390-64/configure.in: Likewise.
18165         * sysdeps/sparc/configure.in: Likewise.
18166         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18167         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18168         * sysdeps/i386/configure.in: Likewise.
18169         * sysdeps/x86_64/configure.in: Likewise.
18170         * sysdeps/sh/configure.in: Likewise.
18171         * sysdeps/s390/s390-32/configure: Regenerated.
18172         * sysdeps/s390/s390-64/configure: Likewise.
18173         * sysdeps/x86_64/configure: Likewise.
18174         * sysdeps/sh/configure: Likewise.
18175         * sysdeps/powerpc/powerpc64/configure: Likewise.
18176         * sysdeps/powerpc/powerpc32/configure: Likewise.
18177         * sysdeps/sparc/configure: Likwise.
18178         * sysdeps/i386/configure: Likewise.
18180         * elf/dl-open.c: Comment fixes.
18182 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18184         * Makefile [CXX] (check-data): Remove.
18185         [CXX] (c++-types.data): New vpath directive.
18186         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18187         vpath.  Do not allow for C++ type data being missing.
18188         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18189         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18190         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18191         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18192         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18193         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18194         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18196         ... here.
18197         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18199         ... here.
18200         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18202         ... here.
18203         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18205         ... here.
18206         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18208         ... here.
18209         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18211         ... here.
18212         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18214         ... here.
18215         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18218         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18219         definitions to architecture-specific files.
18220         (TLS_IE): Likewise.
18221         (TLS_LD): Likewise.
18222         (TLS_GD): Likewise.
18223         * sysdeps/i386/tls-macros.h: New file.
18224         * sysdeps/powerpc/tls-macros.h: Likewise.
18225         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18226         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18227         * sysdeps/sh/tls-macros.h: Likewise.
18228         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18229         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18230         * sysdeps/x86_64/tls-macros.h: Likewise.
18232 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18234         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18235         zero value for regular exit case.
18237         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18238         (__start_context): Preserve zero value for regular exit case.
18240 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18241             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18243         * manual/setjmp.texi (setcontext): Clarify normal process
18244         termination when uc_link is the null pointer.
18245         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18246         exit call.
18248 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18250         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18251         preprocessor.  Test for each exception mask separately.
18253 2012-07-16  Andreas Jaeger  <aj@suse.de>
18255         * po/ru.po: Update from translation team.
18257 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18259         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18260         equal to 0.
18261         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18262         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18263         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18264         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18267 2012-07-13  Andreas Jaeger  <aj@suse.de>
18269         * po/fr.po: Update from translation team.
18271 2012-07-12  Marek Polacek  <polacek@redhat.com>
18273         [BZ #14173]
18274         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18275         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18276         loop condition.
18278 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18280         [BZ #13717]
18281         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18282         Change to 2.4.1 where previously 2.4.0.
18283         * sysdeps/unix/sysv/linux/configure: Regenerated.
18284         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18285         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18286         version.
18287         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18288         (__ASSUME_AT_CLKTCK): Remove.
18289         (__ASSUME_AT_PAGESIZE): Likewise.
18290         (__ASSUME_AT_XID): Likewise.
18291         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18292         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18293         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18294         unconditionally.
18295         (HAVE_AUX_PAGESIZE): Likewise.
18296         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18297         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18298         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18300 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18302         [BZ #14307]
18303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18304         the temporary buffer used to invoke __gethostbyname2_r,
18305         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18306         host_data / struct gaih_addrtuple.
18307         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18308         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18309         header file nss/nsswitch.h.
18310         * nss/nsswitch.h (global scope): Add definition of implementation
18311         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18312         resolv/nss_dns/dns-host.c).
18314 2012-07-11  Andreas Jaeger  <aj@suse.de>
18316         * po/fr.po: Update from translation team.
18318         * po/sv.po: Update from translation team
18319         * po/fr.po: Another update from translation team.
18321 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18323         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18324         for subnormals or multiply small sinh result by itself.
18325         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18328 2012-07-11  David S. Miller  <davem@davemloft.net>
18330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18332 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18334         [BZ #14347]
18335         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18336         (INTERNAL_MARK): Shift it here.
18338 2012-07-10  Marek Polacek  <polacek@redhat.com>
18340         [BZ #14151]
18341         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18342         libc_cv_asm_global_directive with .globl.
18343         * configure: Regenerated.
18344         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18345         with .globl.
18346         * sysdeps/i386/configure: Regenerated.
18347         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18348         with .globl.
18349         * sysdeps/x86_64/configure: Regenerated.
18350         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18351         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18352         * elf/tst-unique2mod2.c: Likewise.
18353         * elf/tst-unique2mod1.c: Likewise.
18354         * elf/tst-unique1mod2.c: Likewise.
18355         * elf/tst-unique1mod1.c: Likewise.
18356         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18357         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18359         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18360         * sysdeps/mach/sysdep.h: Likewise.
18361         * sysdeps/i386/sysdep.h: Likewise.
18362         * sysdeps/i386/i386-mcount.S: Likewise.
18363         * sysdeps/x86_64/_mcount.S: Likewise.
18364         * sysdeps/x86_64/sysdep.h: Likewise.
18365         * sysdeps/sh/_mcount.S: Likewise.
18366         * sysdeps/sh/sysdep.h: Likewise.
18367         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18368         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18369         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18370         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18371         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18372         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18373         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18374         * locale/localeinfo.h: Likewise.
18375         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18376         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18378 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18380         [BZ #14336]
18381         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18382         system".
18383         * manual/message.texi (The Uniforum approach): Likewise.
18384         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18385         (glibc iconv Implementation): Likewise.
18387 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18389         [BZ #14337]
18390         * math/s_clog.c (__clog): Avoid scaling a value down where that
18391         could result in underflow.
18392         * math/s_clog10.c (__clog10): Likewise.
18393         * math/s_clog10f.c (__clog10f): Likewise.
18394         * math/s_clog10l.c (__clog10l): Likewise.
18395         * math/s_clogf.c (__clogf): Likewise.
18396         * math/s_clogl.c (__clogl): Likewise.
18397         * math/libm-test.inc (clog_test): Add more tests.
18398         (clog10_test): Likewise.
18399         * sysdeps/i386/fpu/libm-test-ulps: Update.
18400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18402 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18404         [BZ #14283]
18405         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18406         by 7 not 8 to examine high bit of fractional part.
18408         [BZ #14042]
18409         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18410         for call to __mcount_internal.
18411         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18412         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18413         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18415 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18417         [BZ #14154]
18418         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18419         approximation for values within 0x1p-13f of an odd multiple of
18420         pi/4.
18421         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18422         exception.  Add more tests.
18423         * sysdeps/i386/fpu/libm-test-ulps: Update.
18425         [BZ #6778]
18426         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18427         inputs and return -1 for them.  Do not check for +Inf in case not
18428         reachable for +Inf.
18429         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18430         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18431         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18432         and return -1 for them.  Do not check for +Inf in case not
18433         reachable for +Inf.
18434         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18435         define.
18436         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18437         and return -1 for them.  Do not check for +Inf in case not
18438         reachable for +Inf.
18439         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18440         spurious underflow.
18441         * sysdeps/i386/fpu/libm-test-ulps: Update.
18442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18444 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18446         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18448 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18450         [BZ #14157]
18451         [BZ #14331]
18452         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18453         could result in spurious underflow.  Scale down values above
18454         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18455         * math/s_csqrtf.c (__csqrtf): Likewise.
18456         * math/s_csqrtl.c (__csqrtl): Likewise.
18457         * math/libm-test.inc (csqrt_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-04  Andreas Schwab  <schwab@linux-m68k.org>
18464         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18465         xopen-msg.sed.
18466         * catgets/xopen-msg.awk: New file.
18467         * catgets/xopen-msg.sed: Removed.
18469         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18470         po2text.sed.
18471         * intl/po2test.awk: New file.
18472         * intl/po2test.sed: Removed.
18474 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18476         [BZ #14328]
18477         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18478         or multiply small sinh result by itself.
18479         * math/s_ctanf.c (__ctanf): Likewise.
18480         * math/s_ctanh.c (__ctanh): Likewise.
18481         * math/s_ctanhf.c (__ctanhf): Likewise.
18482         * math/s_ctanhl.c (__ctanhl): Likewise.
18483         * math/s_ctanl.c (__ctanl): Likewise.
18484         * math/libm-test.inc (ctan_test_tonearest): New function.
18485         (ctan_test_towardzero): Likewise.
18486         (ctan_test_downward): Likewise.
18487         (ctan_test_upward): Likewise.
18488         (ctanh_test_tonearest): Likewise.
18489         (ctanh_test_towardzero): Likewise.
18490         (ctanh_test_downward): Likewise.
18491         (ctanh_test_upward): Likewise.
18492         (main): Call these new functions.
18493         * sysdeps/i386/fpu/libm-test-ulps: Update.
18494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18496 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18498         * .gitignore: Delete /ports entry.
18500 2012-07-03  Andreas Jaeger  <aj@suse.de>
18502         * po/bg.po: Update from translation team.
18503         * po/cs.po: Likewise.
18504         * po/de.po: Likewise.
18505         * po/hr.po: Likewise.
18506         * po/nl.pl: Likewise.
18507         * po/pl.po: Likewise.
18508         * po/vi.po: Likewise.
18510 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18512         * Makeconfig [!+link] (+link-before-libc): New variable.
18513         [!+link] (+link-after-libc): Likewise.
18514         [!+link] (+link-tests): Likewise.
18515         [!+link] (+link): Define in terms of $(+link-before-libc) and
18516         $(+link-after-libc).
18517         [!+link-static] (+link-static-before-libc): New variable.
18518         [!+link-static] (+link-static-after-libc): Likewise.
18519         [!+link-static] (+link-static-tests): Likewise.
18520         [!+link-static] (+link-static): Define in terms of
18521         $(+link-static-before-libc) and $(+link-static-after-libc).
18522         [build-shared] (link-libc-before-gnulib): New variable.
18523         [build-shared] (link-libc-tests): Likewise.
18524         [build-shared] (link-libc): Define in terms of
18525         $(link-libc-before-gnulib).
18526         [!build-shared] (link-libc-tests): New variable.
18527         (link-libc-static-tests): New variable.
18528         [!gnulib] (gnulib-arch): New variable.
18529         [!gnulib] (gnulib-tests): Likewise.
18530         [!gnulib] (static-gnulib-arch): Likewise.
18531         [!gnulib] (static-gnulib-tests): Likewise.
18532         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18533         Define with "=" instead of ":=".
18534         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18535         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18536         * Rules (binaries-all-notests): New variable.
18537         (binaries-all-tests): Likewise.
18538         (binaries-static-notests): Likewise.
18539         (binaries-static-tests): Likewise.
18540         (binaries-all): Define using $(binaries-all-notests) and
18541         $(binaries-all-tests).
18542         (binaries-static): Define using $(binaries-static-notests) and
18543         $(binaries-static-tests).
18544         (binaries-shared-tests): New variable.
18545         (binaries-shared-notests): Likewise.
18546         (binaries-shared): Remove variable.
18547         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18548         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18549         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18550         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18551         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18552         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18553         * elf/Makefile (sln-modules): New variable.
18554         (extra-objs): Add $(sln-modules:=.o).
18555         (ldconfig-modules): Add static-stubs.
18556         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18557         * elf/static-stubs.c: New file.
18559         [BZ #14283]
18560         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18561         by 7 not 8 to examine high bit of fractional part.  Use volatile
18562         variables when splitting into final array of floats if
18563         __FLT_EVAL_METHOD__ != 0.
18564         * math/libm-test.inc (cos_test): Add another test.
18565         (sin_test): Likewise.
18566         * sysdeps/i386/fpu/libm-test-ulps: Update.
18568         [BZ #14273]
18569         * math/libm-test.inc (cosh_test): Add more tests.
18571         * version.h (RELEASE): Set to "development".
18572         (VERSION): Set to "2.16.90".
18574 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18576         * NEWS: Update copyright. Remove last-updated date.
18577         Mention math library bug fixes and timezone data changes.
18578         * README: Mention GNU/Hurd, x32, and HPPA support status.
18580 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18582         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18584 2012-06-27  Andreas Jaeger  <aj@suse.de>
18586         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18588 2012-06-25  Andreas Jaeger  <aj@suse.de>
18590         * sysdeps/s390/fpu/libm-test-ulps: Update.
18592 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18593             Thomas Schwinge  <thomas@codesourcery.com>
18595         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18596         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18597         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18598         fanotify_mark.
18600 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18602         * sysdeps/mach/start.c: Remove file.
18603         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18604         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18605         * sysdeps/sh/init-first.c: Likewise.
18607         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18608         registers for frame unwinding purposes, add CFI directives.
18609         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18610         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18611         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18612         Likewise.
18614         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18615         __fortify_fail returning.
18616         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18618         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18619         sysdeps/sh/____longjmp_chk.S.
18620         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18621         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18622         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18623         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18625         * sysdeps/sh/abort-instr.h: New file.
18626         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18627         process in case exit returns.
18629         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18630         initialize the GOT register before use.
18632         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18633         calculation of ARGC > 4.
18635         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18636         meaningful names to some local labels.
18638 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18639             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18641         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18642         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18643         (__arch_compare_and_exchange_val_16_acq): Likewise.
18644         (__arch_compare_and_exchange_val_32_acq): Likewise.
18645         (atomic_exchange_and_add): Fix gUSA sequence.
18646         (atomic_add): Likewise.
18647         (atomic_add_negative): Likewise.
18648         (atomic_add_zero): Likewise.
18649         (atomic_bit_test_set): Likewise.
18651 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18653         [BZ #13579]
18654         * include/link.h (struct link_map): Add l_free_initfini.
18655         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18656         l_initfini.
18657         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18658         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18659         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18660         set.
18662 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18664         * configure.in: Use AC_LANG_SOURCE.
18665         * configure: Regenerate.
18667 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18669         * configure.in (libc_cv_localstatedir): New substituted variable.
18670         * configure: Regenerated.
18671         * config.make.in (localstatedir): New variable, substituted from
18672         libc_cv_localstatedir.
18673         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18674         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18675         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18676         * sysdeps/gnu/configure: Regenerated.
18678 2012-06-21  Jeff Law  <law@redhat.com>
18680         [BZ #14277]
18681         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18682         free.  Simplify list management for _LIBC case.
18684 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18686         [BZ #14273]
18687         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18688         Clear sign bit of 64-bit integer value before comparing against
18689         overflow value.
18691         * sysdeps/mach/configure: Regenerated.
18693 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18695         [BZ #14278]
18696         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18698 2012-06-21  Jeff Law  <law@redhat.com>
18700         [BZ #13882]
18701         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18702         uint16_t for elements in the "seen" array to avoid char overflows.
18703         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18704         * elf/dl-open.c (dl_open_worker): Likewise.
18706 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18708         * scripts/list-sources.sh: Scan PORTS for translations.
18709         * po/libc.pot: Regenerated.
18711 2012-06-21  Andreas Jaeger  <aj@suse.de>
18713         [BZ #12194]
18714         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18715         warning.
18716         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18717         * bits/byteswap-16.h (__bswap_16): Likewise.
18718         * bits/byteswap.h (__bswap_constant_16): Likewise.
18720 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18722         [BZ #14117]
18723         * sysdeps/i386/fpu_control.h: Removed.
18724         * sysdeps/x86_64/fpu_control.h: Moved to ...
18725         * sysdeps/x86/fpu_control.h: Here.
18727         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18728         (_FPU_SETCW): Likewise.
18730 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18732         [BZ #14117]
18733         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18734         * sysdeps/x86/fpu/bits/mathinline.h: This.
18735         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18737         [BZ #14050]
18738         [BZ #14117]
18739         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18740         functions if __x86_64__ is defined.
18742 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18744         * string/endian.h: Add !__ASSEMBLER__ condition for including
18745         conversion interfaces.
18747 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18749         [BZ #14241]
18750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18751         of ABS(x) in calculating zero to negative powers other than odd
18752         integers.
18753         * math/libm-test.inc (pow_test): Add more tests.
18755 2012-06-15  Andreas Jaeger  <aj@suse.de>
18757         * manual/contrib.texi (Contributors): Update entry of Liubov
18758         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18759         Machado Filho.
18761 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18763         * string/string.h: Add __wur to GNU version of strerror_r.
18765 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18767         [BZ #14229]
18768         * string/Makefile (tests): Add tst-strtok_r.
18769         * string/tst-strtok_r.c: New file.
18770         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18771         RAX_LP/RDX_LP on SAVE_PTR.
18773 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18775         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18777 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18779         * libm_test.inc (csqrt_test): Allow more spurious underflow
18780         exceptions.
18781         (j0_test): Likewise.
18782         (j1_test): Likewise.
18783         (y0_test): Likewise.
18784         (y1_test): Likewise.
18786 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18788         * po/Makefile (libc.pot): Use UTF-8 charset.
18790 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18792         [BZ #14210]
18793         Suppress sign-conversion warning from FD_SET.
18794         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18795         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18796         not unsigned long int.
18797         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18799 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18801         [BZ #14050]
18802         [BZ #14117]
18803         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18804         __extern_always_inline instead of __extern_inline.
18805         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18806         (__signbit): Likewise.
18807         (__signbitl): Support C++ namespace.
18808         (lrintf): New inline function.
18809         (lrint): Likewise.
18810         (llrintf): Likewise.
18811         (llrint): Likewise.
18812         (fmaxf): Likewise.
18813         (fmax): Likewise.
18814         (fminf): Likewise.
18815         (fmin): Likewise.
18816         (rint): Likewise.
18817         (rintf): Likewise.
18818         (ceil): Likewise.
18819         (ceilf): Likewise.
18820         (floor): Likewise.
18821         (floorf): Likewise.
18822         (nearbyint): Likewise.
18823         (nearbyintf): Likewise.
18825 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18828         non-default versions.
18830 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18832         [BZ #14218]
18833         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18835 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18837         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18838         (FE_UPWARD, FE_DOWNWARD): Don't define.
18839         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18840         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18842         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18843         reading it.
18844         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18845         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18847 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18849         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18852         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18854 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18856         [BZ #14117]
18857         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18858         * sysdeps/i386/fpu/Implies: New file.
18859         * sysdeps/x86_64/fpu/Implies: Likewise.
18860         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18861         * sysdeps/x86/fpu/bits/fenv.h: This.
18863         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18864         __SSE_MATH__.
18866 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18868         [BZ #14134]
18869         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18870         character 0xffff that matches the last element of the
18871         conversion table.
18873 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18875         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18876         fmodl commit.
18878 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18880         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18881         values higher than 25.6283.
18883 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18885         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18886         subnormal exponent extraction and add some __builtin_expect.
18887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18888         Fix for subnormal mantissa calculation.
18890 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18892         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18893         cpu2 is -1 and errno is not ENOSYS.
18895 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18897         [BZ #14117]
18898         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18899         * sysdeps/x86/bits/string.h: This.
18900         * sysdeps/x86_64/bits/string.h: Removed.
18902         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18903         if not compiling for x86-64, but compiling for >= i486.
18905         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18906         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18908         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18909         New macro from Linux kernel 3.4.0.
18910         (FP_XSTATE_MAGIC2): Likewise.
18911         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18912         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18913         (struct _fpx_sw_bytes): New struct.
18914         (struct _xsave_hdr): Likewise.
18915         (struct _ymmh_state): Likewise.
18916         (struct _xstate): Likewise.
18918         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18919         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18921         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18922         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18923         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18925         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18926         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18927         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18928         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18929         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18930         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18932 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18934         [BZ #13743]
18935         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18936         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18937         (sysdep_headers): Include sys/platform/ppc.h.
18938         * sysdeps/powerpc/test-gettimebase.c: Test for
18939         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18940         * manual/Makefile (appendices): Include platform.texi.
18941         * manual/contrib.texi (Contributors): Update @node pointers.
18942         * manual/maint.texi (Maintenance): Likewise.
18943         (Platform): New node.
18944         * manual/platform.texi: New file.  Document the new features.
18946 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18947             Jakub Jelinek  <jakub@redhat.com>
18949         [BZ #14188]
18950         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18951         where __builtin_expect is unavailable.
18953 2012-06-03  David S. Miller  <davem@davemloft.net>
18955         * stdlib/longlong.h: Updated from GCC.
18957 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18959         [BZ #14042]
18960         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18961         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18962         __mcount_internal.
18963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18964         (GLIBC_2.16): Likewise.
18966 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18968         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18973         (default-abi): New variable.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18975         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18976         variable.
18977         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18978         Likewise.
18979         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18980         Likewise.
18981         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18982         Likewise.
18984         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18985         definition.  Document in comment.
18987 2012-06-01  David S. Miller  <davem@davemloft.net>
18989         * stdlib/longlong.h: Updated from GCC.
18991 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18993         [BZ #14117]
18994         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18995         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18996         sys/debugreg.h sys/io.h here.
18997         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18998         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18999         sys/io.h.
19000         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19001         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19002         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19003         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19004         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19005         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19008         Define only if __x86_64__ is defined.
19010 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19012         [BZ #14048]
19013         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19014         Use int64_t for variable i.
19015         * math/libm-test.inc (fmod_test): Add more tests.
19017         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19018         z computation is not scheduled after fetestexcept.
19019         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19020         Use math_force_eval instead of asm to ensure calculation scheduled
19021         before exception test.
19022         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19023         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19025 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19028         computation is not scheduled after fetestexcept.
19030 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19032         [BZ #14117]
19033         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19034         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19036 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19038         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19039         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19041 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19043         [BZ #14117]
19044         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19045         <bits/wordsize.h>.
19046         (__WCHAR_MIN): Support __WORDSIZE == 64.
19047         (__WCHAR_MAX): Likewise.
19049         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19050         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19052         [BZ #14183]
19053         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19054         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19056         [BZ #14117]
19057         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19060         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19061         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19063         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19064         Defined to 1 if __x86_64__ isn't defined.
19065         (_STAT_VER_LINUX_OLD): New.
19066         (st_atime): Remove duplicate.
19067         (st_mtime): Likewise.
19068         (st_ctime): Likewise.
19070 2012-05-31  David S. Miller  <davem@davemloft.net>
19072         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19073         entries.
19075 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19077         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19078         gen-libm-test.pl.
19080         [BZ #14132]
19081         * elf/dl-reloc.c: Include <_itoa.h>.
19082         (_dl_reloc_bad_type): Remove use of INTUSE.
19083         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19084         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19085         * stdio-common/psiginfo.c (psiginfo): Likewise.
19086         * stdio-common/psignal.c (psignal): Likewise.
19087         * string/strsignal.c (strsignal): Likewise.
19088         * include/signal.h (_sys_siglist): Declare hidden proto.
19089         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19090         INTVARDEF with libc_hidden_data_def.
19091         * stdio-common/itoa-udigits.c: Likewise.
19092         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19093         (_itoa_lower_digits_internal): Remove declaration.
19094         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19095         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19096         (_sys_sigabbrev_internal): Remove aliases.
19097         (_sys_siglist): Define hidden alias.
19099 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19102         bits/sysctl.h.
19104 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19106         [BZ #14117]
19107         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19108         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19110         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19111         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19112         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19113         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19114         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19115         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19117         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19118         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19119         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19121         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19122         with __addr.
19123         (insw): Likewise.
19124         (insl): Likewise.
19125         (outsb): Likewise.
19126         (outsw): Likewise.
19127         (outsl): Likewise.
19129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19130         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19131         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19133         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19134         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19136         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19137         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19138         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19140         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19141         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19143         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19144         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19146         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19148         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19150         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19151         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19152         to ...
19153         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19155         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19156         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19157         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19159         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19160         for x86-64.
19161         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19163 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19165         * math/math.h (M_El): Use two more decimal places.
19166         (M_LOG2El): Likewise.
19167         (M_LOG10El): Likewise.
19168         (M_LN2l): Likewise.
19169         (M_LN10l): Likewise.
19170         (M_PIl): Likewise.
19171         (M_PI_2l): Likewise.
19172         (M_PI_4l): Likewise.
19173         (M_1_PIl): Likewise.
19174         (M_2_PIl): Likewise.
19175         (M_2_SQRTPIl): Likewise.
19176         (M_SQRT2l): Likewise.
19177         (M_SQRT1_2l): Likewise.
19179 2012-05-31  David S. Miller  <davem@davemloft.net>
19181         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19182         values between float registers.
19183         * sysdeps/sparc/sparc64/memset.S: Likewise.
19184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19186 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19188         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19189         -D_FORTIFY_SOURCE=1.
19190         (CPPFLAGS-tst-longjmp_chk.c): Define.
19191         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19192         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19193         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19194         CFLAGS-tst-wchar-h.c.
19196 2012-05-31  Marek Polacek  <polacek@redhat.com>
19198         [BZ #14132]
19199         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19200         __endmntent_internal): Remove declaration.
19201         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19202         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19203         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19205 2012-05-30  David S. Miller  <davem@davemloft.net>
19207         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19208         (___Q_simulate_exceptions): Use real FP ops rather than writing
19209         into the %fsr.
19210         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19211         Likewise.
19213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19215         [BZ #14117]
19216         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19217         * sysdeps/x86/bits/xtitypes.h: This.
19219         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19220         * sysdeps/x86/bits/wordsize.h: This.
19222         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19223         * sysdeps/x86/bits/huge_vall.h: This.
19225         * sysdeps/i386/bits/select.h: Removed.
19226         * sysdeps/x86_64/bits/select.h: Renamed to ...
19227         * sysdeps/x86/bits/select.h: This.
19229         * sysdeps/i386/bits/setjmp.h: Removed.
19230         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19231         * sysdeps/x86/bits/setjmp.h: This.
19233         * sysdeps/i386/bits/mathdef.h: Removed.
19234         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19235         * sysdeps/x86/bits/mathdef.h: This.
19237 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19239         [BZ #14132]
19240         * include/sys/socket.h (__connect_internal)
19241         (__libc_sa_len_internal): Remove declaration.
19242         (__connect, __libc_sa_len): Declare hidden_proto.
19243         (SA_LEN): Remove use of INTUSE.
19244         * socket/connect.c: Add libc_hidden_def.
19245         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19246         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19247         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19248         alias.
19249         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19251         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19252         of adding _internal alias.
19254 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19256         [BZ #14117]
19257         * sysdeps/i386/bits/link.h: Removed.
19258         * sysdeps/i386/bits/linkmap.h: Likewise.
19259         * sysdeps/x86_64/bits/link.h: Renamed to ...
19260         * sysdeps/x86/bits/link.h: This.
19261         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19262         * sysdeps/x86/bits/linkmap.h: This.
19264         * sysdeps/i386/bits/endian.h: Removed.
19265         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19266         * sysdeps/x86/bits/endian.h: This.
19268         * sysdeps/i386/bits/byteswap.h: Removed.
19269         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19270         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19271         * sysdeps/x86/bits/byteswap.h: This.
19272         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19273         * sysdeps/x86/bits/byteswap-16.h: This.
19274         * sysdeps/i386/Implies: Add x86.
19275         * sysdeps/x86_64/Implies: Likewise.
19277 2012-05-30  David S. Miller  <davem@davemloft.net>
19279         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19280         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19281         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19282         (FP_TRAPPING_EXCEPTIONS): Define.
19283         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19284         (FP_TRAPPING_EXCEPTIONS): Define.
19285         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19286         subnormals only when inexact has been signalled or underflow
19287         exceptions are enabled.
19288         (_FP_PACK_CANONICAL): Likewise.
19290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19292         [BZ #14183]
19293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19294         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19296 2012-05-30  Richard Henderson  <rth@twiddle.net>
19298         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19299         with #ifndef NOT_IN_libc.
19301         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19302         marked to avoid plt entry.
19304 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19306         [BZ #14112]
19307         * Makeconfig (default-abi): New macro.
19308         (abi-includes): Likewise.
19309         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19310         $(abi-$(default-abi)-lib-soname) for soname if defined.
19311         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19312         abi-variants.
19313         * Makefile (installed-stubs): Likewise.
19314         * include/stubs-biarch.h: Removed.
19315         * scripts/lib-names.awk: Only handle one library at a time.
19316         * scripts/soversions.awk: Remove WORDSIZE support.
19317         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19318         entries.
19319         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19320         Removed.
19321         (syscall-list-default-condition): Likewise.
19322         (syscall-list-default-condition): Likewise.
19323         (syscall-list-includes): Likewise.
19324         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19325         syscall-list-* with abi-*.  Handle undefined abi-variants.
19326         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19327         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19328         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19329         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19330         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19331         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19332         Removed.
19333         (syscall-list-32-options): Likewise.
19334         (syscall-list-32-condition): Likewise.
19335         (syscall-list-64-options): Likewise.
19336         (syscall-list-64-condition): Likewise.
19337         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19338         macro.
19339         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19340         Renamed to ...
19341         (abi-*): This.
19342         (abi-64-ld-soname): New macro.
19343         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19344         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19345         Renamed to ...
19346         (abi-*): This.
19347         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19348         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19350 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19352         * sysdeps/unix/sysv/linux/kernel-features.h
19353         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19354         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19355         include <kernel-features.h>.
19356         [!__NR_ftruncate64]: Remove conditional code.
19357         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19358         [__NR_ftruncate64]: Make code unconditional.
19359         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19360         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19361         include <kernel-features.h>.
19362         [!__NR_ftruncate64]: Remove conditional code.
19363         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19364         [__NR_ftruncate64]: Make code unconditional.
19365         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19367         include <kernel-features.h>.
19368         [!__NR_ftruncate64]: Remove conditional code.
19369         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19370         [__NR_ftruncate64]: Make code unconditional.
19371         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
19379         * configure.in (libc_cv_fpie): Weaken to a compile test using
19380         LIBC_TRY_CC_OPTION.
19381         * configure: Regenerated.
19383 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19389         Refreshed.
19390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19396         Refreshed.
19398 2012-05-27  David S. Miller  <davem@davemloft.net>
19400         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19401         (___Q_zero): New.
19402         (__Q_simulate_exceptions): Return void.  Change to simulate
19403         exceptions by writing into the %fsr.
19404         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19405         (__Qp_handle_exceptions): Likewise.
19406         (numbers): Delete.
19407         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19408         __Qp_handle_exceptions.
19409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19410         __Qp_handle_exceptions.
19411         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19412         as unused and give dummy FP_RND_NEAREST initializer.
19413         (FP_INHIBIT_RESULTS): Define.
19414         (___Q_simulate_exceptions): Update declaration.
19415         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19416         formatting.
19417         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19418         as unused and give dummy FP_RND_NEAREST initializer.
19419         (__Qp_handle_exceptions): Update declaration.
19420         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19421         formatting.
19423 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19425         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19426         the temporary FPU control word.
19427         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19428         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19429         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19430         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19431         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19432         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19433         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19434         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19435         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19436         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19437         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19439 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19441         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19442         fields.
19444 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19446         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19447         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19448         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19449         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19450         Likewise.
19451         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19452         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19453         Likewise.
19455 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19457         * po/h.po: Update from translation team.
19459 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19461         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19463         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19464         handling of denormals.
19465         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19466         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19467         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19468         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19472         Likewise.
19474 2012-05-26  Marek Polacek  <polacek@redhat.com>
19476         [BZ #14152]
19477         * math/libm-test.inc (fma_test): Don't always expect underflow
19478         exception.
19480 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19482         [BZ #12416]
19483         * elf/tst-execstack.c: Include stackinfo.h.
19484         (do_test): Adjust test case to ensure that pthread_getattr_np
19485         behaviour remains the same after marking stack executable.
19487 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19489         * sysdeps/unix/sysv/linux/kernel-features.h
19490         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19491         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19492         kernel-features.h.
19493         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19494         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19495         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19496         kernel-features.h.
19497         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19498         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19500 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19502         * configure.in: Define the default includes to being none.
19503         * configure: Regenerated.
19505 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19507         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19508         * sysdeps/x86_64/setjmp.S: Likewise.
19509         * sysdeps/i386/bsd-setjmp.S: Likewise.
19510         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19511         * sysdeps/i386/setjmp.S: Likewise.
19512         * sysdeps/i386/__longjmp.S: Likewise.
19513         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19514         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19516         * include/stap-probe.h: New file.
19517         * configure.in: Handle --enable-systemtap.
19518         * configure: Regenerated.
19519         * config.h.in (USE_STAP_PROBE): New #undef.
19520         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19521         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19522         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19524 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19526         [BZ #13717]
19527         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19528         to 2.4.0 where earlier.
19529         * sysdeps/unix/sysv/linux/configure: Regenerated.
19530         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19531         <kernel-features.h>.
19532         [__ASSUME_32BITUIDS]: Make code unconditional.
19533         [!__ASSUME_32BITUIDS]: Remove conditional code.
19534         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19535         <kernel-features.h>.
19536         [__ASSUME_32BITUIDS]: Make code unconditional.
19537         [!__ASSUME_32BITUIDS]: Remove conditional code.
19538         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19539         [__ASSUME_32BITUIDS]: Make code unconditional.
19540         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19541         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19542         <kernel-features.h>.
19543         [__ASSUME_32BITUIDS]: Make code unconditional.
19544         [!__ASSUME_32BITUIDS]: Remove conditional code.
19545         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19546         <kernel-features.h>.
19547         [__ASSUME_32BITUIDS]: Make code unconditional.
19548         [!__ASSUME_32BITUIDS]: Remove conditional code.
19549         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19550         <kernel-features.h>.
19551         [__ASSUME_32BITUIDS]: Make code unconditional.
19552         [!__ASSUME_32BITUIDS]: Remove conditional code.
19553         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19554         <kernel-features.h>.
19555         [__ASSUME_32BITUIDS]: Make code unconditional.
19556         [!__ASSUME_32BITUIDS]: Remove conditional code.
19557         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19558         <kernel-features.h>.
19559         [__ASSUME_32BITUIDS]: Make code unconditional.
19560         [!__ASSUME_32BITUIDS]: Remove conditional code.
19561         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19562         <kernel-features.h>.
19563         [__ASSUME_32BITUIDS]: Make code unconditional.
19564         [!__ASSUME_32BITUIDS]: Remove conditional code.
19565         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19566         <kernel-features.h>.
19567         [__ASSUME_32BITUIDS]: Make code unconditional.
19568         [!__ASSUME_32BITUIDS]: Remove conditional code.
19569         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19570         <kernel-features.h>.
19571         [__ASSUME_32BITUIDS]: Make code unconditional.
19572         [!__ASSUME_32BITUIDS]: Remove conditional code.
19573         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19574         <kernel-features.h>.
19575         [__ASSUME_32BITUIDS]: Make code unconditional.
19576         [!__ASSUME_32BITUIDS]: Remove conditional code.
19577         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19578         <kernel-features.h>.
19579         [__ASSUME_32BITUIDS]: Make code unconditional.
19580         [!__ASSUME_32BITUIDS]: Remove conditional code.
19581         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19582         <kernel-features.h>.
19583         [__NR_setresgid] (__setresgid): Do not declare.
19584         [__ASSUME_32BITUIDS]: Make code unconditional.
19585         [!__ASSUME_32BITUIDS]: Remove conditional code.
19586         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19587         <kernel-features.h>.
19588         [__NR_setresuid] (__setresuid): Do not declare.
19589         [__ASSUME_32BITUIDS]: Make code unconditional.
19590         [!__ASSUME_32BITUIDS]: Remove conditional code.
19591         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
19600         <kernel-features.h>.
19601         [__ASSUME_32BITUIDS]: Make code unconditional.
19602         [!__ASSUME_32BITUIDS]: Remove conditional code.
19603         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19604         <kernel-features.h>.
19605         [__ASSUME_32BITUIDS]: Make code unconditional.
19606         [!__ASSUME_32BITUIDS]: Remove conditional code.
19607         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19608         <kernel-features.h>.
19609         [__ASSUME_32BITUIDS]: Make code unconditional.
19610         [!__ASSUME_32BITUIDS]: Remove conditional code.
19611         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19612         <kernel-features.h>.
19613         [__ASSUME_32BITUIDS]: Make code unconditional.
19614         [!__ASSUME_32BITUIDS]: Remove conditional code.
19615         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19616         <kernel-features.h>.
19617         [__ASSUME_32BITUIDS]: Make code unconditional.
19618         [!__ASSUME_32BITUIDS]: Remove conditional code.
19619         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19620         <kernel-features.h>.
19621         [__ASSUME_32BITUIDS]: Make code unconditional.
19622         [!__ASSUME_32BITUIDS]: Remove conditional code.
19623         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19624         <kernel-features.h>.
19625         [__ASSUME_32BITUIDS]: Make code unconditional.
19626         [!__ASSUME_32BITUIDS]: Remove conditional code.
19627         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19628         <kernel-features.h>.
19629         [__ASSUME_32BITUIDS]: Make code unconditional.
19630         [!__ASSUME_32BITUIDS]: Remove conditional code.
19631         * sysdeps/unix/sysv/linux/kernel-features.h
19632         (__ASSUME_SETRESUID_SYSCALL): Remove.
19633         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19634         (__ASSUME_32BITUIDS): Likewise.
19635         (__ASSUME_LDT_WORKS): Likewise.
19636         (__ASSUME_O_DIRECTORY): Likewise.
19637         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19638         architecture but not kernel version.
19639         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19640         (__ASSUME_MMAP2_SYSCALL): Likewise.
19641         (__ASSUME_STAT64_SYSCALL): Likewise.
19642         (__ASSUME_IPC64): Likewise.
19643         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19644         <kernel-features.h>.
19645         [__ASSUME_32BITUIDS]: Make code unconditional.
19646         [!__ASSUME_32BITUIDS]: Remove conditional code.
19647         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19648         <kernel-features.h>.
19649         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19650         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19651         132096]: Remove conditional code.
19652         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19653         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19654         <kernel-features.h>.
19655         [__ASSUME_32BITUIDS]: Make code unconditional.
19656         [!__ASSUME_32BITUIDS]: Remove conditional code.
19657         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19658         <kernel-features.h>.
19659         [__ASSUME_32BITUIDS]: Make code unconditional.
19660         [!__ASSUME_32BITUIDS]: Remove conditional code.
19661         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19662         <kernel-features.h>.
19663         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19664         unconditional.
19665         (__setresgid): Do not declare.
19666         [__ASSUME_32BITUIDS]: Make code unconditional.
19667         [!__ASSUME_32BITUIDS]: Remove conditional code.
19668         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19669         <kernel-features.h>.
19670         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19671         unconditional.
19672         (__setresuid): Do not declare.
19673         [__ASSUME_32BITUIDS]: Make code unconditional.
19674         [!__ASSUME_32BITUIDS]: Remove conditional code.
19675         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
19680         <kernel-features.h>.
19681         [__ASSUME_32BITUIDS]: Make code unconditional.
19682         [!__ASSUME_32BITUIDS]: Remove conditional code.
19684 2012-05-25  Richard Henderson  <rth@twiddle.net>
19686         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19687         dl_hwcap to ifunc resolver.
19688         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19689         elf_ifunc_invoke.
19690         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19691         dl_hwcap to ifunc resolver.
19692         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19694 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19696         [BZ #14153]
19697         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19698         for |x| <= 2**-26, not 2**-57.
19699         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19700         exception.
19702 2012-05-24  Jeff Law  <law@redhat.com>
19704         * stdio-common/Makefile (tests): Add bug25.
19705         * stdio-common/bug25.c: New test.
19707 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19709         [BZ #13576]
19710         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19711         multiple of MALLOC_ALIGNMENT in size.
19712         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19714 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19716         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19717         Require >= 256.
19718         (FILENAME_MAX): Use macro-int-constant.
19719         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19720         (_IOFBF): Use macro-int-constant.
19721         (_IOLBF): Likewise.
19722         (_IONBF): Likewise.
19723         (SEEK_CUR): Likewise.
19724         (SEEK_END): Likewise.
19725         (SEEK_SET): Likewise.
19726         (TMP_MAX): Likewise.
19727         (EOF): Use macro-int-constant.  Require < 0.
19728         (NULL): Use macro-constant.  Require == 0.
19729         (stdin): Require type to be FILE *.
19730         (stdout): Likewise.
19731         (stderr): Likewise.
19732         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19733         macro-int-constant.
19734         (EXIT_SUCCESS): Likewise.
19735         (NULL): Use macro-constant.  Require == 0.
19736         (RAND_MAX): Use macro-int-constant.
19737         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19738         [C99-based standards] (strtof): Require function.
19739         [C99-based standards] (strtold): Likewise.
19740         [C99-based standards] (strtoll): Likewise.
19741         [C99-based standards] (strtoull): Likewise.
19742         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19743         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19744         [ISO || ISO99 || ISO11] (math.h): Likewise.
19745         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19746         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19749 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19751         [BZ #14132]
19752         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19753         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19754         * intl/dgettext.c (DCGETTEXT): Likewise.
19755         * intl/gettext.c (DCGETTEXT): Likewise.
19756         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19757         * posix/regex_internal.h (gettext): Likewise.
19758         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19759         Remove declaration.
19760         * include/argz.h (__argz_count_internal)
19761         (__argz_stringify_internal): Remove declaration.
19762         (__argz_count, __argz_stringify): Declare hidden proto.
19763         * intl/dcgettext.c: Remove use of INTDEF.
19764         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19765         * string/argz-stringify.c: Likewise.
19766         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19767         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19768         Declare hidden proto.
19769         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19770         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19771         Declare hidden proto.
19772         * include/stdio.h (__asprintf_internal): Don't declare.
19773         (__asprintf): Don't define as macro.  Declare hidden proto.
19774         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19775         (__fsetlocking): Declare hidden proto.
19776         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19777         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19778         hidden proto.
19779         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19780         (_IO_setlinebuf): Remove use of INTUSE.
19781         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19782         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19783         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19784         Remove declaration.
19785         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19786         (_IO_do_flush): Remove use of INTUSE.
19787         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19788         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19789         (_IO_adjust_column, _IO_least_wmarker)
19790         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19791         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19792         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19793         (_IO_default_doallocate, _IO_wdefault_doallocate)
19794         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19795         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19796         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19797         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19798         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19799         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19800         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19801         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19802         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19803         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19804         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19805         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19806         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19807         proto.
19808         (_IO_flush_all_internal, _IO_adjust_column_internal)
19809         (_IO_default_uflow_internal, _IO_default_finish_internal)
19810         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19811         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19812         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19813         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19814         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19815         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19816         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19817         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19818         (_IO_file_close_internal, _IO_file_close_it_internal)
19819         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19820         (_IO_file_init_internal, _IO_file_attach_internal)
19821         (_IO_file_fopen_internal, _IO_file_read_internal)
19822         (_IO_file_sync_internal, _IO_file_seek_internal)
19823         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19824         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19825         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19826         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19827         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19828         (_IO_list_all_internal, _IO_link_in_internal)
19829         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19830         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19831         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19832         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19833         (_IO_do_write_internal, _IO_padn_internal)
19834         (_IO_getline_info_internal, _IO_getline_internal)
19835         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19836         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19837         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19838         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19839         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19840         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19841         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19842         with libc_hidden_ver, remove use of INTUSE.
19843         * libio/genops.c: Likewise.
19844         * libio/freopen.c: Likewise.
19845         * libio/freopen64.c: Likewise.
19846         * libio/iofclose.c: Likewise.
19847         * libio/iofdopen.c: Likewise.
19848         * libio/iofflush.c: Likewise.
19849         * libio/iofflush_u.c: Likewise.
19850         * libio/iofgets.c: Likewise.
19851         * libio/iofgets_u.c: Likewise.
19852         * libio/iofopen.c: Likewise.
19853         * libio/iofopncook.c: Likewise.
19854         * libio/iofread.c: Likewise.
19855         * libio/iofread_u.c: Likewise.
19856         * libio/ioftell.c: Likewise.
19857         * libio/iofwrite.c: Likewise.
19858         * libio/iogetline.c: Likewise.
19859         * libio/iogets.c: Likewise.
19860         * libio/iogetwline.c: Likewise.
19861         * libio/iopadn.c: Likewise.
19862         * libio/iopopen.c: Likewise.
19863         * libio/ioseekoff.c: Likewise.
19864         * libio/ioseekpos.c: Likewise.
19865         * libio/iosetbuffer.c: Likewise.
19866         * libio/iosetvbuf.c: Likewise.
19867         * libio/ioungetc.c: Likewise.
19868         * libio/ioungetwc.c: Likewise.
19869         * libio/iovdprintf.c: Likewise.
19870         * libio/iovsprintf.c: Likewise.
19871         * libio/iovsscanf.c: Likewise.
19872         * libio/memstream.c: Likewise.
19873         * libio/obprintf.c: Likewise.
19874         * libio/oldfileops.c: Likewise.
19875         * libio/oldiofclose.c: Likewise.
19876         * libio/oldiofdopen.c: Likewise.
19877         * libio/oldiofopen.c: Likewise.
19878         * libio/oldiopopen.c: Likewise.
19879         * libio/oldstdfiles.c: Likewise.
19880         * libio/putc.c: Likewise.
19881         * libio/setbuf.c: Likewise.
19882         * libio/setlinebuf.c: Likewise.
19883         * libio/stdfiles.c: Likewise.
19884         * libio/strops.c: Likewise.
19885         * libio/vasprintf.c: Likewise.
19886         * libio/vscanf.c: Likewise.
19887         * libio/vsnprintf.c: Likewise.
19888         * libio/vswprintf.c: Likewise.
19889         * libio/wfiledoalloc.c: Likewise.
19890         * libio/wfileops.c: Likewise.
19891         * libio/wgenops.c: Likewise.
19892         * libio/wmemstream.c: Likewise.
19893         * libio/wstrops.c: Likewise.
19894         * libio/__fpurge.c: Likewise.
19895         * libio/__fsetlocking.c: Likewise.
19896         * assert/assert.c: Likewise.
19897         * debug/fgets_chk.c: Likewise.
19898         * debug/fgets_u_chk.c: Likewise.
19899         * debug/fread_chk.c: Likewise.
19900         * debug/fread_u_chk.c: Likewise.
19901         * debug/gets_chk.c: Likewise.
19902         * debug/obprintf_chk.c: Likewise.
19903         * debug/vasprintf_chk.c: Likewise.
19904         * debug/vdprintf_chk.c: Likewise.
19905         * debug/vsnprintf_chk.c: Likewise.
19906         * debug/vsprintf_chk.c: Likewise.
19907         * malloc/mtrace.c: Likewise.
19908         * misc/error.c: Likewise.
19909         * misc/syslog.c: Likewise.
19910         * stdio-common/asprintf.c: Likewise.
19911         * stdio-common/fxprintf.c: Likewise.
19912         * stdio-common/getw.c: Likewise.
19913         * stdio-common/isoc99_fscanf.c: Likewise.
19914         * stdio-common/isoc99_scanf.c: Likewise.
19915         * stdio-common/isoc99_vfscanf.c: Likewise.
19916         * stdio-common/isoc99_vscanf.c: Likewise.
19917         * stdio-common/isoc99_vsscanf.c: Likewise.
19918         * stdio-common/printf-prs.c: Likewise.
19919         * stdio-common/printf_fp.c: Likewise.
19920         * stdio-common/printf_fphex.c: Likewise.
19921         * stdio-common/printf_size.c: Likewise.
19922         * stdio-common/putw.c: Likewise.
19923         * stdio-common/scanf.c: Likewise.
19924         * stdio-common/sprintf.c: Likewise.
19925         * stdio-common/tmpfile.c: Likewise.
19926         * stdio-common/vfprintf.c: Likewise.
19927         * stdio-common/vfscanf.c: Likewise.
19928         * stdlib/strfmon_l.c: Likewise.
19929         * sunrpc/openchild.c: Likewise.
19930         * sunrpc/xdr_stdio.c: Likewise.
19931         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19932         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19934 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19938         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19939         in the third column, to generate for the shared library an IFUNC
19940         that uses _dl_vdso_vsym.
19941         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19942         * Makeconfig (object-suffixes-noshared): New variable.
19944         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19945         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19946         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19947         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19949         [BZ #14132]
19950         * include/sys/time.h (__gettimeofday): Remove macro.
19951         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19952         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19953         Remove INTDEF.
19954         (__gettimeofday): Add libc_hidden_def.
19955         (gettimeofday): Add libc_hidden_weak.
19956         * sysdeps/mach/gettimeofday.c: Likewise.
19957         * sysdeps/posix/gettimeofday.c: Likewise.
19958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19959         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19961         (__gettimeofday_internal): Remove strong_alias.
19962         (__gettimeofday): Add libc_hidden_def.
19963         (gettimeofday): Add libc_hidden_weak.
19964         * sysdeps/unix/syscalls.list (gettimeofday):
19965         Remove __gettimeofday_internal alias.
19967 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19968             H.J. Lu  <hongjiu.lu@intel.com>
19970         [BZ #12495]
19971         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19972         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19973         (largebin_index_32_big): New.
19974         (largebin_index): Use it for 16-byte alignment.
19975         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19976         correction with front_misalign.
19978 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19982         Likewise.
19983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19984         Likewise.
19985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19986         Likewise.
19987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19988         Likewise.
19989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19990         Likewise.
19991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19992         Likewise.
19993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19994         Likewise.
19995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19996         Likewise.
19997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19998         Likewise.
19999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20000         Likewise.
20001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20002         Likewise.
20003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20004         Likewise.
20006         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20007         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20009 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20011         [BZ #10846]
20012         [BZ #14036]
20013         * math/libm-test.inc (exp_test): Add test from bug 14036.
20014         (pow_test): Add test from bug 10846.
20016         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20017         and other flags.
20018         (special_function): Do not include flags in test name.
20019         (parse_args): Likewise.
20020         * sysdeps/i386/fpu/libm-test-ulps: Update.
20021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20023         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20026         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20027         exceptions.
20028         * math/libm-test.inc ("Philosophy"): Update comment about
20029         exception testing.
20030         (UNDERFLOW_EXCEPTION): New macro.
20031         (UNDERFLOW_EXCEPTION_OK): Likewise.
20032         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20033         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20034         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20035         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20036         (INVALID_EXCEPTION_OK): Update value.
20037         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20038         (OVERFLOW_EXCEPTION_OK): Likewise.
20039         (IGNORE_ZERO_INF_SIGN): Likewise.
20040         (test_exceptions): Handle underflow exceptions.
20041         (acos_test): Update for underflow exception expectations.
20042         (cexp_test): Likewise.
20043         (clog_test): Likewise.
20044         (clog10_test): Likewise.
20045         (csqrt_test): Likewise.
20046         (ctan_test): Likewise.
20047         (ctanh_test): Likewise.
20048         (exp_test): Likewise.
20049         (exp10_test): Likewise.
20050         (exp2_test): Likewise.
20051         (expm1_test): Likewise.
20052         (fma_test): Likewise.
20053         (j0_test): Likewise.
20054         (jn_test): Likewise.
20055         (nexttoward_test): Likewise.
20056         (pow_test): Likewise.
20057         (scalbn_test): Likewise.
20058         (scalbln_test): Likewise.
20059         (tan_test): Likewise.
20060         (y1_test): Likewise.
20061         * sysdeps/i386/fpu/libm-test-ulps: Update.
20062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20064 2012-05-23  David S. Miller  <davem@davemloft.net>
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20067         (__libc_sigaction): Remove unused local variables.
20069 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20071         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20073 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20075         mktime: avoid signed integer overflow
20076         * time/mktime.c (__mktime_internal): Do not mishandle the case
20077         where diff == INT_MIN.
20079         mktime: simplify computation of average
20080         * time/mktime.c (ranged_convert): Use new time_t_avg function
20081         instead of rolling our own (probably-slower) code.
20083         mktime: do not assume signed right shift propagates sign bit
20084         * time/mktime.c (isdst_differ): New static function.
20085         (__mktime_internal): No need to normalize tm_isdst now.
20086         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20087         tm_isdst values.
20089         mktime: merge another wrapv change from gnulib
20090         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20091         from some compilers.
20093         mktime: remove incorrect attempt at unusual arithmetics
20094         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20095         The code didn't really work on such machines anyway.
20096         (TYPE_MINIMUM): Assume two's complement.
20097         (twos_complement_arithmetic): Verify that long_int and time_t
20098         are two's complement (or unsigned, in the latter case).
20100         mktime: check signed shifts on long_int and time_t, too
20101         * time/mktime.c (SHR): Check that shifts work as desired
20102         on the types long_int and time_t too, as SHR is used on
20103         such types.
20105         mktime: do not assume 'long' is wide enough
20106         * time/mktime.c (verify): Move decl up.
20107         (long_int): New type.
20108         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20109         to remove assumption in the code that 'long' is wide enough to
20110         store year values.  This assumption is not true on x32 and on
20111         some non-glibc platforms.
20113         mktime: merge wrapv change from gnulib
20114         * time/mktime.c (WRAPV): New macro.
20115         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20116         (guess_time_tm, __mktime_internal): Do not assume that signed
20117         integer overflow wraps around; modern compilers generate code
20118         where this assumption is no longer valid.
20120 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20122         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20123         Replace "jmp L(pseudo_end)" with "ret".
20124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20125         Likewise.
20127 2012-05-23  Andreas Jaeger  <aj@suse.de>
20129         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20130         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20132 2012-05-23  Andreas Jaeger  <aj@suse.de>
20133             Maximilian Attems  <max@stro.at>
20135         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20136         New macros.
20138 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20141         code so that pseudo_end is just ret and the stack pointer is
20142         correct also for static library in error case.
20144 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20146         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20147         move to syscalls.list.
20148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20153         * manual/install.texi (Running make install): Do not mention Linux
20154         kernel version for which pt_chown is not needed.
20155         (Linux): Do not mention problems with nscd with 2.0 kernels.
20156         * INSTALL: Regenerated.
20158 2012-05-23  Andreas Jaeger  <aj@suse.de>
20160         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20161         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20162         macro.
20163         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20164         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20165         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20166         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20167         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20168         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20169         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20170         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20171         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20172         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20173         * sysdeps/unix/sysv/linux/bits/in.h
20174         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20176 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20178         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20179         (PREPARE_VERSION): Just use assert instead, it will be elided
20180         under [NDEBUG] anyway.
20182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20184         * sysdeps/unix/sysv/linux/Makefile: Include
20185         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20186         (sysdep_routines): Remove sysctl.
20187         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20188         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20189         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20190         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20191         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20193 2012-05-22  Andreas Jaeger  <aj@suse.de>
20195         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20196         that pseudo_end is just ret and the stack pointer is correct also
20197         for static library in error case.
20199 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20201         [BZ #14122]
20202         * nss/nsswitch.c (defconfig_entries): New variable.
20203         (__nss_database_lookup): Don't leak defconfig entries.
20204         (nss_parse_service_list): Don't leak on error paths.
20205         (free_database_entries): New function.
20206         (free_defconfig): New function.
20207         (free_mem): Move common code to free_database_entries.
20209 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20211         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20212         Add arch_prctl.
20213         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20216         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20218         New macro.
20219         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20220         (INTERNAL_SYSCALL_TYPES): Likewise.
20221         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20222         (LOAD_REGS_TYPES_[1-6]): Likewise.
20223         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20224         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20226 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20229         copysignl for GLIBC_2_0.
20230         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20231         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20233         logbl for GLIBC_2_0.
20234         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20235         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20237 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20240         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20242         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20243         Use "neg %eax".
20245         * time/mktime.c: Update copyright years.
20247 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20249         mktime: merge comment-quoting-style change from gnulib
20250         * time/mktime.c: Quote 'like this' in comments.
20251         The GNU coding standards suggest that we no longer quote `like this',
20252         as "`" and "'" are typically rendered asymmetrically nowadays.
20253         The typical gnulib style is to quote 'like this' when quoting
20254         code, and "like this" when quoting English.
20256         * time/mktime.c (compile-command): Add "-I.".
20258         mktime: merge mktime-internal.h change from gnulib
20259         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20261         mktime: merge time_r change from gnulib
20262         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20264         mktime: merge DEBUG change from gnulib
20265         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20266         case system <time.h> has a #define.
20268         mktime: merge <sys/types.h> change from gnulib
20269         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20270         since <time.t> is now guaranteed to define time_t.
20272         mktime: merge HAVE_CONFIG_H change from gnulib
20273         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20275 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20278         Use "neg %eax".
20280         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20281         __rlim_t cast.
20282         (struct rusage): Use anonymous union to pad each field to
20283         __syscall_slong_t.
20285 2012-05-21  David S. Miller  <davem@davemloft.net>
20287         * Makefules (o-iterator): Remove .s cases.
20288         (compile-command.s): Delete.
20289         (COMPILE.s): Delete.
20290         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20292 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20294         * configure.in (libc_cv_predef_stack_protector): Only consider
20295         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20296         * configure: Regenerated.
20298 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20301         New macro.  Use R*LP on int and pointer.
20302         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20303         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20304         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20305         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20307         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20308         [__WORDSIZE_TIME64_COMPAT32] instead of
20309         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20310         (struct utmp): Likewise.
20311         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20312         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20313         Renamed to ...
20314         (__WORDSIZE_TIME64_COMPAT32): This.
20315         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20316         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20317         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20318         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20319         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20320         (__WORDSIZE_TIME64_COMPAT32): New macro.
20322 2012-05-21  Andreas Jaeger  <aj@suse.de>
20324         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20325         only if [SHARED]. Add prototype for __wcschr_ia32.
20327 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20329         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20330         of %rbp unmolested in the jmp_buf while mangling the low bits.
20331         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20332         unmolested high bits of %rbp while demangling the low bits.
20333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20335 2012-05-21  Andreas Jaeger  <aj@suse.de>
20337         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20338         * sunrpc/svc_simple.c: Use it for registerrpc.
20339         * sunrpc/xcrypt.c: Use it for passwd2des.
20341         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20343 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20345         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20346         Don't define if [__SYSCALL_WORDSIZE != 32].
20347         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20348         New macro.
20350 2012-05-21  Bruno Haible  <bruno@clisp.org>
20351             Andreas Jaeger  <aj@suse.de>
20353         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20354         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20355         inptr and inend for must_buffer_ch.
20356         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20357         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20358         * stdio-common/Makefile (tests): Remove bug15.
20359         (bug15-ENV): Remove macro.
20360         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20361         anymore.
20363 2012-05-19  Andreas Jaeger  <aj@suse.de>
20364             Roland McGrath  <roland@hack.frob.com>
20366         * manual/contrib.texi: Completely rewritten. It contains now an
20367         alphabetical list of contributors and their contributions.
20369 2012-05-21  Richard Henderson  <rth@twiddle.net>
20371         * misc/getauxval.c (__getauxval): Use unsigned long int.
20372         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20373         (getauxval): Use unsigned long int.
20375 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20377         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20379 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20381         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20382         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20383         __alignof__ (long double).
20385 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20389 2012-05-20  Richard Henderson  <rth@twiddle.net>
20391         * misc/getauxval.c: New file.
20392         * misc/sys/auxv.h: New file.
20393         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20394         (routines): Add getauxval.
20395         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20396         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20397         * elf/dl-sysdep.c (_dl_auxv): Remove.
20398         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20399         * elf/dl-support.c (_dl_auxv): New variable.
20400         (_dl_aux_init): Initialize it.
20401         * manual/startup.texi (Auxiliary Vector): New node.
20402         * sysdeps/generic/bits/hwcap.h: New file.
20403         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20404         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20405         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20406         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20407         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20410         Update.
20411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20414         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20420 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20424 2012-05-19  David S. Miller  <davem@davemloft.net>
20426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20428 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20430         [BZ #14123]
20431         * math/s_ccosh.c: Include <float.h>
20432         (__ccosh): Avoid internal overflow calculating sinh and cosh
20433         values before multiplying by sin and cos values.
20434         * math/s_ccoshf.c: Likewise.
20435         * math/s_ccoshl.c: Likewise.
20436         * math/s_csin.c: Likewise.
20437         * math/s_csinf.c: Likewise.
20438         * math/s_csinl.c: Likewise.
20439         * math/s_csinh.c: Likewise.
20440         * math/s_csinhf.c: Likewise.
20441         * math/s_csinhl.c: Likewise.
20442         * math/libm-test.inc (ccos_test): Add more tests.
20443         (ccosh_test): Likewise.
20444         (csin_test): Likewise.
20445         (csinh_test): Likewise.
20446         * sysdeps/i386/fpu/libm-test-ulps: Update.
20447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20449 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20451         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20452         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20454         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20456 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20458         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20459         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20460         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20461         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20462         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20463         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20464         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20465         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20466         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20467         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20468         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20469         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20470         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20471         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20472         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20473         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20474         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20475         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20476         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20477         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20478         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20479         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20480         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20481         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20482         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20483         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20484         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20485         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20486         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20487         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20488         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20490 2012-05-18  Andreas Jaeger  <aj@suse.de>
20492         * csu/.gitignore: Delete.
20494 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20496         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20497         (timex): Use __syscall_slong_t.
20499 2012-05-18  Andreas Jaeger  <aj@suse.de>
20500             Carlos O'Donell  <carlos_odonell@mentor.com>
20502         * manual/install.texi (Configuring and compiling): Update
20503         description about files modified in the source directory.
20504         * INSTALL: Regenerated.
20506 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20508         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20509         value.  Use "or" to set return value to -1.
20510         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20511         negate return value.
20513 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20515         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20516         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20517         failure if the compiler has Graphite support disabled.
20518         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20519         Likewise.
20520         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20521         CFLAGS-memmove.c): Likewise.
20522         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20523         Likewise.
20525 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20527         * sysdeps/x86_64/x32/_itoa.h: New file.
20529         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20530         getdents system call only if kernel and user dirents have the
20531         same d_ino and d_off.
20533         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20534         LLONG_MAX != LONG_MAX.
20535         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20536         (_fitoa_word): Likewise.
20538         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20539         years.
20540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20541         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20542         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20544         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20545         include <bits/wordsize.h>.  Check __x86_64__ instead of
20546         __WORDSIZE.
20547         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20548         if __x86_64__ is defined.  Use anonymous union on fpstate.
20550         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20551         anonymous union.
20553 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20555         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20556         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20558         Refer to _rtld_local_ro instead of _rtld_global_ro.
20559         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20560         Likewise.
20561         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20562         Likewise.
20563         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20564         Likewise.
20565         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20566         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20567         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20569         * sysdeps/powerpc/powerpc32/dl-machine.c
20570         (__elf_machine_runtime_setup) [PROF]: Don't reference
20571         _dl_prof_resolve.
20573 2012-05-18  Andreas Jaeger  <aj@suse.de>
20575         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20576         function only available for GCCs before 3.4 since GCC 3.4
20577         introduced a builtin.
20578         (lrint): Likewise.
20579         (llrintf): Likewise.
20580         (llrint): Likewise.
20581         (fmaxf): Likewise.
20582         (fmax): Likewise.
20583         (fminf): Likewise.
20584         (fmin): Likewise.
20585         (rint): Likewise.
20586         (rintf): Likewise.
20587         (nearbyint): Likewise.
20588         (nearbyintf): Likewise.
20589         (ceil): Likewise.
20590         (ceilf): Likewise.
20591         (floor): Likewise.
20592         (floorf): Likewise.
20594 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20596         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20597         on both fields and cast pointer to __syscall_ulong_t.
20599         * bits/types.h (__fsword_t): New type.
20600         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20601         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20603         (__FSWORD_T_TYPE): Likewise.
20604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20605         (__FSWORD_T_TYPE): Likewise.
20606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20607         (__FSWORD_T_TYPE): Likewise.
20608         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20609         (__FSWORD_T_TYPE): Likewise.
20610         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20611         __SWORD_TYPE with __fsword_t.
20612         (statfs64): Likewise.
20614 2012-05-17  David S. Miller  <davem@davemloft.net>
20616         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20618 2012-05-17  Andreas Jaeger  <aj@suse.de>
20620         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20621         warning.
20623 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20625         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20627 2012-05-17  Andreas Jaeger  <aj@suse.de>
20629         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20630         when it is used.
20632 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20634         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20636 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20638         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20639         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20641 2012-05-17  Andreas Jaeger  <aj@suse.de>
20642             Carlos O'Donell  <carlos_odonell@mentor.com>
20644         [BZ #14059]
20645         * sysdeps/x86_64/multiarch/init-arch.h
20646         (bit_YMM_Usable): Rename to...
20647         (bit_AVX_Usable): ... this.
20648         (bit_FMA4_Usable): New macro.
20649         (bit_XMM_state): New macro.
20650         (bit_YMM_state): New macro.
20651         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20652         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20653         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20654         (CPUID_OSXSAVE): New macro.
20655         (CPUID_AVX): New macro.
20656         (CPUID_FMA4): New macro.
20657         (index_YMM_Usable): Rename to...
20658         (index_AVX_Usable): ... this.
20659         (HAS_AVX): Use HAS_ARCH_FEATURE.
20660         (HAS_FMA4): Likewise.
20661         (HAS_YMM_USABLE): Remove.
20662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20663         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20664         are present.
20665         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20666         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20667         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20668         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20669         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20671 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20673         * math/libm-test.c: Support platforms without multiple rounding modes.
20674         * math/bug-nextafter.c: Support platforms without FP exceptions.
20675         * math/bug-nexttoward.c: Likewise.
20676         * math/test-fenv.c: Likewise.
20677         * math/test-misc.c: Likewise.
20678         * stdlib/bug-getcontext.c: Likewise.
20680 2012-05-17  Andreas Jaeger  <aj@suse.de>
20682         * manual/examples/search.c (critter_cmp): Change signature to
20683         avoid warnings.
20684         * manual/string.texi (Collation Functions): Likewise.
20686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20688         * bits/types.h: Fold copyright years.
20689         * bits/typesizes.h: Likewise.
20690         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20694         * time/time.h: Likewise.
20696 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20698         [BZ #208]
20699         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20700         in instead of returning them.  Return void.
20701         (__libc_mallinfo): Accumulate over all arenas.
20702         (__malloc_stats): Adjust for change in int_mallinfo interface.
20704 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20706         [BZ #10375]
20707         * configure.in (NM): Add AC_CHECK_TOOL for it.
20708         (libc_extra_cflags): New substituted variable.
20709         Check for -fstack-protector being used implicitly.
20710         * configure: Regenerated.
20711         * config.make.in (config-extra-cflags): New variable,
20712         gets @libc_extra_cflags@.
20713         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20715         [BZ #10375]
20716         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20717         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20718         * configure: Regenerated.
20719         * config.make.in (CPPUNDEFS): New substituted variable.
20720         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20721         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20722         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20726         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20727         (mq_attr): Use __syscall_slong_t.
20729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20731         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20732         Check __x86_64__ instead of __WORDSIZE.
20733         (_STAT_VER_LINUX): Likewise.
20734         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20735         __syscall_ulong_t and __syscall_slong_t.
20736         (stat64): Likewise.
20738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20740         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20742 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20744         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20746 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20748         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20749         __syscall_ulong_t.
20751         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20752         include <bits/wordsize.h>.  Check __x86_64__ instead of
20753         __WORDSIZE.
20754         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20755         defined.
20756         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20758         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20759         include <bits/wordsize.h>.  Check __x86_64__ instead of
20760         __WORDSIZE.
20761         (user_regs_struct): Use "__extension__ unsigned long long"
20762         instead of "unsigned long" if __x86_64__ is defined.
20763         (user): Likewise.  Pad after pointer field if __ILP32__ is
20764         defined.
20766 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20768         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20769         versions 5 to 9.
20770         * configure: Regenerated.
20771         * manual/install.texi (texinfo): Increase version requirement to
20772         4.5 or later.
20773         * INSTALL: Regenerated.
20775         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20779         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20781         * sysdeps/x86_64/x32/ffs.c: New file.
20783         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20784         __syscall_ulong_t.
20785         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20786         defined.  Use __syscall_ulong_t.
20787         (shminfo): Use __syscall_ulong_t.
20788         (shm_info): Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20791         __syscall_ulong_t.
20793         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20794         <bits/wordsize.h>.
20795         (msgqnum_t): Use __syscall_ulong_t.
20796         (msglen_t): Likewise.
20797         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20798         __syscall_ulong_t.
20800         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20803         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20805         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20806         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20808         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20809         __syscall_slong_t.
20811         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20812         include <bits/wordsize.h>.  Check __x86_64__ instead of
20813         __WORDSIZE.
20815         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20816         "unsigned long long int" if __x86_64__ is defined.
20817         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20819         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20820         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20821         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20823         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20824         <stdint.h>.
20825         (GET_PC): Cast to uintptr_t first.
20826         (GET_FRAME): Likewise.
20827         (GET_STACK): Likewise.
20829         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20830         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20831         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20832         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20833         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20834         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20835         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20836         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20837         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20838         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20839         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20840         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20841         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20842         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20843         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20844         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20845         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20846         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20847         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20849         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20850         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20851         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20852         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20853         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20854         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20855         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20856         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20857         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20859 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20861         * Makerules (+depfiles): Also collect depfiles from .oS in
20862         $(extra-objs).
20863         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20864         .oS, $(libnldbl-routines)).
20866         * Makerules (native-compile-mkdep-flags): Define.
20867         * sunrpc/Makefile (extra-objs): Add $(addprefix
20868         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20869         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20870         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20871         calling $(make-target-directory).
20873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20875         * bits/types.h (__snseconds_t): Removed.
20876         * time/time.h (struct timespec): Replace __snseconds_t with
20877         __syscall_slong_t.
20878         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20879         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20880         Likewise.
20881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20882         (__SNSECONDS_T_TYPE): Likewise.
20883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20884         (__SNSECONDS_T_TYPE): Likewise.
20885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20886         (__SNSECONDS_T_TYPE): Likewise.
20888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20890         * sysdeps/mach/hurd/bits/typesizes.h
20891         (__SYSCALL_SLONG_TYPE): New macro.
20892         (__SYSCALL_ULONG_TYPE): Likewise.
20894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20896         * bits/types.h (__syscall_slong_t): New type.
20897         (__syscall_ulong_t): Likewise.
20899         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20900         (__SYSCALL_ULONG_TYPE): Likewise.
20901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20902         (__SYSCALL_SLONG_TYPE): Likewise.
20903         (__SYSCALL_ULONG_TYPE): Likewise.
20904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20905         (__SYSCALL_SLONG_TYPE): Likewise.
20906         (__SYSCALL_ULONG_TYPE): Likewise.
20907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20908         (__SYSCALL_SLONG_TYPE): Likewise.
20909         (__SYSCALL_ULONG_TYPE): Likewise.
20911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20913         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20914         Add sigaltstack-offsets.sym.
20915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20916         <sigaltstack-offsets.h>.
20917         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20918         longjmp_msg pointer.
20919         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20920         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20921         signal stack.
20922         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20924 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20926         * elf/stackguard-macros.h: Remove file.
20927         * sysdeps/generic/stackguard-macros.h: New file.
20928         * sysdeps/i386/stackguard-macros.h: Likewise.
20929         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20930         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20931         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20932         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20933         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20934         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20935         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20936         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20937         <elf/stackguard-macros.h>.
20939         [BZ #14109]
20940         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20941         __aligned__ in attribute.
20942         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20943         (gregset_t): Likewise.
20945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20947         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20948         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20949         * sysdeps/x86_64/x32/Implies-after: New file.
20951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20953         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20954         and access return value for _dl_profile_fixup.  Use R10_LP to
20955         load frame size.
20957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20959         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20963         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20964         * sysdeps/x86_64/x32/sysdep.h: New file.
20966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20968         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20969         * sysdeps/x86_64/setjmp.S: Likewise.
20971 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20973         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20974         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20975         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20976         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20977         remove unused global constant.
20979 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20981         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20982         include of <not-cancel.h>.
20984 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20986         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20988 2012-05-15  Jeff Law  <law@redhat.com>
20989             Andreas Jaeger  <aj@suse.de>
20991         [BZ #13594]
20992         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20993         out from...
20994         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20995         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20996         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20997         code changing __hst_map_handle.map.
20999 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21001         * configure.in (sysnames): Look for Implies-before and Implies-after
21002         files.
21003         * configure: Regenerated.
21005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21007         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21008         8-byte data alignment with LP_SIZE alignment.
21010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21012         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21013         into R10_LP.
21015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21017         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21022         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21024         Likewise.
21025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21029         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21030         (stackinfo_sub_sp): Likewise.
21032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21034         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21035         RAX_LP.
21037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21039         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21040         into R*_LP.
21042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21044         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21045         sizes into R*_LP.
21047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21049         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21053         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21054         into R11_LP and load __x86_64_shared_cache_size_half into
21055         R8_LP.
21057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21060         R8_LP.
21062 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21065         logb for POWER7.
21066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21067         logbf for POWER7.
21068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21069         logbl for POWER7.
21070         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21071         powerpc32/power7/fpu/s_logb.c via #include.
21072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21073         powerpc32/power7/fpu/s_logbf.c via #include.
21074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21075         powerpc32/power7/fpu/s_logbl.c via #include.
21077 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21079         * README.libm: Remove file.
21081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21083         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21084         count for x32.  Use R*_LP and omit operand-size suffix.
21086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21088         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21089         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21090         * sysdeps/x86_64/x32/shlib-versions: New file.
21092 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21094         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21095         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21096         Use _dl_fatal_printf instead.
21098 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21100         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21101         set if not set by the user.  Do not allow for being unset.
21102         * sysdeps/unix/sysv/linux/configure: Regenerated.
21104 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21106         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21107         the `q' suffix from lea and replace .quad with ASM_ADDR.
21109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21112         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21113         instead of $17.
21114         (PTR_DEMANGLE): Likewise.
21116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21118         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21119         (LP_OP): Likewise.
21120         (ASM_ADDR): Likewise.
21121         (RAX_LP): Likewise.
21122         (RBP_LP): Likewise.
21123         (RBX_LP): Likewise.
21124         (RCX_LP): Likewise.
21125         (RDI_LP): Likewise.
21126         (RSI_LP): Likewise.
21127         (RSP_LP): Likewise.
21128         (R8_LP): Likewise.
21129         (R9_LP): Likewise.
21130         (R10_LP): Likewise.
21131         (R10_LP): Likewise.
21132         (R11_LP): Likewise.
21133         (R12_LP): Likewise.
21134         (R13_LP): Likewise.
21135         (R14_LP): Likewise.
21136         (R15_LP): Likewise.
21138 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21140         * sysdeps/x86_64/x32/dl-machine.h: New file.
21142 2012-05-14  Andreas Jaeger  <aj@suse.de>
21144         * manual/Makefile (subdir): Remove export of subdir.
21145         (all): Remove target.
21146         (.PHONY): Remove all from list.
21147         (mkinstalldirs): Remove.
21148         (.PHONY): Remove installdirs from list.
21149         ($(inst_infodir)/libc.info): Use make-target-directory.
21150         (installdirs): Remove.
21151         (subdir_%): Remove.
21152         (glibc-targets): Remove.
21153         (lib): Remove.
21154         (stubs): Remove.
21155         ($(objpfx)stubs ../po/manual.pot): Remove.
21156         ($(objpfx)stamp%): Remove.
21157         (make-target-directory): Remove.
21158         (subdir_install): Remove.
21159         (routines): Remove.
21160         (aux): Remove.
21161         (sources): Remove.
21162         (objects): Remove.
21163         (headers): Remove.
21165         [BZ #13750]
21166         * manual/.gitignore: Remove, it's not needed anymore.
21167         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21168         all files in it.
21169         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21170         directory.
21171         (texis): Renamed to $(objpfx)texis.
21172         (texis-path): New, contains path to generated files.
21173         (chapters.%): Use texis-path for complete path, add extra argument
21174         libc-texinfo.sh.
21175         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21176         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21177         (summary,texi, stamp-summary): Use complete path of
21178         files. Generate files in build dir.
21179         (dir-add.texi): Build in build dir.
21180         (libm-err.texi,stamp-libm-err): Likewise.
21181         (version.texi, stamp-version): Likewise.
21182         (.%c.texi): Likewise.
21183         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21184         (mostlyclean): Remove target.
21185         (realclean): Remove target.
21186         (generated): Add new variable with contents from mostlyclean and
21187         realclean, remove entries duplicated in common-mostlyclean, add
21188         stamp-libm-err and stamp-version.
21189         (generated-dirs): Add libc directory.
21190         ($(inst_infodir)/libc.info): Install files from build dir.
21192         * manual/install.texi (Configuring and compiling): Adjust since
21193         the info files are not part of the tar ball anymore.
21195 2012-05-14  Andreas Jaeger  <aj@suse.de>
21197         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21198         variable.
21200 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21202         [BZ #13717]
21203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21204         to 2.2.0 where earlier.
21205         * sysdeps/unix/sysv/linux/configure: Regenerated.
21206         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21207         Remove conditional code.
21208         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21209         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21210         Remove conditional code.
21211         [!__NR_lchown]: Likewise.
21212         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21213         [__NR_lchown]: Likewise.
21214         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21215         comment referencing __ASSUME_LCHOWN_SYSCALL.
21216         * sysdeps/unix/sysv/linux/i386/sigaction.c
21217         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21218         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21219         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21220         Remove conditional code.
21221         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21222         (__protocol_available): Remove #if 0 code.
21223         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21224         conditional code.
21225         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21226         * sysdeps/unix/sysv/linux/kernel-features.h
21227         (__ASSUME_GETCWD_SYSCALL): Don't define.
21228         (__ASSUME_REALTIME_SIGNALS): Likewise.
21229         (__ASSUME_PREAD_SYSCALL): Likewise.
21230         (__ASSUME_PWRITE_SYSCALL): Likewise.
21231         (__ASSUME_POLL_SYSCALL): Likewise.
21232         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21233         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21234         non-SPARC.
21235         (__ASSUME_SIOCGIFNAME): Don't define.
21236         (__ASSUME_MSG_NOSIGNAL): Likewise.
21237         (__ASSUME_SENDFILE): Define unconditionally.
21238         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21239         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21240         conditional code.
21241         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21242         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21243         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21244         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21245         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21246         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21247         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21249         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21252         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21258         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21261         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21264         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21265         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21267         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21270         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21272         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21273         Remove conditional code.
21274         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21275         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21276         Remove conditional code.
21277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21278         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21279         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21280         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21281         Remove conditional code.
21282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21283         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21284         Remove conditional code.
21285         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21286         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21287         Remove conditional code.
21288         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21289         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21290         Remove conditional code.
21291         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21292         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21293         Remove conditional code.
21294         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21295         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21296         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21297         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21298         * sysdeps/unix/sysv/linux/sigaction.c
21299         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21300         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21301         * sysdeps/unix/sysv/linux/sigpending.c
21302         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21303         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21304         * sysdeps/unix/sysv/linux/sigprocmask.c
21305         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21306         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21307         * sysdeps/unix/sysv/linux/sigsuspend.c
21308         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21309         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21310         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21311         (__libc_missing_rt_sigs): Remove.
21312         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21313         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21314         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21315         Remove conditional code.
21316         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21317         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21318         return 1.
21319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21320         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21321         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21324 2012-05-14  Andreas Jaeger  <aj@suse.de>
21326         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21327         it's not used in glibc.
21328         (__coshm1): Likewise.
21329         (__acosh1p): Likewise.
21330         (__sgn): Likewise.
21332         * manual/string.texi (Copying and Concatenation): Add missing
21333         variable in concat example.
21334         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21338         [BZ #14103]
21339         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21340         __builtin_clzl with __builtin_clzll.
21342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21344         [BZ #14104]
21345         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21346         libc_freeres_ptr.
21348 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21350         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21351         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21352         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21353         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21355 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21357         * NEWS: Update ia64 info.
21359 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21361         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21362         used as bcopy.
21364 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21366         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21367         * sysdeps/unix/syscalls.list (dup3): Likewise.
21368         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21369         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21371 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21373         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21374         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21376 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21378         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21379         thread pointer.
21380         (TLS_IE): Use mov/add instead of movq/addq to load thread
21381         pointer.
21382         (TLS_GD_PREFIX): New.
21383         (TLS_GD): Use it.
21385 2012-05-11  David S. Miller  <davem@davemloft.net>
21387         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21388         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21389         (_FPU_SETCW): Likewise.
21391 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21393         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21394         is 32-byte aligned.
21396 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21398         [BZ #11837]
21399         * iconvdata/gb18030.c: Update tables.
21400         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21401         characters specially.
21402         (BODY for TO_LOOP): Add encoding of missing ranges.
21404 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21406         [BZ #13673]
21407         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21408         * sysdeps/mach/hurd/dup3.c: Likewise.
21409         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21410         * sysdeps/powerpc/memmove.c:: Likewise.
21412 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21414         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21415         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21417 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21419         * elf/elf.h (R_X86_64_RELATIVE64): New.
21420         (R_X86_64_NUM): Updated.
21421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21422         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21423         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21424         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21425         tst-quad1pie tst-quad2pie
21426         (modules-names): Add tst-quadmod1 tst-quadmod2.
21427         ($(objpfx)tst-quad1): New dependency.
21428         ($(objpfx)tst-quad2): Likewise.
21429         ($(objpfx)tst-quad1pie): Likewise.
21430         ($(objpfx)tst-quad2pie): Likewise.
21431         * sysdeps/x86_64/tst-quad1.c: New file.
21432         * sysdeps/x86_64/tst-quad1pie.c: New file.
21433         * sysdeps/x86_64/tst-quad2.c: Likewise.
21434         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21435         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21436         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21437         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21438         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21442         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21443         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21444         * streams/stropts.h (t_scalar_t): Define type.
21446         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21447         (_PATH_PRESERVE): Set to "/var/lib".
21448         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21450         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21451         instead of int.
21453         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21454         if __dir_mkfile succeeded.
21456         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21457         checking for _hurd_dtablesize.  Unlock it right after having
21458         finished _hurd_dtable allocation.
21460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21462         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21463         * sysdeps/mach/hurd/configure: Regenerated.
21464         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21465         special-casing to...
21466         * sysdeps/gnu/configure.in: ... this new file.
21467         * sysdeps/unix/sysv/linux/configure: Regenerated.
21468         * sysdeps/gnu/configure: New generated file.
21470         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21471         for Linux: use nsec instead of usec, as well as:
21472         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21473         members of type struct timespec.
21474         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21475         New macros.
21476         (struct stat64): Likewise.
21477         (_STATBUF_ST_NSEC): New macro.
21478         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21480         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21481         __strtoul_internal rather than strtoul.
21483 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21485         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21486         and reject them.
21488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21490         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21491         which preserves existing values.
21492         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21494 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21496         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21497         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21498         greater than FD_SETSIZE.
21500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21502         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21503         allocated, call __vm_protect to finish enabling the existing space, and
21504         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21505         allocate the remainder.
21507 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21509         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21510         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21514         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21515         sysdeps/mach/hurd/readlink.c.
21517         * posix/tst-sysconf.c (posix_options): Only use
21518         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21519         _POSIX_SYNCHRONIZED_IO when they are defined
21520         * sysdeps/mach/hurd/bits/posix_opt.h:
21521         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21522         (_XOPEN_REALTIME): Undefine macro.
21523         (_XOPEN_REALTIME_THREADS): Undefine macro.
21524         (_XOPEN_SHM): Undefine macro.
21525         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21526         macro to -1.
21527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21528         macro to -1.
21529         (_POSIX_ASYNC_IO): Undefine macro.
21530         (_POSIX_PRIORITIZED_IO): Undefine macro.
21531         (_POSIX_SPIN_LOCKS): Define macro to -1.
21533         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21534         SA_NODEFER, SA_RESETHAND.
21535         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21536         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21537         F_DUPFD_CLOEXEC.
21539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21541         * elf/Makefile (pldd-modules): Define unconditionally.
21543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21545         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21549         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21550         Return ENOENT when name is empty.
21551         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21555         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21557         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21561         Fix mlock in all cases except non-readable pages.
21562         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21563         instead of VM_PROT_ALL as parameter to __vm_wire function.
21565         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21566         (__mkdir): When path is `/', just fail with EEXIST.
21567         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21571         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21572         <sys/uio.h> (for writev).
21573         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21574         and <sys/param.h> (for MIN).
21576 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21578         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21579         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21580         if interrupted.
21582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21584         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21585         Depend on against $(link-rpcuserlibs).
21587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21589         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21590         (__libc_stack_end): Do not use attribute_relro.
21591         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21592         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21593         to libthread-provided value.
21594         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21595         attribute_relro.
21597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21599         [BZ #3748]
21600         * bits/libc-lock.h (__libc_once_get): New macro.
21601         * sysdeps/mach/bits/libc-lock.h: Likewise.
21602         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21603         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21604         instead of using implementation details.
21606         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21607         * libio/freopen.c: Likewise.
21608         * libio/freopen64.c: Likewise.
21609         * misc/syslog.c: Likewise.
21610         * nscd/connections.c: Likewise.
21611         * nscd/netgroupcache.c: Likewise.
21612         * sysdeps/posix/getcwd.c: Likewise.
21614 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21616         * math/w_ilogbf.c: Add #include <limits.h>.
21618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21620         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21621         path instead of returning without unlocking.
21623         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21624         immediate-write ioctls.
21625         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21629         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21630         __builtin_frame_address instead of making assumptions about the
21631         location of the return address relative to DATA.  Force early load of
21632         the return address.
21633         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21634         __builtin_frame_address.
21636         dup3 for GNU Hurd.
21637         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21638         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21639         implement dup3 and do some further code clean-ups.
21640         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21641         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21645         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21647         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21648         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21649         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21650         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21651         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21652         d->port.lock.
21654         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21655         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21656         when handler == SIG_ERR, not when handler != SIG_ERR.
21658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21660         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21661         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21662         definitions.
21664         accept4 for GNU Hurd.
21665         * include/sys/socket.h (__libc_accept4): New prototype.
21666         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21667         to implement __libc_accept4.
21668         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21669         __libc_accept4.
21670         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21672         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21673         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21674         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21675         signal-defines.sym.
21677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21679         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21683         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21684         assertion on O_CLOEXEC flag.
21685         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21686         * hurd/intern-fd.c: Likewise.
21687         * hurd/port2fd.c: Likewise.
21689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21691         [BZ #3906]
21692         * bits/in.h (IPV6_PKTINFO): Define new macro.
21693         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21695 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21697         [BZ #13954]
21698         [BZ #13955]
21699         [BZ #13956]
21700         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21702         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21703         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21705         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21706         * math/libm-test.inc (logb_test) : Additional logb tests.
21708 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21709             Andreas Jaeger  <aj@suse.de>
21711         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21712         * configure: Regenerated.
21713         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21714         * config.make.in (link-obsolete-rpc): New substituted variable.
21715         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21716         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21717         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21718         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21719         so that libc.a contains the symbols.
21720         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21721         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21722         * sunrpc/auth_none.c: Likewise.
21723         * sunrpc/auth_unix.c: Likewise.
21724         * sunrpc/authdes_prot.c: Likewise.
21725         * sunrpc/authuxprot.c: Likewise.
21726         * sunrpc/clnt_gen.c: Likewise.
21727         * sunrpc/clnt_perr.c: Likewise.
21728         * sunrpc/clnt_raw.c: Likewise.
21729         * sunrpc/clnt_simp.c: Likewise.
21730         * sunrpc/clnt_tcp.c: Likewise.
21731         * sunrpc/clnt_udp.c: Likewise.
21732         * sunrpc/clnt_unix.c: Likewise.
21733         * sunrpc/des_crypt.c: Likewise.
21734         * sunrpc/des_soft.c: Likewise.
21735         * sunrpc/get_myaddr.c: Likewise.
21736         * sunrpc/key_call.c: Likewise.
21737         * sunrpc/key_prot.c: Likewise.
21738         * sunrpc/netname.c: Likewise.
21739         * sunrpc/pm_getmaps.c: Likewise.
21740         * sunrpc/pm_getport.c: Likewise.
21741         * sunrpc/pmap_clnt.c: Likewise.
21742         * sunrpc/pmap_prot.c: Likewise.
21743         * sunrpc/pmap_prot2.c: Likewise.
21744         * sunrpc/pmap_rmt.c: Likewise.
21745         * sunrpc/publickey.c: Likewise.
21746         * sunrpc/rpc_cmsg.c: Likewise.
21747         * sunrpc/rpc_common.c: Likewise.
21748         * sunrpc/rpc_dtable.c: Likewise.
21749         * sunrpc/rpc_prot.c: Likewise.
21750         * sunrpc/rpc_thread.c: Likewise.
21751         * sunrpc/rtime.c: Likewise.
21752         * sunrpc/svc.c: Likewise.
21753         * sunrpc/svc_auth.c: Likewise.
21754         * sunrpc/svc_raw.c: Likewise.
21755         * sunrpc/svc_run.c: Likewise.
21756         * sunrpc/svc_tcp.c: Likewise.
21757         * sunrpc/svc_udp.c: Likewise.
21758         * sunrpc/svc_unix.c: Likewise.
21759         * sunrpc/svcauth_des.c: Likewise.
21760         * sunrpc/xcrypt.c: Likewise.
21761         * sunrpc/xdr.c: Likewise.
21762         * sunrpc/xdr_array.c: Likewise.
21763         * sunrpc/xdr_float.c: Likewise.
21764         * sunrpc/xdr_intXX_t.c: Likewise.
21765         * sunrpc/xdr_mem.c: Likewise.
21766         * sunrpc/xdr_rec.c: Likewise.
21767         * sunrpc/xdr_ref.c: Likewise.
21768         * sunrpc/xdr_sizeof.c: Likewise.
21769         * sunrpc/xdr_stdio.c: Likewise.
21771 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21774         change.  Update copyright years.
21776 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21778         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21780 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21781             Joseph Myers  <joseph@codesourcery.com>
21782             Paul Pluzhnikov  <ppluzhnikov@google.com>
21784         [BZ #14012]
21785         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21786         requiring rpcgen.
21787         [cross-compiling] (extra-libs): Likewise.
21788         [cross-compiling] (extra-libs-others): Likewise.
21789         [cross-compiling] (librpcsvc-routines): Likewise.
21790         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21791         [cross-compiling] (omit-deps): Likewise.
21792         (sunrpc-CPPFLAGS): New variable.
21793         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21794         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21795         (cross-rpcgen-objs): New variable.
21796         (extra-objs): Append $(cross-rpcgen-objs).
21797         ($(cross-rpcgen-objs)): New rule.
21798         ($(objpfx)cross-rpcgen): Likewise.
21799         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21800         comment.
21801         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21802         ($(objpfx)x%.stmp): Likewise.
21803         * sunrpc/proto.h [IS_IN_build] (_): Define.
21804         [IS_IN_build] (_libc_intl_domainname): Likewise.
21806 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21808         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21809         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21810         and R_X86_64_TPOFF64.
21812 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21814         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21815         sysdeps/unix/sysv/syscalls.list.
21816         (stime): Likewise.
21817         (utime): Likewise.
21818         * sysdeps/unix/sysv/syscalls.list: Remove file.
21820 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21822         [BZ #3440]
21823         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21824         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21825         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21826         (__LC_IDENTIFICATION): Make these macros useful in #if
21827         expressions, as required by C99.
21829 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21831         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21832         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21833         after this.
21835 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21837         * stdlib/longlong.h: Updated from GCC.
21839 2012-05-09  Andreas Jaeger  <aj@suse.de>
21841         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21842         default is first entry.
21843         (run_mode): Set type.
21844         (main): Remove informal message about syslog.
21845         (options): Fix typo.
21847         [BZ #14053]
21848         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21849         to asm.
21850         (lrint): Likewise.
21851         (llrintf): Likewise.
21852         (llrint): Likewise.
21853         (rint): Likewise.
21854         (rintf): Likewise.
21855         (nearbyint): Likewise.
21856         (nearbyintf): Likewise.
21858 2012-05-09  Andreas Jaeger  <aj@suse.de>
21859             Pedro Alves  <palves@redhat.com>
21861         * nscd/nscd.c (run_mode): Use enum.
21862         (main): Cleanup coding style issue.
21864 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21865             Andreas Jaeger  <aj@suse.de>
21867         * nscd/nscd.c (go_background): Replaced with...
21868         (run_mode): ... this.
21869         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21870         (options): Add -F --foreground.
21871         (main): Implement it.
21872         (parse_opt): Parse it.
21874 2012-05-09  Andreas Jaeger  <aj@suse.de>
21876         [BZ #14083]
21877         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21878         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21879         -Wconversion warning.
21880         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21881         Likewise.
21883 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21885         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21886         == 0.
21887         (LC_ALL): Use macro-int-constant.
21888         (LC_COLLATE): Likewise.
21889         (LC_CTYPE): Likewise.
21890         (LC_MESSAGES): Likewise.
21891         (LC_MONETARY): Likewise.
21892         (LC_NUMERIC): Likewise.
21893         (LC_TIME): Likewise.
21894         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21895         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21897         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21898         Specify type.
21899         [C99-based standards] (float_t): Expect type.
21900         [C99-based standards] (double_t): Expect type.
21901         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21902         type.
21903         [C99-based standards] (HUGE_VALL): Likewise.
21904         [C99-based standards] (INFINITY): Likewise.
21905         [C99-based standards] (NAN): Likewise.
21906         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21907         [C99-based standards] (FP_NAN): Likewise.
21908         [C99-based standards] (FP_NORMAL): Likewise.
21909         [C99-based standards] (FP_SUBNORMAL): Likewise.
21910         [C99-based standards] (FP_ZERO): Likewise.
21911         [C99-based standards] (FP_FAST_FMA): Use
21912         optional-macro-int-constant.  Specify type.  Require == 1.
21913         [C99-based standards] (FP_FAST_FMAF): Likewise.
21914         [C99-based standards] (FP_FAST_FMAL): Likewise.
21915         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21916         [C99-based standards] (FP_ILOGBNAN): Likewise.
21917         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21918         Specify type.
21919         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21920         [C99-based standards] (math_errhandling): Specify type.
21921         [ISO99 || ISO11] (signgam): Do not allow.
21922         [non-C99-based standards] (copysignf): Do not allow.
21923         [non-C99-based standards] (exp2f): Likewise.
21924         [non-C99-based standards] (log2f): Likewise.
21925         [non-C99-based standards] (modff): Allow.
21926         [non-C99-based standards] (erff): Do not allow.
21927         [non-C99-based standards] (erfcf): Likewise.
21928         [non-C99-based standards] (gammaf): Likewise.
21929         [non-C99-based standards] (hypotf): Likewise.
21930         [non-C99-based standards] (j0f): Likewise.
21931         [non-C99-based standards] (j1f): Likewise.
21932         [non-C99-based standards] (jnf): Likewise.
21933         [non-C99-based standards] (lgammaf): Likewise.
21934         [non-C99-based standards] (tgammaf): Likewise.
21935         [non-C99-based standards] (y0f): Likewise.
21936         [non-C99-based standards] (y1f): Likewise.
21937         [non-C99-based standards] (ynf): Likewise.
21938         [non-C99-based standards] (isnanf): Likewise.
21939         [non-C99-based standards] (acoshf): Likewise.
21940         [non-C99-based standards] (asinhf): Likewise.
21941         [non-C99-based standards] (atanhf): Likewise.
21942         [non-C99-based standards] (cbrtf): Likewise.
21943         [non-C99-based standards] (expm1f): Likewise.
21944         [non-C99-based standards] (ilogbf): Likewise.
21945         [non-C99-based standards] (log1pf): Likewise.
21946         [non-C99-based standards] (logbf): Likewise.
21947         [non-C99-based standards] (nextafterf): Likewise.
21948         [non-C99-based standards] (remainderf): Likewise.
21949         [non-C99-based standards] (rintf): Likewise.
21950         [non-C99-based standards] (scalbf): Likewise.
21951         [non-C99-based standards] (copysignl): Likewise.
21952         [non-C99-based standards] (exp2l): Likewise.
21953         [non-C99-based standards] (log2l): Likewise.
21954         [non-C99-based standards] (modfl): Allow.
21955         [non-C99-based standards] (erfl): Do not allow.
21956         [non-C99-based standards] (erfcl): Likewise.
21957         [non-C99-based standards] (gammal): Likewise.
21958         [non-C99-based standards] (hypotl): Likewise.
21959         [non-C99-based standards] (j0l): Likewise.
21960         [non-C99-based standards] (j1l): Likewise.
21961         [non-C99-based standards] (jnl): Likewise.
21962         [non-C99-based standards] (lgammal): Likewise.
21963         [non-C99-based standards] (tgammal): Likewise.
21964         [non-C99-based standards] (y0l): Likewise.
21965         [non-C99-based standards] (y1l): Likewise.
21966         [non-C99-based standards] (ynl): Likewise.
21967         [non-C99-based standards] (isnanl): Likewise.
21968         [non-C99-based standards] (acoshl): Likewise.
21969         [non-C99-based standards] (asinhl): Likewise.
21970         [non-C99-based standards] (atanhl): Likewise.
21971         [non-C99-based standards] (cbrtl): Likewise.
21972         [non-C99-based standards] (expm1l): Likewise.
21973         [non-C99-based standards] (ilogbl): Likewise.
21974         [non-C99-based standards] (log1pl): Likewise.
21975         [non-C99-based standards] (logbl): Likewise.
21976         [non-C99-based standards] (nextafterl): Likewise.
21977         [non-C99-based standards] (remainderl): Likewise.
21978         [non-C99-based standards] (rintl): Likewise.
21979         [non-C99-based standards] (scalbl): Likewise.
21980         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21981         [non-C99-based standards] (FP_*): Do not allow.
21982         [C99-based standards] (FP_*): Change to
21983         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21984         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21985         allow.
21986         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21987         (SIG_ERR): Likewise.
21988         [X/Open-based standards] (SIG_HOLD): Likewise.
21989         (SIG_IGN): Likewise.
21990         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21991         positive value.
21992         (SIGFPE): Likewise.
21993         (SIGILL): Likewise.
21994         (SIGINT): Likewise.
21995         (SIGSEGV): Likewise.
21996         (SIGTER): Likewise.
21997         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21998         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21999         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22000         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22001         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22002         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22003         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22004         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22005         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22006         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22007         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22008         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22009         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22010         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22011         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22012         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22013         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22014         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22015         [X/Open-based standards] (SIGTRAP): Likewise.
22016         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22017         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22018         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22019         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22020         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22021         allow.
22023 2012-05-08  Ian Wienand  <ianw@vmware.com>
22025         [BZ #14080]
22026         * time/tzset.c (__tzset_parse_tz): Update default rules for
22027         daylight time changes in the Energy Policy Act of 2005.
22029 2012-05-09  Andreas Jaeger  <aj@suse.de>
22031         [BZ #13983]
22032         * elf/ldconfig.c (parse_conf): Change string to make clear that
22033         ldconfig only issued a warning if ld.so.conf does not exist.
22035 2012-05-08  David S. Miller  <davem@davemloft.net>
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22038         movxtod instead of popping the value on the stack.
22040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22042 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22044         * config.h.in: Add HAVE_ARM_PCS_VFP.
22046 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22048         [BZ #13979]
22049         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22050         checking but the checks are disabled for any reason.
22052 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22054         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22055         and ELF64_R_TYPE with ELFW(R_TYPE).
22057 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22059         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22060         (ulimit): Likewise.
22062         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22063         (settimeofday): Likewise.
22065 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22067         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22068         a struct th_u2 inside the union, and move tu_block/tu_code into
22069         a new th_u3 union of tu_block/tu_code inside of that.  Move
22070         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22071         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22072         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22073         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22074         (th_stuff): Change to th_u1.tu_stuff.
22075         (th_data): Define.
22076         (th_msg): Change to th_u1.th_u2.tu_data.
22078 2012-05-07  David S. Miller  <davem@davemloft.net>
22080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22082         [BZ #14074]
22083         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22084         (SETUP_PIC_REG): Use it.
22085         (SETUP_PIC_REG_LEAF): Use it.
22087 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22089         [BZ #13885]
22090         [BZ #13923]
22091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22092         USE_AS_EXPM1L.
22093         (EXPL_FINITE): Likewise.
22094         (FLDLOG): Likewise.
22095         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22096         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22097         e_expl.S.
22098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22099         USE_AS_EXPM1L.
22100         (EXPL_FINITE): Likewise.
22101         (FLDLOG): Likewise.
22102         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22103         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22104         e_expl.S.
22105         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22106         test of -max_value argument for long double.
22107         * sysdeps/i386/fpu/libm-test-ulps: Update.
22108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22110 2012-05-06  David S. Miller  <davem@davemloft.net>
22112         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22113         quad soft-float symbols whose references which are compiler
22114         generated.
22115         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22117 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22119         [BZ #13884]
22120         [BZ #13914]
22121         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22122         USE_AS_EXP10L.
22123         (EXPL_FINITE): Likewise.
22124         (FLDLOG): Likewise.
22125         (c0): Likewise.
22126         (c1): Likewise.
22127         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22128         Adjust comments for base varying.
22129         (__expl_finite): Change alias to EXPL_FINITE.
22130         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22131         e_expl.S.
22132         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22133         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22134         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22135         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22136         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22137         USE_AS_EXP10L.
22138         (EXPL_FINITE): Likewise.
22139         (FLDLOG): Likewise.
22140         (c0): Likewise.
22141         (c1): Likewise.
22142         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22143         Adjust comments for base varying.
22144         (__expl_finite): Change alias to EXPL_FINITE.
22145         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22146         tests for bugs.
22147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22149         [BZ #14064]
22150         * math/libm-test.inc (check_float_internal): Correct ulp
22151         calculation for subnormal expected results.
22153 2012-05-06  Andreas Jaeger  <aj@suse.de>
22155         * Makeconfig (+math-flags): New, set to -frounding-math.
22156         (+cflags): Add +math-flags so that all of glibc gets compiled with
22157         it.
22159         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22161 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22163         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22164         Disable one test.
22166         [BZ #13787]
22167         [BZ #13922]
22168         [BZ #14036]
22169         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22170         (__ieee754_expl): Allow for and saturate large arguments.
22171         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22172         (u_threshold): Likewise.
22173         (__exp): Call __ieee754_exp before checking for overflow and
22174         underflow.
22175         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22176         (u_threshold): Likewise.
22177         (__expf): Call __ieee754_expf before checking for overflow and
22178         underflow.
22179         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22180         (u_threshold): Likewise.
22181         (__expl): Call __ieee754_expl before checking for overflow and
22182         underflow.
22183         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22184         (__ieee754_expl): Allow for and saturate large arguments.
22185         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22186         missing overflow exception on overflow.
22187         (expm1_test): Do not allow missing overflow exception on overflow.
22189         * sysdeps/i386/fpu/e_expl.c: Move to ...
22190         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22191         rather than using inline asm.
22192         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22193         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22194         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22196         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22197         (nice): Likewise.
22198         (poll): Likewise.
22199         (signal): Likewise.
22200         (time): Likewise.
22201         (times): Likewise.
22203 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22205         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22206         sysdeps/unix/common/syscalls.list.
22207         (fchmod): Likewise.
22208         (fchown): Likewise.
22209         (ftruncate): Likewise.
22210         (getrusage): Likewise.
22211         (gettimeofday): Likewise.
22212         (setpgid): Likewise.
22213         (setregid): Likewise.
22214         (setreuid): Likewise.
22215         (sigaction): Likewise.
22216         (truncate): Likewise.
22217         (vhangup): Likewise.
22218         * sysdeps/unix/common/syscalls.list: Remove file.
22219         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22220         * sysdeps/unix/sysv/linux/Implies: Likewise.
22222 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22224         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22226         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22227         Moved to ...
22228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22229         Here.
22230         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22231         to ...
22232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22233         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22234         to ...
22235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22236         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22237         to ...
22238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22239         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22240         to ...
22241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22242         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22243         to ...
22244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22245         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22246         to ...
22247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22248         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22249         to ...
22250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22251         Here.
22252         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22253         to ...
22254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22255         Here.
22256         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22257         to ...
22258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22259         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22260         Moved to ...
22261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22262         Here.
22263         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22264         to ...
22265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22267 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22269         * sysdeps/unix/common/bits/dirent.h: Remove file.
22270         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22272         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22273         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22274         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22275         * sysdeps/unix/bsd/isatty.c: Likewise.
22276         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22277         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22278         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22280 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22282         [BZ #13563]
22283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22284         long double comparison inaccuracies.
22285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22288 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22290         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22291         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22293 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22295         [BZ #14049]
22296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22297         nonzero digits before rounding a hex value.
22298         * stdlib/tst-strtod.c (tests): Add another test.
22300 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22302         * sysdeps/s390/fpu/libm-test-ulps: Update.
22304 2012-05-03  Andreas Jaeger  <aj@suse.de>
22306         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22307         does not get optimized out.
22308         (malloc_opt_barrier): New.
22310 2012-05-03  Andreas Jaeger  <aj@suse.de>
22311             Roland McGrath  <roland@hack.frob.com>
22313         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22314         intermediate file deletion.
22315         (generated): Add .symlist files.
22317 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22319         [BZ #13775]
22320         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22321         Redirect under this condition.
22322         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22323         [__USE_GNU] (__dprintf_chk): Not under this condition.
22324         [__USE_GNU] (__vdprintf_chk): Likewise.
22325         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22326         under this condition.
22327         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22328         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22329         [__USE_XOPEN2K8] (vdprintf): Likewise.
22330         [__USE_GNU] (__dprintf_chk): Not under this condition.
22331         [__USE_GNU] (__vdprintf_chk): Likewise.
22332         [__USE_GNU] (dprintf): Likewise.
22333         [__USE_GNU] (vdprintf): Likewise.
22335 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22337         * elf/Makefile (common-generated): Set this instead of generated for
22338         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22339         $(all-built-dso)-derived lists.
22341 2012-05-03  Andreas Jaeger  <aj@suse.de>
22343         * sysdeps/i386/fpu/libm-test-ulps: Update.
22345         * FAQ: Removed.
22346         * FAQ.in: Likewise.
22347         * scripts/gen-FAQ.pl: Likewise.
22348         * manual/install.texi (Installation): Point to online location of
22349         FAQ.
22350         * Makefile (files-for-dist): Remove FAQ.
22351         (FAQ): Remove.
22353 2012-05-02  Allan McRae  <allan@archlinux.org>
22355         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22356         (LDFLAGS-reldepmod5.so): Likewise.
22357         (LDFLAGS-reldep6mod1.so): Likewise.
22358         (LDFLAGS-reldep6mod4.so): Likewise.
22359         (LDFLAGS-reldep8mod3.so): Likewise.
22360         (LDFLAGS-unload4mod1.so): Likewise.
22361         (LDFLAGS-unload4mod2.so): Likewise.
22362         (LDFLAGS-tst-initorder): Likewise.
22363         (LDFLAGS-tst-initordera2.so): Likewise.
22364         (LDFLAGS-tst-initordera3.so): Likewise.
22365         (LDFLAGS-tst-initordera4.so): Likewise.
22366         (LDFLAGS-tst-initorderb2.so): Likewise.
22367         (LDFLAGS-noload): Likewise.
22368         (LDFLAGS-next): Likewise.
22369         (LDFLAGS-order2mod1.so): Likewise.
22370         (LDFLAGS-order2mod2.so): Likewise.
22371         (LDFLAGS-tst-initorder2): Likewise.
22372         (LDFLAGS-tst-initorder2a.so): Likewise.
22373         (LDFLAGS-tst-initorder2b.so): Likewise.
22374         (LDFLAGS-tst-initorder2c.so): Likewise.
22375         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22377 2012-05-02  David S. Miller  <davem@davemloft.net>
22379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22381 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22383         [BZ #14055]
22384         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22386 2012-05-02  Andreas Jaeger  <aj@suse.de>
22388         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22389         since we manipulate rounding mode.
22390         (CPPFLAGS-test-idouble.c): Likewise.
22391         (CPPFLAGS-test-ifloat.c): Likewise.
22392         (CFLAGS-test-ldouble.c): Likewise.
22393         (CFLAGS-test-double.c): Likewise.
22394         (CFLAGS-test-float.c): Likewise.
22395         (CFLAGS-test-misc.c): Likewise.
22396         (CFLAGS-test-test-fenv.c): Likewise.
22398 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22400         [BZ #2550]
22401         [BZ #2570]
22402         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22403         comparisons to determine direction to adjust input.
22405 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22407         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22408         output to the target.
22410         * scripts/localplt.awk: New file.
22411         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22412         (check-localplt-CFLAGS): Variable removed.
22413         ($(all-built-dso:=.jmprel)): New static pattern rule.
22414         (generated): Add those targets.
22415         (localplt-built-dso): New variable.
22416         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22418         * elf/check-localplt.c: File removed.
22420         * scripts/check-execstack.awk: New file.
22421         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22422         (check-execstack-CFLAGS): Variable removed.
22423         ($(objpfx)check-execstack.h): Target removed.
22424         ($(objpfx)execstack-default): New target.
22425         (generated): Add that instead of check-execstack.h.
22426         ($(all-built-dso:=.phdr)): New static pattern rule.
22427         (generated): Add those targets.
22428         * elf/check-execstack.c: File removed.
22430         * scripts/check-textrel.awk: New file.
22431         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22432         (check-textrel-CFLAGS): Variable removed.
22433         (all-built-dso): Use := to define.o
22434         ($(all-built-dso:=.dyn)): New static pattern rule.
22435         (generated): Add those targets.
22436         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22437         * config.make.in (READELF): New substituted variable.
22438         * elf/check-textrel.c: File removed.
22440 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22442         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22443         allow.
22444         * conform/data/ctype.h-data [C99-based standards] (isblank):
22445         Expect function.
22446         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22447         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22448         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22449         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22450         Specify type.  Require positive value.
22451         (EILSEQ): Likewise.
22452         (ERANGE): Likewise.
22453         [ISO || POSIX] (EILSEQ): Do not expect.
22454         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22455         Specify type.  Require positive value.
22456         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22457         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22458         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22459         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22460         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22461         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22462         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22463         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22464         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22465         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22466         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22467         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22468         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22469         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22470         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22471         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22472         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22473         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22474         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22475         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22476         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22477         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22478         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22479         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22480         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22481         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22482         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22483         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22484         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22485         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22486         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22487         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22488         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22489         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22490         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22491         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22492         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22493         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22494         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22495         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22496         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22497         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22498         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22499         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22500         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22501         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22502         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22503         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22504         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22505         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22506         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22507         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22508         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22509         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22510         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22511         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22512         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22513         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22514         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22515         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22516         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22517         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22518         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22519         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22520         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22521         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22522         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22523         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22524         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22525         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22526         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22527         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22528         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22529         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22530         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22531         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22532         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22533         Require >= 2.
22534         (FLT_ROUNDS): Expect as macro, not constant.
22535         (FLT_MANT_DIG): Use macro-int-constant.
22536         (DBL_MANT_DIG): Likewise.
22537         (LDBL_MANT_DIG): Likewise.
22538         (FLT_DIG): Likewise.
22539         (DBL_DIG): Likewise.
22540         (LDBL_DIG): Likewise.
22541         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22542         (DBL_MIN_EXP): Likewise.
22543         (LDBL_MIN_EXP): Likewise.
22544         (FLT_MAX_EXP): Use macro-int-constant.
22545         (DBL_MAX_EXP): Likewise.
22546         (LDBL_MAX_EXP): Likewise.
22547         (FLT_MAX_10_EXP): Likewise.
22548         (DBL_MAX_10_EXP): Likewise.
22549         (LDBL_MAX_10_EXP): Likewise.
22550         (FLT_MAX): Use macro-constant.
22551         (DBL_MAX): Likewise.
22552         (LDBL_MAX): Likewise.
22553         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22554         (DBL_EPSILON): Likewise.
22555         (LDBL_EPSILON): Likewise.
22556         (FLT_MIN): Likewise.
22557         (DBL_MIN): Likewise.
22558         (LDBL_MIN): Likewise.
22559         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22560         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22561         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22562         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22563         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22564         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22565         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22566         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22567         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22568         [ISO11] (FLT_TRUE_MIN): Likewise.
22569         [ISO11] (LDBL_TRUE_MIN): Likewise.
22570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22571         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22572         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22573         (SCHAR_MAX): Likewise.
22574         (UCHAR_MAX): Likewise.
22575         (CHAR_MIN): Likewise.
22576         (CHAR_MAX): Likewise.
22577         (MB_LEN_MAX): Use macro-int-constant.
22578         (SHRT_MIN): Use macro-int-constant.  Specify type.
22579         (SHRT_MAX): Likewise.
22580         (USHRT_MAX): Likewise.
22581         (INT_MAX): Likewise.
22582         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22583         bound negative.
22584         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22585         bound with "U".
22586         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22587         bound with "L".
22588         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22589         bound negative.  Suffix upper bound with "L".
22590         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22591         bound with "UL".
22592         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22593         Specify type.
22594         [C99-based standards] (LLONG_MAX): Likewise.
22595         [C99-based standards] (ULLONG_MAX): Likewise.
22596         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22597         == 0.
22598         [ISO11] (max_align_t): Require type.
22599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22601         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22602         from $CFLAGS, without defining away __attribute__ calls.
22603         (checknamespace): Use $CFLAGS_namespace.
22605         * conform/conformtest.pl (@keywords): Only include C99 keywords
22606         for standards based on C99 or C11.
22608         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22609         Disable tests.
22610         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22611         UNIX98]: Likewise.
22613         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22614         usability of symbols in #if.
22616         * conform/conformtest.pl: If macro or constant types start
22617         "promoted:", expect the symbol to be of the following type
22618         promoted by the integer promotions.
22620         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22621         in one place.  Also handle "macro-constant".
22623         * conform/conformtest.pl: Only accept expected macro values with
22624         "==".  Parse all "macro" lines in one place.
22625         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22627         * conform/conformtest.pl: Handle braced types on "constant" lines
22628         instead of handling "typed-constant".
22629         * conform/data/signal.h-data: Use "constant" instead of
22630         "typed-constant".
22632         * conform/conformtest.pl: Handle "optional-" at start of lines in
22633         one place rather than duplicating several cases.  Handle each
22634         format of "macro" line with initial "optional-".
22636         * conform/conformtest.pl: Only accept expected constant or
22637         optional-constant values with "==".  Parse all "constant" lines in
22638         one place.  Parse all "optional-constant" lines in one place.
22639         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22640         * conform/data/fmtmsg.h-data: Likewise.
22641         * conform/data/netinet/in.h-data: Likewise.
22642         * conform/data/tar.h-data: Likewise.
22643         * conform/data/limits.h-data: Use "==" form on "constant" and
22644         "optional-constant" lines.
22646         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22647         Use -std=c99 for XOPEN2K.
22648         (@knownproblems): Remove.
22649         (newtoken): Don't check %isknown.
22651         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22652         Do not expect macro.
22653         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22654         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22655         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22656         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22657         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22658         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22659         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22660         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22661         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22662         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22663         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22664         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22665         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22666         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22667         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22668         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22669         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22670         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22671         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22672         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22673         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22674         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22675         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22677         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22678         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22679         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22680         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22681         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22682         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22683         [XPG3] (acosh): Likewise.
22684         [XPG3] (asinh): Likewise.
22685         [XPG3] (atanh): Likewise.
22686         [XPG3] (cbrt): Likewise.
22687         [XPG3] (expm1): Likewise.
22688         [XPG3] (ilogb): Likewise.
22689         [XPG3] (log1p): Likewise.
22690         [XPG3] (logb): Likewise.
22691         [XPG3] (nextafter): Likewise.
22692         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22693         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22694         [XPG3] (remainder): Likewise.
22695         [XPG3] (rint): Likewise.
22696         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22697         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22698         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22699         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22700         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22701         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22702         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22703         [UNIX98 || XOPEN2K] (scalb): Expect.
22704         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22705         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22706         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22707         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22708         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22709         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22710         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22711         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22712         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22713         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22714         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22715         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22716         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22717         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22718         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22719         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22720         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22721         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22722         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22723         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22724         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22725         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22726         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22727         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22728         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22729         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22730         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22731         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22732         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22733         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22734         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22735         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22736         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22737         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22738         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22739         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22740         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22741         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22742         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22743         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22744         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22745         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22746         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22747         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22748         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22749         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22750         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22751         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22752         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22753         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22754         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22755         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22756         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22757         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22758         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22759         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22760         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22761         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22762         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22763         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22764         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22765         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22766         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22767         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22768         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22769         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22770         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22771         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22772         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22773         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22774         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22775         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22776         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22777         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22778         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22779         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22780         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22781         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22782         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22783         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22784         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22785         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22786         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22787         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22788         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22789         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22790         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22791         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22792         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22793         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22794         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22795         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22796         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22797         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22798         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22799         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22800         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22801         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22802         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22803         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22804         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22805         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22806         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22807         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22808         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22809         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22810         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22811         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22812         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22813         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22814         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22815         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22816         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22817         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22818         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22819         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22820         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22821         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22822         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22823         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22824         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22825         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22826         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22827         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22828         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22829         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22830         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22831         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22832         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22833         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22834         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22835         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22836         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22837         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22838         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22839         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22840         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22842         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22843         _XOPEN_SOURCE_EXTENDED for XPG4.
22845         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22847         * Makeconfig (localtime): Remove variable.
22848         (inst_localtime-file): Likewise.
22850 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22853         Update.
22854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22855         Update.
22856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22857         Update.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22859         Update.
22860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22861         Update.
22862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22863         Update.
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22865         Update.
22866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22867         Update.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22869         Update.
22871 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22873         [BZ #2550]
22874         [BZ #2570]
22875         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22876         comparisons to determine direction to adjust input.
22877         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22878         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22879         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22880         Likewise.
22881         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22882         Likewise.
22883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22884         Likewise.
22885         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22886         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22887         Likewise.
22888         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22889         Likewise.
22890         * math/libm-test.inc (nexttoward_test): Add more tests.
22892 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22894         [BZ #14040]
22895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22896         in version GLIBC_2.1, not GLIBC_2.0.
22897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22898         Likewise.
22900 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22902         [BZ #13942]
22903         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22904         (1 - x) * (1 + x).
22905         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22906         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22907         * math/libm-test.inc (acos_test): Add more tests.
22908         (asin_test): Likewise.
22909         * sysdeps/i386/fpu/libm-test-ulps: Update.
22910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22912         [BZ #14034]
22913         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22914         of square root.
22915         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22916         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22917         * math/libm-test.inc (acos_test_tonearest): New function.
22918         (acos_test_towardzero): Likewise.
22919         (acos_test_downward): Likewise.
22920         (acos_test_upward): Likewise.
22921         (asin_test_tonearest): Likewise.
22922         (asin_test_towardzero): Likewise.
22923         (asin_test_downward): Likewise.
22924         (asin_test_upward): Likewise.
22925         (main): Call the new functions.
22926         * sysdeps/i386/fpu/libm-test-ulps: Update.
22927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22929         [BZ #13884]
22930         [BZ #13924]
22931         * math/e_exp10.c: Include <float.h>.
22932         (__ieee754_exp10): Handle underflow here rather than multiplying
22933         large negative argument by M_LN10.
22934         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22935         of __ieee754_expf.
22936         * math/e_exp10l.c: Include <float.h>.
22937         (__ieee754_exp10l): Handle underflow here rather than multiplying
22938         large negative argument by M_LN10l.
22939         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22940         spurious overflow exception on underflow.
22942 2012-04-29  Marek Polacek  <polacek@redhat.com>
22944         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22945         (__fortify_function): New macro.
22946         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22947         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22948         __extern_always_inline.
22949         * libio/bits/stdio2.h: Likewise.
22950         * libio/bits/stdio.h: Likewise.
22951         * string/string.h: Likewise.
22952         * string/bits/string3.h: Likewise.
22953         * include/stdio.h: Likewise.
22954         * stdlib/bits/stdlib.h: Likewise.
22955         * stdlib/stdlib.h: Likewise.
22956         * rt/bits/mqueue2.h: Likewise.
22957         * rt/mqueue.h: Likewise.
22958         * posix/bits/unistd.h: Likewise.
22959         * posix/unistd.h: Likewise.
22960         * io/bits/poll2.h: Likewise.
22961         * io/bits/fcntl2.h: Likewise.
22962         * io/fcntl.h: Likewise.
22963         * io/sys/poll.h: Likewise.
22964         * misc/bits/syslog.h: Likewise.
22965         * misc/bits/syslog-ldbl.h: Likewise.
22966         * misc/sys/syslog.h: Likewise.
22967         * socket/bits/socket2.h: Likewise.
22968         * socket/sys/socket.h: Likewise.
22969         * debug/tst-chk1.c: Likewise.
22970         * wcsmbs/bits/wchar2.h: Likewise.
22971         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22972         * wcsmbs/wchar.h: Likewise.
22974 2012-04-29  Andreas Jaeger  <aj@suse.de>
22976         * Makerules (tests): Remove enable-check-abi protection.
22977         (check-abi-warn): Remove.
22978         (check-abi-%): Remove check-abi-warn usage.
22980         * configure.in: Remove check-abi configure option.
22981         * configure: Regenerated.
22982         * config.make.in (enable-check-abi): Remove.
22984 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22986         [BZ #14033]
22987         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22988         double functions to double *_finite functions.
22990         [BZ #13941]
22991         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22992         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22993         LDBL_MIN_EXP.
22994         * stdio-common/Makefile (tests): Add tst-sprintf3.
22995         * stdio-common/tst-sprintf3.c: New file.
22997         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22998         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23000 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23002         * conform/conformtest.pl: Remove duplicate typed-constant
23003         handling.
23005 2012-04-28  David S. Miller  <davem@davemloft.net>
23007         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23008         (check-abi-%): Remove AWK script prerequisite and explicit
23009         abilist directory.
23010         (check-abi): Rewrite to just diff the symlist with the abilist.
23011         (config-tls, config-abi-config): Delete, no longer used.
23012         (update-abi-%): Remove AWK script and explicit abilist directory.
23013         (update-abi): Rewrite to simply compare and conditionally copy the
23014         symlist and the sysdep abilist file.  Remove update-abi-config
23015         checks.
23016         * abilist/ld.abilist: Remove.
23017         * abilist/libBrokenLocale.abilist: Remove.
23018         * abilist/libanl.abilist: Remove.
23019         * abilist/libcrypt.abilist: Remove.
23020         * abilist/libdl.abilist: Remove.
23021         * abilist/librt.abilist: Remove.
23022         * abilist/libthread_db.abilist: Remove.
23023         * abilist/libutil.abilist: Remove.
23024         * scripts/extract-abilist.awk: Remove.
23025         * scripts/merge-abilist.awk: Remove.
23026         * sysdeps/generic/libcidn.abilist: New file.
23027         * sysdeps/generic/libnss_compat.abilist: New file.
23028         * sysdeps/generic/libnss_db.abilist: New file.
23029         * sysdeps/generic/libnss_dns.abilist: New file.
23030         * sysdeps/generic/libnss_files.abilist: New file.
23031         * sysdeps/generic/libnss_hesiod.abilist: New file.
23032         * sysdeps/generic/libnss_nis.abilist: New file.
23033         * sysdeps/generic/libnss_nisplus.abilist: New file.
23034         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23035         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23036         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23037         file.
23038         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23039         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23040         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23041         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23042         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23043         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23044         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23045         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23046         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23047         file.
23048         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23049         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23050         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23051         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23052         file.
23053         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23054         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23055         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23056         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23057         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23058         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23059         file.
23060         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23061         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23062         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23063         file.
23064         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23066         New file.
23067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23068         New file.
23069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23070         New file.
23071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23072         New file.
23073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23074         New file.
23075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23076         New file.
23077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23078         New file.
23079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23080         New file.
23081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23082         New file.
23083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23084         New file.
23085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23086         New file.
23087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23088         New file.
23089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23090         New file.
23091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23092         file.
23093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23094         New file.
23095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23096         New file.
23097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23098         file.
23099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23100         New file.
23101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23102         New file.
23103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23104         file.
23105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23106         New file.
23107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23108         New file.
23109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23110         New file.
23111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23112         New file.
23113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23114         New file.
23115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23116         New file.
23117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23119         file.
23120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23121         New file.
23122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23123         file.
23124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23125         file.
23126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23127         file.
23128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23129         file.
23130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23131         file.
23132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23133         New file.
23134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23135         file.
23136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23137         file.
23138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23139         New file.
23140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23141         file.
23142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23144         file.
23145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23146         New file.
23147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23148         file.
23149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23150         file.
23151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23152         file.
23153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23154         file.
23155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23156         file.
23157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23158         New file.
23159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23160         file.
23161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23162         file.
23163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23164         New file.
23165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23166         file.
23167         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23168         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23169         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23170         file.
23171         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23172         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23173         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23174         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23175         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23176         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23177         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23178         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23179         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23180         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23183         file.
23184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23185         New file.
23186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23187         file.
23188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23189         file.
23190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23191         file.
23192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23193         file.
23194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23195         file.
23196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23197         New file.
23198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23199         New file.
23200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23201         file.
23202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23203         New file.
23204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23205         file.
23206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23208         file.
23209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23210         New file.
23211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23212         file.
23213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23214         file.
23215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23216         file.
23217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23218         file.
23219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23220         file.
23221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23222         New file.
23223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23224         New file.
23225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23226         file.
23227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23228         New file.
23229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23230         file.
23232 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23234         * conform/conformtest.pl: Fix typo in handling typed-constant from
23235         allow-header.
23237 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23239         * README: Cut down references to pre-2.6 Linux kernels and
23240         Linuxthreads.  Update lists of configurations in libc and ports
23241         and sort alphabetically.  Say "or newer" with Linux kernel version
23242         requirements.
23244         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23246 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23248         [BZ #887]
23249         * math/libm-test.inc (logb_test_downward): New test to expose
23250         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23251         rounding mode.
23253 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23255         [BZ #14027]
23256         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23257         to be done.
23258         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23259         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23261 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23263         * sysdeps/unix/i386/brk.S: Remove file.
23264         * sysdeps/unix/i386/dl-brk.S: Likewise.
23265         * sysdeps/unix/i386/pipe.S: Likewise.
23266         * sysdeps/unix/i386/sigreturn.S: Likewise.
23267         * sysdeps/unix/i386/syscall.S: Likewise.
23268         * sysdeps/unix/i386/vfork.S: Likewise.
23269         * sysdeps/unix/i386/wait.S: Likewise.
23271         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23272         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23274         * configure.in (arm*-none*): Do not allow without
23275         --enable-hacker-mode.
23276         (netbsd*): Remove case setting base_os.
23277         (386bsd*): Likewise.
23278         (freebsd*): Likewise.
23279         (bsdi*): Likewise.
23280         (osf*): Likewise.
23281         (sunos*): Likewise.
23282         (ultrix*): Likewise.
23283         (newsos*): Likewise.
23284         (dynix*): Likewise.
23285         (*bsd*): Likewise.
23286         (sysv*): Likewise.
23287         (isc*): Likewise.
23288         (esix*): Likewise.
23289         (sco*): Likewise.
23290         (minix*): Likewise.
23291         (irix4*): Likewise.
23292         (irix6*): Likewise.
23293         (solaris[2-9]*): Likewise.
23294         (none): Likewise.
23295         * configure: Regenerated.
23297 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23299         [BZ #11521]
23300         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23301         overflow or cancellation in calculating denominator.
23302         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23303         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23304         down expression to avoid unexpected rounding in newer GCCs.
23305         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23307 2012-04-26  David S. Miller  <davem@davemloft.net>
23309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23310         long-double compat symbols.
23311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23325 2012-04-25  David S. Miller  <davem@davemloft.net>
23327         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23328         HWCAP_* values only after the memory barriers have been defined.
23329         (atomic_full_barrier): Define.
23330         (atomic_read_barrier): Define.
23331         (atomic_write_barrier): Define.
23333 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335         * shlib-versions: Add libgcc_s version information.
23336         * sysdeps/generic/libgcc_s.h: Remove.
23337         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23338         libgcc_s.h.
23339         * sysdeps/gnu/unwind-resume.c: Likewise.
23340         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23342 2012-04-25  David S. Miller  <davem@davemloft.net>
23344         * sysdeps/unix/sparc/brk.S: Delete.
23345         * sysdeps/unix/sparc/dl-brk.S: Delete.
23346         * sysdeps/unix/sparc/pipe.S: Delete.
23347         * sysdeps/unix/sparc/sysdep.S: Delete.
23348         * sysdeps/unix/sparc/sysdep.h: Delete.
23349         * sysdeps/unix/sparc/vfork.S: Delete.
23350         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23351         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23352         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23353         ret_ERRVAL, r0, r1, MOVE): Define.
23354         (JUMPTARGET): Remove.
23355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23356         sysdeps/unix/sparc/sysdep.h
23357         (ENTRY, END): Remove.
23358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23360 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23362         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23363         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23364         -DIS_IN_build.
23366         * timezone/README: Update upstream location and email address for
23367         tzcode and tzdata.
23368         * timezone/zdump.c: Update from tzcode 2012b.
23369         * timezone/zic.c: Likewise.
23371         * configure.in (libc_cv_as_needed): Remove test.
23372         * configure: Regenerated.
23373         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23374         conditional definition.
23375         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23376         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23377         * config.make.in (have-as-needed): Remove variable.
23379 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23380             Paul Pluzhnikov  <ppluzhnikov@google.com>
23382         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23383         strings correctly.
23385 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23387         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23388         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23389         * sysdeps/sh/strlen.S: Likewise.
23391 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23393         * sysdeps/unix/fork.S: Remove file.
23394         * sysdeps/unix/i386/fork.S: Likewise.
23395         * sysdeps/unix/sparc/fork.S: Likewise.
23397         * sysdeps/unix/system.c: Remove file.
23398         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23400         * sysdeps/unix/getegid.S: Remove file.
23401         * sysdeps/unix/geteuid.S: Likewise.
23403 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23405         * scripts/check-localplt.awk: New file.
23406         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23407         of diff.
23408         * scripts/data/localplt-generic.data: Add a comment.
23410         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23411         NODE when __dir_mkfile failed.
23412         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23413         Reported by Ludovic Courtès <ludo@gnu.org>.
23415 2012-04-24  Andreas Jaeger  <aj@suse.de>
23417         * Makerules (common-clean): Also remove gen-as-const-headers
23418         files.
23420 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23422         * Makerules (native-compile): Do not change working directory for
23423         build.  Use $(OUTPUT_OPTION) in command.
23424         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23426 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23428         [BZ #13886]
23429         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23430         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23431         * math/libm-test.inc (floor_test): Add more tests.
23432         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23434 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23436         * sysdeps/unix/getdents.c: Remove file.
23437         * sysdeps/unix/sysv/getdents.c: Likewise.
23438         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23440         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23441         sysdeps/unix/mman/syscalls.list.
23442         (mmap): Likewise.
23443         (mprotect): Likewise.
23444         (msync): Likewise.
23445         (munmap): Likewise.
23446         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23447         * sysdeps/unix/mman/syscalls.list: Remove.
23448         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23450         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23451         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23452         * configure: Regenerated.
23453         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23454         $(libgcc_s_suffix).
23455         * config.make.in (libgcc_s_suffix): Remove variable.
23457 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23459         * sysdeps/unix/sysv/gethostname.c: Move to ...
23460         * sysdeps/posix/gethostname.c: ... here.
23462         * sysdeps/unix/execve.S: Remove file.
23464         * sysdeps/unix/_exit.S: Remove file.
23466 2012-04-23  Andreas Jaeger  <aj@suse.de>
23468         [BZ #13739]
23469         * manual/Makefile: Remove make dist support, there's no
23470         need for a stand-alone documentation tar ball.
23471         (TEXI2DVI): Define always, it's not in Makeconfig.
23472         (dist): Removed.
23473         (tar-it): Removed.
23474         (edition): Removed.
23475         (glibc-doc-$(edition).tar): Removed
23476         (%.Z): Removed.
23477         (%.gz): Removed.
23478         (%.uu): Removed.
23479         (ETAGS): Remove, it's in Makeconfig.
23480         (move-if-change): Remove, it's in Makeconfig.
23482 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23484         [BZ #13970]
23485         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23486         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23487         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23488         (strtod_l, strtof_l, strtold_l): Remove __wur.
23489         It is not necessarily an error to ignore strtol's return value.
23490         One can reliably look at the stored endptr to decide whether
23491         the number had valid syntax.
23493 2012-04-21  Andreas Jaeger  <aj@suse.de>
23495         [BZ #13739]
23496         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23498 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23500         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23501         * sysdeps/unix/sysv/Versions: Remove file.
23503 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23505         [BZ #13927]
23506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23508 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23510         [BZ #7064]
23511         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23512         version from __vm86.
23514 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23516         * sysdeps/unix/common/lxstat.c: Remove file.
23517         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23519         * sysdeps/unix/sysv/Makefile: Remove file.
23521         * sysdeps/unix/sysv/direct.h: Remove file.
23523         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23524         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23525         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23526         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23527         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23528         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23529         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23531         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23533         * sysdeps/unix/xmknod.c: Remove file.
23534         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23536         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23538         * sysdeps/unix/sysv/i386/time.S: Remove file.
23540         * sysdeps/unix/fxstat.c: Remove file.
23541         * sysdeps/unix/xstat.c: Likewise.
23542         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23544         * sysdeps/unix/sysv/sigaction.c: Remove file.
23546         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23547         (sysdep_headers): Remove variable.
23548         [termio.h not in sysdep_headers] (generated): Likewise.
23549         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23550         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23551         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23552         * sysdeps/unix/sysv/tcflow.c: Likewise.
23553         * sysdeps/unix/sysv/tcflush.c: Likewise.
23554         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23555         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23556         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23557         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23558         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23560         * sysdeps/unix/siglist.c: Remove file.
23562         * sysdeps/unix/getppid.S: Remove file.
23564         * sysdeps/unix/mkdir.c: Remove file.
23565         * sysdeps/unix/rmdir.c: Likewise.
23567 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23569         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23570         ERR_MAX value.
23571         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23572         errlist-compat value.
23574 2012-04-18  David S. Miller  <davem@davemloft.net>
23576         * sysdeps/generic/memcopy.h (reg_char): Delete.
23577         * debug/strcat_chk.c: Use char, not reg_char.
23578         * debug/strcpy_chk.c: Likewise.
23579         * debug/strncat_chk.c: Likewise.
23580         * debug/strncpy_chk.c: Likewise.
23581         * string/memchr.c: Likewise.
23582         * string/memrchr.c: Likewise.
23583         * string/rawmemchr.c: Likewise.
23584         * string/strcat.c: Likewise.
23585         * string/strchr.c: Likewise.
23586         * string/strchrnul.c: Likewise.
23587         * string/strcmp.c: Likewise.
23588         * string/strcpy.c: Likewise.
23589         * string/strncat.c: Likewise.
23590         * string/strncmp.c: Likewise.
23591         * string/strncpy.c: Likewise.
23593 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23595         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23596         __builtin_memcopy is called when src and dest ranges are known to not
23597         overlap.
23599 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23601         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23602         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23603         fwd_align_merge macro call.
23604         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23605         bwd_align_merge macro call.
23606         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23608 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23610         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23611         bwd_align_merge macros.
23612         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23613         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23614         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23616 2012-04-18  David S. Miller  <davem@davemloft.net>
23618         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23620 2012-04-18  Andreas Jaeger  <aj@suse.de>
23622         [BZ# 6794]
23623         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23624         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23625         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23627         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23628         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23629         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23631         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23632         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23633         Adjust for changed ldbl-128 files.
23635         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23636         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23637         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23639 2012-04-17  David S. Miller  <davem@davemloft.net>
23641         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23643 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23645         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23646         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23647         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23648         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23649         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23650         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23652 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23654         [BZ #6794]
23655         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23656         * math/libm-test.inc: Add ilogb errno and exception tests.
23657         * math/w_ilogb.c: New file: ilogb wrapper.
23658         * math/w_ilogbf.c: New file: ilogbf wrapper.
23659         * math/w_ilogbl.c: New file: ilogbl wrapper.
23660         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23661         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23662         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23663         exception being thrown with 0.0 as argument.
23664         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23665         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23666         exception being thrown with 0.0 as argument.
23667         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23668         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23669         exception being thrown with 0.0 as argument.
23670         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23671         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23672         exception being thrown with 0.0 as argument.
23673         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23674         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23675         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23676         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23677         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23678         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23679         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23680         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23681         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23683 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23685         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23686         with altivec.
23688 2012-04-16  Marek Polacek  <polacek@redhat.com>
23690         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23692 2012-04-16  Marek Polacek  <polacek@redhat.com>
23694         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23695         operands of fdivp instruction.
23697 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23699         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23700         * elf/tst-auditmod3b.c: Likewise.
23701         * elf/tst-auditmod4b.c: Likewise.
23702         * elf/tst-auditmod5b.c: Likewise.
23703         * elf/tst-auditmod6b.c: Likewise.
23704         * elf/tst-auditmod6c.c: Likewise.
23705         * elf/tst-auditmod7b.c: Likewise.
23706         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23707         * sysdeps/x86_64/preconfigure.in: Likewise.
23708         * sysdeps/x86_64/preconfigure: Regenerated.
23710 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23712         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23713         __ILP32__.
23715 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23718         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23720 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23722         [BZ #13973]
23723         * locale/iso-639.def: Fix gl language name. Spotted by
23724         Yaron Shahrabani.
23726 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23728         [BZ #2074]
23729         * libio/libio.h (__io_write_fn): Update comment.
23731 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23733         [BZ #2074]
23734         * stdio.texi (Hook Functions): The user provided writer function
23735         is not allowed to return -1.
23737 2012-04-11  David S. Miller  <davem@davemloft.net>
23739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23741 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23743         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23744         Add a leading slash to rtkaio.
23746 2012-04-11  Jim Meyering  <meyering@redhat.com>
23748         [BZ #11959]
23749         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23750         It is not necessarily an error to ignore fwrite's return
23751         value.  One can reliably use ferror to test for errors after
23752         the fact.
23754 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23756         * bits/types.h (__snseconds_t): New type.
23757         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23759         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23761         (__SNSECONDS_T_TYPE): Likewise.
23762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23763         (__SNSECONDS_T_TYPE): Likewise.
23764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23765         (__SNSECONDS_T_TYPE): Likewise.
23767 2012-04-10  Andreas Jaeger  <aj@suse.de>
23769         [BZ #2636]
23770         * manual/time.texi (Processor Time): Return type of times is
23771         elapsed real time since an arbitrary point in the past.
23772         (CPU Time): Move CLK_TCK from here...
23773         (Processor Time): ...to here.  Correct description.
23774         * manual/conf.texi (Constants for Sysconf): Correct description of
23775         _SC_CLK_TCK.
23777 2012-04-10  David S. Miller  <davem@davemloft.net>
23779         [BZ #13967]
23780         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23781         where the is a gap between DT_REL(A) and DT_JMPREL.
23783 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23785         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23786         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23787         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23789 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23791         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23792         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23793         (dl_main): Handle --inhibit-cache.
23794         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23795         _dl_inhibit_cache.
23796         * elf/dl-load.c (_dl_map_object): Use it.
23797         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23799 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23801         [BZ #13872]
23802         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23803         (__ieee754_powl): Saturate large exponents rather than testing for
23804         overflow of y*log2(x).
23805         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23806         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23807         exceptions.
23809         [BZ #11521]
23810         * math/s_ctan.c: Include <float.h>.
23811         (__ctan): Avoid internal overflow or cancellation in calculating
23812         denominator.
23813         * math/s_ctanf.c: Likewise.
23814         * math/s_ctanl.c: Likewise.
23815         * math/s_ctanh.c: Likewise.
23816         * math/s_ctanhf.c: Likewise.
23817         * math/s_ctanhl.c: Likewise.
23818         * math/libm-test.inc (ctan_test): Add more tests.
23819         (ctanh_test): Likewise.
23820         * sysdeps/i386/fpu/libm-test-ulps: Update.
23821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23823 2012-04-09  Andreas Jaeger  <aj@suse.de>
23825         [BZ #6894]
23826         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23827         is an optional BSD extension.
23829         [BZ #10254]
23830         * manual/stdio.texi (Opening Streams): Document additional fopen
23831         parameters.
23833 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23835         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23836         %eax without telling the compiler.
23838 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23840         [BZ # 13963]
23841         * manual/install.texi: Use sourceware.org.
23843 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23845         [BZ #13873]
23846         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23847         (__ieee754_pow): Generate overflow and underflow using huge*huge
23848         and tiny*tiny rather than just returning constant infinity or zero
23849         for large exponents.
23850         * math/libm-test.inc (pow_test): Require overflow exceptions for
23851         applicable cases of large exponents.
23853         [BZ #706]
23854         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23855         (__ieee754_pow): Use iterative multiplication algorithm only for
23856         integer exponents with absolute value below 1024.  Check for odd
23857         integer exponents when using algorithm for real exponents.
23858         * math/libm-test.inc (pow_test): Add more tests.
23859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23861 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23863         [BZ #13705]
23864         * math/libm-test.inc (exp_test): Do not allow overflow exception
23865         on underflow test.
23867 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23869         [BZ #13705]
23870         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23871         instead of __kernel_standard_f.
23873 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23875         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23876         * sysdeps/x86_64/memset_chk.S: Likewise.
23878 2012-04-08  Andreas Jaeger  <aj@suse.de>
23880         [BZ #10153]
23881         * manual/startup.texi (Environment Access): Describe return value
23882         for putenv and setenv.
23884         [BZ #6895]
23885         * manual/filesys.texi (Directory Entries): Add description for
23886         DT_LNK.
23888         [BZ #6890]
23889         * manual/filesys.texi (Directory Entries): Clarify that it's file
23890         system not operating system in the description of DT_UNKNOWN.
23892         [BZ #6578]
23893         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23895 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23897         [BZ #6649]
23898         * manual/llio.texi (Opening and Closing Files): Add cross
23899         reference to explain mode argument.
23901 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23903         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23904         * sysdeps/x86_64/memset_chk.S: Likewise.
23906 2012-04-07  David S. Miller  <davem@davemloft.net>
23908         * elf/elf.h (R_SPARC_WDISP10): Define.
23909         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23910         R_SPARC_SIZE32.
23911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23912         R_SPARC_SIZE64 and R_SPARC_H34.
23914 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23917         conditions and remove no longer applicable assertion.
23919 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23921         * bits/byteswap.h: Include <features.h>.
23922         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23923         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23925 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23927         * bits/byteswap.h (__bswap_16): Removed.
23928         Include <bits/byteswap-16.h> to get __bswap_16.
23929         * sysdeps/i386/bits/byteswap.h: Likewise.
23930         * sysdeps/s390/bits/byteswap.h: Likewise.
23931         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23932         * bits/byteswap-16.h: New file.
23933         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23934         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23935         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23936         * string/Makefile (headers): Add bits/byteswap-16.h.
23938 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23940         [BZ #13895]
23941         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23942         extra indirection.
23943         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23944         * nss/tst-nss-static.c: New.
23946 2012-04-06  Robert Millan  <rmh@gnu.org>
23948         [BZ #6486]
23949         * manual/llio.texi (File Position Primitive): lseek
23950         refers to WHENCE when it really means OFFSET.
23952 2012-04-06  Andreas Jaeger  <aj@suse.de>
23954         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23955         strncmp declarations.
23957         * abilist/libc.abilist: Add __poll and __ppoll.
23959 2012-04-05  David S. Miller  <davem@davemloft.net>
23961         * scripts/check-local-headers.sh: Accept a host triplet in the
23962         path matched by the exclude regexp.
23964         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23965         definition.
23966         * sysdeps/powerpc/powerpc32/dl-machine.h
23967         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23968         * sysdeps/s390/s390-32/dl-machine.h
23969         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23970         * sysdeps/sparc/sparc32/dl-machine.h
23971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23972         * sysdeps/sparc/sparc64/dl-machine.h
23973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23975         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23976         lazy binding.
23977         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23978         undefined symbol errors.
23980         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23981         DT_NEEDED entries.
23983 2012-04-05  Michael Matz  <matz@suse.de>
23985         [BZ #13592]
23986         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23988 2012-04-05  Andreas Jaeger  <aj@suse.de>
23990         [BZ #13908]
23991         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23992         comment.
23994 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23996         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23997         which ROUND is no valid rounding mode.
23999 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24001         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24002         read again.
24003         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24005 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24007         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24008         an exception using FPU order intentionally.
24010 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24012         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24013         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24014         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24015         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24017 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24019         [BZ #12340]
24020         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24021         EINVAL when BUFLEN is too smal.
24023 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24025         [BZ #13553]
24026         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24027         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24029 2012-04-03  Andreas Jaeger  <aj@suse.de>
24031         [BZ #13938]
24032         * manual/setjmp.texi (System V contexts): Fix sentence.
24034         [BZ #13926]
24035         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24036         New macro for this case.
24037         [!__GNUC__] (__bswap_64): New inline function for this case.
24038         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24039         * bits/byteswap.h: Likewise.
24040         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24041         ull, guard with __GLIBC_HAVE_LONG_LONG.
24043         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24044         __GLIBC_HAVE_LONG_LONG.
24046         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24047         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24049 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24051         [BZ #13691]
24052         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24053         inptr and inend, rather than using last_ch.
24055 2012-04-02  David S. Miller  <davem@davemloft.net>
24057         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24058         * stdio-common/printf-parse.h (read_int): Change return type to
24059         'int', return -1 on INT_MAX overflow.
24060         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24061         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24062         overflows INT_MAX.  Check for overflow of in-format-string precision
24063         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24064         SIZE_MAX not INT_MAX for integer overflow test.
24065         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24066         skip the construct in the format string but do not record anything.
24067         * stdio-common/bug22.c: Adjust to test both width/prevision
24068         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24069         explicitly for proper errno values.
24071 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24073         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24074         CHAR_MAX.
24075         * string/test-strcmp.c [! WIDE]: Likewise.
24076         * time/tst-mktime2.c: Likewise for INT_MAX.
24077         * string/test-string.h: #include <sys/param.h> for MIN.
24079         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24080         * sysdeps/i386/init-first.c (init): Likewise.
24081         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24082         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24083         * sysdeps/sh/init-first.c (init): Likewise.
24085 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24087         * po/ru.po: Update from translation team.
24088         * po/vi.po: Likewise.
24090 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24092         * resolv/nss_dns/dns-host.c: Merge copyright years.
24094 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24096         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24097         Optimize memcpy with prefetch if
24098         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24099         src, dst pointers have unequal 16 byte alignments.
24101 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24103         [BZ #13928]
24104         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24105         from a CNAME entry and return the minimum ttl for the query.
24106         (gaih_getanswer_slice): Likewise.
24108 2012-03-30  Jeff Law  <law@redhat.com>
24110         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24111         due to long keys.
24112         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24113         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24115         * resolv/nss_dns/dns-host.c: Update copyright year.
24117 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24119         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24120         requests to save a system call.  Fix check that all bytes are sent.
24122         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24123         comments for sendmmsg.
24125 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24127         [BZ #13691]
24128         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24129         with only 1 character between 0x0041 and 0x01b0.
24130         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24131         * wcsmbs/tst-mbsnrtowcs.c: New file.
24133 2012-03-29  David S. Miller  <davem@davemloft.net>
24135         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24136         small copies by hand.
24138 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24140         [BZ #13761]
24141         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24142         _nss_compat_initgroups_dyn): Fall back to malloc/free
24143         for large group memberships.
24145 2012-03-28  David S. Miller  <davem@davemloft.net>
24147         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24148         that branches into memcpy.
24149         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24152         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24154         bits.
24155         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24156         implementation too.
24157         * sysdeps/sparc/mempcpy.S: New file.
24159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24160         the IFUNC routine in the libc case.
24161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24163         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24164         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24165         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24166         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24167         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24168         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24169         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24170         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24172         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24173         loop to 256 bytes instead of 64 bytes and fix test signedness.
24175         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24176         * sysdeps/sparc/sparc32/Makefile: rather than here...
24177         * sysdeps/sparc/sparc64/Makefile: and here.
24179 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24181         * malloc/mallocbug.c: Avoid warnings about unused variables.
24183 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24185         [BZ #13760]
24186         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24187         in the right place. Discard and retry query if response is
24188         larger than input buffer size.
24190 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24192         [BZ #369]
24193         [BZ #2678]
24194         [BZ #3866]
24195         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24196         x for large integer exponent.
24197         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24198         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24199         sign of result as needed afterwards.
24200         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24201         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24202         result for underflowing pow the same as for overflow.
24203         (__kernel_standard_l): Handle powl overflow and underflow here
24204         rather than calling __kernel_standard.
24205         * math/libm-test.inc (pow_test): Add more tests.
24207         [BZ #3868]
24208         [BZ #13879]
24209         [BZ #13910]
24210         [BZ #13911]
24211         [BZ #13912]
24212         [BZ #13913]
24213         [BZ #13915]
24214         [BZ #13916]
24215         [BZ #13917]
24216         [BZ #13918]
24217         [BZ #13919]
24218         [BZ #13920]
24219         [BZ #13921]
24220         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24221         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24222         (__kernel_standard_l): New function.
24223         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24224         __kernel_standard.
24225         * math/w_acosl.c (__acosl): Likewise.
24226         * math/w_asinl.c (__asinl): Likewise.
24227         * math/w_atan2l.c (__atan2l): Likewise.
24228         * math/w_atanhl.c (__atanhl): Likewise.
24229         * math/w_coshl.c (__coshl): Likewise.
24230         * math/w_exp10l.c (__exp10l): Likewise.
24231         * math/w_exp2l.c (__exp2l): Likewise.
24232         * math/w_fmodl.c (__fmodl): Likewise.
24233         * math/w_hypotl.c (__hypotl): Likewise.
24234         * math/w_j0l.c (__j0l, __y0l): Likewise.
24235         * math/w_j1l.c (__j1l, __y1l): Likewise.
24236         * math/w_jnl.c (__jnl, __ynl): Likewise.
24237         * math/w_lgammal.c (__lgammal): Likewise.
24238         * math/w_log10l.c (__log10l): Likewise.
24239         * math/w_log2l.c (__log2l): Likewise.
24240         * math/w_logl.c (__logl): Likewise.
24241         * math/w_powl.c (__powl): Likewise.
24242         * math/w_remainderl.c (__remainderl): Likewise.
24243         * math/w_scalbl.c (sysv_scalbl): Likewise.
24244         * math/w_sinhl.c (__sinhl): Likewise.
24245         * math/w_sqrtl.c (__sqrtl): Likewise.
24246         * math/w_tgammal.c (__tgammal): Likewise.
24247         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24248         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24249         * math/libm-test.inc (acos_test): Add more tests.
24250         (acosh_test): Likewise.
24251         (asin_test): Likewise.
24252         (atanh_test): Likewise.
24253         (exp_test): Likewise.
24254         (exp10_test): Likewise.
24255         (exp2_test): Likewise.
24256         (expm1_test): Likewise.
24257         (lgamma_test): Likewise.
24258         (log_test): Likewise.
24259         (log10_test): Likewise.
24260         (log1p_test): Likewise.
24261         (log2_test): Likewise.
24262         (pow_test): Do not allow some spurious overflow exceptions.
24263         (sqrt_test): Add more tests.
24264         (tgamma_test): Likewise.
24265         (y0_test): Likewise.
24266         (y1_test): Likewise.
24267         (yn_test): Likewise.
24269 2012-03-27  Anton Blanchard  <anton@samba.org>
24271         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24272         MAP_HUGETLB.
24273         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24274         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24277 2012-03-27  David S. Miller  <davem@davemloft.net>
24279         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24281         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24282         have-as-vis3 check.
24284 2012-03-27  Andreas Jaeger  <aj@suse.de>
24286         * sysdeps/x86_64/elf/configure.in: Moved to ...
24287         * sysdeps/x86_64/configure.in: ... here.
24288         * sysdeps/x86_64/elf/start.S: Moved to ...
24289         * sysdeps/x86_64/start.S: ... here.
24290         * sysdeps/x86_64/elf/configure: Delete.
24292         * sysdeps/x86_64/configure.in: Merge contents from
24293         sysdeps/i386/configure.in (without i686 check).
24295         * sysdeps/i386/elf/Versions: Merge into ...
24296         * sysdeps/i386/Versions: ... this.
24297         * sysdeps/i386/elf/Versions: Delete file.
24298         * sysdeps/i386/elf/start.S: Moved to ...
24299         * sysdeps/i386/start.S: ...here.
24300         * sysdeps/i386/elf/configure.in: Merge into...
24301         * sysdeps/i386/configure.in: ...here.
24302         * sysdeps/i386/elf/configure.in: Delete file.
24303         * sysdeps/i386/elf/configure: Delete file.
24305         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24306         * debug/backtracesyms.c: ... here.
24307         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24308         * debug/backtracesymsfd.c: ... here.
24309         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24310         * sysdeps/generic/ifunc-sel.h: ... here.
24312         * sysdeps/unix/i386/start.c: Delete file.
24313         * sysdeps/unix/sparc/start.c: Delete file.
24314         * sysdeps/unix/start.c: Delete file.
24316         * sysdeps/sh/elf/configure.in: Moved to ...
24317         * sysdeps/sh/configure.in: ... here.
24318         * sysdeps/sh/elf/start.S: Moved to ...
24319         * sysdeps/sh/start.S: ... here.
24320         * sysdeps/sh/elf/configure: Delete file.
24322         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24323         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24324         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24325         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24326         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24327         * sysdeps/powerpc/powerpc64/start.S: here.
24328         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24329         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24330         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24331         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24332         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24334         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24335         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24336         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24337         * sysdeps/powerpc/powerpc32/start.S: ... here.
24338         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24339         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24340         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24342         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24343         * sysdeps/powerpc/ifunc-sel.h: ... here.
24344         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24345         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24347         * sysdeps/sparc/elf/configure.in: Moved to ...
24348         * sysdeps/sparc/configure.in: ... here.
24349         * sysdeps/sparc/elf/configure: Delete file.
24350         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24351         * sysdeps/sparc/sparc32/start.S: ... here.
24352         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24353         * sysdeps/sparc/sparc64/start.S: ... here.
24354         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24355         * sysdeps/sparc/sparc32/Makefile: ... this.
24356         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24357         * sysdeps/sparc/sparc64/Makefile: ... this.
24359         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24360         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24361         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24362         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24363         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24364         * sysdeps/s390/s390-32/setjmp.S: ... here.
24365         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24366         * sysdeps/s390/s390-32/configure.in: ... here.
24367         * sysdeps/s390/s390-32/elf/configure: Delete file.
24368         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24369         * sysdeps/s390/s390-32/start.S: ... here.
24371         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24372         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24373         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24374         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24375         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24376         * sysdeps/s390/s390-64/setjmp.S: ... here.
24377         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24378         * sysdeps/s390/s390-64/configure.in: ... here
24379         * sysdeps/s390/s390-64/elf/configure: Delete file.
24380         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24381         * sysdeps/s390/s390-64/start.S: ... here.
24382         * sysdeps/s390/s390-64/elf/configure: Delete.
24384         * configure.in: Remove support for elf directories in sysdeps.
24386         * configure: Regenerated.
24387         * sysdeps/i386/configure: Regenerated.
24388         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24389         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24390         * sysdeps/s390/s390-32/configure: Regenerated.
24391         * sysdeps/s390/s390-64/configure: Regenerated.
24392         * sysdeps/sh/configure: Regenerated.
24393         * sysdeps/sparc/configure: Regenerated.
24394         * sysdeps/x86_64/configure: Regenerated.
24396 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24400         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24401         denormal result into account.
24403 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24405         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24406         Reported by Allan McRae <allan@archlinux.org>.
24408 2012-03-23  Jeff Law  <law@redhat.com>
24410         * nss/getnssent.c (__nss_getent): Fix typo.
24412 2012-03-23  David S. Miller  <davem@davemloft.net>
24414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24416 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24418         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24419         to pad to uint64_t for each field.
24420         (dl_tls_index): Replace unsigned long with uint64_t.
24422 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24423         Paul Pluzhnikov  <ppluzhnikov@google.com>
24425         [BZ #6528]
24426         * grp/Makefile (otherlibs): Don't set it.
24427         * inet/Makefile (otherlibs): Likewise.
24428         * login/Makefile (otherlibs): Likewise.
24429         * nscd/Makefile (otherlibs): Likewise.
24430         * posix/Makefile (otherlibs): Likewise.
24431         * pwd/Makefile (otherlibs): Likewise.
24432         * rt/Makefile (otherlibs): Likewise.
24433         * sunrpc/Makefile (otherlibs): Likewise.
24434         * nss/Makefile (otherlibs): Likewise.
24435         Add libnss_files to routines and static-only-routines.
24436         ($(objpfx)getent): Remove rule.
24437         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24438         static-only-routines.
24440 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24442         [BZ #13892]
24443         * math/s_cexp.c: Include <float.h>.
24444         (__cexp): Handle exp result overflowing not necessarily
24445         overflowing both real and imaginary parts of result.
24446         * math/s_cexpf.c: Likewise.
24447         * math/s_cexpl.c: Likewise.
24448         * math/libm-test.inc (cexp_test): Add more tests.
24449         * sysdeps/i386/fpu/libm-test-ulps: Update.
24450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24452 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24454         * include/link.h (ELFW): New macro.
24455         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24456         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24458 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24460         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24461         with uint64_t.
24463 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24465         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24466         declaration.
24467         (struct La_x32_retval): Likewise.
24469 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24471         * sysdeps/x86_64/preconfigure.in: New file.
24472         * sysdeps/x86_64/preconfigure: New generated file.
24474 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24476         [BZ #13824]
24477         * math/e_exp2l.c: Include <float.h>.
24478         (__ieee754_exp2l): Handle overflow and underflow cases
24479         separately.  Only pass fractional part of argument to
24480         __ieee754_expl.
24481         * math/libm-test.inc (exp2_test): Add more tests.
24483         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24484         negating x to take absolute value.
24485         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24486         Likewise.
24487         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24488         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24489         Likewise.
24490         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24491         computing low part if x was negated.
24492         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24494 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24496         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24497         la_x32_gnu_pltexit.
24498         (pltexit): Cast int_retval to ptrdiff_t.
24499         * elf/tst-auditmod3b.c: Likewise.
24500         * elf/tst-auditmod4b.c: Likewise.
24501         * elf/tst-auditmod5b.c: Likewise.
24502         * elf/tst-auditmod6b.c: Likewise.
24503         * elf/tst-auditmod6c.c: Likewise.
24504         * elf/tst-auditmod7b.c: Likewise.
24506         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24507         and x32_gnu_pltexit.
24509         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24510         __ELF_NATIVE_CLASS.
24511         (La_x32_regs): New macro.
24512         (La_x32_retval): Likewise.
24513         (la_x32_gnu_pltenter): New function prototype.
24514         (la_x32_gnu_pltexit): Likewise.
24516 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24519         exponent.
24521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24523         * configure.in (libc_cv_cc_nofma): Check for option to disable
24524         generation of FMA instructions.
24525         * configure: Regenerate.
24526         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24527         * sysdeps/ieee754/dbl-64/Makefile: New file.
24528         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24529         Remove brandred-fma4.
24530         (CFLAGS-brandred-fma4.c): Remove.
24531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24532         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24533         define.
24534         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24535         define.
24537 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24539         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24540         LLONG_MAX != LONG_MAX.
24541         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24542         (_fitoa_word): Likewise.
24543         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24544         LLONG_MAX != LONG_MAX.
24545         * stdio-common/_itowa.h: Include <_itoa.h>.
24546         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24547         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24548         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24549         only if not defined.
24550         (_ITOA_WORD_TYPE): Likewise.
24551         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24552         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24554 2012-03-21  David S. Miller  <davem@davemloft.net>
24556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24558 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24560         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24561         of x86_64 when setting libc_cv_slibdir, libdir and
24562         libc_cv_localedir.
24563         * sysdeps/unix/sysv/linux/configure: Regenerated.
24565 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24567         * manual/lang.texi (Old Varargs): Remove section.
24568         (How Variadic): Update menu.
24569         (va_start): Do not mention varargs.h.
24571 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24572             Joseph Myers  <joseph@codesourcery.com>
24574         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24575         link test.
24576         * configure: Regenerated.
24578 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24580         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24581         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24582         conformtest.pl
24584 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24586         * NOTES: Remove.
24587         * Makefile (files-for-dist): Remove NOTES.
24588         (NOTES): Remove rule.
24589         * README: Don't refer to NOTES.
24590         * manual/creature.texi: Don't include macros.texi.
24591         * manual/intro.texi (creature.texi): Remove comment referring to
24592         NOTES.
24594         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24595         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24596         * configure: Regenerated.
24597         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24598         LIBC_TRY_CC_OPTION.
24599         (libc_cv_as_i686): Likewise.
24600         (libc_cv_cc_avx): Likewise.
24601         (libc_cv_cc_sse2avx): Likewise.
24602         (libc_cv_cc_fma4): Likewise.
24603         (libc_cv_cc_novzeroupper): Likewise.
24604         * sysdeps/i386/configure: Regenerated.
24606         [BZ #13883]
24607         * sysdeps/i386/fpu/s_cexp.S: Remove.
24608         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24609         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24610         * math/libm-test.inc (cexp_test): Add more tests.
24611         * sysdeps/i386/fpu/libm-test-ulps: Update.
24612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24614 2012-03-21  Allan McRae  <allan@archlinux.org>
24616         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24618 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24620         [BZ #13871]
24621         * math/w_exp2.c: Do not include <float.h>.
24622         (o_threshold, u_threshold): Remove.
24623         (__exp2): Calculate result before checking finiteness and calling
24624         __kernel_standard.
24625         * math/w_exp2f.c: Likewise.
24626         * math/w_exp2l.c: Likewise.
24627         * math/libm-test.inc (exp2_test): Require overflow exception for
24628         1e6 input.
24630         [BZ #3866]
24631         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24632         range of signed 64-bit integers before using fistpll.  Remove
24633         checks for whether integers fit in mantissa bits.
24634         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24635         the range of signed 32-bit integers before using fistpl.  Remove
24636         checks for whether integers fit in mantissa bits.
24637         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24638         (__ieee754_powl): Test for y outside the range of signed 64-bit
24639         integers before using fistpll.  Reduce 64-bit values to 63-bit
24640         ones as needed.
24641         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24642         divide-by-zero is raised for zero to large negative powers.
24643         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24644         (__ieee754_powl): Test for y outside the range of signed 64-bit
24645         integers before using fistpll.  Reduce 64-bit values to 63-bit
24646         ones as needed.
24647         * math/libm-test.inc (pow_test): Add more tests.
24649 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24651         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24652         <stdio-common/_itoa.h>.
24653         * debug/segfault.c: Likewise.
24654         * elf/dl-cache.c: Likewise.
24655         * elf/dl-minimal.c: Likewise.
24656         * elf/dl-misc.c: Likewise.
24657         * elf/dl-sysdep.c: Likewise.
24658         * elf/dl-version.c: Likewise.
24659         * elf/rtld.c: Likewise.
24660         * hurd/hurdsock.c: Likewise.
24661         * hurd/lookup-retry.c: Likewise.
24662         * malloc/malloc.c: Likewise.
24663         * malloc/mtrace.c: Likewise.
24664         * nscd/nscd_getgr_r.c: Likewise.
24665         * nscd/nscd_getpw_r.c: Likewise.
24666         * nscd/nscd_getserv_r.c: Likewise.
24667         * posix/getopt_init.c: Likewise.
24668         * posix/wordexp.c: Likewise.
24669         * stdio-common/_itoa.c: Likewise.
24670         * stdio-common/printf_fphex.c: Likewise.
24671         * stdio-common/vfprintf.c: Likewise.
24672         * string/_strerror.c: Likewise.
24673         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24674         * sysdeps/i386/i686/hp-timing.h: Likewise.
24675         * sysdeps/mach/_strerror.c: Likewise.
24676         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24677         * sysdeps/mach/hurd/sethostid.c: Likewise.
24678         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24679         * sysdeps/mach/xpg-strerror.c: Likewise.
24680         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24681         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24682         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24683         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24684         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24685         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24686         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24687         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24688         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24689         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24690         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24691         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24692         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24693         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24694         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24695         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24696         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24697         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24698         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24699         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24700         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24702         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24704         * stdio-common/_itoa.h: Moved to ...
24705         * sysdeps/generic/_itoa.h: Here.
24707         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24709         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24710         instead of "_itoa.h" and "_itowa.h".
24711         * stdio-common/vfprintf.: Likewise.
24713 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24715         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24716         <bits/wordsize.h>.
24717         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24718         (__signbit): Likwise.
24719         (llrintf): Likwise.
24720         (llrint): Likwise.
24722 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24724         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24725         __WORDSIZE != 64.
24727 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24729         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24730         OVERFLOW_EXCEPTION_OK.
24731         * math/libm-test.inc ("Philosophy"): Update comment about
24732         exception testing.
24733         (OVERFLOW_EXCEPTION): Define.
24734         (OVERFLOW_EXCEPTION_OK): Likewise.
24735         (INVALID_EXCEPTION_OK): Renumber.
24736         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24737         (IGNORE_ZERO_INF_SIGN): Likewise.
24738         (test_exceptions): Handle FE_OVERFLOW.
24739         (exp10_test): Expect overflow exceptions.
24740         (exp2_test): Likewise.
24741         (expm1_test): Likewise.
24742         (nextafter_test): Likewise.
24743         (pow_test): Likewise.
24744         (scalbn_test): Likewise.
24745         (scalbln_test): Likewise.
24747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24749         * sysdeps/x86_64/bits/atomic.h
24750         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24751         64bit integer.
24752         (atomic_exchange_acq): Likewise.
24753         (__arch_exchange_and_add_body): Likewise.
24754         (__arch_add_body): Likewise.
24755         (atomic_add_negative): Likewise.
24756         (atomic_add_zero): Likewise.
24758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24760         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24761         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24765         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24766         Check __x86_64__ instead of __WORDSIZE.
24768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24770         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24772 2012-03-19  David S. Miller  <davem@davemloft.net>
24774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24776         * sysdeps/sparc/fpu/fenv_private.h: New file.
24777         * sysdeps/sparc/fpu/math_private.h: Use it.
24778         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24779         Remove.
24780         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24781         (libc_feholdexcept_setroundl): Remove.
24782         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24783         Remove.
24784         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24785         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24789         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24790         int64_t instead of long int.
24791         (INSERT_WORDS64): Likwise.
24793 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24795         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24796         _Unwind_GetCFA return to _Unwind_Ptr first.
24798 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24800         [BZ #13629]
24801         * math/s_clog.c: Include <float.h>.
24802         (__clog): Scale large or subnormal inputs.
24803         * math/s_clogf.c: Likewise.
24804         * math/s_clogl.c: Likewise.
24805         * math/s_clog10.c: Include <float.h>.
24806         (M_LOG10_2): Define.
24807         (__clog10): Scale large or subnormal inputs.
24808         * math/s_clog10f.c: Likewise.
24809         * math/s_clog10l.c: Likewise.
24810         * math/libm-test.inc (clog_test): Add more tests.
24811         (clog10_test): Likewise.
24812         * sysdeps/i386/fpu/libm-test-ulps: Update.
24813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24815         [BZ #11451]
24816         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24817         x and y.
24818         * math/libm-test.inc (atan2_test): Add another test.
24820         * Makerules (common-objdir-compile): Remove.
24821         * sysdeps/unix/Makefile (config-generated): Do not add
24822         $(unix-generated) to variable.
24823         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24824         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24825         Remove rule.
24826         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24827         Likewise.
24828         [generic bits/local_lim.h] (before-compile): Do not append to
24829         variable.
24830         [generic bits/local_lim.h] (common-generated): Likewise.
24831         [generic sys/param.h] (before-compile): Do not append to variable.
24832         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24833         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24834         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24835         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24836         include.
24837         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24838         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24839         [generic sys/param.h] ($(addprefix
24840         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24841         [generic sys/param.h] (common-generated): Do not append to
24842         variable.
24843         [generic sys/param.h] (sysdep_headers): Likewise.
24844         [generic bits/errno.h] (before-compile): Do not append to
24845         variable.
24846         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24847         rule.
24848         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24849         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24850         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24851         [generic bits/errno.h] (common-generated): Do not append to
24852         variable.
24853         [generic bits/ioctls.h] (before-compile): Do not append to
24854         variable.
24855         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24856         rule.
24857         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24858         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24859         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24860         rule.
24861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24862         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24863         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24864         [generic bits/ioctls.h] (common-generated): Do not append to
24865         variable.
24866         [generic sys/syscall.h] (syscall.h): Remove variable.
24867         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24868         rule.
24869         [generic sys/syscall.h] (before-compile): Do not append to
24870         variable.
24871         [generic sys/syscall.h] (common-generated): Likewise.
24872         * sysdeps/unix/errnos-tmpl.c: Remove file.
24873         * sysdeps/unix/errnos.awk: Likewise.
24874         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24875         * sysdeps/unix/ioctls.awk: Likewise.
24876         * sysdeps/unix/mk-local_lim.c: Likewise.
24877         * sysdeps/unix/snarf-ioctls: Likewise.
24879 2012-03-19  Richard Henderson  <rth@twiddle.net>
24881         * sysdeps/i386/fpu/fenv_private.h: New file.
24882         * sysdeps/i386/fpu/math_private.h: Use it.
24883         (math_opt_barrier, math_force_eval): Remove.
24884         (libc_feholdexcept_setround_53bit): Remove.
24885         (libc_feupdateenv_53bit): Remove.
24886         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24887         (math_opt_barrier, math_force_eval): Remove.
24888         (libc_feholdexcept): Remove.
24889         (libc_feholdexcept_setround): Remove.
24890         (libc_fetestexcept, libc_fesetenv): Remove.
24891         (libc_feupdateenv_test): Remove.
24892         (libc_feupdateenv, libc_feholdsetround): Remove.
24893         (libc_feresetround): Remove.
24895         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24896         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24898         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24899         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24900         (libc_feupdateenv_testl): New.
24901         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24902         (libc_feupdateenv_testf): New.
24903         (libc_feupdateenv): Use libc_feupdateenv_test.
24904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24905         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24907         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24908         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24909         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24910         (libc_feresetround_noex): New.
24911         (libc_feresetround_noexf): New.
24912         (libc_feresetround_noexl): New.
24913         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24914         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24915         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24916         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24917         SET_RESTORE_ROUND.
24918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24919         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24920         (__cos): Likewise.
24921         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24922         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24923         SET_RESTORE_ROUND_NOEX.
24924         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24925         SET_RESTORE_ROUND_NOEXF.
24926         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24927         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24928         (libc_feholdsetroundf): New.
24929         (libc_feresetround, libc_feresetroundf): New.
24931         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24932         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24933         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24935         * sysdeps/generic/math_private.h: Include <fenv.h>.
24936         (default_libc_feholdexcept): New.
24937         (default_libc_feholdexcept_setround): New.
24938         (default_libc_fesetenv, default_libc_feupdateenv): New.
24939         (libc_feholdexcept): Only define if undefined.
24940         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24941         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24942         (libc_feholdexcept_setroundl): Likewise.
24943         (libc_feholdexcept_setround_53bit): Likewise.
24944         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24945         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24946         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24947         (libc_feupdateenv_53bit): Likewise.
24948         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24949         (libc_feholdexcept): Convert from macro to inline function.
24950         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24951         (libc_fesetenv, libc_feupdateenv): Likewise.
24953         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24954         not previously defined.
24955         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24956         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24957         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24958         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24959         * sysdeps/ieee754/flt-32/math_private.h: New file.
24960         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24961         math_private.h below SET_FLOAT_WORD.
24962         (__isnan, __isinf_ns, __finite): Remove.
24963         (__isnanf, __isinf_nsf, __finitef): Remove.
24965 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24969 2012-03-17  David S. Miller  <davem@davemloft.net>
24971         [BZ #6471]
24972         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24973         for 2.16.
24975 2012-03-16  David S. Miller  <davem@davemloft.net>
24977         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24978         warnings.
24980         [BZ #6471]
24981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24982         properly.
24983         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24984         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24985         sysdep_routines when subdir is sysvipc.
24986         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24987         __getshmlba helper.
24989         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24991 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24993         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24994         [__LP64__].
24996 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24998         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24999         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25000         (__lround): Renamed to ...
25001         (__llround): This.  Replace long int with long long int.
25002         Define lround functions as aliases of llround functions.
25003         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25005 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25007         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25008         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25009         adresses to uintptr_t.  Replace "long int" and "unsigned long
25010         int" with "greg_t" on va_arg.
25012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25014         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25015         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25017         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25018         Move e_machine check before EI_CLASS check.  Handle x32
25019         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25020         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25021         SKIP_EM_IA_64 and include
25022         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25024         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25025         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25026         (add_system_dir): New macro.
25028         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25029         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25031 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25033         [BZ #2551]
25034         [BZ #2552]
25035         [BZ #2553]
25036         [BZ #2554]
25037         [BZ #2562]
25038         [BZ #2563]
25039         [BZ #2565]
25040         [BZ #2566]
25041         [BZ #2576]
25042         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25043         (y0): Likewise.
25044         * math/w_j0f.c (j0f): Likewise.
25045         (y0f): Likewise.
25046         * math/w_j0l.c (__j0l): Likewise.
25047         (__y0l): Likewise.
25048         * math/w_j1.c (j1): Likewise.
25049         (y1): Likewise.
25050         * math/w_j1f.c (j1f): Likewise.
25051         (y1f): Likewise.
25052         * math/w_j1l.c (__j1l): Likewise.
25053         (__y1l): Likewise.
25054         * math/w_jn.c (jn): Likewise.
25055         (yn): Likewise.
25056         * math/w_jnf.c (jnf): Likewise.
25057         (ynf): Likewise.
25058         * math/w_jnl.c (__jnl): Likewise.
25059         (__ynl): Likewise.
25060         * math/libm-test.inc (j0_test): Add more tests.
25061         (j1_test): Likewise.
25062         (jn_test): Likewise.  Add trailing semicolon to existing test.
25063         (y0_test): Likewise.
25064         (y1_test): Likewise.
25065         * sysdeps/i386/fpu/libm-test-ulps: Update.
25066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25068         [BZ #13851]
25069         [BZ #13854]
25070         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25071         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25072         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25073         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25074         (__tanl): Set errno for infinite argument.
25075         * sysdeps/i386/fpu/mptan.c: Remove.
25076         * sysdeps/i386/fpu/s_tan.S: Likewise.
25077         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25078         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25079         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25080         * math/libm-test.inc (tan_test): Add more tests and enable more
25081         tests for double and long double.
25082         * sysdeps/i386/fpu/libm-test-ulps: Update.
25083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25085 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25087         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25088         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25090 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25092         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25093         * configure.in: Use it for both main tree and add-ons.
25094         * configure: Regenerated.
25096 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25098         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25100 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25102         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25103         in comment.
25105         [BZ #13851]
25106         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25107         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25108         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25109         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25110         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25111         infinite argument.
25112         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25114         != 0 for prec == 2.
25115         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25116         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25117         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25118         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25119         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25120         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25121         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25122         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25123         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25124         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25125         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25126         * math/libm-test.inc (cos_test): Add more tests and enable more
25127         tests for long double.
25128         (sin_test): Likewise.
25129         (sincos_test): Likewise.
25130         * sysdeps/i386/fpu/libm-test-ulps: Update.
25131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25133 2012-03-16  David S. Miller  <davem@davemloft.net>
25135         * sysdeps/sparc/fpu/math_private.h: New file.
25137 2012-03-15  David S. Miller  <davem@davemloft.net>
25139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25140         file.
25141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25143         file.
25144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25150         sysdep routines.
25151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25153         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25154         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25156         * sysdeps/sparc/sparc-ifunc.h: New file.
25157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25158         sparc-ifunc.h
25159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25161         Likewise.
25162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25163         Likewise.
25164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25168         Likewise.
25169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25174         Likewise.
25175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25176         Likewise.
25177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25183         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25202 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25204         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25205         scaling.
25206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25208 2012-03-15  Andreas Jaeger  <aj@suse.de>
25210         [BZ #13852]
25211         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25212         ieee754/flt-32 implementation for sin, cos and sincos.
25213         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25214         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25215         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25216         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25217         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25218         ieee754/flt-32 implementation for tan.
25220         * math/libm-test.inc (cos_test): Enable some large input tests for
25221         float as well
25222         (sin_test): Likewise.
25223         (sincos_test): Likewise.
25224         (tan_test): Add tests for large input.
25226         * sysdeps/i386/fpu/libm-test-ulps: Update.
25228 2012-03-15  Andreas Jaeger  <aj@suse.de>
25230         [BZ #13658]
25231         * math/libm-test.inc (cos_test): Add more test cases.
25232         (sin_test): Likewise.
25233         (sincos_test): Likewise.
25235 2012-03-15  Andreas Jaeger  <aj@suse.de>
25237         [BZ #13837]
25238         * math/libm-test.inc (cos_test): Add a test case for large input
25239         value.
25240         (sin_test): Likewise.
25241         (sincos_test): Likewise.
25243 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25244         Joseph Myers  <joseph@codesourcery.com>
25246         [BZ #13658]
25247         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25248         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25249         * sysdeps/i386/fpu/branred.c: Likewise.
25250         * sysdeps/i386/fpu/dosincos.c: Likewise.
25251         * sysdeps/i386/fpu/mpa.c: Likewise.
25252         * sysdeps/i386/fpu/s_cos.S: Likewise.
25253         * sysdeps/i386/fpu/s_sin.S: Likewise.
25254         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25255         * sysdeps/i386/fpu/sincos32.c: Likewise.
25257         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25258         Define.
25259         (libc_feupdateenv_53bit): Define.
25260         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25261         Define.
25262         (libc_feupdateenv_53bit): Define.
25264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25265         53 bit (without extend i386 double precision).
25267         * math/libm-test.inc (sincos_test): Add tests for large input.
25268         (sin): Likewise.
25269         (cos): Likewise.
25271         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25273 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25277 2012-03-15  David S. Miller  <davem@davemloft.net>
25279         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25280         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25281         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25282         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25295         file.
25296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25298         file.
25299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25301         file.
25302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25304         file.
25305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25306         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25307         fmin/fmax sysdep routines.
25308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25310 2012-03-14  David S. Miller  <davem@davemloft.net>
25312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25316         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25317         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25332         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25337         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25340         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25341         routines.
25342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25343         file.
25344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25346         file.
25347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25349         file.
25350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25352         file.
25353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25355         file.
25356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25358         file.
25359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25360         file.
25361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25362         file.
25363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25364         file.
25365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25366         New file.
25367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25368         file.
25369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25370         file.
25371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25373         file.
25374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25376         file.
25377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25379         file.
25380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25382         VIS3 routines.
25384         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25385         New file.
25387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25389         * sysdeps/sparc/configure.in: New file.
25390         * sysdeps/sparc/configure: Generate.
25391         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25392         * configure: Regenerate.
25393         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25394         * config.make.in (have-as-vis3): New.
25395         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25396         available use -Av9d instead of -Av9a.
25397         * sysdeps/sparc/sparc64/Makefile: Likewise.
25398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25400         New file.
25401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25402         file.
25403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25404         New file.
25405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25406         file.
25407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25408         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25413         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25414         fzeros/fnegs to load 0x80000000 into a float register instead of
25415         using the stack.
25416         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25418 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25421         bits/syscall.h.
25422         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25423         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25424         ($(inst_includedir)/bits/syscall.h): Remove rule.
25425         ($(objpfx)bits/syscall.d): Include instead of
25426         $(objpfx)syscall-list.d.
25427         (generated): Change syscall-list.h and syscall-list.d to
25428         bits/syscall.h and bits/syscall.d.
25430 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25432         [BZ #13846]
25433         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25435 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25437         [BZ #13841]
25438         * math/s_csqrt.c: Include <float.h>.
25439         (__csqrt): Scale large or subnormal inputs.
25440         * math/s_csqrtf.c: Likewise.
25441         * math/s_csqrtl.c: Likewise.
25442         * math/libm-test.inc (csqrt_test): Add more tests.
25443         * sysdeps/i386/fpu/libm-test-ulps: Update.
25444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25446         [BZ #13840]
25447         * math/libm-test.inc (hypot_test): Add more tests.
25449 2012-03-13  David S. Miller  <davem@davemloft.net>
25451         [BZ #13840]
25452         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25453         double-precision for the calculation instead of scaling.
25455 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25457         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25458         manipulate bits before adding and subtracting TWO52[sx].
25459         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25460         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25461         Likewise.
25462         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25464 2012-03-13  David S. Miller  <davem@davemloft.net>
25466         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25467         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25469         rtld-global-offsets.h
25470         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25472         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25473         large parameters.
25475         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25477         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25478         'err' in the ifdef scope in which it is actually used.
25480         * nss/nss_db/db-init.c: Include string.h
25482 2012-03-12  David S. Miller  <davem@davemloft.net>
25484         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25485         masking out of the most significant byte of random value used.
25486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25487         Fix coding style in previous change.
25489         * sysdeps/unix/sysv/linux/kernel-features.h
25490         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25491         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25492         expression.
25493         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25494         later.
25496 2012-03-11  David S. Miller  <davem@davemloft.net>
25498         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25499         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25500         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25501         for 'resultvar' otherwise things get truncated on 64-bit.
25503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25504         Fix masking out of the most significant byte of random value used.
25506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25508 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25512 2012-03-09  David S. Miller  <davem@davemloft.net>
25514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25515         variables with appropriate CPP guards.
25516         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25517         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25518         on resulting framesize and the management of the outregs buffer for pltexit.
25519         Preserve floating point return values across _dl_call_pltexit call.
25520         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25521         framesize and the management of the outregs buffer for pltexit.
25522         Preserve floating point return values across _dl_call_pltexit
25523         call.
25524         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25525         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25526         (print_exit): Fix format string for return register value.
25528 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25530         * sunrpc/Makefile (others): Add rpcgen.
25531         ($(objpfx)rpcgen): Remove special build rule and dependency on
25532         libc.
25533         * sunrpc/rpcgen.c: New file.
25535 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25537         [BZ #13673]
25538         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25539         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25540         * sysdeps/i386/crti.S: Likewise.
25541         * sysdeps/i386/crtn.S: Likewise.
25542         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25543         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25544         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25545         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25546         * sysdeps/sh/crti.S: Likewise.
25547         * sysdeps/sh/crtn.S: Likewise.
25548         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25550         [BZ #13673]
25551         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25552         with URL.
25553         * locale/programs/locfile-kw.gperf: Likewise.
25554         * locale/programs/charmap-kw.h: Regenerated.
25555         * locale/programs/locfile-kw.h: Likewise.
25557         [BZ #13673]
25558         * intl/plural.y: Replace FSF snail mail address with URL.
25559         * intl/plural.c: Regenerated.
25561 2012-03-09  Richard Henderson  <rth@twiddle.net>
25563         * include/math_private.h: Remove file.
25564         * math/math_private.h: Move file ...
25565         * sysdeps/generic/math_private.h: ... here.
25567         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25568         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25569         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25571         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25572         and <math_private.h>.
25573         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25574         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25575         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25576         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25577         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25578         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25579         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25581         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25582         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25583         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25584         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25585         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25586         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25587         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25588         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25589         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25590         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25591         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25592         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25594         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25595         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25596         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25597         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25599         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25603         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25604         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25605         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25606         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25607         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25608         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25609         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25610         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25611         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25612         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25613         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25614         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25615         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25616         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25617         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25618         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25619         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25620         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25621         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25622         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25623         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25624         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25625         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25626         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25627         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25628         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25629         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25630         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25631         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25632         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25633         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25634         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25636         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25637         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25638         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25639         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25640         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25641         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25642         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25643         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25644         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25646         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25647         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25648         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25649         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25650         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25651         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25652         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25653         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25654         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25655         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25656         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25657         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25658         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25659         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25660         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25661         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25662         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25663         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25664         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25665         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25666         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25667         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25668         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25669         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25670         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25671         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25672         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25673         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25674         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25675         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25676         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25677         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25678         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25679         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25680         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25681         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25682         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25683         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25684         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25685         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25686         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25687         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25688         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25689         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25690         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25691         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25692         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25693         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25694         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25695         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25696         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25697         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25698         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25699         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25700         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25701         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25702         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25703         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25704         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25705         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25706         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25707         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25708         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25709         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25710         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25711         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25712         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25713         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25714         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25715         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25716         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25717         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25718         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25719         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25720         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25721         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25722         * sysdeps/ieee754/k_standard.c: Likewise.
25723         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25724         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25725         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25726         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25727         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25728         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25729         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25730         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25731         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25732         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25733         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25735         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25736         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25737         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25738         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25739         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25740         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25741         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25742         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25743         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25744         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25745         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25746         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25747         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25748         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25749         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25750         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25751         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25752         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25753         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25754         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25755         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25756         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25757         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25758         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25759         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25760         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25761         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25762         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25763         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25764         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25765         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25766         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25767         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25768         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25769         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25770         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25771         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25772         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25773         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25774         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25775         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25777         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25778         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25779         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25780         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25781         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25782         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25783         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25784         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25785         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25787         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25792         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25816         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25817         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25819         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25820         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25824         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25825         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25826         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25827         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25828         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25829         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25831         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25832         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25833         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25834         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25835         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25837         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25839         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25840         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25841         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25842         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25843         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25844         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25845         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25846         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25847         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25848         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25849         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25850         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25851         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25853         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25854         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25855         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25856         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25857         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25858         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25859         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25860         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25861         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25862         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25863         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25864         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25865         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25866         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25867         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25868         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25869         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25870         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25871         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25872         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25873         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25874         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25875         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25876         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25877         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25881         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25882         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25883         * sysdeps/ieee754/s_lib_version.c: Likewise.
25884         * sysdeps/ieee754/s_matherr.c: Likewise.
25885         * sysdeps/ieee754/s_signgam.c: Likewise.
25886         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25887         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25888         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25889         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25890         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25891         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25892         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25893         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25894         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25895         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25896         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25897         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25898         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25899         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25900         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25901         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25902         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25903         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25904         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25905         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25908 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25910         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25911         * sunrpc/rpc_main.c: Likewise.
25912         * sunrpc/rpc_svcout.c: Likewise.
25914 2012-03-09  David S. Miller  <davem@davemloft.net>
25916         * include/math_private.h: New file.
25918 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25920         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25921         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25922         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25923         from <bits/socket_type.h>.
25924         (enum __socket_type): Don't define here.
25925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25927         bits/socket_type.h.
25929         [BZ #13566]
25930         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25931         checking __USE_GNU.
25933         * Makerules ($(inst_includedir)/%.h): New rule.
25934         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25935         (install-others): Remove variable setting.
25936         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25938 2012-03-08  Richard Henderson  <rth@twiddle.net>
25940         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25941         from macro to inline function; merge with the
25942         !__LIBC_INTERNAL_MATH_INLINES version.
25943         (__ieee754_sqrtf): Likewise.
25945         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25946         to inline function.
25947         (__rintf, __floor, __floorf): Likewise.
25949         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25950         macro to inline function.
25951         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25953         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25954         not <math/math_private.h>.
25956 2012-03-08  David S. Miller  <davem@davemloft.net>
25958         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25959         copyright year.
25960         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25962 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25964         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25965         normalization.
25966         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25967         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25969 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25971         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25972         be defined individually, they must be defined as a block.  Define
25973         S for printing a string instead of hidint the different by using a
25974         macro for adding the 'l'.
25975         * stdio-common/tst-fphex-wide.c: Adjust.
25977 2012-03-07  Marek Polacek  <polacek@redhat.com>
25979         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25981 2012-03-08  Marek Polacek  <polacek@redhat.com>
25983         [BZ #13806]
25984         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25985         * stdio-common/tst-fphex.c: Define a few macros to make the
25986         test reusable.  Use them.
25987         * stdio-common/tst-fphex-wide.c: New file.
25989 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25991         [BZ #6911]
25992         * manual/macros.texi (gnusystems): New macro.
25993         (nongnusystems): Likewise.
25994         (gnulinuxhurdsystems): Likewise.
25995         (gnuhurdsystems): Likewise..
25996         (gnulinuxsystems): Likewise.
25997         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25998         variants of the GNU system, not "GNU system".
25999         * manual/conf.texi: Likewise.
26000         * manual/errno.texi: Likewise.  Update example of errno macro
26001         expansion.
26002         * manual/filesys.texi: Likewise.
26003         (getumask): Document as specific to GNU/Hurd.
26004         * manual/install.texi: Likewise.  Reword some references to
26005         GNU/Linux.
26006         * manual/intro.texi: Likewise.
26007         * manual/io.texi: Likewise.
26008         (File Name Portability): Detail which constraints are inapplicable
26009         to all GNU systems and which are only inapplicable to GNU/Hurd.
26010         * manual/job.texi: Likewise.
26011         * manual/llio.texi: Likewise.
26012         (O_NOCTTY): Document as present on GNU/Linux.
26013         * manual/maint.texi: Likewise.
26014         * manual/memory.texi: Likewise.
26015         * manual/pattern.texi: Likewise.
26016         * manual/pipe.texi: Likewise.
26017         * manual/process.texi: Likewise.
26018         * manual/resource.texi: Likewise.
26019         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26020         child on GNU/Hurd.
26021         * manual/setjmp.texi: Likewise.
26022         * manual/signal.texi: Likewise.
26023         * manual/startup.texi: Likewise.
26024         * manual/stdio.texi: Likewise.
26025         * manual/terminal.texi: Likewise.
26026         (ONLCR): Document as POSIX.
26027         (OXTABS): Document availability on GNU/Linux as XTABS.
26028         (ONOEOT): Document availability separately from other bits.
26029         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26030         * manual/time.texi: Likewise.
26031         * manual/users.texi: Likewise.
26032         * INSTALL: Regenerated.
26033         * sysdeps/gnu/errlist.c: Regenerated.
26035         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26036         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26037         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26038         puts.
26039         * configure: Regenerated.
26041 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26043         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26044         default includes instead of AC_HEADER_CHECK.
26045         * sysdeps/i386/configure: Regenerated.
26047         [BZ #10716]
26048         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26049         * math/s_cacoshf.c (__cacoshf): Likewise.
26050         * math/s_cacoshl.c (__cacoshl): Likewise.
26051         * math/s_casinh.c (__casinh): Set signs of result from argument.
26052         * math/s_casinhf.c (__casinhf): Likewise.
26053         * math/s_casinhl.c (__casinhl): Likewise.
26054         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26055         (casinh_test): Add more tests.
26056         * sysdeps/i386/fpu/libm-test-ulps: Update.
26057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26059 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26061         * po/zh_TW.po: Update from translation team.
26063         * login/Makefile (distribute): Remove variable.
26064         * catgets/Makefile: Likewise.
26065         * mach/Makefile: Likewise.
26066         * malloc/Makefile: Likewise.
26067         * misc/Makefile: Likewise.
26068         * iconv/Makefile: Likewise.
26069         * nscd/Makefile: Likewise.
26070         * hurd/Makefile: Likewise.
26071         * manual/Makefile: Likewise.
26072         * locale/Makefile: Likewise.
26073         * intl/Makefile: Likewise.
26074         * conform/Makefile: Likewise.
26075         * nss/Makefile: Likewise.
26076         * time/Makefile: Likewise.
26077         * soft-fp/Makefile: Likewise.
26078         * dirent/Makefile: Likewise.
26079         * gmon/Makefile: Likewise.
26080         * po/Makefile: Likewise.
26081         * rt/Makefile: Likewise.
26082         * socket/Makefile: Likewise.
26083         * math/Makefile: Likewise.
26084         * signal/Makefile: Likewise.
26085         * debug/Makefile: Likewise.
26086         * elf/Makefile: Likewise.
26087         * timezone/Makefile: Likewise.
26088         * stdlib/Makefile: Likewise.
26089         * iconvdata/Makefile: Likewise.
26090         * sunrpc/Makefile: Likewise.
26091         * io/Makefile: Likewise.
26092         * argp/Makefile: Likewise.
26093         * inet/Makefile: Likewise.
26094         * hesiod/Makefile: Likewise.
26095         * grp/Makefile: Likewise.
26096         * csu/Makefile: Likewise.
26097         * wctype/Makefile: Likewise.
26098         * crypt/Makefile: Likewise.
26099         * libio/Makefile: Likewise.
26100         * string/Makefile: Likewise.
26101         * nis/Makefile: Likewise.
26102         * resolv/Makefile: Likewise.
26103         * stdio-common/Makefile: Likewise.
26104         * wcsmbs/Makefile: Likewise.
26105         * dlfcn/Makefile: Likewise.
26106         * posix/Makefile: Likewise.
26108         [BZ #6959]
26109         * timezone/Makefile: Don't install timezone files, just the programs
26110         and scripts.
26112 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26114         * nss/databases.def: Add missing gshadow entry.
26116         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26118 2012-03-06  Marek Polacek  <polacek@redhat.com>
26120         [BZ #13726]
26121         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26122         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26123         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26124         * stdio-common/tst-long-dbl-fphex.c: New file.
26126 2012-03-06  David S. Miller  <davem@davemloft.net>
26128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26129         (set_obp_int): New function.
26130         (get_obp_int): New function.
26131         (__get_clockfreq_via_dev_openprom): Likewise.
26132         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26133         Avoid unused variable warnings on 'val' and use builtin_expect.
26134         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26135         __builtin_expect.
26136         (INLINE_CLONE_SYSCALL): Likewise.
26138 2012-03-05  David S. Miller  <davem@davemloft.net>
26140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26142 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26146         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26147         only for |x| >= 40.
26148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26150 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26153         Replace gettimeofday with __vdso_gettimeofday.
26155         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26156         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26157         __vdso_clock_gettime and __vdso_getcpu.
26159         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26160         time with __vdso_time.
26162 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26164         * manual/lang.texi (size_t): Note types to which size_t may be
26165         equivalent with the GNU C Library, but do not describe when
26166         differences between them are significant.
26168 2012-03-05  Andreas Jaeger  <aj@suse.de>
26170         * sysdeps/i386/fpu/libm-test-ulps: Update.
26172 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26174         [BZ #3976]
26175         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26176         (__ieee754_pow): Save and restore rounding mode and use
26177         round-to-nearest for main computations.
26178         * math/libm-test.inc (pow_test_tonearest): New function.
26179         (pow_test_towardzero): Likewise.
26180         (pow_test_downward): Likewise.
26181         (pow_test_upward): Likewise.
26182         (main): Call the new functions.
26183         * sysdeps/i386/fpu/libm-test-ulps: Update.
26184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26186         [BZ #3976]
26187         * math/libm-test.inc (cosh_test_tonearest): New function.
26188         (cosh_test_towardzero): Likewise.
26189         (cosh_test_downward): Likewise.
26190         (cosh_test_upward): Likewise.
26191         (sinh_test_tonearest): Likewise.
26192         (sinh_test_towardzero): Likewise.
26193         (sinh_test_downward): Likewise.
26194         (sinh_test_upward): Likewise.
26195         (main): Call the new functions.
26196         * sysdeps/i386/fpu/libm-test-ulps: Update.
26197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26199 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26201         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26202         default stack guard is set in last bytes.
26203         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26205 2012-03-05  Kees Cook  <keescook@chromium.org>
26207         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26209         [BZ #13656]
26210         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26211         possibly allocate from heap instead of stack.
26212         * stdio-common/bug-vfprintf-nargs.c: New file.
26213         * stdio-common/Makefile (tests): Add nargs overflow test.
26215 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26219 2012-03-03  Marek Polacek  <polacek@redhat.com>
26221         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26222         * math/math_private.h: Likewise.
26223         * stdlib/tst-strtod.c: Likewise.
26224         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26225         * sysdeps/x86_64/bits/atomic.h: Likewise.
26227 2012-03-02  David S. Miller  <davem@davemloft.net>
26229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26233         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26234         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26235         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26236         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26238 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26240         [BZ #13792]
26241         * manual/examples/README: New file, says the example source files
26242         can be used under GPL>=2.
26243         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26244         line containing just "*/".
26245         * manual/examples/add.c: Add copyright header (GPL>=2).
26246         * manual/examples/argp-ex1.c: Likewise.
26247         * manual/examples/argp-ex2.c: Likewise.
26248         * manual/examples/argp-ex3.c: Likewise.
26249         * manual/examples/argp-ex4.c: Likewise.
26250         * manual/examples/atexit.c: Likewise.
26251         * manual/examples/db.c: Likewise.
26252         * manual/examples/dir.c: Likewise.
26253         * manual/examples/dir2.c: Likewise.
26254         * manual/examples/execinfo.c: Likewise.
26255         * manual/examples/filecli.c: Likewise.
26256         * manual/examples/filesrv.c: Likewise.
26257         * manual/examples/fmtmsgexpl.c: Likewise.
26258         * manual/examples/genpass.c: Likewise.
26259         * manual/examples/inetcli.c: Likewise.
26260         * manual/examples/inetsrv.c: Likewise.
26261         * manual/examples/isockad.c: Likewise.
26262         * manual/examples/longopt.c: Likewise.
26263         * manual/examples/memopen.c: Likewise.
26264         * manual/examples/memstrm.c: Likewise.
26265         * manual/examples/mkfsock.c: Likewise.
26266         * manual/examples/mkisock.c: Likewise.
26267         * manual/examples/mygetpass.c: Likewise.
26268         * manual/examples/pipe.c: Likewise.
26269         * manual/examples/popen.c: Likewise.
26270         * manual/examples/rprintf.c: Likewise.
26271         * manual/examples/search.c: Likewise.
26272         * manual/examples/select.c: Likewise.
26273         * manual/examples/setjmp.c: Likewise.
26274         * manual/examples/sigh1.c: Likewise.
26275         * manual/examples/sigusr.c: Likewise.
26276         * manual/examples/stpcpy.c: Likewise.
26277         * manual/examples/strdupa.c: Likewise.
26278         * manual/examples/strftim.c: Likewise.
26279         * manual/examples/strncat.c: Likewise.
26280         * manual/examples/subopt.c: Likewise.
26281         * manual/examples/swapcontext.c: Likewise.
26282         * manual/examples/termios.c: Likewise.
26283         * manual/examples/testopt.c: Likewise.
26284         * manual/examples/testpass.c: Likewise.
26285         * manual/examples/timeval_subtract.c: Likewise.
26287         [BZ #13792]
26288         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26289         function to ...
26290         * manual/timeval_subtract.c.texi: ... here, new file.
26292 2012-03-02  David S. Miller  <davem@davemloft.net>
26294         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26296 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26298         [BZ #3976]
26299         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26300         (__sin): Save and restore rounding mode and use round-to-nearest
26301         for all computations.
26302         (__cos): Save and restore rounding mode and use round-to-nearest
26303         for all computations.
26304         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26305         <fenv.h>.
26306         (tan): Save and restore rounding mode and use round-to-nearest for
26307         all computations.
26308         * math/libm-test.inc (cos_test_tonearest): New function.
26309         (cos_test_towardzero): Likewise.
26310         (cos_test_downward): Likewise.
26311         (cos_test_upward): Likewise.
26312         (sin_test_tonearest): Likewise.
26313         (sin_test_towardzero): Likewise.
26314         (sin_test_downward): Likewise.
26315         (sin_test_upward): Likewise.
26316         (tan_test_tonearest): Likewise.
26317         (tan_test_towardzero): Likewise.
26318         (tan_test_downward): Likewise.
26319         (tan_test_upward): Likewise.
26320         (main): Call the new functions.
26321         * sysdeps/i386/fpu/libm-test-ulps: Update.
26322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26324         [BZ #10135]
26325         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26326         small n, then large n, before computing and testing k+n.
26327         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26328         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26329         Likewise.
26330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26331         Likewise.
26332         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26333         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26334         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26336         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26337         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26339         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26340         * math/libm-test.inc (scalbn_test): Add more tests.
26341         (scalbln_test): Likewise.
26343         * manual/filesys.texi (mode_t): Describe constraints on size and
26344         signedness, not exact equivalence to a particular type.
26345         (ino_t): Likewise.
26346         (ino64_t): Likewise.
26347         (dev_t): Likewise.
26348         (nlink_t): Likewise.
26349         (blkcnt_t): Likewise.
26350         (blkcnt64_t): Likewise.
26351         * manual/llio.texi (off_t): Likewise.
26353         [BZ #3976]
26354         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26355         (__ieee754_exp): Save and restore rounding mode and use
26356         round-to-nearest for all computations.
26357         * math/libm-test.inc (exp_test_tonearest): New function.
26358         (exp_test_towardzero): Likewise.
26359         (exp_test_downward): Likewise.
26360         (exp_test_upward): Likewise.
26361         (main): Call the new functions.
26362         * sysdeps/i386/fpu/libm-test-ulps: Update.
26363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26365 2012-03-01  Chris Demetriou  <cgd@google.com>
26367         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26368         have predictable order.
26370 2012-03-01  David S. Miller  <davem@davemloft.net>
26372         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26374         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26375         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26376         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26377         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26379         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26380         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26381         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26383         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26384         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26385         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26386         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26387         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26391         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26392         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26393         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26395         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26396         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26397         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26398         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26399         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26400         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26401         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26402         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26403         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26404         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26405         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26406         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26408         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26411         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26412         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26413         * sysdeps/sparc/elf/configure: Regenerated.
26415 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26417         * configure.in (AS, LD): Require binutils 2.20 or later.
26418         * configure: Regenerated.
26419         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26420         as required minimum version.
26421         * INSTALL: Regenerated.
26423         [BZ #2541]
26424         [BZ #4108]
26425         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26426         before squaring exponent.
26427         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26428         bottom long double and 27 bits of top long double before squaring
26429         exponent.
26430         * math/libm-test.inc (erfc_test): Add more tests.
26431         * sysdeps/i386/fpu/libm-test-ulps: Update.
26432         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26437         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26438         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26439         containing bit-fields.
26440         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26441         * soft-fp/single.h (_FP_UNION_S): Likewise.
26442         * soft-fp/double.h (_FP_UNION_D): Likewise.
26444 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26446         [BZ #13786]
26447         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26448         not include ../strcmp.S.
26449         [USE_AS_STRNCASECMP_L]: Likewise.
26450         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26451         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26452         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26453         (__strncasecmp_l_ia32): Define as alias to
26454         __strncasecmp_l_nonascii.
26456         [BZ #5794]
26457         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26458         * sysdeps/i386/fpu/libm-test-ulps: Update.
26459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26461         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26464 2012-02-29  Jeff Law  <law@redhat.com>
26466         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26467         out of bounds read.
26469 2012-02-29  Marek Polacek  <polacek@redhat.com>
26471         [BZ #13706]
26472         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26473         * elf/Makefile: Add rules to run tst-unused-dep.out.
26475 2012-02-28  David S. Miller  <davem@davemloft.net>
26477         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26478         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26479         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26480         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26481         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26482         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26484 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26486         * math/libm-test.inc (llround_test): Move one test from
26487         lround_test.  Use TEST_f_L in moved test.
26488         (lround_test): Move misplaced test to llround_test.  Add testcase
26489         from bug 2561.
26491 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26493         * sysdeps/x86_64/fpu/e_expf.S: New file.
26494         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26496 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26498         [BZ #13637]
26499         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26500         of remain_len that may cause incomplete multi-byte character and
26501         false match.
26502         * posix/bug-regex33.c: New file.
26503         * posix/Makefile (tests): Add bug-regex33.
26505 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26507         * manual/macros.texi: New file.
26508         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26509         * manual/libc.texinfo: Include macros.texi.
26510         * manual/creatute.texi: Likewise.
26511         * manual/install.texi: Likewise.
26512         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26513         @glibcadj{} in references to the GNU C Library.
26514         * manual/charset.texi: Likewise.
26515         * manual/conf.texi: Likewise.
26516         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26517         when not using those macros.
26518         * manual/creature.texi: Likewise.
26519         * manual/crypt.texi: Likewise.
26520         * manual/errno.texi: Likewise.
26521         * manual/filesys.texi: Likewise.
26522         * manual/header.texi: Likewise.
26523         * manual/install.texi: Likewise.
26524         * manual/intro.texi: Likewise.
26525         * manual/io.texi: Likewise.
26526         * manual/job.texi: Likewise.
26527         * manual/lang.texi: Likewise.
26528         * manual/libc.texiinfo: Likewise.
26529         * manual/llio.texi: Likewise.
26530         * manual/locale.texi: Likewise.
26531         * manual/maint.texi: Likewise.
26532         * manual/math.texi: Likewise.
26533         * manual/memory.texi: Likewise.
26534         * manual/message.texi: Likewise.
26535         * manual/nss.texi: Likewise.
26536         * manual/pattern.texi: Likewise.
26537         * manual/process.texi: Likewise.
26538         * manual/resource.texi: Likewise.
26539         * manual/search.texi: Likewise.
26540         * manual/setjmp.texi: Likewise.
26541         * manual/signal.texi: Likewise.
26542         * manual/socket.texi: Likewise.
26543         * manual/startup.texi: Likewise.
26544         * manual/stdio.texi: Likewise.
26545         * manual/string.texi: Likewise.
26546         * manual/sysinfo.texi: Likewise.
26547         * manual/syslog.texi: Likewise.
26548         * manual/terminal.texi: Likewise.
26549         * manual/time.texi: Likewise.
26550         * manual/users.texi: Likewise.
26551         * INSTALL: Regenerated.
26552         * NOTES: Regenerated.
26553         * sysdeps/gnu/errlist.c: Regenerated.
26555 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26557         * include/dirent.h: Include <dirstream.h> before
26558         <dirent/dirent.h>.
26560 2012-02-28  David S. Miller  <davem@davemloft.net>
26562         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26563         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26564         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26565         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26567 2012-02-27  David S. Miller  <davem@davemloft.net>
26569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26571         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26572         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26575         frame pointer instead of stack pointer relative arg slot.
26576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26577         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26578         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26580 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26582         [BZ #3992]
26583         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26585 2012-02-27  David S. Miller  <davem@davemloft.net>
26587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26591         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26592         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26593         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26594         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26596 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26598         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26599         later.  Allow versions 5-9.
26600         * configure: Regenerated.
26601         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26602         required minimum version and 4.6 as recommended version.  Do not
26603         mention bugs in GCC 2.7 and 2.8.
26604         * INSTALL: Regenerated.
26606 2012-02-27  David S. Miller  <davem@davemloft.net>
26608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26612         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26613         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26614         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26615         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26617         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26618         manipulate bits before adding and subtracting TWO112[sx].
26619         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26621 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26623         [BZ #13775]
26624         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26625         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26626         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26627         being in POSIX, because they are in 1003.1-2008.
26629         * rt/tst-aio.c: Include <fcntl.h>.
26630         * rt/tst-aio7.c: Likewise.
26631         * rt/tst-aio64.c: Likewise.
26633         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26635 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26637         * manual/install.texi (--with-headers): Describe headers as
26638         interface headers, not private headers.
26639         (Specific advice for GNU/Linux systems): Describe use of headers
26640         from "make headers_install", not private headers from older
26641         kernels.
26642         * INSTALL: Regenerated.
26643         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26644         Change to 2.6.19.
26645         * sysdeps/unix/sysv/linux/configure: Regenerated.
26647         * manual/llio.texi (fclean): Remove documentation.
26649         * manual/Makefile (libc-texi-generated): New variable.  Include
26650         version.texi.
26651         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26652         $(libc-texi-generated), not duplicated list of files.
26653         (version.texi, stamp-version): New rules.
26654         (realclean): Remove $(libc-texi-generated), not individual files
26655         from that list.  Do not remove dir-add.texinfo.
26656         * manual/libc.texinfo: Comment out uses of edition numbers and
26657         references to printed manual.  Remove last-updated dates.
26658         (EDITION): Comment out.
26659         (ISBN): Likewise.
26660         (VERSION, UPDATED): Remove.
26661         (version.texi): Include.
26663 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26665         * sysdeps/posix/spawni.c: Include <signal.h>.
26666         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26667         * sysdeps/pthread/aio_fsync.c: Likewise.
26669 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26671         * conform/Makefile (tests): Run only when not cross-compiling and
26672         when fast-check is not defined.
26674         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26675         * conform/data/limits.h-data: Fixes for POSIX2008.
26676         * conform/run-conformtest.sh: Run all tests.
26677         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26678         headers.
26679         * include/bits/dlfcn.h: Likewise.
26680         * include/langinfo.h: Likewise.
26681         * include/monetary.h: Likewise.
26682         * include/sys/poll.h: Likewise.
26684         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26685         for __USE_GNU.
26686         * posix/spawn.h: Define __need_sigset_t.
26687         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26688         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26689         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26690         to get sigevent_t only.
26691         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26692         only for __USE_GNU.
26693         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26694         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26695         process_vm_writev only for __USE_GNU.
26696         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26698         * conform/Makefile: For now ignore errors from run-conformtest.
26699         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26700         POSIX to avoid namespace pollution.  Don't prepend headers.
26701         * conform/data/aio.h-data: Fixes for POSIX testing.
26702         * conform/data/fcntl.h-data: Likewise.
26703         * conform/data/glob.h-data: Likewise.
26704         * conform/data/grp.h-data: Likewise.
26705         * conform/data/pthread.h-data: Likewise.
26706         * conform/data/pwd.h-data: Likewise.
26707         * conform/data/signal.h-data: Likewise.
26708         * conform/data/spawn.h-data: Likewise.
26709         * conform/data/stdio.h-data: Likewise.
26710         * conform/data/stdlib.h-data: Likewise.
26711         * conform/data/stropts.h-data: Likewise.
26712         * conform/data/sys/mman.h-data: Likewise.
26713         * conform/data/sys/stat.h-data: Likewise.
26714         * conform/data/sys/types.h-data: Likewise.
26715         * conform/data/sys/wait.h-data: Likewise.
26716         * conform/data/time.h-data: Likewise.
26717         * conform/data/unistd.h-data: Likewise.
26718         * conform/data/utime.h-data: Likewise.
26720         * io/sys/stat.h: fchmod was always in POSIX.
26721         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26722         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26723         * rt/aio.h: Define __need_timespec before including <time.h>.
26724         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26725         struct.  Add forward declaration of pthread_attr_t and use it in
26726         sigevent.
26727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26728         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26729         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26730         always remove CLK_TCK definition.
26732 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26734         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26736 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26738         * conform/run-conformtest.sh: New file.
26739         * conform/Makefile: Run run-conformtest for tests.
26740         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26741         support.
26743         * conform/data/uchar.h-data: New file.
26744         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26745         * conform/data/arpa/inet.h-data: Likewise.
26746         * conform/data/assert.h-data: Likewise.
26747         * conform/data/complex.h-data: Likewise.
26748         * conform/data/cpio.h-data: Likewise.
26749         * conform/data/ctype.h-data: Likewise.
26750         * conform/data/dirent.h-data: Likewise.
26751         * conform/data/dlfcn.h-data: Likewise.
26752         * conform/data/errno.h-data: Likewise.
26753         * conform/data/fcntl.h-data: Likewise.
26754         * conform/data/float.h-data: Likewise.
26755         * conform/data/fmtmsg.h-data: Likewise.
26756         * conform/data/fnmatch.h-data: Likewise.
26757         * conform/data/ftw.h-data: Likewise.
26758         * conform/data/glob.h-data: Likewise.
26759         * conform/data/grp.h-data: Likewise.
26760         * conform/data/iconv.h-data: Likewise.
26761         * conform/data/inttypes.h-data: Likewise.
26762         * conform/data/langinfo.h-data: Likewise.
26763         * conform/data/libgen.h-data: Likewise.
26764         * conform/data/limits.h-data: Likewise.
26765         * conform/data/locale.h-data: Likewise.
26766         * conform/data/math.h-data: Likewise.
26767         * conform/data/monetary.h-data: Likewise.
26768         * conform/data/mqueue.h-data: Likewise.
26769         * conform/data/ndbm.h-data: Likewise.
26770         * conform/data/net/if.h-data: Likewise.
26771         * conform/data/netdb.h-data: Likewise.
26772         * conform/data/netinet/in.h-data: Likewise.
26773         * conform/data/nl_types.h-data: Likewise.
26774         * conform/data/poll.h-data: Likewise.
26775         * conform/data/pthread.h-data: Likewise.
26776         * conform/data/pwd.h-data: Likewise.
26777         * conform/data/regex.h-data: Likewise.
26778         * conform/data/sched.h-data: Likewise.
26779         * conform/data/search.h-data: Likewise.
26780         * conform/data/semaphore.h-data: Likewise.
26781         * conform/data/setjmp.h-data: Likewise.
26782         * conform/data/signal.h-data: Likewise.
26783         * conform/data/spawn.h-data: Likewise.
26784         * conform/data/stdarg.h-data: Likewise.
26785         * conform/data/stdio.h-data: Likewise.
26786         * conform/data/stdlib.h-data: Likewise.
26787         * conform/data/string.h-data: Likewise.
26788         * conform/data/strings.h-data: Likewise.
26789         * conform/data/stropts.h-data: Likewise.
26790         * conform/data/sys/ipc.h-data: Likewise.
26791         * conform/data/sys/mman.h-data: Likewise.
26792         * conform/data/sys/msg.h-data: Likewise.
26793         * conform/data/sys/resource.h-data: Likewise.
26794         * conform/data/sys/select.h-data: Likewise.
26795         * conform/data/sys/sem.h-data: Likewise.
26796         * conform/data/sys/shm.h-data: Likewise.
26797         * conform/data/sys/socket.h-data: Likewise.
26798         * conform/data/sys/stat.h-data: Likewise.
26799         * conform/data/sys/statvfs.h-data: Likewise.
26800         * conform/data/sys/time.h-data: Likewise.
26801         * conform/data/sys/timeb.h-data: Likewise.
26802         * conform/data/sys/times.h-data: Likewise.
26803         * conform/data/sys/types.h-data: Likewise.
26804         * conform/data/sys/uio.h-data: Likewise.
26805         * conform/data/sys/un.h-data: Likewise.
26806         * conform/data/sys/utsname.h-data: Likewise.
26807         * conform/data/sys/wait.h-data: Likewise.
26808         * conform/data/syslog.h-data: Likewise.
26809         * conform/data/tar.h-data: Likewise.
26810         * conform/data/termios.h-data: Likewise.
26811         * conform/data/utime.h-data: Likewise.
26812         * conform/data/utmpx.h-data: Likewise.
26813         * conform/data/varargs.h-data: Likewise.
26814         * conform/data/wchar.h-data: Likewise.
26815         * conform/data/wctype.h-data: Likewise.
26816         * conform/data/wordexp.h-data: Likewise.
26818         * include/stropts.h: New file.
26819         * include/uchar.h: New file.
26820         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26821         * include/assert.h: Likewise.
26822         * include/ctype.h: Likewise.
26823         * include/dirent.h: Likewise.
26824         * include/dlfcn.h: Likewise.
26825         * include/fcntl.h: Likewise.
26826         * include/fnmatch.h: Likewise.
26827         * include/glob.h: Likewise.
26828         * include/grp.h: Likewise.
26829         * include/libio.h: Likewise.
26830         * include/locale.h: Likewise.
26831         * include/math.h: Likewise.
26832         * include/net/if.h: Likewise.
26833         * include/netdb.h: Likewise.
26834         * include/netinet/in.h: Likewise.
26835         * include/pthread.h: Likewise.
26836         * include/pwd.h: Likewise.
26837         * include/regex.h: Likewise.
26838         * include/sched.h: Likewise.
26839         * include/search.h: Likewise.
26840         * include/setjmp.h: Likewise.
26841         * include/signal.h: Likewise.
26842         * include/stdio.h: Likewise.
26843         * include/stdlib.h: Likewise.
26844         * include/string.h: Likewise.
26845         * include/sys/cdefs.h: Likewise.
26846         * include/sys/mman.h: Likewise.
26847         * include/sys/msg.h: Likewise.
26848         * include/sys/resource.h: Likewise.
26849         * include/sys/select.h: Likewise.
26850         * include/sys/socket.h: Likewise.
26851         * include/sys/stat.h: Likewise.
26852         * include/sys/statvfs.h: Likewise.
26853         * include/sys/time.h: Likewise.
26854         * include/sys/times.h: Likewise.
26855         * include/sys/uio.h: Likewise.
26856         * include/sys/utsname.h: Likewise.
26857         * include/sys/wait.h: Likewise.
26858         * include/termios.h: Likewise.
26859         * include/time.h: Likewise.
26860         * include/ulimit.h: Likewise.
26861         * include/unistd.h: Likewise.
26862         * include/utime.h: Likewise.
26863         * include/wchar.h: Likewise.
26864         * include/wctype.h: Likewise.
26865         * include/wordexp.h: Likewise.
26867         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26869         * time/time.h: TIME_UTC must be a macro.
26870         Make timespec_get available for ISO C11 only as well.
26872 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26874         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26875         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26877 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26879         * configure.in: Use -o not -a in test for unsupported multi-arch.
26881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26883         * manual/texinfo.tex: Update to version 2012-01-19.16.
26885 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26887         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26889 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26891         [BZ #13738]
26892         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26893         * manual/fdl-1.3.texi: New file.
26894         * manual/fdl-1.1.texi: File removed.
26896         [BZ #13738]
26897         * manual/libc.texinfo (FDL_VERSION): New @set.
26898         Use it for mention of FDL in cover text.
26899         (Documentation License): Use it in @include file name.
26901 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26902             Roland McGrath  <roland@hack.frob.com>
26904         [BZ #5461]
26905         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26906         not LONG_LONG_MAX and LONG_LONG_MIN.
26907         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26908         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26909         name.
26910         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26912 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26914         [BZ #2547]
26915         [BZ #11365]
26916         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26917         manipulate bits before adding and subtracting TWO23[sx].
26918         * math/libm-test.inc (nearbyint_test): Add more tests.
26920 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26922         [BZ #2548]
26923         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26924         bits before adding and subtracting TWO23[sx].
26925         * math/libm-test.inc (rint_test): Add more tests.
26926         (rint_test_tonearest): Likewise.
26927         (rint_test_towardzero): Likewise.
26928         (rint_test_downward): Likewise.
26929         (rint_test_upward: Likewise.
26931 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26933         [BZ #10110]
26934         * include/stdc-predef.h: New file.  Extracted from features.h.
26935         * include/features.h: Include stdc-predef.h.
26936         * Makefile (headers): Add stdc-predef.h.
26937         * CONFORMANCE (Compiler limitations): Update.
26939 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26941         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26943 2012-02-21  David S. Miller  <davem@davemloft.net>
26945         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26948 2012-02-20  David S. Miller  <davem@davemloft.net>
26950         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26951         using a normal save/restore sequence, rather than allocating a
26952         dummy stack frame just to store a frame pointer and restore.
26953         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26955 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26957         * manual/install.texi: Fix stray word in line-wrapped comment.
26959 2012-02-20  David S. Miller  <davem@davemloft.net>
26961         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26962         both binutils and gcc support GOTDATA.
26964         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26965         "rd %pc" in the PIC register setup sequences.
26967         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26968         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26969         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26970         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26971         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26972         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26973         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26974         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26976         (SYSCALL_ERROR_HANDLER): Likewise.
26977         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26978         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26980         (SYSCALL_ERROR_HANDLER): Likewise.
26982         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26983         (HAVE_GCC_GOTDATA): New.
26984         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26985         relocation support in both binutils and gcc.
26986         * sysdeps/sparc/elf/configure: Regenerate.
26988         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26989         * sysdeps/sparc/sparc32/elf/configure: Delete.
26990         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26991         * sysdeps/sparc/sparc64/elf/configure: Delete.
26992         * sysdeps/sparc/elf/configure.in: New file.
26993         * sysdeps/sparc/elf/configure: Generate.
26995         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26996         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26997         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26998         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26999         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27001 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27003         * manual/install.texi: Do not mention specific glibc version
27004         numbers.
27005         * manual/libc.texinfo (VERSION, UPDATED): Update.
27006         (@copying): Use @copyright{} and range of years.
27008 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27010         [BZ #13695]
27011         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27012         [crti.S not in sysdirs] (generated): Do not append.
27013         [crti.S not in sysdirs] (omit-deps): Likewise.
27014         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27015         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27016         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27017         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27018         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27019         Likewise.
27020         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27021         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27022         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27023         * csu/defs.awk: Remove file.
27024         * sysdeps/generic/initfini.c: Likewise.
27025         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27026         variable.
27027         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27028         Likewise.
27030 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27032         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27033         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27034         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27035         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27036         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27037         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27038         <bits/epoll.h>.
27039         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27040         (__EPOLL_PACKED): Define to empty if not defined by
27041         <bits/epoll.h>.
27042         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27044         bits/epoll.h.
27046 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27048         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27049         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27050         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27051         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27052         <bits/timerfd.h>.
27053         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27055         bits/timerfd.h.
27057 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27059         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27060         in C locale.
27061         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27062         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27063         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27066 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27068         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27069         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27071 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27073         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27074         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27075         defined.
27076         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27077         Likewise.
27078         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27079         entry for 2.16.
27081 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27083         * math/w_acos.c: Use non-signaling floating-point comparisons.
27084         * math/w_acosf.c: Likewise.
27085         * math/w_acosh.c: Likewise.
27086         * math/w_acoshf.c: Likewise.
27087         * math/w_acoshl.c: Likewise.
27088         * math/w_acosl.c: Likewise.
27089         * math/w_asin.c: Likewise.
27090         * math/w_asinf.c: Likewise.
27091         * math/w_asinl.c: Likewise.
27092         * math/w_atanh.c: Likewise.
27093         * math/w_atanhf.c: Likewise.
27094         * math/w_atanhl.c: Likewise.
27095         * math/w_exp2.c: Likewise.
27096         * math/w_exp2f.c: Likewise.
27097         * math/w_exp2l.c: Likewise.
27098         * math/w_j0.c: Likewise.
27099         * math/w_j0f.c: Likewise.
27100         * math/w_j0l.c: Likewise.
27101         * math/w_j1.c: Likewise.
27102         * math/w_j1f.c: Likewise.
27103         * math/w_j1l.c: Likewise.
27104         * math/w_jn.c: Likewise.
27105         * math/w_jnf.c: Likewise.
27106         * math/w_log.c: Likewise.
27107         * math/w_log10.c: Likewise.
27108         * math/w_log10f.c: Likewise.
27109         * math/w_log10l.c: Likewise.
27110         * math/w_log2.c: Likewise.
27111         * math/w_log2f.c: Likewise.
27112         * math/w_log2l.c: Likewise.
27113         * math/w_logf.c: Likewise.
27114         * math/w_logl.c: Likewise.
27115         * math/w_sqrt.c: Likewise.
27116         * math/w_sqrtf.c: Likewise.
27117         * math/w_sqrtl.c: Likewise.
27118         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27119         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27120         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27121         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27122         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27124 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27126         [BZ #9739]
27127         * manual/string.texi (strnlen): Use correct parameter name in
27128         equivalent expression.
27130 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27132         [BZ #11174]
27133         * manual/users.texi (seteuid): Consistently use neweuid for
27134         argument name.
27136 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27138         [BZ #13704]
27139         * manual/nss.texi (Services in the NSS configuration): Correct
27140         list of services in example configuration file.
27142 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27144         [BZ #11322]
27145         * manual/arith.texi: Remove statements about negative zero
27146         behaving identically to zero.
27148 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27150         [BZ #5993]
27151         * manual/install.texi: Do not document upgrading from libc5.
27153 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27155         [BZ #4596]
27156         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27158 2012-02-18  David S. Miller  <davem@davemloft.net>
27160         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27161         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27162         %o7 across the call.
27163         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27164         instead.
27165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27166         SETUP_PIC_REG_LEAF.
27167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27168         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27169         * sysdeps/sparc/crtn.S: Likewise.
27171 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27173         * aout/Makefile: Remove.
27175 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27177         [BZ #13058]
27178         * manual/examples/argp-ex1.c (main): Format definition in GNU
27179         style.
27180         * manual/examples/argp-ex2.c (main): Likewise.
27181         * manual/examples/argp-ex3.c (main): Likewise.
27182         * manual/examples/argp-ex4.c (main): Likewise.
27183         * manual/examples/longopt.c (main): Use new-style prototype
27184         definition.
27185         * manual/examples/strncat.c (main): Specify return type and use
27186         (void) for arguments.
27187         * manual/examples/subopt.c (main): Use char **argv argument.
27189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27191         [BZ #5077]
27192         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27193         rounding modes.
27195 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27197         [BZ #6907]
27198         * manual/string.texi (strchr): Change when strchrnul is
27199         recommended.
27201 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27203         [BZ #174]
27204         * manual/locale.texi (setlocale): Document LOCPATH.
27206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27208         [BZ #10210]
27209         * manual/process.texi (execle): Move @dots{} before last argument.
27211 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27213         [BZ #12047]
27214         * manual/charset.texi (Generic Charset Conversion): Fix typo
27215         (LC_TYPE -> LC_CTYPE).
27217 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27219         [BZ #5805]
27220         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27221         (scalbnf): Likewise.
27222         (scalbnl): Likewise.
27223         (scalbln): Likewise.
27224         (scalblnf): Likewise.
27225         (scalblnl): Likewise.
27226         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27227         (vwarnx): Likewise.
27228         (verr): Likewise.
27229         (verrx): Likewise.
27230         * manual/filesys.texi (telldir): Use braces around return type.
27231         * manual/llio.texi (mmap): Add space after comma.
27232         (mmap64): Likewise.
27233         * manual/math.texi (jn): Use @var{} on parameter names.
27234         (jnf): Likewise.
27235         (jnl): Likewise.
27236         (yn): Likewise.
27237         (ynf): Likewise.
27238         (ynl): Likewise.
27239         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27240         line.
27241         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27242         "...".
27243         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27244         (sched_get_priority_max): Likewise.
27245         * manual/signal.texi (sigvec): Add space after comma.
27246         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27247         names.
27248         (if_indextoname): Likewise.
27249         (if_freenameindex): Likewise.
27250         (sendto): Use ',' instead of '.' in prototype.
27251         * manual/startup.texi (syscall): Use @dots{} instead of literal
27252         "...".
27253         * manual/stdio.texi (__fpending): Separate initial words of
27254         paragraph from @deftypefun line.
27255         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27256         "...".
27257         (vsyslog): Use @var{} on parameter names.
27258         * manual/terminal.texi (stty): Use @var{} on parameter names.
27259         * manual/users.texi (getutmp): Use @var{} on parameter names.
27260         (getutmpx): Likewise.
27262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27264         [BZ #6884]
27265         * manual/stdio.texi (fopen): Fix typos in description of
27266         ",ccs=STRING".
27268 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27270         [BZ #4026]
27271         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27272         get clock_id definition.
27274 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27276         [BZ #4822]
27277         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27278         (madvise): Cast every argument to void on its own.
27280 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27282         [BZ #9902]
27283         * manual/startup.texi (Exit Status): Fix typo.
27285 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27287         [BZ #10140]
27288         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27289         * manual/examples/argp-ex2.c: Likewise.
27290         * manual/examples/argp-ex3.c: Likewise.
27292 2012-02-16  Richard Henderson  <rth@redhat.com>
27294         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27295         * sysdeps/s390/s390-32/initfini.c: Remove.
27296         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27297         * sysdeps/s390/s390-64/initfini.c: Remove.
27299 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27301         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27302         compiler output for sysdeps/generic/initfini.c.
27303         * sysdeps/sh/elf/initfini.c: Remove file.
27305 2012-02-16  David S. Miller  <davem@davemloft.net>
27307         [BZ #11494]
27308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27310         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27311         * sysdeps/sparc/crti.S: New file.
27312         * sysdeps/sparc/crtn.S: New file.
27313         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27314         * sysdeps/sparc/sparc64/Makefile: Likewise.
27316 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27318         [BZ #3335]
27319         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27321 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27323         [BZ #4822]
27324         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27326         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27327         (write, read, close): Likewise.
27328         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27330 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27332         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27333         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27334         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27335         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27336         <bits/signalfd.h>.
27337         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27339         bits/signalfd.h.
27341 2012-02-14  Marek Polacek  <polacek@redhat.com>
27343         * sysdeps/x86_64/crti.S: New file.
27344         * sysdeps/x86_64/crtn.S: New file.
27345         * sysdeps/x86_64/elf/initfini.c: Remove file.
27347 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27349         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27350         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27351         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27352         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27353         <bits/inotify.h>.
27354         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27356         bits/inotify.h.
27358 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27360         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27361         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27362         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27363         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27364         <bits/eventfd.h>.
27365         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27367         bits/eventfd.h.
27369 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27371         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27372         __feraiseexcept instead of feraiseexcept.
27374         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27375         nanosleep invocations.
27376         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27377         strings, and add error checking for a nanosleep invocations.
27379 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27381         Replace FSF snail mail address with URLs, as per GNU coding standards.
27382         Most of the snail mail addresses were wrong anyway, and omitting
27383         them makes the source code easier to maintain.  Almost all of the
27384         changes are to license notices and to locale LC_IDENTIFICATION
27385         addresses, except for this one:
27386         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27387         not its snail mail address.
27389 2012-02-09  Richard Henderson  <rth@twiddle.net>
27391         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27392         of kernel-features.h.
27394         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27396 2012-02-08  Marek Polacek  <polacek@redhat.com>
27398         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27399         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27400         * sysdeps/gnu/_G_config.h: Likewise.
27401         * sysdeps/generic/_G_config.h: Likewise.
27403 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27405         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27406         tests.
27407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409         * sysdeps/powerpc/powerpc32/crti.S: New file.
27410         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27411         * sysdeps/powerpc/powerpc64/crti.S: New file.
27412         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27414         * Makeconfig (have-initfini): Don't set.
27415         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27416         * configure.in (nopic_initfini): Don't substitute.
27417         * config.h.in (HAVE_INITFINI): Don't #undef.
27418         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27419         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27421 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27423         Support crti.S and crtn.S provided directly by architectures.
27424         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27425         [crti.S in sysdirs] (omit-deps): Likewise.
27426         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27427         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27428         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27429         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27430         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27431         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27432         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27433         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27434         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27435         compiler output for sysdeps/generic/initfini.c.
27436         * sysdeps/i386/elf/Makefile: Remove file.
27437         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27439 2012-02-07  Marek Polacek  <polacek@redhat.com>
27441         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27442         * sysdeps/gnu/_G_config.h: Likewise.
27443         * sysdeps/mach/hurd/_G_config.h: Likewise.
27445 2012-02-07  Marek Polacek  <polacek@redhat.com>
27447         * math/Makefile (tests): Add tst-CMPLX2.
27448         * math/tst-CMPLX2.c: New file.
27450 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27452         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27454         * math/libm-test.inc (jn_test): Add missing L suffix.
27456 2012-02-06  Marek Polacek  <polacek@redhat.com>
27458         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27459         * sysdeps/i386/fpu/e_powf.S: Likewise.
27460         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27461         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27462         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27463         * sysdeps/i386/fpu/e_pow.S: Likewise.
27464         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27465         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27466         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27467         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27468         * sysdeps/i386/fpu/e_log2.S: Likewise.
27469         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27470         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27471         * sysdeps/i386/fpu/e_powl.S: Likewise.
27472         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27473         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27474         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27475         * sysdeps/i386/fpu/e_logl.S: Likewise.
27476         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27477         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27478         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27479         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27480         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27481         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27482         * sysdeps/i386/fpu/e_log.S: Likewise.
27483         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27484         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27485         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27486         * sysdeps/i386/fpu/e_logf.S: Likewise.
27487         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27488         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27489         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27490         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27491         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27492         * sysdeps/i386/fpu/e_log10.S: Likewise.
27493         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27494         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27495         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27496         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27497         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27498         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27499         * sysdeps/i386/asm-syntax.h: Likewise.
27500         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27501         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27502         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27503         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27504         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27505         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27506         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27507         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27508         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27509         * sysdeps/powerpc/sysdep.h: Likewise.
27510         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27511         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27513 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27515         [BZ #411]
27516         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27518 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27520         * sysdeps/i386/sysdep.h: Include <features.h>.
27521         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27522         version.
27524 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27526         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27527         Define.
27528         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27529         LOAD_PIC_REG_STR.
27531 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27533         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27534         (SETUP_PIC_REG): Use GET_PC_THUNK.
27535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27536         macro.
27538 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27540         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27541         for non-PIC compilation.
27542         (SETUP_PIC_REG): Add .p2align directive.
27543         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27544         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27545         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27546         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27547         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27548         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27549         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27550         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27551         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27552         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27553         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27554         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27555         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27556         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27557         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27558         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27559         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27560         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27561         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27562         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27563         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27564         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27565         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27566         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27567         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27568         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27569         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27570         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27571         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27572         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27573         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27574         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27575         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27576         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27577         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27578         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27579         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27580         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27581         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27582         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27583         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27585 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27587         * math/tst-CMPLX.c: Include <stdio.h>.
27589 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27591         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27592         float.
27593         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27594         * sysdeps/sparc/bits/mathdef.h: Likewise.
27596 2012-01-31  Marek Polacek  <polacek@redhat.com>
27598         * libio/libio.h: Don't define _PARAMS.
27599         * locale/programs/config.h: Don't define PARAMS.
27600         * stdlib/strtol_l.c: Likewise.
27601         (__strtol_l): Remove PARAMS from the prototype.
27603 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27605         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27606         names.  Just use the correct names.  Remove unnecessary wrapper
27607         functions.
27608         * malloc/arena.c: Likewise.
27609         * malloc/hooks.c: Likewise.
27611         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27612         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27613         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27615 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27617         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27618         into tail calls.
27619         (update_get_addr): New function.
27620         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27621         GET_ADDR_MODULE parameter.
27623 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27625         * crypt/cert.c: Remove __STDC__ conditionals.
27626         * crypt/crypt-entry.c: Likewise.
27627         * crypt/crypt_util.c: Likewise.
27628         * libio/filedoalloc.c: Likewise.
27629         * libio/fileops.c: Likewise.
27630         * libio/genops.c: Likewise.
27631         * libio/iofclose.c: Likewise.
27632         * libio/iofdopen.c: Likewise.
27633         * libio/iofopen.c: Likewise.
27634         * libio/iofopen64.c: Likewise.
27635         * libio/iogetdelim.c: Likewise.
27636         * libio/iopopen.c: Likewise.
27637         * libio/obprintf.c: Likewise.
27638         * libio/oldfileops.c: Likewise.
27639         * libio/oldiofclose.c: Likewise.
27640         * libio/oldiofdopen.c: Likewise.
27641         * libio/oldiofopen.c: Likewise.
27642         * libio/oldiopopen.c: Likewise.
27643         * libio/wfiledoalloc.c: Likewise.
27644         * libio/wgenops.c: Likewise.
27645         * locale/programs/xmalloc.c: Likewise.
27646         * misc/syslog.c: Likewise.
27647         * stdio-common/xbug.c: Likewise.
27648         * string/memchr.c: Likewise.
27649         * string/memcmp.c: Likewise.
27650         * string/memrchr.c: Likewise.
27651         * string/rawmemchr.c: Likewise.
27652         * sysdeps/posix/getcwd.c: Likewise.
27653         * time/strftime_l.c: Likewise.
27655 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27657         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27658         * config.make.in (config-cflags-sse2avx): Define.
27659         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27660         Fix typo.
27662 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27664         * scripts/config.guess: Update from upstream config git repository.
27665         * scripts/config.sub: Likewise.
27667 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27669         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27670         (EM_NUM): Update.
27671         (R_TILEPRO_*, R_TILEGX_*): New macros.
27673         * scripts/firstversions.awk: Fix bug in version range handling.
27675         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27677         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27679         * include/sys/epoll.h: New file.
27680         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27681         libc_hidden_def.
27683 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27685         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27686         Avoid unnecessary __WORDSIZE == 64 test.
27687         (fmaxf): Use VEX format if possible.
27688         (fmax): Likewise.
27689         (fminf): Likewise.
27690         (fmin): Likewise.
27692         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27693         * math/math_private.h: Remove libc_fegetround* and
27694         libc_fesetround*.
27695         * sysdeps/i386/configure.in: Check for -msse2avx.
27696         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27697         also if SSE2AVX is defined.
27698         Remove libc_fegetround* and libc_fesetround*.
27699         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27700         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27701         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27702         of HAS_YMM_USABLE.
27703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27704         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27705         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27706         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27707         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27709         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27711 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27713         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27714         size is not set.
27715         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27717 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27719         [BZ #13618]
27720         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27721         relocation.
27722         * Makeconfig (libm): Define.
27723         * elf/Makefile: Add rules to build and run tst-relsort1.
27724         * elf/tst-relsort1.c: New file.
27725         * elf/tst-relsort1mod1.c: New file.
27726         * elf/tst-relsort1mod2.c: New file.
27728 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27730         * math/s_ldexp.c: Remove __STDC__ conditionals.
27731         * math/s_ldexpf.c: Likewise.
27732         * math/s_ldexpl.c: Likewise.
27733         * math/s_nextafter.c: Likewise.
27734         * math/s_nexttowardf.c: Likewise.
27735         * math/s_significand.c: Likewise.
27736         * math/s_significandf.c: Likewise.
27737         * math/s_significandl.c: Likewise.
27738         * math/w_jnl.c: Likewise.
27739         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27740         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27741         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27742         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27743         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27745         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27746         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27747         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27748         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27749         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27751         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27752         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27753         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27754         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27755         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27756         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27758         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27759         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27760         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27761         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27762         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27763         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27764         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27765         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27766         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27767         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27768         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27769         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27770         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27771         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27772         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27773         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27774         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27775         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27776         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27777         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27778         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27779         * sysdeps/ieee754/k_standard.c: Likewise.
27780         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27781         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27782         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27783         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27784         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27785         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27786         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27787         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27788         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27789         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27790         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27791         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27792         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27793         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27794         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27795         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27796         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27797         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27798         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27799         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27800         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27801         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27802         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27803         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27804         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27805         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27806         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27809         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27811         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27812         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27813         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27815         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27816         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27817         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27818         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27819         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27820         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27822         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27823         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27824         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27825         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27827         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27828         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27829         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27832         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27833         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27835         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27839         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27840         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27841         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27845         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27846         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27847         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27849         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27850         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27851         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27855         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27856         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27857         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27858         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27859         * sysdeps/ieee754/s_matherr.c: Likewise.
27860         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27861         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27863         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27865 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27867         * crypt/md5.h: Remove __STDC__ conditionals.
27868         * libio/libioP.h: Likewise.
27869         * locale/programs/config.h: Likewise.
27870         * sysdeps/generic/sysdep.h: Likewise.
27871         * sysdeps/i386/asm-syntax.h: Likewise.
27872         * sysdeps/s390/asm-syntax.h: Likewise.
27873         * sysdeps/unix/sysdep.h: Likewise.
27874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27877 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27879         * libio/libio.h: Remove __STDC__ conditionals.
27880         * malloc/obstack.h: Likewise.
27881         * math/complex.h: Likewise.
27882         * math/math.h: Likewise.
27883         * sysdeps/generic/_G_config.h: Likewise.
27884         * sysdeps/gnu/_G_config.h: Likewise.
27885         * sysdeps/mach/hurd/_G_config.h: Likewise.
27886         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27887         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27888         * sysdeps/sparc/bits/mathdef.h: Likewise.
27890 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27892         [BZ #13583]
27893         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27894         Clean up HAS_* macros.
27895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27896         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27897         possible.
27898         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27899         HAS_AVX.
27900         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27901         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27902         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27903         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27904         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27906 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27908         * elf/tst-unique3.cc (gets): Remove declaration.
27909         * elf/tst-unique3lib.cc (gets): Likewise.
27910         * elf/tst-unique3lib2.cc (gets): Likewise.
27911         * elf/tst-unique4.cc (gets): Likewise.
27913 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27915         * include/stdio.h: Add C++ protection.  Add gets declarations and
27916         definitions.
27917         * debug/tst-chk1.c: Don't declare gets here.
27918         * stdio-common/tst-gets.c: Likewise.
27920 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27922         * posix/glob: Remove directory.
27924 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27926         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27928 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27930         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27931         of the non-standard EPFNOSUPPORT.
27933 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27935         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27936         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27937         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27939 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27941         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27943 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27945         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27946         transient errors.
27947         * nscd/grpcache.c (cache_addgr): Likewise.
27948         * nscd/hstcache.c (cache_addhst): Likewise.
27949         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27950         * nscd/pwdcache.c (cache_addpw): Likewise.
27951         * nscd/servicescache.c (cache_addserv): Likewise.
27953 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27955         * malloc/malloc.c: Various cleanups.
27956         * malloc/hooks.c: Likewise.
27958         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27959         * stdlib/bug-fmtmsg1.c: New file.
27961         * stdlib/fmtmsg.c (init): Add missing unlock.
27962         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27964 2012-01-12  Marek Polacek  <polacek@redhat.com>
27966         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27967         and _GNU_SOURCE.
27969 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27971         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27972         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27973         macro to ensure uniqueness of label name.
27974         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27975         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27977 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27979         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27981         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27982         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27983         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27984         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27986 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27988         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27990         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27991         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27992         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27994         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27996         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27997         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27998         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27999         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28001         * math/bits/math-finite.h: Add ldexp support.
28003 2012-01-10  Marek Polacek  <polacek@redhat.com>
28005         * locale/programs/localedef.h (show_archive_content): Add noreturn
28006         attribute.
28008 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28010         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28012 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28014         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28016         * io/Makefile (headers): Add bits/poll2.h.
28018 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28021         typo #include statement.
28023 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28025         * include/sys/cdefs.h: Define __attribute_alloc_size.
28026         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28027         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28028         * elf/pldd.c: Likewise.
28029         * iconv/iconv_charmap.c: Likewise.
28030         * iconv/iconvconfig.c: Likewise.
28031         * iconv/strtab.c: Likewise.
28032         * locale/programs/locale.c: Likewise.
28033         * locale/programs/localedef.h: Likewise.
28034         * locale/programs/simple-hash.c: Likewise.
28035         * nscd/nscd.h: Likewise.
28036         * nss/makedb.c: Likewise.
28037         * sysdeps/generic/ldconfig.h: Likewise.
28038         * locale/programs/localedef.c: Remove xmalloc prototype.
28039         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28041 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28043         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28044         appropriate.
28046 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28048         * math/Makefile (tests): Add tst-CMPLX.
28049         * math/tst-CMPLX.c: New file.
28051         * math/complex.h (CMPLXL): Fix typo.
28053         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28054         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28055         GLIBC_2.16.
28056         * debug/tst-chk1.c: Add poll and ppoll tests.
28057         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28058         * include/sys/poll.h: Add hidden proto for ppoll.
28059         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28060         * sysdeps/mach/hurd/ppoll.c: Likewise.
28061         * io/ppoll.c: Likewise.
28062         * debug/poll_chk.c: New file.
28063         * debug/ppoll_chk.c: New file.
28064         * include/bits/poll2.h: New file.
28065         * io/bits/poll2.h: New file.
28067         [BZ #1350]
28068         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28070         * configure.in: static is always set to yes.  Remove.
28071         * config.make.in: Don't set build-static.
28072         * Makeconfig: Remove use of build-static.
28073         * dlfcn/Makefile: Likewise.
28074         * elf/Makefile: Likewise.
28075         * math/Makefile: Likewise.
28076         * misc/Makefile: Likewise.
28077         * nptl/Makefile: Likewise.
28078         * sysdeps/mach/hurd/Makefile: Likewise.
28080         * configure.in: PWD_P is not used anymore.
28081         * config.make.in: Remove PWD_P entry.
28083         * configure.in: Remove last remnants of RANLIB.
28084         No need to check for signed size_t anymore.
28085         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28086         and IA-64.
28087         Remove __builtin_expect test because we require at least gcc 3.4.
28088         * aclocal.m4: Likewise.
28090         * wcsmbs/mbrtoc16.c: Implement using towc function.
28091         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28092         * wcsmbs/wcsmbsload.c: Likewise.
28093         * iconv/gconv_simple.c: Likewise.
28094         * iconv/gconv_int.h: Likewise.
28095         * iconv/gconv_builtin.h: Likewise.
28096         * iconv/iconv_prog.c: Remove CHAR16 handling.
28098         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28100         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28102         * configure.in: Remove --with-elf and --enable-bounded options.
28103         Dont set base_machine for ia64.  More non-ELF conditions removed.
28104         Remove testing and setting of leading underscore information.
28105         * config.make.in (build-bounded): Set to no.
28106         * config.h.in: Remove NO_UNDERSCORES entry.
28107         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28108         them.
28109         * csu/start.c: Remove !NO_UNDERSCORE code.
28110         * locale/localeinfo.h: Likewise.
28111         * sysdeps/generic/machine-gmon.h: Likewise.
28112         * sysdeps/generic/sysdep.h: Likewise.
28113         * sysdeps/i386/sysdep.h: Likewise.
28114         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28115         * sysdeps/mach/sysdep.h: Likewise.
28116         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28117         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28118         * sysdeps/sh/sysdep.h: Likewise.
28119         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28120         * sysdeps/unix/i386/sysdep.S: Likewise.
28121         * sysdeps/unix/sparc/start.c: Likewise.
28122         * sysdeps/unix/sparc/sysdep.S: Likewise.
28123         * sysdeps/unix/sparc/sysdep.h: Likewise.
28124         * sysdeps/unix/start.c: Likewise.
28125         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28126         * sysdeps/x86_64/sysdep.h: Likewise.
28128 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28130         [BZ #13553]
28131         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28132         for non-gcc.
28133         * argp/argp-fmtstream.h: Use const instead __const.
28134         * argp/argp.h: Likewise.
28135         * assert/assert.h: Likewise.
28136         * bits/fenv.h: Likewise.
28137         * bits/sched.h: Likewise.
28138         * bits/sigset.h: Likewise.
28139         * bits/sigthread.h: Likewise.
28140         * catgets/nl_types.h: Likewise.
28141         * conform/data/pthread.h-data: Likewise.
28142         * crypt/crypt-private.h: Likewise.
28143         * crypt/crypt.h: Likewise.
28144         * crypt/crypt_util.c: Likewise.
28145         * ctype/ctype.h: Likewise.
28146         * debug/execinfo.h: Likewise.
28147         * debug/mbsnrtowcs_chk.c: Likewise.
28148         * debug/mbsrtowcs_chk.c: Likewise.
28149         * debug/wcsnrtombs_chk.c: Likewise.
28150         * debug/wcsrtombs_chk.c: Likewise.
28151         * debug/wcstombs_chk.c: Likewise.
28152         * dirent/dirent.h: Likewise.
28153         * dlfcn/dlfcn.h: Likewise.
28154         * elf/neededtest4.c: Likewise.
28155         * grp/grp.h: Likewise.
28156         * gshadow/gshadow.h: Likewise.
28157         * iconv/gconv.h: Likewise.
28158         * iconv/gconv_int.h: Likewise.
28159         * iconv/gconv_simple.c: Likewise.
28160         * iconv/iconv.h: Likewise.
28161         * iconv/loop.c: Likewise.
28162         * iconv/skeleton.c: Likewise.
28163         * include/aio.h: Likewise.
28164         * include/aliases.h: Likewise.
28165         * include/argz.h: Likewise.
28166         * include/arpa/inet.h: Likewise.
28167         * include/assert.h: Likewise.
28168         * include/dirent.h: Likewise.
28169         * include/dlfcn.h: Likewise.
28170         * include/execinfo.h: Likewise.
28171         * include/fcntl.h: Likewise.
28172         * include/fenv.h: Likewise.
28173         * include/glob.h: Likewise.
28174         * include/grp.h: Likewise.
28175         * include/libintl.h: Likewise.
28176         * include/mntent.h: Likewise.
28177         * include/netdb.h: Likewise.
28178         * include/pwd.h: Likewise.
28179         * include/rpc/netdb.h: Likewise.
28180         * include/sched.h: Likewise.
28181         * include/search.h: Likewise.
28182         * include/shadow.h: Likewise.
28183         * include/signal.h: Likewise.
28184         * include/stdio.h: Likewise.
28185         * include/stdlib.h: Likewise.
28186         * include/string.h: Likewise.
28187         * include/sys/socket.h: Likewise.
28188         * include/sys/stat.h: Likewise.
28189         * include/sys/statfs.h: Likewise.
28190         * include/sys/statvfs.h: Likewise.
28191         * include/sys/syslog.h: Likewise.
28192         * include/sys/time.h: Likewise.
28193         * include/sys/uio.h: Likewise.
28194         * include/time.h: Likewise.
28195         * include/unistd.h: Likewise.
28196         * include/utmp.h: Likewise.
28197         * include/wchar.h: Likewise.
28198         * include/wctype.h: Likewise.
28199         * inet/aliases.h: Likewise.
28200         * inet/arpa/inet.h: Likewise.
28201         * inet/netinet/ether.h: Likewise.
28202         * inet/netinet/in.h: Likewise.
28203         * intl/libintl.h: Likewise.
28204         * io/bits/fcntl2.h: Likewise.
28205         * io/fcntl.h: Likewise.
28206         * io/ftw.h: Likewise.
28207         * io/sys/poll.h: Likewise.
28208         * io/sys/stat.h: Likewise.
28209         * io/sys/statfs.h: Likewise.
28210         * io/sys/statvfs.h: Likewise.
28211         * io/utime.h: Likewise.
28212         * libio/bits/stdio.h: Likewise.
28213         * libio/bits/stdio2.h: Likewise.
28214         * libio/libio.h: Likewise.
28215         * libio/libioP.h: Likewise.
28216         * libio/stdio.h: Likewise.
28217         * locale/lc-ctype.c: Likewise.
28218         * locale/locale.h: Likewise.
28219         * login/utmp.h: Likewise.
28220         * malloc/arena.c: Likewise.
28221         * malloc/malloc.c: Likewise.
28222         * malloc/malloc.h: Likewise.
28223         * malloc/mcheck.c: Likewise.
28224         * malloc/mtrace.c: Likewise.
28225         * math/bits/mathcalls.h: Likewise.
28226         * math/fenv.h: Likewise.
28227         * math/math_private.h: Likewise.
28228         * misc/bits/error.h: Likewise.
28229         * misc/bits/syslog.h: Likewise.
28230         * misc/err.h: Likewise.
28231         * misc/error.h: Likewise.
28232         * misc/fstab.h: Likewise.
28233         * misc/mntent.h: Likewise.
28234         * misc/regexp.h: Likewise.
28235         * misc/search.h: Likewise.
28236         * misc/sgtty.h: Likewise.
28237         * misc/sys/mman.h: Likewise.
28238         * misc/sys/syslog.h: Likewise.
28239         * misc/sys/uio.h: Likewise.
28240         * misc/sys/xattr.h: Likewise.
28241         * misc/ttyent.h: Likewise.
28242         * nis/rpcsvc/ypclnt.h: Likewise.
28243         * nss/nss.h: Likewise.
28244         * posix/bits/unistd.h: Likewise.
28245         * posix/fnmatch.h: Likewise.
28246         * posix/glob.h: Likewise.
28247         * posix/sched.h: Likewise.
28248         * posix/spawn.h: Likewise.
28249         * posix/sys/wait.h: Likewise.
28250         * posix/unistd.h: Likewise.
28251         * posix/wordexp.h: Likewise.
28252         * pwd/pwd.h: Likewise.
28253         * resolv/netdb.h: Likewise.
28254         * resource/sys/resource.h: Likewise.
28255         * rt/aio.h: Likewise.
28256         * rt/bits/mqueue2.h: Likewise.
28257         * rt/mqueue.h: Likewise.
28258         * shadow/shadow.h: Likewise.
28259         * signal/signal.h: Likewise.
28260         * socket/send.c: Likewise.
28261         * socket/sendto.c: Likewise.
28262         * socket/sys/socket.h: Likewise.
28263         * stdio-common/printf.h: Likewise.
28264         * stdlib/bits/stdlib.h: Likewise.
28265         * stdlib/fmtmsg.h: Likewise.
28266         * stdlib/monetary.h: Likewise.
28267         * stdlib/stdlib.h: Likewise.
28268         * stdlib/ucontext.h: Likewise.
28269         * streams/stropts.h: Likewise.
28270         * string/argz.h: Likewise.
28271         * string/bits/string2.h: Likewise.
28272         * string/string.h: Likewise.
28273         * string/strings.h: Likewise.
28274         * sunrpc/rpc/auth.h: Likewise.
28275         * sunrpc/rpc/auth_des.h: Likewise.
28276         * sunrpc/rpc/clnt.h: Likewise.
28277         * sunrpc/rpc/netdb.h: Likewise.
28278         * sunrpc/rpc/pmap_clnt.h: Likewise.
28279         * sunrpc/rpc/xdr.h: Likewise.
28280         * sysdeps/generic/inttypes.h: Likewise.
28281         * sysdeps/generic/net/if.h: Likewise.
28282         * sysdeps/generic/sys/swap.h: Likewise.
28283         * sysdeps/gnu/net/if.h: Likewise.
28284         * sysdeps/gnu/utmpx.h: Likewise.
28285         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28286         * sysdeps/i386/i486/bits/string.h: Likewise.
28287         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28288         * sysdeps/s390/bits/string.h: Likewise.
28289         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28290         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28291         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28292         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28293         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28294         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28295         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28296         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28297         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28298         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28299         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28300         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28301         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28302         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28303         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28304         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28305         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28306         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28307         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28309         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28310         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28311         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28312         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28313         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28314         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28315         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28316         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28317         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28318         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28319         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28320         * sysvipc/sys/ipc.h: Likewise.
28321         * sysvipc/sys/msg.h: Likewise.
28322         * sysvipc/sys/sem.h: Likewise.
28323         * sysvipc/sys/shm.h: Likewise.
28324         * termios/termios.h: Likewise.
28325         * time/sys/time.h: Likewise.
28326         * time/time.h: Likewise.
28327         * wcsmbs/bits/wchar2.h: Likewise.
28328         * wcsmbs/uchar.h: Likewise.
28329         * wcsmbs/wchar.h: Likewise.
28330         * wctype/wctype.h: Likewise.
28332         [BZ #13551]
28333         * Makeconfig: Remove all but ELF support including AIX support.
28334         * Makerules: Likewise.
28335         * config.h.in: Likewise.
28336         * config.make.in: Likewise.
28337         * configure: Likewise.
28338         * configure.in: Likewise.
28339         * csu/Makefile: Likewise.
28340         * csu/version.c: Likewise.
28341         * debug/Makefile: Likewise.
28342         * dlfcn/Makefile: Likewise.
28343         * elf/Makefile: Likewise.
28344         * extra-lib.mk: Likewise.
28345         * iconv/Makefile: Likewise.
28346         * include/libc-symbols.h: Likewise.
28347         * include/shlib-compat.h: Likewise.
28348         * resolv/Makefile: Likewise.
28349         * resolv/res_libc.c: Likewise.
28350         * rt/Makefile: Likewise.
28351         * sysdeps/i386/asm-syntax.h: Likewise.
28352         * sysdeps/i386/sysdep.h: Likewise.
28353         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28354         * sysdeps/mach/sysdep.h: Likewise.
28355         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28356         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28357         * sysdeps/s390/asm-syntax.h: Likewise.
28358         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28359         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28360         * sysdeps/sh/sysdep.h: Likewise.
28361         * sysdeps/unix/sparc/sysdep.h: Likewise.
28362         * sysdeps/wordsize-32/divdi3.c: Likewise.
28363         * sysdeps/x86_64/sysdep.h: Likewise.
28365         * argp/Versions: Remove _argp_unlock_xxx.
28367         [BZ #13559]
28368         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28369         * abilist/libBrokenLocale.abilist: Likewise.
28370         * abilist/libanl.abilist: Likewise.
28371         * abilist/libc.abilist: Likewise.
28372         * abilist/libcrypt.abilist: Likewise.
28373         * abilist/libdl.abilist: Likewise.
28374         * abilist/libm.abilist: Likewise.
28375         * abilist/libnsl.abilist: Likewise.
28376         * abilist/libpthread.abilist: Likewise.
28377         * abilist/libresolv.abilist: Likewise.
28378         * abilist/librt.abilist: Likewise.
28379         * abilist/libthread_db.abilist: Likewise.
28380         * abilist/libutil.abilist: Likewise.
28381         * abilist/libnss_db.abilist: New file.
28383         * scripts/abilist.awk: Add support for indirect functions.
28385         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28387         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28389         * shlib-versions: Remove entries for ports architectures.
28391         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28392         files in ports.
28393         * elf/stackguard-macros.h: Remove support for IA-64.
28394         * elf/tst-auditmod1.c: Likewise.
28395         * sysdeps/generic/ldsodefs.h: Likewise.
28397         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28398         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28399         configure files.
28401         [BZ #13552]
28402         * configure.in: Remove --enable-omitfp support.
28403         * FAQ.in: Adjust.
28404         * config.make.in: Likewise.
28405         * Makeconfig: Likewise.
28406         * manual/install.texi: Likewise.
28408         In case anyone cares, the IA-64 architecture could move to ports.
28409         * sysdeps/ia64/*: Removed.
28410         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28411         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28413         [BZ #13555]
28414         * configure.in: Remove entries for unsupported architectures.
28416         [BZ #13533]
28417         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28418         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28419         routines.
28420         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28421         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28422         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28423         fall back to using wcrtomb.
28424         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28425         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28426         renaming.
28427         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28428         * wcsmbs/tst-c16c32-1.c: New file.
28430         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28431         local variable.
28433         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28435         * elf/tst-unique3.cc: Add explicit declaration of gets.
28436         * elf/tst-unique3lib.cc: Likewise.
28437         * elf/tst-unique3lib2.cc: Likewise.
28438         * elf/tst-unique4.cc: Likewise.
28440         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28442 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28444         [BZ #13566]
28445         * assert/assert.h (static_assert): Don't define for C++.
28446         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28447         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28449 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28451         * iconv/loop.c (single loop): Fix assertion in storing of
28452         remaining bytes.
28454         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28456 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28458         * posix/getconf.c: Update copyright year.
28459         * nss/getent.c: Likewise.
28460         * nss/makedb.c: Likewise.
28461         * iconv/iconvconfig.c: Likewise.
28462         * iconv/iconv_prog.c: Likewise.
28463         * elf/ldconfig.c: Likewise.
28464         * elf/pldd.c: Likewise.
28465         * elf/sotruss.ksh: Likewise.
28466         * catgets/gencat.c: Likewise.
28467         * csu/version.c: Likewise.
28468         * elf/ldd.bash.in: Likewise.
28469         * elf/sprof.c (print_version): Likewise.
28470         * locale/programs/locale.c: Likewise.
28471         * locale/programs/localedef.c: Likewise.
28472         * login/programs/pt_chown.c: Likewise.
28473         * nscd/nscd.c (print_version): Likewise.
28474         * debug/xtrace.sh: Likewise.
28475         * malloc/memusage.sh: Likewise.
28476         * malloc/mtrace.pl: Likewise.
28477         * debug/catchsegv.sh: Likewise.
28479 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28481         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28482         pure attribute.
28484 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28486         [BZ #13533]
28487         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28488         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28489         transformations.
28490         * iconv/gconv_int.h: Likewise.
28491         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28492         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28493         from libc for GLIBC_2.16.
28494         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28495         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28496         * wcsmbs/uchar.h: Really define mbstate_t.
28497         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28498         * wcsmbs/c16rtomb.c: New file.
28499         * wcsmbs/mbrtoc16.c: New file.
28500         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28501         for C/POSIX locale.
28502         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28503         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28505         * wcsmbs/wchar.h: Add missing __restrict.
28507 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28509         [BZ #13532]
28510         * time/Makefile (routines): Add timespec_get.
28511         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28512         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28513         timespec for ISO C11.
28514         * time/timespec_get.c: New file.
28515         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28516         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28518         [BZ #13531]
28519         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28520         * stdlib/stdlib.h: Declare aligned_alloc.
28521         * Versions.def: Add GLIBC_2.16 for libc.
28522         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28524         [BZ 13527]
28525         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28526         ISO C11.
28528         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28529         code.
28531         [BZ #13528]
28532         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28534         [BZ #13529]
28535         * assert/assert.h (static_assert): Define.
28537         * version.h: Update for 2.16 development version.
28539         [BZ #13526]
28540         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28541         _ISOC11_SOURCE.
28543         * version.h (RELEASE): Bump for 2.15 release.
28544         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28546         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28547         Patch by Marek Polacek <mpolacek@redhat.com>.
28549         * bits/byteswap.h: Protect long long constants with __extension__.
28550         * sysdeps/i386/bits/byteswap.h: Likewise.
28551         * sysdeps/ia64/bits/byteswap.h: Likewise.
28552         * sysdeps/s390/bits/byteswap.h: Likewise.
28553         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28555 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28557         [BZ #13540]
28558         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28559         destination buffer.
28560         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28562 2011-12-23  Marek Polacek  <polacek@redhat.com>
28564         * elf/dl-addr.c (determine_info): Add inline keyword.
28565         * elf/tst-auditmod4b.c (check_avx): Likewise.
28566         * elf/tst-auditmod6b.c (check_avx): Likewise.
28567         * elf/tst-auditmod6c.c (check_avx): Likewise.
28568         * elf/tst-auditmod7b.c (check_avx): Likewise.
28570 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28572         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28573         !__SSE_MATH__.
28575 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28577         [BZ #13540]
28578         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28579         processing for last bytes.
28581 2011-08-06  Bruno Haible  <bruno@clisp.org>
28583         [BZ #13061]
28584         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28585         U+0385, not to U+1FEE.
28587         [BZ #13062]
28588         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28589         entry for U+00A5 U+0301.
28591 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28593         [BZ #13166]
28594         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28595         buffer for the output is too small.
28597         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28598         optimization.
28600         [BZ #13185]
28601         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28602         SSE flags if possible.
28604 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28606         [BZ #13540]
28607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28608         processing for last bytes.
28610 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28612         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28613         (syscall-list-default-options, syscall-list-default-condition)
28614         (syscall-list-includes): Define.
28615         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28616         list of ABIs and options and #if conditions for each ABI.  Do not
28617         handle common syscalls between ABIs specially.
28618         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28619         Remove.
28620         (syscall-list-variants, syscall-list-32bit-options)
28621         (syscall-list-32bit-condition, syscall-list-64bit-options)
28622         (syscall-list-64bit-condition): Define.
28623         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28624         (syscall-list-variants, syscall-list-32bit-options)
28625         (syscall-list-32bit-condition, syscall-list-64bit-options)
28626         (syscall-list-64bit-condition): Define.
28627         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28628         Remove.
28629         (syscall-list-variants, syscall-list-32bit-options)
28630         (syscall-list-32bit-condition, syscall-list-64bit-options)
28631         (syscall-list-64bit-condition): Define.
28632         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28633         Remove.
28634         (syscall-list-variants, syscall-list-32bit-options)
28635         (syscall-list-32bit-condition, syscall-list-64bit-options)
28636         (syscall-list-64bit-condition): Define.
28638 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28640         * locale/iso-639.def: Add brx entry.
28642         [BZ #13328]
28643         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28644         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28646         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28647         __feraiseexcept_renamed.
28649 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28651         [BZ #13538]
28652         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28653         EPOLLET with unsigned values.
28654         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28655         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28657         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28658         to large cancellation.
28659         * math/s_cacoshf.c: Likewise.
28660         * math/s_cacoshl.c: Likewise.
28662 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28664         [BZ #13305]
28665         [BZ #12786]
28666         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28667         * math/s_cacoshf.c: Likewise.
28668         * math/s_cacoshl.c: Likewise.
28670 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28672         [BZ #13439]
28673         * iconv/gconv.h: Define __GCONV_SWAP.
28674         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28675         * iconvdata/utf-16.c: Likewise.
28676         * iconvdata/utf-32.c: Likewise.
28678 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28680         [BZ #13524]
28681         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28682         numerator after shifting it by one limb.
28684 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28686         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28687         under [__USE_EXTERN_INLINES].
28689 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28691         [BZ #13446]
28692         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28694 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28696         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28697         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28698         optimized code.
28699         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28700         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28701         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28702         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28703         for strncasecmp/strncasecmp_l compilation.
28704         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28705         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28707 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28709         [BZ #13484]
28710         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28711         of __asm__.
28713 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28715         [BZ #13506]
28716         * time/tzfile.c (__tzfile_read): Check values from file header.
28718 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28720         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28721         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28722         * powerpc/powerpc32/dl-start.S: Likewise.
28723         * powerpc/powerpc32/elf/start.S: Likewise.
28724         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28725         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28726         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28727         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28728         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28729         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28730         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28731         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28732         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28733         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28734         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28735         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28736         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28737         * powerpc/powerpc32/memset.S: Likewise.
28738         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28739         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28740         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28741         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28742         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28743         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28744         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28745         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28746         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28747         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28748         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28749         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28750         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28752 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28754         * math/libm-test.inc: Added more nearbyint tests.
28755         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28756         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28757         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28758         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28760 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28762         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28763         FD_CLOEXEC.
28765 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28767         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28768         Add wcscpy-ssse3 wcscpy-c.
28769         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28770         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28771         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28772         * sysdeps/x86_64/wcschr.S: New file.
28773         * sysdeps/x86_64/wcsrchr.S: New file.
28774         * string/test-strcmp.c: Remove checking of wcscmp function for
28775         wrong alignments.
28776         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28777         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28778         wcsrchr-sse2 wcsrchr-c.
28779         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28780         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28781         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28782         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28783         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28784         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28785         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28786         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28787         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28788         * wcsmbc/wcschr.c (WCSCHR): New macro.
28790 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28792         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28793         * wcsmbs/test-wcsrchr.c: New file.
28794         * string/test-strrchr.c: Add wcsrchr support.
28795         (WIDE): New macro.
28796         * wcsmbs/test-wcscpy.c: New file.
28797         * string/test-strcpy.c: Add wcscpy support.
28798         (WIDE): New macro.
28800 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28802         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28803         the inner loop.
28805 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28807         [BZ #13472]
28808         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28810 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28812         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28813         Minor optimizations.
28815         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28816         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28817         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28819 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28821         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28822         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28823         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28824         for gcc to avoid warnings.
28825         * inet/Makefile (tests): Add tst-checks.
28826         * inet/tst-checks.c: New file.
28828         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28829         warning.
28831         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28832         __wmemcmp_sse2.
28834         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28835         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28837         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28839 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28841         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28842         problem.
28844         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28846 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28848         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28849         conditional on GCC version.
28850         (__arch_compare_and_exchange_val_8_acq)
28851         (__arch_compare_and_exchange_val_16_acq)
28852         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28853         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28854         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28856 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28858         * sysdeps/sh/backtrace.c: New file.
28860 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28862         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28863         parenthesis.
28865 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28867         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28868         falling back to utime.
28870 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28872         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28873         expectations for float.
28875 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28877         * locale/weight.h (findidx): Add parameter len.
28878         * locale/weightwc.h (findidx): Likewise.
28879         * posix/fnmatch_loop.c (FCT): Adjust caller.
28880         * posix/regcomp.c (build_equiv_class): Likewise.
28881         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28882         * posix/regexec.c (check_node_accept_bytes): Likewise.
28883         * string/strcoll_l.c (STRCOLL): Likewise.
28884         * string/strxfrm_l.c (STRXFRM): Likewise.
28886 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28888         * Makefile.in: Remove CVSOPT handling.
28889         * configure.in: Remove use of AC_REVISION.
28890         * iconvdata/Makefile (distribute): No need to filter out CVS.
28891         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28892         handling.
28894 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28896         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28897         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28898         [USE_AS_STRNCASECMP_L]: Likewise.
28899         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28900         NO_TLS_DIRECT_SEG_REFS.
28901         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28902         Fix argument offsets for non-PIC.
28903         [USE_AS_STRNCASECMP_L]: Likewise.
28904         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28905         NO_TLS_DIRECT_SEG_REFS.
28907 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28909         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28910         O_CLOEXEC.
28911         * locale/loadlocale.c (_nl_load_locale): Likewise.
28913 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28915         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28916         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28917         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28918         (SYSCALL_GETTIME): Set errno on error.
28920         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28921         count references to noai6ai_cached.
28923 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28925         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28927         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28928         FD_CLOEXEC for /proc/self/maps.
28930         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28931         FD_CLOEXEC for /proc/meminfo.
28933         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28934         gai.conf.
28936         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28937         FD_CLOEXEC for given file.
28939         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28941         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28942         FD_CLOEXEC for /etc/hosts.
28943         (_gethtent): Likewise.
28945         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28947         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28948         cancellation and set FD_CLOEXEC for /etc/netgroup.
28950         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28951         reading /etc/publickey.
28953         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28954         allow cancellation when reading /etc/group.
28956         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28957         cancellation.
28958         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28960         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28961         when using data file.
28963         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28965         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28966         (write_nis_obj): Use "c" and "e" in fopen.
28968         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28970         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28972         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28974         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28976         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28977         locale.alias.
28979         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28981         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28983         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28985         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28986         file parsing and set FD_CLOEXEC.
28988 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28990         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28992 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28994         * malloc/arena.c (arena_get2): Don't call reused_arena when
28995         _int_new_arena failed.
28997 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28999         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29000         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29001         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29002         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29003         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29004         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29005         to compile strcasecmp and strncasecmp.
29006         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29007         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29009         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29011 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29013         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29014         locale-defines.sym to gen-as-const-headers.
29015         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29016         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29018         to compile strcasecmp and strncasecmp.
29019         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29020         strcasecmp_l and strncasecmp_l.
29021         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29022         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29023         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29024         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29025         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29026         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29027         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29028         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29029         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29030         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29031         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29033 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29035         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29036         result of SYSDEP_GETTIME_CPU to retval.
29037         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29038         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29040         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29041         variable.
29043         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29044         mantissa words.
29045         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29047         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29048         from unused variable.
29050         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29051         DWARF definitions.
29052         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29053         for assembling.
29055         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29056         over namespaces.
29058         * sunrpc/rpc_prot.c (rejected): Fix case value.
29060         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29061         unsigned long long int to avoid warnings in shift.
29063         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29064         of use of trans.
29065         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29066         variable tmp.
29068         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29069         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29070         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29072         * nis/nis_table.c (nis_list): Use variable of correct type for
29073         result of __follow_path call.
29075 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29077         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29078         of math functions ceil, trunc, floor, round, and sqrt, when
29079         avaliable on the platform.
29080         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29081         name clash.
29082         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29083         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29084         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29086 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29088         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29089         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29091 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29093         * include/unistd.h: Fix __readlink return type.
29094         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29096 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29098         * stdlib/ucontext.h: Undo last change for makecontext.
29100 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29102         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29104         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29105         * setjmp/setjmp.h: Mark functions as non-leaf.
29106         * setjmp/bits/setjmp2.h: Likewise.
29107         * stdlib/ucontext.h: Likewise.
29109 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29111         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29112         (reused_arena): Don't check arena limit.
29113         (arena_get2): Atomically check arena limit.
29115 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29117         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29118         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29120         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29121         instructions.
29123 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29125         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29126         handler when locking.
29128         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29129         Fix size of allocated buffer.
29131 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29133         [BZ #10103]
29134         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29135         declarations for long double functions.
29136         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29138         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29140 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29142         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29143         installed.
29145         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29146         is disabled.
29148 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29150         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29152 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29154         * include/alloca.h (stackinfo_alloca_round): Define.
29155         (extend_alloca): Use it.
29156         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29157         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29158         here.
29160         * scripts/check-local-headers.sh: Ignore libaudit.h.
29162         * nscd/Makefile (extra-objs): Make recursively expanded.
29164 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29166         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29167         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29169         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29170         * posix/tst-rfc3484-2.c: Likewise.
29171         * posix/tst-rfc3484-3.c: Likewise.
29173         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29174         process_vm_writev.
29175         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29176         process_vm_writev.
29177         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29178         process_vm_writev from libc using GLIBC_2.15 version.
29180         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29182 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29184         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29185         stack usage.
29187 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29189         [BZ #13367]
29190         * nss/getent.c (initgroups_keys): Show error message in case no group
29191         names are given.
29193         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29194         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29195         __bump_nl_timestamp.
29196         * nscd/connections (nscd_init): When host database is served open
29197         netlink socket and request notification about configuration changes.
29198         (main_loop_poll): Track netlink file descriptor and bump timestamp
29199         in case data becomes available.
29200         (main_loop_epoll): Likewise.
29201         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29202         (database_pers_head): Add extra_data fileds.
29203         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29204         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29205         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29206         Adjust caller.
29207         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29208         in6ai data, call __free_in6ai.
29209         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29210         Add -DHAVE_NETLINK.
29211         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29212         interface information.  Reuse previous data if netlink timestamp
29213         is not changed.
29214         (__bump_nl_timestamp): New function.
29215         (__free_in6ai): New function.
29217 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29220         close_not_cancel_no_status here.
29221         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29223 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29225         [BZ #13276]
29226         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29227         return value.
29229         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29230         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29231         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29233 2011-07-03  Andreas Jaeger  <aj@suse.de>
29235         [BZ #10709]
29236         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29237         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29238         * math/libm-test.inc (sin_test): Add test case.
29240 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29242         [BZ #13337]
29243         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29244         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29246         * elf/chroot_canon.c (chroot_canon): Cleanups.
29248         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29250         [BZ #13335]
29251         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29252         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29254         * string/test-strchr.c: Make usable for strchrnul testing.
29255         * string/test-strchrnul.c: New file.
29256         * string/Makefile (strop-tests): Add strchrnul.
29258         * po/it.po: Update from translation team.
29259         * po/es.po: Likewise.
29261 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29263         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29264         the three constants needed as parameters.  Drop the others.
29265         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29266         __m128i_strloadu_tolower.
29267         Create and initialize variable zero and use it in all the places
29268         where _mm_setzero_si128 was used.
29270         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29271         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29272         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29273         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29274         anymore.
29275         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29276         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29277         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29278         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29279         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29280         __mpranred, __mptan.
29281         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29282         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29283         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29284         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29285         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29286         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29287         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29288         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29289         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29291 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29293         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29294         redefine if SHARED.
29295         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29298         wide char related routines to wcsmbs subdir.
29300 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29302         [BZ #13344]
29303         * misc/sys/cdefs.h (__THROWNL): Define.
29304         * posix/unistd.h: Use __THREADNL instead of __THREAD
29305         for memory synchronization functions.
29307 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29309         [BZ #13349]
29310         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29311         doesn't exist.
29312         * manual/stdio.texi (Obstack Streams): Node removed.
29314 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29316         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29317         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29318         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29320         * math/math_private.h (math_force_eval): Allow non-addressable
29321         arguments.
29322         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29324 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29326         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29327         file is not needed.
29329         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29330         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29331         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29332         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29333         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29334         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29335         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29336         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29337         Add AVX variants.
29338         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29339         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29340         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29341         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29342         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29343         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29344         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29345         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29346         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29347         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29348         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29349         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29350         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29351         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29352         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29353         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29354         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29355         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29356         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29358         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29359         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29361         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29362         place.  Use VEX encoding when compiling for AVX.
29364 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29366         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29367         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29369         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29371 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29373         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29374         useless if() expression.
29375         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29376         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29377         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29378         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29379         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29380         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29381         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29382         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29383         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29384         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29385         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29386         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29387         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29388         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29389         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29390         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29391         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29392         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29393         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29395         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29397 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29399         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29400         condition.
29401         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29403 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29405         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29406         .text section.  Avoid duplicate constants.
29407         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29409         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29415         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29416         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29417         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29418         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29419         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29420         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29421         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29422         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29423         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29424         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29425         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29427         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29428         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29429         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29430         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29431         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29432         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29433         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29434         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29435         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29436         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29437         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29438         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29439         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29440         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29441         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29442         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29443         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29444         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29445         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29446         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29447         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29448         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29449         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29450         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29451         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29453 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29455         * sysdeps/x86_64/dla.h: Move to ...
29456         * sysdeps/x86_64/fpu/dla.h: ...here.
29457         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29458         situations.  Use __builtin_fma only for gcc 4.6 and up.
29460         * config.make.in: Add have-mfma4 entry.
29461         * configure.in: Substitute libc_cv_cc_fma4.
29462         * math/Makefile (dbl-only-routines): Add sincostab.
29463         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29464         Use __sincostab not sincos.
29465         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29466         name is a macro.
29467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29470         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29471         using __copysign.
29472         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29473         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29474         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29475         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29476         and __inv.
29477         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29478         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29479         __copysign.
29480         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29481         define aliases when function name is a macro.
29482         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29483         sysdeps/ieee754/dbl-64/sincos.tbl.
29484         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29485         fma4-enabled routines.
29486         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29487         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29488         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29489         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29490         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29491         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29492         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29493         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29494         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29495         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29496         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29497         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29498         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29499         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29500         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29501         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29502         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29503         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29504         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29505         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29506         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29507         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29508         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29509         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29510         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29511         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29513         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29514         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29515         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29517         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29518         rename.
29519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29520         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29521         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29522         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29524         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29525         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29528 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29530         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29532 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29534         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29536         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29537         prediction.
29538         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29540         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29541         Remove unused variable magic_bits.
29542         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29544         * string/strnlen.c: Define and use STRNLEN macro.
29545         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29546         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29547         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29548         * wcsmbs/wcslen.c: Define and use WCSLEN.
29549         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29550         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29551         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29552         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29553         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29554         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29555         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29557 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29560         strnlen-sse2-no-bsf.
29561         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29563         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29564         Add strnlen support.
29565         (USE_AS_STRNLEN): New macro.
29566         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29567         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29568         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29569         * sysdeps/x86_64/wcslen.S: New file.
29571 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29573         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29574         XMM-moves are used for copying on small sizes.
29576 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29578         * wcsmbs/Makefile (strop-tests): Add wcschr.
29579         * wcsmbs/test-wcschr.c: New file.
29580         * string/test-strchr.c: Update.
29581         Add wcschr support.
29582         (WIDE): New macro.
29584 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29586         * wcsmbs/Makefile (strop-tests): Add wcslen.
29587         * wcsmbs/test-wcslen.c: New file.
29588         * string/test-strlen.c: Update.
29589         Add wcslen support.
29590         (WIDE): New macro.
29592 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29594         * po/it.po: Update from translation team.
29596 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29598         * sysdeps/x86_64/wcscmp.S: Update.
29599         Fix wrong comparison semantics.
29600         wcscmp shall use signed comparison not unsigned.
29601         Don't use substraction to avoid overflow bug.
29602         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29603         * wcsmbc/wcscmp.c: Likewise.
29604         * string/test-strcmp.c: Likewise.
29605         Add new tests to check cases with negative values.
29607 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29609         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29610         * sysdeps/x86_64/dla.h: ...here.  New file.
29611         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29612         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29613         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29614         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29615         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29616         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29617         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29619         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29621 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29624         __ynl_finite aliases.
29626 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29630         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29631         define DLA_FMA.
29632         [DLA_FMA] (EMULV): Use DLA_FMA.
29633         [DLA_FMA] (MUL12): Use EMULV.
29634         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29635         that are not needed.
29636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29641         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29644 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29646         * math/s_nan.c: Undef __nan.
29647         * math/s_nanf.c: Undef __nanf.
29648         * math/s_nanl.c: Undef __nanl.
29649         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29650         "math_private.h".
29652 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29654         * math/s_catan.c: Add branch predictions.
29655         * math/s_catanf.c: Likewise.
29656         * math/s_catanh.c: Likewise.
29657         * math/s_catanhf.c: Likewise.
29658         * math/s_catanhl.c: Likewise.
29659         * math/s_catanl.c: Likewise.
29660         * math/s_cexp.c: Likewise.
29661         * math/s_cexpf.c: Likewise.
29662         * math/s_cexpl.c: Likewise.
29663         * math/s_clog.c: Likewise.
29664         * math/s_clog10.c: Likewise.
29665         * math/s_clog10f.c: Likewise.
29666         * math/s_clog10l.c: Likewise.
29667         * math/s_clogf.c: Likewise.
29668         * math/s_clogl.c: Likewise.
29669         * math/s_csqrt.c: Likewise.
29670         * math/s_csqrtf.c: Likewise.
29671         * math/s_csqrtl.c: Likewise.
29672         * math/s_ctanf.c: Likewise.
29673         * math/s_ctanh.c: Likewise.
29674         * math/s_ctanhf.c: Likewise.
29675         * math/s_ctanhl.c: Likewise.
29676         * math/s_ctanl.c: Likewise.
29678         * math/math_private.h: Define __nan, __nanf, __nanl.
29679         * math/s_cacosh.c: Include <math_private.h>.
29680         * math/s_cacoshl.c: Likewise.
29681         * math/s_casinh.c: Likewise.
29682         * math/s_casinhf.c: Likewise.
29683         * math/s_casinhl.c: Likewise.
29684         * math/s_ccos.c: Rely entire on ccosh.
29685         * math/s_ccosf.c: Rely entire on ccoshf.
29686         * math/s_ccosl.c: Rely entirely on ccoshl.
29687         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29688         Remove tests for FE_INVALID.
29689         * math/s_ccoshf.c: Likewise.
29690         * math/s_ccoshl.c: Likewise.
29691         * math/s_csin.c: Likewise.
29692         * math/s_csinf.c: Likewise.
29693         * math/s_csinh.c Likewise.
29694         * math/s_csinhf.c: Likewise.
29695         * math/s_csinhl.c: Likewise.
29696         * math/s_csinl.c: Likewise.
29697         * math/s_ctan.c: Likewise.
29698         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29699         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29702 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29705         compilation problems.
29707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29708         __builtin_expect.
29710 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29712         * sysdeps/i386/configure.in: Test for -mfma4 option.
29713         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29714         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29715         COMMON_CPUID_INDEX_80000001.
29716         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29717         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29718         use it if FMA3 is not supported.
29719         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29721         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29722         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29724 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29726         [BZ #12892]
29727         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29728         it would create a cycle with a link time dependency.
29730 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29732         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29733         instruction.
29734         * string/Makefile (strop-tests): Add rawmemchr.
29735         * string/test-rawmemchr.c: New file.
29737         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29738         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29739         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29740         when compiling str{,n}casecmp and when AVX is available.  Hook up
29741         new optimized code in initializers.
29743 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29745         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29746         __feraiseexcept instead of feraiseexcept.
29748 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29750         * math/math_private.h: Define defaults for libc_fetestexcept and
29751         libc_feupdateenv.
29752         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29753         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29754         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29755         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29756         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29757         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29758         libc_fetestexcept and libc_feupdateenv.
29760         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29761         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29762         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29763         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29764         libc_feholdexcept_setround.
29766         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29767         Add s_nearbyint-c and s_nearbyintf-c.
29768         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29769         nearbyintf inlines.
29770         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29771         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29772         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29773         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29775         * math/math_private.h: Define defaults for libc_fegetround,
29776         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29777         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29778         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29779         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29780         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29781         standard functions.
29782         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29783         Remove comments and hacks for old compiler versions.
29784         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29785         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29786         libc_feholdexceptl.
29788 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29790         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29791         (__feraiseexcept_renamed): Add __NTH.
29792         (feraiseexcept): Add __NTH.  Rename local variables to fix
29793         namespace violations.
29795 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29797         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29799         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29801         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29802         recently added interfaces.
29803         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29805         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29806         about macro parameter expansion.
29808         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29809         __NO_MATH_INLINES is defined.  Cleanups.
29811         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29812         and __floorf is target has SSE4.1.
29813         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29814         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29815         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29816         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29818         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29819         name.
29820         (floorf): Likewise.
29822         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29824 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29826         * misc/sys/cdefs.h: Fix last change.
29828         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29829         database lookup.
29831 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29833         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29835         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29837         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29838         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29840         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29841         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29843         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29844         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29845         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29846         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29847         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29848         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29849         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29850         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29851         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29852         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29853         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29854         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29855         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29856         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29858         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29859         ceil, ceilf, floor, floorf.
29861         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29862         Perform IRELATIVE relocations last.
29864         * elf/do-rel.h: Add another parameter nrelative, replacing the
29865         local variable with the same name.  Change name of the function
29866         to end in Rel or Rela (uppercase).
29867         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29868         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29869         elf_dynamic_do_##reloc function.
29871 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29873         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29874         is sufficient, at least on modern CPUs.
29876         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29878         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29879         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29881         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29882         __expl_finite.
29883         * math/bits/math-finite.h: Add entries for exp.
29884         * math/e_expl.c: Add __*_finite alias.
29885         * sysdeps/i386/fpu/e_exp.S: Likewise.
29886         * sysdeps/i386/fpu/e_expf.S: Likewise.
29887         * sysdeps/i386/fpu/e_expl.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29889         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29890         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29891         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29893         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29896         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29897         is sufficient, at least on modern CPUs.
29899         * ctype/ctype-info.c (__ctype_init): Define.
29900         * include/ctype.h (__ctype_init): Declare.
29901         (__ctype_b_loc): The variable is always initialized.
29902         (__ctype_toupper_loc): Likewise.
29903         (__ctype_tolower_loc): Likewise.
29904         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29905         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29907 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29909         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29911         * configure.in: Also look in $cxxmachine/include for C++ system
29912         headers.
29914 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29916         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29917         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29918         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29919         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29920         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29921         (USE_AS_WMEMCMP): New macro.
29922         Fixing indents.
29923         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29924         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29925         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29926         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29928         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29929         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29930         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29931         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29932         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29933         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29934         (USE_AS_WMEMCMP): New macro.
29935         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29936         * sysdeps/string/test-memcmp.c: Update.
29937         Fix simple_wmemcmp.
29938         Add new tests.
29939         * wcsmbs/wmemcmp.c: Update.
29940         (WMEMCMP): New macro.
29941         Fix overflow bug.
29943 2011-10-12  Andreas Jaeger  <aj@suse.de>
29945         [BZ #13268]
29946         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29948 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29950         * libio/iofwide.c (do_length): Avoid warning.
29952         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29954 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29956         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29958         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29959         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29960         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29961         * sysdeps/i386/i686/fpu/e_log.S: New file.
29962         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29963         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29965         * ctype/ctype.h: Add support for inlined isXXX functions when
29966         compiling C++ code.
29968 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29970         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29972         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29974 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29976         [BZ #13291]
29977         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29979 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29981         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29982         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29983         feraiseexcept.
29985         * sysdeps/x86_64/memrchr.S: Check for zero size.
29987         * string/stratcliff.c: Add memrchr tests.
29989 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29992         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29993         rawmemchr-sse2 rawmemchr-sse2-bsf.
29994         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29995         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29996         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29997         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29998         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29999         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30000         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30001         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30002         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30003         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30004         * string/memrchr.c (MEMRCHR): New macro.
30006 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30008         Add integration with gcc's -ffinite-math-only and optimize wrapper
30009         functions in libm.
30010         * Versions.def: Define GLIBC_2.15 version for libm.
30011         * math/Makefile (headers): Add bits/math-finite.h.
30012         * math/bits/math-finite.h: New file.
30013         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30014         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30015         * math/e_acoshl.c: Add __*_finite alias.
30016         * math/e_acosl.c: Likewise.
30017         * math/e_asinl.c: Likewise.
30018         * math/e_atan2l.c: Likewise.
30019         * math/e_atanhl.c: Likewise.
30020         * math/e_coshl.c: Likewise.
30021         * math/e_exp10.c: Likewise.
30022         * math/e_exp10f.c: Likewise.
30023         * math/e_exp10l.c: Likewise.
30024         * math/e_exp2l.c: Likewise.
30025         * math/e_fmodl.c: Likewise.
30026         * math/e_gammal_r.c: Likewise.
30027         * math/e_hypotl.c: Likewise.
30028         * math/e_j0l.c: Likewise.
30029         * math/e_j1l.c: Likewise.
30030         * math/e_jnl.c: Likewise.
30031         * math/e_lgammal_r.c: Likewise.
30032         * math/e_log10l.c: Likewise.
30033         * math/e_log2l.c: Likewise.
30034         * math/e_logl.c: Likewise.
30035         * math/e_powl.c: Likewise.
30036         * math/e_sinhl.c: Likewise.
30037         * math/e_sqrtl.c: Likewise.
30038         * math/e_scalb.c: Completely rewritten and optimized.
30039         * math/e_scalbf.c: Likewise.
30040         * math/e_scalbl.c: Likewise.
30041         * math/w_acos.c: Likewise.
30042         * math/w_acosf.c: Likewise.
30043         * math/w_acosl.c: Likewise.
30044         * math/w_acosh.c: Likewise.
30045         * math/w_acoshf.c: Likewise.
30046         * math/w_acoshl.c: Likewise.
30047         * math/w_asin.c: Likewise.
30048         * math/w_asinf.c: Likewise.
30049         * math/w_asinl.c: Likewise.
30050         * math/w_atan2.c: Likewise.
30051         * math/w_atan2f.c: Likewise.
30052         * math/w_atan2l.c: Likewise.
30053         * math/w_atanh.c: Likewise.
30054         * math/w_atanhf.c: Likewise.
30055         * math/w_atanhl.c: Likewise.
30056         * math/w_exp10.c: Likewise.
30057         * math/w_exp10f.c: Likewise.
30058         * math/w_exp10l.c: Likewise.
30059         * math/w_fmod.c: Likewise.
30060         * math/w_fmodf.c: Likewise.
30061         * math/w_fmodl.c: Likewise.
30062         * math/w_j0.c: Likewise.
30063         * math/w_j0f.c: Likewise.
30064         * math/w_j0l.c: Likewise.
30065         * math/w_j1.c: Likewise.
30066         * math/w_j1f.c: Likewise.
30067         * math/w_j1l.c: Likewise.
30068         * math/w_jn.c: Likewise.
30069         * math/w_jnf.c: Likewise.
30070         * math/w_log.c: Likewise.
30071         * math/w_logf.c: Likewise.
30072         * math/w_logl.c: Likewise.
30073         * math/w_log10.c: Likewise.
30074         * math/w_log10f.c: Likewise.
30075         * math/w_log10l.c: Likewise.
30076         * math/w_log2.c: Likewise.
30077         * math/w_log2f.c: Likewise.
30078         * math/w_log2l.c: Likewise.
30079         * math/w_pow.c: Likewise.
30080         * math/w_powf.c: Likewise.
30081         * math/w_powl.c: Likewise.
30082         * math/w_remainder.c: Likewise.
30083         * math/w_remainderf.c: Likewise.
30084         * math/w_remainderl.c: Likewise.
30085         * math/w_scalb.c: Likewise.
30086         * math/w_scalbf.c: Likewise.
30087         * math/w_scalbl.c: Likewise.
30088         * math/w_sqrt.c: Likewise.
30089         * math/w_sqrtf.c: Likewise.
30090         * math/w_sqrtl.c: Likewise.
30091         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30092         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30093         used.
30094         * math/math_private.h: Declare __kernel_standard_f.
30095         * math/w_cosh.c: Remove cruft and optimize a bit.
30096         * math/w_coshf.c: Likewise.
30097         * math/w_coshl.c: Likewise.
30098         * math/w_exp2.c: Likewise.
30099         * math/w_exp2f.c: Likewise.
30100         * math/w_exp2l.c: Likewise.
30101         * math/w_hypot.c: Likewise.
30102         * math/w_hypotf.c: Likewise.
30103         * math/w_hypotl.c: Likewise.
30104         * math/w_lgamma.c: Likewise.
30105         * math/w_lgamma_r.c: Likewise.
30106         * math/w_lgammaf.c: Likewise.
30107         * math/w_lgammaf_r.c: Likewise.
30108         * math/w_lgammal.c: Likewise.
30109         * math/w_lgammal_r.c: Likewise.
30110         * math/w_sinh.c: Likewise.
30111         * math/w_sinhf.c: Likewise.
30112         * math/w_sinhl.c: Likewise.
30113         * math/w_tgamma.c: Likewise.
30114         * math/w_tgammaf.c: Likewise.
30115         * math/w_tgammal.c: Likewise.
30116         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30117         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30118         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30119         Minor optimizations.  Pretty printing.  Remove cruft.
30120         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30121         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30122         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30123         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30124         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30125         * sysdeps/i386/fpu/e_asin.S: Likewise.
30126         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30127         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30128         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30129         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30130         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30131         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30132         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30133         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30134         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30135         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30136         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30137         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30138         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30139         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30140         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30141         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30142         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30143         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30144         * sysdeps/i386/fpu/e_log.S: Likewise.
30145         * sysdeps/i386/fpu/e_log10.S: Likewise.
30146         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30147         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30148         * sysdeps/i386/fpu/e_log2.S: Likewise.
30149         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30150         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30151         * sysdeps/i386/fpu/e_logf.S: Likewise.
30152         * sysdeps/i386/fpu/e_logl.S: Likewise.
30153         * sysdeps/i386/fpu/e_pow.S: Likewise.
30154         * sysdeps/i386/fpu/e_powf.S: Likewise.
30155         * sysdeps/i386/fpu/e_powl.S: Likewise.
30156         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30157         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30158         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30159         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30160         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30161         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30162         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30163         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30164         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30165         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30166         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30168         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30169         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30170         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30171         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30172         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30173         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30176         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30178         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30179         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30180         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30181         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30182         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30183         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30184         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30185         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30186         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30187         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30188         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30189         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30190         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30191         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30192         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30193         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30194         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30195         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30196         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30197         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30198         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30199         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30200         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30201         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30202         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30203         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30204         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30205         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30206         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30207         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30208         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30209         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30210         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30211         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30212         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30213         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30214         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30215         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30216         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30217         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30218         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30219         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30220         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30221         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30222         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30223         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30224         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30225         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30226         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30229         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30230         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30233         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30235         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30236         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30239         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30240         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30241         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30242         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30243         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30244         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30245         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30246         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30247         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30249         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30250         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30251         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30253         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30254         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30255         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30256         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30257         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30258         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30259         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30260         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30261         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30262         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30263         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30264         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30265         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30266         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30267         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30268         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30269         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30270         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30271         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30272         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30273         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30274         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30275         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30276         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30277         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30278         (__isnanf): Likewise.
30279         (__isinf_ns): Likewise.
30280         (__isinf_nsf): Likewise.
30281         (__finite): Likewise.
30282         (__finitef): Likewise.
30283         (__ieee754_sqrt): Define as macro.
30284         (__ieee754_sqrtf): Define as macro.
30285         (__ieee754_sqrtl): Define as macro.
30286         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30287         inlined copy.
30288         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30289         __FINITE_MATH_ONLY__ consistent.
30290         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30292 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30294         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30295         of rawmemchr.
30297         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30299 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30301         * po/ja.po: Update from translation team.
30303 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30305         * locale/programs/locarchive.c (prepare_address_space): New function.
30306         (create_archive, enlarge_archive, open_archive): Use it.
30308         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30309         inside [SHARED], where it is used.
30311         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30313         * nss/getent.c (netgroup_keys): Remove unused variable.
30314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30316 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30318         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30319         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30320         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30321         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30322         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30323         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30324         * math/Makefile (libm-calls): Add s_isinf_ns.
30325         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30326         * math/multc3.c: Likewise.
30327         * math/s_casin.c: Likewise.
30328         * math/s_casinf.c: Likewise.
30329         * math/s_casinl.c: Likewise.
30330         * math/s_ccos.c: Likewise.
30331         * math/s_ccosf.c: Likewise.
30332         * math/s_ccosl.c: Likewise.
30333         * math/s_ctan.c: Likewise.
30334         * math/s_ctanf.c: Likewise.
30335         * math/s_ctanh.c: Likewise.
30336         * math/s_ctanhf.c: Likewise.
30337         * math/s_ctanhl.c: Likewise.
30338         * math/s_ctanl.c: Likewise.
30339         * math/w_fmod.c: Likewise.
30340         * math/w_fmodf.c: Likewise.
30341         * math/w_fmodl.c: Likewise.
30342         * math/w_remainder.c: Likewise.
30343         * math/w_remainderf.c: Likewise.
30344         * math/w_remainderl.c: Likewise.
30345         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30346         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30347         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30349         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30350         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30351         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30352         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30354         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30355         of the number.
30356         * stdio-common/printf_fphex.c: Likewise.
30357         * stdio-common/printf_size.c: Likewise.
30359         * math/e_exp10.c: Include math_private.h using <...> not "...".
30360         * math/e_exp10f.c: Likewise.
30361         * math/e_exp10l.c: Likewise.
30362         * math/e_exp2l.c: Likewise.
30363         * math/e_j0l.c: Likewise.
30364         * math/e_j1l.c: Likewise.
30365         * math/e_jnl.c: Likewise.
30366         * math/e_lgammal_r.c: Likewise.
30367         * math/e_rem_pio2l.c: Likewise.
30368         * math/e_scalb.c: Likewise.
30369         * math/e_scalbf.c: Likewise.
30370         * math/e_scalbl.c: Likewise.
30371         * math/k_cosl.c: Likewise.
30372         * math/k_sinl.c: Likewise.
30373         * math/k_tanl.c: Likewise.
30374         * math/s_cacoshf.c: Likewise.
30375         * math/s_catan.c: Likewise.
30376         * math/s_catanf.c: Likewise.
30377         * math/s_catanh.c: Likewise.
30378         * math/s_catanhf.c: Likewise.
30379         * math/s_catanhl.c: Likewise.
30380         * math/s_catanl.c: Likewise.
30381         * math/s_ccosh.c: Likewise.
30382         * math/s_ccoshf.c: Likewise.
30383         * math/s_ccoshl.c: Likewise.
30384         * math/s_cexp.c: Likewise.
30385         * math/s_cexpf.c: Likewise.
30386         * math/s_cexpl.c: Likewise.
30387         * math/s_clog.c: Likewise.
30388         * math/s_clog10.c: Likewise.
30389         * math/s_clog10f.c: Likewise.
30390         * math/s_clog10l.c: Likewise.
30391         * math/s_clogf.c: Likewise.
30392         * math/s_clogl.c: Likewise.
30393         * math/s_csin.c: Likewise.
30394         * math/s_csinf.c: Likewise.
30395         * math/s_csinh.c: Likewise.
30396         * math/s_csinhf.c: Likewise.
30397         * math/s_csinhl.c: Likewise.
30398         * math/s_csinl.c: Likewise.
30399         * math/s_csqrt.c: Likewise.
30400         * math/s_csqrtf.c: Likewise.
30401         * math/s_csqrtl.c: Likewise.
30402         * math/s_ctan.c: Likewise.
30403         * math/s_ctanf.c: Likewise.
30404         * math/s_ctanh.c: Likewise.
30405         * math/s_ctanhf.c: Likewise.
30406         * math/s_ctanhl.c: Likewise.
30407         * math/s_ctanl.c: Likewise.
30408         * math/s_ldexp.c: Likewise.
30409         * math/s_ldexpf.c: Likewise.
30410         * math/s_ldexpl.c: Likewise.
30411         * math/s_significand.c: Likewise.
30412         * math/s_significandf.c: Likewise.
30413         * math/s_significandl.c: Likewise.
30414         * math/w_acos.c: Likewise.
30415         * math/w_acosf.c: Likewise.
30416         * math/w_acosh.c: Likewise.
30417         * math/w_acoshf.c: Likewise.
30418         * math/w_acoshl.c: Likewise.
30419         * math/w_acosl.c: Likewise.
30420         * math/w_asin.c: Likewise.
30421         * math/w_asinf.c: Likewise.
30422         * math/w_asinl.c: Likewise.
30423         * math/w_atan2.c: Likewise.
30424         * math/w_atan2f.c: Likewise.
30425         * math/w_atan2l.c: Likewise.
30426         * math/w_atanh.c: Likewise.
30427         * math/w_atanhf.c: Likewise.
30428         * math/w_atanhl.c: Likewise.
30429         * math/w_cosh.c: Likewise.
30430         * math/w_coshf.c: Likewise.
30431         * math/w_coshl.c: Likewise.
30432         * math/w_dremf.c: Likewise.
30433         * math/w_exp10.c: Likewise.
30434         * math/w_exp10f.c: Likewise.
30435         * math/w_exp10l.c: Likewise.
30436         * math/w_exp2.c: Likewise.
30437         * math/w_exp2f.c: Likewise.
30438         * math/w_fmod.c: Likewise.
30439         * math/w_fmodf.c: Likewise.
30440         * math/w_fmodl.c: Likewise.
30441         * math/w_hypot.c: Likewise.
30442         * math/w_hypotf.c: Likewise.
30443         * math/w_hypotl.c: Likewise.
30444         * math/w_j0.c: Likewise.
30445         * math/w_j0f.c: Likewise.
30446         * math/w_j0l.c: Likewise.
30447         * math/w_j1.c: Likewise.
30448         * math/w_j1f.c: Likewise.
30449         * math/w_j1l.c: Likewise.
30450         * math/w_jn.c: Likewise.
30451         * math/w_jnf.c: Likewise.
30452         * math/w_jnl.c: Likewise.
30453         * math/w_lgamma.c: Likewise.
30454         * math/w_lgamma_r.c: Likewise.
30455         * math/w_lgammaf.c: Likewise.
30456         * math/w_lgammaf_r.c: Likewise.
30457         * math/w_lgammal.c: Likewise.
30458         * math/w_lgammal_r.c: Likewise.
30459         * math/w_log.c: Likewise.
30460         * math/w_log10.c: Likewise.
30461         * math/w_log10f.c: Likewise.
30462         * math/w_log10l.c: Likewise.
30463         * math/w_log2.c: Likewise.
30464         * math/w_log2f.c: Likewise.
30465         * math/w_log2l.c: Likewise.
30466         * math/w_logf.c: Likewise.
30467         * math/w_logl.c: Likewise.
30468         * math/w_pow.c: Likewise.
30469         * math/w_powf.c: Likewise.
30470         * math/w_powl.c: Likewise.
30471         * math/w_remainder.c: Likewise.
30472         * math/w_remainderf.c: Likewise.
30473         * math/w_remainderl.c: Likewise.
30474         * math/w_scalb.c: Likewise.
30475         * math/w_scalbf.c: Likewise.
30476         * math/w_scalbl.c: Likewise.
30477         * math/w_sinh.c: Likewise.
30478         * math/w_sinhf.c: Likewise.
30479         * math/w_sinhl.c: Likewise.
30480         * math/w_sqrt.c: Likewise.
30481         * math/w_sqrtf.c: Likewise.
30482         * math/w_sqrtl.c: Likewise.
30483         * math/w_tgamma.c: Likewise.
30484         * math/w_tgammaf.c: Likewise.
30485         * math/w_tgammal.c: Likewise.
30487         * po/ja.po: Update from translation team.
30489 2011-09-29  Andreas Jaeger  <aj@suse.de>
30491         [BZ #13179]
30492         * sunrpc/netname.c (netname2host): Fix logic.
30494         [BZ #6779]
30495         [BZ #6783]
30496         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30497         correctly.
30498         * math/w_remainder.c (__remainder): Likewise.
30499         * math/w_remainderf.c (__remainderf): Likewise.
30500         * math/libm-test.inc (remainder_test): Add test cases.
30502 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30504         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30505         sdiv_qrnnd.
30507 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30509         * string/test-memcmp.c: Avoid unncessary #defines.
30510         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30512 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30514         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30515         Use new sse2 version for core i3 - i7 as it's faster
30516         than sse42 version.
30517         (bit_Prefer_PMINUB_for_stringop): New.
30518         * sysdeps/x86_64/rawmemchr.S: Update.
30519         Replace with faster SSE2 version.
30520         * sysdeps/x86_64/memrchr.S: New file.
30521         * sysdeps/x86_64/memchr.S: Update.
30522         Replace with faster SSE2 version.
30524 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30526         * elf/dl-load.c (lose): Add cast to avoid warning.
30528 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30530         * po/ca.po: Update from translation team.
30532         * inet/getnetgrent_r.c: Hook up nscd.
30533         * nscd/Makefile (routines): Add nscd_netgroup.
30534         (nscd-modules): Add netgroupcache.
30535         (CFLAGS-netgroupcache.c): Define.
30536         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30537         (cache_search): Add const to second parameter.
30538         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30539         INNETGR.
30540         (dbs): Add netgrdb entry.
30541         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30542         (verify_persistent_db): Handle netgrdb.
30543         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30544         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30545         GETFDNETGR.
30546         (netgroup_response_header): Define.
30547         (innetgroup_response_header): Define.
30548         (datahead): Add netgroup_response_header and innetgroup_response_header
30549         elements.
30550         * nscd/nscd.conf: Add entries for netgroup cache.
30551         * nscd/nscd.h (dbtype): Add netgrdb.
30552         (_PATH_NSCD_NETGROUP_DB): Define.
30553         (netgroup_iov_disabled): Declare.
30554         (xmalloc, xcalloc, xrealloc): Move declarations here.
30555         (cache_search): Adjust prototype.
30556         Add netgroup-related prototypes.
30557         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30558         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30559         (__nscd_innetgr): Declare.
30560         * nscd/selinux.c (perms): Use access_vector_t as element type and
30561         add netgroup-related initializers.
30562         * nscd/netgroupcache.c: New file.
30563         * nscd/nscd_netgroup.c: New file.
30564         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30565         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30566         For four parameters use innetgr.
30567         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30568         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30569         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30570         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30572         * nscd/connections.c (register_traced_file): Don't register file
30573         for disabled databases.
30575 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30577         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30579         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30580         from tree and freeing node.
30582 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30584         * nss/nsswitch.c (__nss_database_lookup): Handle
30585         nss_parse_service_list out of memory case.
30587 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30589         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30590         out of memory case.
30592 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30594         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30595         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30596         pass it down.
30597         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30598         elf_machine_rela, elf_machine_lazy_rel.
30599         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30600         (ELF_DYNAMIC_DO_REL): Likewise.
30601         (ELF_DYNAMIC_DO_RELA): Likewise.
30602         (ELF_DYNAMIC_RELOCATE): Likewise.
30603         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30604         to ELF_DYNAMIC_DO_REL.
30605         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30606         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30607         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30608         elf_machine_rela.
30609         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30610         skip_ifunc, don't call ifunc function if non-zero.
30611         (elf_machine_rela): Likewise.
30612         (elf_machine_lazy_rel): Likewise.
30613         (elf_machine_lazy_rela): Likewise.
30614         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30615         (elf_machine_lazy_rel): Likewise.
30616         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30617         Likewise.
30618         (elf_machine_lazy_rel): Likewise.
30619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30620         Likewise.
30621         (elf_machine_lazy_rel): Likewise.
30622         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30623         (elf_machine_lazy_rel): Likewise.
30624         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30625         (elf_machine_lazy_rel): Likewise.
30626         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30627         (elf_machine_lazy_rel): Likewise.
30628         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30629         (elf_machine_lazy_rel): Likewise.
30630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30631         (elf_machine_lazy_rel): Likewise.
30632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30633         (elf_machine_lazy_rel): Likewise.
30635 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30637         * nss/nss_files/files-init.c (_nss_files_init): Use static
30638         initialization for all the *_traced_file variables.
30640 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30642         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30644 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30646         [BZ #13226]
30647         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30649 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30651         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30652         Reread the line before reparsing it.
30654 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30656         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30658 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30659             Maxim Kuvyrkov  <maxim@codesourcery.com>
30660             Joseph Myers  <joseph@codesourcery.com>
30662         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30663         if needed for __stack_chk_guard.
30665 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30667         * sysdeps/posix/spawni.c (script_execute): Always define it.
30668         It will be optimized away if unused.
30669         (maybe_script_execute): New function.
30670         (__spawni): Call it.
30672         * Makerules: Don't include tls.make.
30673         (config-tls): Always set to thread.
30674         * tls.make.c: File removed.
30676 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30678         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30679         * config.make.in (CPPFLAGS-config): New substituted variable.
30681 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30683         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30685         [BZ #13192]
30686         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30687         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30689 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30691         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30692         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30694         (CALL_FAIL): Likewise.
30695         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30696         (CALL_FAIL): Macro removed.
30697         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30699 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30701         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30702         for __FINITE_MATH_ONLY__ == 1.
30704 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30706         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30707         __ieee754_sqrt instead of sqrt.
30708         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30709         __ieee754_sqrtf instead of sqrtf.
30710         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30711         __floorf instead of floorf.
30712         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30713         __floorf, __truncf instead of floorf, truncf.
30715 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30717         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30719         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30720         __extern_always_inline.
30721         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30722         32-bit.
30724 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30726         * elf/rtld.c (dl_main): Also relocate in dependency order when
30727         doing symbol dependency testing.
30729 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30732         Always define `refsym'.
30734 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30736         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30737         (__FD_ELT): Renamed from __FDELT.
30738         * misc/bits/select2.h (__FD_ELT): Likewise.
30739         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30740         __FD_MASK instead of __FDELT, __FDMASK.
30741         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30742         Likewise.
30743         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30744         Likewise.
30746         * elf/Makefile (gen-ldd): Fix pattern.
30748         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30749         (init_tls): Likewise.
30751 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30753         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30755 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30757         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30758         `struct cmsghdr *' instead of `void *'.
30759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30760         Likewise.
30762 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30764         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30765         if non-absolute.
30766         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30767         ldd_rewrite_script.
30769 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30771         * configure.in: Remove --with-tls option.
30772         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30773         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30774         out in case it is missing.
30775         * sysdeps/ia64/elf/configure.in: Likewise.
30776         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30777         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30778         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30779         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30780         * sysdeps/sh/elf/configure.in: Likewise.
30781         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30782         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30783         * sysdeps/x86_64/elf/configure.in: Likewise.
30784         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30785         * sysdeps/mach/hurd/tls.h: Likewise.
30787         [BZ #13067]
30788         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30790         [BZ #13090]
30791         * configure.in: Fix use of AC_INIT.
30793         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30795 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30797         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30798         __set_errno.
30799         * malloc/hooks.c: Likewise.
30801         [BZ #11929]
30802         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30803         variables statically.
30804         (narenas): Initialize.
30805         (list_lock): Initialize.
30806         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30807         initializtion of main_arena and list_lock.  Small cleanups.
30808         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30809         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30810         Add initializers to main_arena and mp_.
30811         (malloc_state): Remove pagesize member.  Change all users to use
30812         GLRO(dl_pagesize).
30814         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30815         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30816         is always initialized.
30818         * malloc/malloc.c: Removed unused configurations and dead code.
30819         * malloc/arena.c: Likewise.
30820         * malloc/hooks.c: Likewise.
30821         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30823         * include/tls.h: Removed.  USE___THREAD must always be defined.
30824         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30825         * elf/dl-libc.c: Likewise.
30826         * elf/dl-tsd.c: Likewise.
30827         * include/errno.h: Likewise.
30828         * include/netdb.h: Likewise.
30829         * include/resolv.h: Likewise.
30830         * inet/herrno-loc.c: Likewise.
30831         * inet/herrno.c: Likewise.
30832         * malloc/arena.c: Likewise.
30833         * malloc/hooks.c: Likewise.
30834         * malloc/malloc.c: Likewise.
30835         * resolv/res-state.c: Likewise.
30836         * resolv/res_libc.c: Likewise.
30837         * sysdeps/i386/dl-machine.h: Likewise.
30838         * sysdeps/ia64/dl-machine.h: Likewise.
30839         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30840         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30841         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30842         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30843         * sysdeps/sh/dl-machine.h: Likewise.
30844         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30845         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30846         * sysdeps/unix/i386/sysdep.S: Likewise.
30847         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30848         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30853         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30857         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30858         * sysdeps/x86_64/dl-machine.h: Likewise.
30859         * tls.make.c: Likewise.
30861         * configure.in: Remove --with-__thread option.  Make tests for
30862         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30863         tls_model attribute fail if no support is available.  Remove
30864         USE_IN_LIBIO.
30865         * Makeconfig: Adjust for dropped configure option.  All features are
30866         now mandatory.
30867         * Makerules: Likewise.
30868         * Versions.def: Likewise.
30869         * argp/argp-fmtstream.c: Likewise.
30870         * argp/argp-fmtstream.h: Likewise.
30871         * argp/argp-help.c: Likewise.
30872         * assert/assert.c: Likewise.
30873         * config.h.in: Likewise.
30874         * config.make.in: Likewise.
30875         * configure: Likewise.
30876         * configure.in: Likewise.
30877         * csu/Versions: Likewise.
30878         * csu/init.c: Likewise.
30879         * elf/tst-audit2.c: Likewise.
30880         * elf/tst-tls10.c: Likewise.
30881         * elf/tst-tls10.h: Likewise.
30882         * elf/tst-tls11.c: Likewise.
30883         * elf/tst-tls12.c: Likewise.
30884         * elf/tst-tls14.c: Likewise.
30885         * elf/tst-tlsmod11.c: Likewise.
30886         * elf/tst-tlsmod12.c: Likewise.
30887         * elf/tst-tlsmod13.c: Likewise.
30888         * elf/tst-tlsmod13a.c: Likewise.
30889         * elf/tst-tlsmod14a.c: Likewise.
30890         * elf/tst-tlsmod15b.c: Likewise.
30891         * elf/tst-tlsmod16a.c: Likewise.
30892         * elf/tst-tlsmod16b.c: Likewise.
30893         * elf/tst-tlsmod7.c: Likewise.
30894         * elf/tst-tlsmod8.c: Likewise.
30895         * elf/tst-tlsmod9.c: Likewise.
30896         * gmon/gmon.c: Likewise.
30897         * grp/fgetgrent_r.c: Likewise.
30898         * grp/putgrent.c: Likewise.
30899         * hurd/fopenport.c: Likewise.
30900         * include/libc-symbols.h: Likewise.
30901         * include/tls.h: Likewise.
30902         * intl/gettextP.h: Likewise.
30903         * intl/loadinfo.h: Likewise.
30904         * locale/global-locale.c: Likewise.
30905         * locale/localeinfo.h: Likewise.
30906         * mach/devstream.c: Likewise.
30907         * malloc/arena.c: Likewise.
30908         * malloc/set-freeres.c: Likewise.
30909         * misc/err.c: Likewise.
30910         * misc/getttyent.c: Likewise.
30911         * misc/mntent_r.c: Likewise.
30912         * posix/getopt.c: Likewise.
30913         * posix/wordexp.c: Likewise.
30914         * pwd/fgetpwent_r.c: Likewise.
30915         * resolv/Versions: Likewise.
30916         * resolv/res_hconf.c: Likewise.
30917         * shadow/fgetspent_r.c: Likewise.
30918         * shadow/putspent.c: Likewise.
30919         * stdio-common/printf_fphex.c: Likewise.
30920         * stdio-common/tmpfile.c: Likewise.
30921         * stdlib/abort.c: Likewise.
30922         * stdlib/fmtmsg.c: Likewise.
30923         * sunrpc/auth_unix.c: Likewise.
30924         * sunrpc/clnt_perr.c: Likewise.
30925         * sunrpc/clnt_tcp.c: Likewise.
30926         * sunrpc/clnt_udp.c: Likewise.
30927         * sunrpc/clnt_unix.c: Likewise.
30928         * sunrpc/openchild.c: Likewise.
30929         * sunrpc/svc_simple.c: Likewise.
30930         * sunrpc/svc_tcp.c: Likewise.
30931         * sunrpc/svc_udp.c: Likewise.
30932         * sunrpc/svc_unix.c: Likewise.
30933         * sunrpc/xdr.c: Likewise.
30934         * sunrpc/xdr_array.c: Likewise.
30935         * sunrpc/xdr_rec.c: Likewise.
30936         * sunrpc/xdr_ref.c: Likewise.
30937         * sunrpc/xdr_stdio.c: Likewise.
30939 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30941         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30943 2011-07-03  Andreas Jaeger  <aj@suse.de>
30945         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30946         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30947         regenerate with gen-libm-tests.pl.
30949 2010-05-12  Petr Baudis  <pasky@suse.cz>
30951         [BZ #11589]
30952         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30953         around j0() zero points by switching to j1().
30954         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30955         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30957         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30959 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30961         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30962         instead of 0.
30963         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30964         instead of 0.
30965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30966         Patch in part by Pavel Roskin <proski@gnu.org>.
30968         [BZ #13138]
30969         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30970         realloc.
30971         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30972         Free memory block if necessary.
30974         [BZ #12847]
30975         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30976         be NULL.  Don't lock in this case.
30978 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30980         * elf/elf.h (ELFOSABI_GNU): New macro.
30981         (ELFOSABI_LINUX): Define to that.
30983 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30985         * string/strncat.c (strncat): Undef the symbol in case it has been
30986         defined in bits/string.h.
30988 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30990         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30992         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30993         link map.
30995 2011-08-17  Andreas Jaeger  <aj@suse.de>
30997         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30999 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31000             Ian Lance Taylor  <iant@google.com>
31002         * math/libm-test.inc (lround_test): New testcase.
31003         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31005 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31007         * Makefile: Remove support for automatic cvs check-ins.
31008         * Makerules: Likewise.
31009         * config.make.in: Likewise.
31010         * configure.in: Likewise.
31011         * intl/Makefile: Likewise.
31012         * locale/Makefile: Likewise.
31013         * po/Makefile: Likewise.
31014         * posix/Makefile: Likewise.
31015         * sysdeps/gnu/Makefile: Likewise.
31016         * sysdeps/mach/hurd/Makefile: Likewise.
31017         * sysdeps/sparc/sparc32/Makefile: Likewise.
31019         [BZ #13118]
31020         * posix/Makefile (bug-regex32-ENV): Define.
31021         Patch by John Stanley <jpsinthemix@verizon.net>.
31023         * misc/Makefile (headers): Add bits/select2.h.
31024         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31025         * misc/bits/select2.h: New file.
31026         * include/bits/select2.h: New file.
31027         * debug/Makefile (routines): Add fdelt_chk.
31028         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31029         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31030         FD_ISSET.
31031         * debug/fdelt_chk.c: New file.
31033         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31034         * wcsmbs/test-wmemcmp.c: Likewise.
31035         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31036         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31038 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31040         * string/Makefile (strop-tests): Add memcmp.
31041         * string/test-wmemcmp.c: New file.
31042         * string/test-memcmp.c: Add wmemcmp support.
31044 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31046         [BZ #13153]
31047         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31048         2011-07-19 change.
31050         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31051         garbage value in a __mach_port_mod_refs call in the cases of the
31052         task-self and thread-self ports.
31054 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31056         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31058 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31060         * elf/dl-load.c (lose): Check for non-null L.
31062 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31064         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31066         * elf/dl-libc.c (dlerror_run): Pass back error code from
31067         dl_catch_error.
31069         [BZ #13123]
31070         * elf/dl-load.c (lose): Free l_origin if it is valid.
31072         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31073         names.
31074         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31075         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31076         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31077         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31078         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31079         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31081 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31083         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31084         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31085         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31086         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31087         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31088         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31089         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31090         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31091         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31092         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31094 2011-08-15  Alan Modra  <amodra@gmail.com>
31096         [BZ #13092]
31097         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31098         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31099         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31100         ppc_mcount to static-only-routines.
31101         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31102         __mcount_internal.
31103         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31104         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31106 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31108         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31109         for finite and infinity parameters.
31111 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31114         and add nop instructions for throughput optimization.
31115         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31117 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31119         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31120         aligned copy for power7 with vector-scalar instructions.
31121         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31123 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31126         AVX check.
31128 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31130         [BZ #13144]
31131         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31132         last change.
31134 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31136         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31137         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31138         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31139         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31140         clock_gettime.
31142 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31144         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31145         Forgot to demangle the pointer.
31147         * sysdeps/i386/sysdep.h: Define atom_text_section.
31148         * sysdeps/x86_64/sysdep.h: Likewise.
31149         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31150         section with atom_text_section.
31151         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31152         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31153         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31154         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31155         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31157         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31158         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31159         already be defined.  Change to take two parameters and don't assign
31160         result to variable.  Adjust all users.
31161         Define INTERNAL_GETTIME if not already defined.
31162         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31163         call.
31164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31165         HAVE_CLOCK_GETTIME_VSYSCALL.
31166         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31168         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31169         gettimeofday vsyscall, just use time.
31171 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31174         <errno.h>.
31176 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31178         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31179         syscall on x86-64.
31180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31181         syscall.
31182         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31183         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31184         syscall if possible.
31186 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31188         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31189         e_ident.  Don't pass to find_mapsXX.
31190         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31192 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31195         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31196         * sysdeps/x86_64/multiarch/strchr.S: Update.
31197         Check bit_slow_BSF bit.
31198         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31199         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31200         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31202 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31204         [BZ #13134]
31205         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31206         before glibc 2.15.
31207         (tryshell): Define.
31208         (__spawni): Change last parameter to be flag.  Test
31209         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31210         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31211         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31212         * posix/spawni.c: Likewise.
31213         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31214         * posix/spawnp.c: Likewise.  Change normal version to use
31215         SPAWN_XFLAGS_USE_PATH.
31216         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31217         SPAWN_XFLAGS_TRY_SHELL.
31219         [BZ #13150]
31220         * posix/glob.h: Remove gcc 1.x support.
31222         [BZ #13068]
31223         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31225 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31228         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31229         strrchr-sse2-bsf
31230         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31231         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31232         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31233         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31234         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31235         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31237 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31239         * sysdeps/x86_64/wcscmp.S: New file.
31241         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31242         wcscmp-c wcscmp-sse2
31243         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31244         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31245         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31246         * wcsmbs/wcscmp.c: Allow renaming.
31248 2011-09-05  David S. Miller  <davem@davemloft.net>
31250         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31251         stack slot, rather than the struct return pointer slot.
31252         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31253         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31255         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31257 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31259         * po/ja.po: Update from translation team.
31261         [BZ #13144]
31262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31263         kernel in 64-bit binaries.
31265 2011-09-01  David S. Miller  <davem@davemloft.net>
31267         * elf/elf.h (HWCAP_SPARC_*): Move to..
31268         * sysdeps/sparc/sysdep.h: this new file and add new values.
31269         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31270         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31271         _DL_HWCAP_COUNT to 24.
31272         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31273         entries.
31274         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31275         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31276         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31278         instead of magic constants.
31279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31281 2011-08-31  David S. Miller  <davem@davemloft.net>
31283         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31285         Reimplement to do errno handling inline.
31286         (SYSCALL_ERROR_HANDLER): New macro.
31287         (__SYSCALL_STRING): Do not do errno handling in asm.
31288         (__CLONE_SYSCALL_STRING): Delete.
31289         (__INTERNAL_SYSCALL_STRING): Delete.
31290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31291         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31292         (PSEUDO): Reimplement to do errno handling inline.
31293         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31294         (SYSCALL_ERROR_HANDLER): New macro.
31295         (__SYSCALL_STRING): Do not do errno handling in asm.
31296         (__CLONE_SYSCALL_STRING): Delete.
31297         (__INTERNAL_SYSCALL_STRING): Delete.
31298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31299         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31300         i386.
31301         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31302         (inline_syscall*): Add 'err' argument.
31303         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31304         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31305         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31306         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31308         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31309         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31311 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31313         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31315 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31317         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31318         directive.
31320 2011-08-24  David S. Miller  <davem@davemloft.net>
31322         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31324 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31326         * elf/Makefile: Add rules to build and run unload8 test.
31327         * elf/unload8.c: New file.
31328         * elf/unload8mod1.c: New file.
31329         * elf/unload8mod1x.c: New file.
31330         * elf/unload8mod2.c: New file.
31331         * elf/unload8mod3.c: New file.
31333         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31334         it wasn't used.
31336 2011-08-23  David S. Miller  <davem@davemloft.net>
31338         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31339         subtract stack bias.
31340         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31341         %sp not %fp in calculations.
31342         (_JMPBUF_UNWINDS_ADJ): Likewise.
31344         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31345         (aio_suspend): Call it to force an exception region around the
31346         AIO_MISC_WAIT() invocation.
31348 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31350         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31351         backslash.
31353 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31355         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31356         protection macro.
31357         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31358         and <dl-machine.h>.
31359         (Elf64_FuncDesc): Remove.
31361 2011-08-22  David S. Miller  <davem@davemloft.net>
31363         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31364         sigaltstack check, add missing cfi directives.
31365         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31366         missing cfi directives, and sigaltstack handling.
31368 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31370         [BZ #11724]
31371         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31372         object is seen twice.
31373         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31375         * elf/Makefile (distribute): Add tst-initorder2.c.
31376         (tests): Add tst-initorder2.
31377         (modules-names): Add tst-initorder2a tst-initorder2b
31378         tst-initorder2c tst-initorder2d.  Add rules to build them.
31379         ($(objpfx)tst-initorder2.out): New rule.
31380         * elf/tst-initorder2.c: New file.
31381         * elf/tst-initorder2.exp: New file.
31383 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31385         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31387         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31388         dependencies back to end of function.
31390         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31391         $(elfobjdir)/ld.so.
31393 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31396         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31397         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31398         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31399         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31400         of __vdso_gettimeofday.
31401         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31402         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31403         attribute_hidden.
31404         (_libc_vdso_platform_setup): Remove initialization of
31405         __vdso_gettimeofday and __vdso_time.
31407 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31409         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31410         and fgetc_unlocked.
31411         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31412         getc_unlocked.
31414         * elf/dl-open.c (add_to_global): Report additions to the global scope
31415         for LD_DEBUG=scopes.
31416         (dl_open_worker): Also print scope of newly loaded dependencies.
31417         (_dl_show_scope): Indicate if there is no scope.
31419         [BZ #13114]
31420         * stdio-common/Makefile (tests): Add bug24.
31421         * stdio-common/bug24.c: New file.
31423 2011-08-19  Andreas Jaeger  <aj@suse.de>
31425         [BZ #13114]
31426         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31427         non-existant file when using close-on-exec mode.
31429 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31432         the very first instruction.
31434         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31435         the CFI state in the end.
31436         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31437         inclusion of dl-trampoline.h.
31438         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31440 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31442         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31443         expectations for long double.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31446         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31448 2011-08-14  David S. Miller  <davem@davemloft.net>
31450         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31451         artificual limit depends upon the system page size.
31453 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31455         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31456         * resolv/Makefile: Define CFLAGS-libresolv.
31458 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31460         * nss/makedb.c (compute_tables): Make variables used in nested
31461         function static.
31463 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31465         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31466         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31467         if buffer was too small.
31469         * elf/pldd.c (main): Attach to all threads in the process.
31470         Rewrite /proc handling to use *at functions.
31472 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31474         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31475         specifies first scope to show.
31476         (dl_open_worker): Update callers.  Move printing scope of new
31477         object to before the relocation.
31478         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31479         * sysdeps/generic/ldsodefs.h: Update declaration.
31481         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31482         string for the scope number.
31484 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31486         * nscd/servicescache.c (cache_addserv): Make sure written is always
31487         initialized.
31489 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31491         * sysdeps/i386/i486/bits/atomic.h
31492         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31493         statement expression, so as to suppress "set but not used" warning.
31494         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31496         * string/strncat.c (STRNCAT): Use prototype definition.
31498         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31499         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31500         -Iprograms here.
31501         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31502         (localedef-modules): Add localedef.
31503         (locale-modules): Add locale.
31505         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31506         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31507         to avoid a warning.
31509 2011-08-14  David S. Miller  <davem@davemloft.net>
31511         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31512         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31514 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31516         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31517         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31518         * elf/rtld.c (dl_main): Set l_name of vDSO.
31519         Call _dl_show_scope when DL_DEBUG_SCOPES.
31520         (process_dl_debug): Recognize scopes flag and also set it for all.
31521         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31522         Declare _dl_show_scope.
31524         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31525         (do_dlopen): Pass caller_dlopen to dl_open.
31526         (__libc_dlopen_mode): Initialize caller_dlopen.
31528         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31529         of libc.  Make tolower call locale-independent.  Optimize a bit by
31530         using isdigit instead of isalnum.
31531         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31533 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31535         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31536         was a dependency or dynamically loaded.
31538 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31540         * intl/l10nflist.c: Allow architecture-specific pop function.
31541         * sysdeps/x86_64/l10nflist.c: New file.
31543         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31544         classification.
31546 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31548         * include/dirent.h: Add libc_hidden_proto for scandirat and
31549         scandirat64.  Don't declare __scandirat64.
31550         * dirent/scandirat.c: Add libc_hidden_def.
31551         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31552         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31554 2011-08-10  David S. Miller  <davem@davemloft.net>
31556         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31557         enum.
31558         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31559         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31562 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31564         * Versions.def [libc]: Add GLIBC_2.15.
31565         * dirent/Makefile (routines): Add scandirat and scandirat64.
31566         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31567         GLIBC_2.15.
31568         * dirent/dirent.h: Declare scandirat and scandirat64.
31569         * dirent/scandirat.c: New file.
31570         * dirent/scandirat64.c: New file.
31571         * sysdeps/wordsize-64/scandirat.c: New file.
31572         * sysdeps/wordsize-64/scandirat64.c: New file.
31573         * dirent/opendir.c: Define opendirat.
31574         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31575         using scandirat.
31576         * dirent/scandir64.c: Adjust for scandir.c change.
31577         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31578         __scandirat64, and __scandir_cancel_handler.
31579         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31580         additional parameter and use openat instead of open (outside of ld.so).
31581         Add new __opendir as wrapper around __opendirat.
31582         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31583         here without requiring old scandirat implementation.
31585 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31587         * dirent/scandir.c (cancel_handler): Renamed to
31588         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31589         defined.  Adjust users.
31590         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31591         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31593 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31595         * string/test-string.h (IMPL): Use __STRING to expand name and then
31596         stringify it.
31598         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31599         of cleanups.
31601 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31603         * string/Makefile: Update.
31604         (strop-tests): Append strncat.
31605         * string/test-wcscmp.c: New file.
31606         New comprehensive test for wcscmp.
31607         * string/test-strcmp.c: Update.
31608         (WIDE): New define.
31610 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31612         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31613         line.
31615 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31618         encoding to ACE if AI_IDN.
31620 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31622         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31623         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31625 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31627         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31628         Fix overflow bug in strncat.
31629         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31631         * string/test-strncat.c: Update.
31632         Add new tests for checking overflow bugs.
31634 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31637         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31638         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31639         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31640         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31641         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31642         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31643         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31644         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31646         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31647         (USE_AS_STRCAT): Define.
31648         Add strcat and strncat support.
31649         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31651 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31653         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31654         __n bigger than INT_MAX+1.
31655         (__strncmp_g): Likewise.
31657 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31659         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31660         * libio/stido.h: Likewise.
31662         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31663         (AF_NFC): Define.
31664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31665         (AF_NFC): Define.
31667         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31669         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31670         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31673         [BZ #13021]
31674         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31675         installed.
31677         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31678         typo.
31679         (_dl_x86_64_save_sse): Likewise.
31681 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31683         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31684         OSXSAVE.
31685         (_dl_x86_64_save_sse): Likewise.
31687         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31689         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31691 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31694         change.
31695         (_dl_x86_64_save_sse): Use correct AVX check.
31697 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31699         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31700         bug in strncpy/strncat.
31701         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31703 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31705         * string/tester.c (test_strcat): Add tests for different alignments
31706         of source and destination.
31707         (test_strncat): Likewise.
31709 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31711         [BZ #12852]
31712         * posix/glob.c (glob): Check passed in values before using them in
31713         expressions to avoid some overflows.
31714         (glob_in_dir): Likewise.
31716         [BZ #13007]
31717         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31718         check for AVX enablement so that we don't crash with old kernels and
31719         new hardware.
31720         * elf/tst-audit4.c: Add same checks here.
31721         * elf/tst-audit6.c: Likewise.
31723         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31725 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31727         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31729 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31731         * po/cs.po: Update from translation team.
31732         * po/bg.po: Likewise.
31734 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31736         * misc/sys/cdefs.h: Add support for const attribute.
31737         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31738         to gnu_dev_{major,minor,makedev} functions.
31740 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31742         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31744 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31746         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31747         strlen results.
31749 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31752         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31753         register in order to avoid conflicts with the soft frame pointer
31754         being held in r11 when necessary.
31755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31756         (INTERNAL_VSYSCALL_NCS): Likewise.
31758 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31760         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31761         * elf/dl-fini.c (_dl_fini): Adjust caller.
31762         * elf/dl-close.c (_dl_close_worker): Likewise.
31763         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31765 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31767         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31768         "aux_cache->nlibs < 0".
31770         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31771         in the reload-count case.
31773 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31776         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31777         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31778         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31779         * sysdeps/x86_64/multiarch/strcat.S: New file.
31780         * sysdeps/x86_64/multiarch/strncat.S: New file.
31781         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31782         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31783         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31784         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31785         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31786         (USE_AS_STRCAT): Define.
31787         Add strcat and strncat support.
31788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31789         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31790         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31791         * string/strncat.c: Update.
31792         (USE_AS_STRNCAT): Define.
31793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31794         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31795         and i7.
31796         * sysdeps/x86_64/multiarch/init-arch.h
31797         (bit_Prefer_PMINUB_for_stringop): New.
31798         (index_Prefer_PMINUB_for_stringop): Likewise.
31799         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31800         bit_Prefer_PMINUB_for_stringop.
31802 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31804         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31805         buffer64.
31806         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31807         of casting of buffer.
31808         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31809         buffer32 and buffer64.
31810         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31811         writes instead of casting of buffer.
31812         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31813         buffer32.
31814         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31815         casting of buffer.
31817 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31819         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31821 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31823         * nscd/nscd.c (termination_handler): Don't do anything for a database
31824         if it has not yet been initialized.
31826 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31828         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31830 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31832         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31834 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31836         * po/nl.po: Update from translation team.
31837         * po/sv.po: Likewise.
31839 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31841         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31842         now disallowed by GCC.
31844         * configure.in (use-default-link): Default to yes if a test -shared
31845         link meets our qualifications.
31846         * configure: Regenerated.
31848         * config.make.in (output-format): New variable.
31849         * configure.in: Check for ld --print-output-format support.
31850         * configure: Regenerated.
31851         * Makerules ($(common-objpfx)format.lds)
31852         [$(output-format) != unknown]: Just use $(output-format),
31853         instead of the linker-script munging.
31855 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31857         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31858         of $(common-objpfx)shlib.lds.
31859         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31861         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31862         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31864         * configure.in (-z relro check): Adjust test code to add a large
31865         writable data section after it.
31866         * configure: Regenerated.
31868 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31870         * configure.in (-z relro check): Fix test code to make the variable
31871         truly const.
31872         * configure: Regenerated.
31874 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31876         * nscd/nscd.h (struct traced_file): Define.
31877         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31878         elements.  Add traced_files.
31879         (inotify_fd): Declare.
31880         (register_traced_file): Declare.
31881         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31882         (inotify_fd): Export.
31883         (resolv_conf_descr): Remove.
31884         (nscd_init): Move inotify descriptor creation to main.
31885         Don't register files for notification here.
31886         (register_traced_file): New function.
31887         (invalidate_cache): Don't use reset_res to determine whether to call
31888         res_init, go through the list of registered files.
31889         (main_loop_poll): The inotify descriptors are now stored in the
31890         structures for the traced files.
31891         (main_loop_epoll): Likewise
31892         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31893         to __nss_disable_nscd.
31894         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31895         for a database anymore.  Check the records for all the registered
31896         files instead.
31897         * nss/Makefile (libnss_files-routines): Add files-init.
31898         (libnss_db-routines): Add db-init.
31899         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31900         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31901         * nss/nss_db/db-init.c: New file.
31902         * nss/nss_files/files-init.c: New file.
31903         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31904         __nss_lookup_function.
31905         (__nss_lookup_function): Call nss_load_library.
31906         (nss_load_all_libraries): New function.
31907         (__nss_disable_nscd): Take parameter with callback function for files
31908         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31909         used for the cached services.
31910         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31911         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31912         options for features to all the files in nscd.
31914         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31916 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31918         * csu/elf-init.c (__libc_csu_init): Comment typo.
31920 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31922         * po/pl.po: Update from translation team.
31923         * po/ja.po: Likewise.
31924         * po/ru.po: Likewise.
31925         * po/ko.po: Likewise.
31926         * po/fr.po: Likewise.
31928 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31930         * configure.in (.ctors/.dtors header and trailer check):
31931         Use an empirical test on a built program.
31932         * configure: Regenerated.
31934         * configure.in (-z relro check): Use an empirical test on a built DSO.
31935         Detect, but do not require, on ia64.
31936         * configure: Regenerated.
31938         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31939         Update tests that use readelf to use $READELF instead.
31940         * configure: Regenerated.
31942 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31944         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31945         if the result is not used.
31947 2011-07-05  Andreas Jaeger  <aj@suse.de>
31949         [BZ#9696]
31950         * stdlib/tst-strtod.c: Add testcase.
31952 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31954         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31955         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31956         The latter has a higher limit.  Take additional parameter to pass to
31957         the new function.
31958         (__pathconf): Pass file to __statfs_link_max.
31959         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31960         __statfs_link_max.
31961         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31962         __statfs_link_max.
31964         [BZ #12868]
31965         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31966         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31967         Handle Lustre.
31968         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31969         (__statfs_filesize_max): Likewise.
31970         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31972 2011-07-05  Andreas Jaeger  <aj@suse.de>
31974         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31976 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31978         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31979         `status' variable.
31980         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31981         Likewise.
31983 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31985         * Makefile (strop-tests): Add strncat.
31986         * string/test-strncat.c: New file.
31988 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31990         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31992 2011-06-21  Andreas Jaeger  <aj@suse.de>
31994         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31995         Copy rule from iconvdata/Makefile.
31997 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31999         [BZ #12922]
32000         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32001         but no long options are defined, just return 'W'.
32003 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32005         [BZ #9696]
32006         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32008 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32010         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32011         netgroups to read.
32012         (innetgr): Likewise.
32014 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32016         * config.make.in (install_root): Default to $(DESTDIR).
32018 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32020         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32022 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32024         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32026         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32027         containing directory rather than embedding absolute directory names.
32029         * scripts/check-local-headers.sh: Rewritten using awk.
32030         Match by word, not by line.  Print error messages for matches.
32031         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32033         * Makerules [shlib-lds-flags empty]:
32034         ($(common-objpfx)libc_pic.opts): New target.
32035         ($(common-objpfx)libc_pic.os.clean): New target.
32036         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32038         * config.make.in (OBJCOPY): New variable.
32039         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32040         * configure: Regenerated.
32042         * config.make.in (use-default-link): New variable.
32043         * configure.in (use_default_link): Grok --with-default-link to set it.
32044         * configure: Regenerated.
32045         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32046         (shlib-lds, shlib-lds-flags): Define to empty.
32048         * Makerules (shlib-lds): New variable.
32049         (shlib-lds-flags): New variable.
32050         (build-shlib, build-moduile, build-module-asneeded): Use it.
32051         ($(common-objpfx)libc.so): Use $(shlib-lds).
32052         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32053         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32055         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32056         DT_FLAGS/DT_FLAGS_1 with zero flags.
32058         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32059         linker script munging.
32061 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32063         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32064         as 128-bit value.
32065         * crypt/sha512.c (sha512_process_block): Perform total addition using
32066         128-bit if possible.
32067         (__sha512_finish_ctx): Likewise.
32068         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32069         as 64-bit value.
32070         * crypt/sha256.c (SWAP64): Define.
32071         (sha256_process_block): Perform total addition using 64-bit if
32072         possible.
32073         (__sha256_finish_ctx): Likewise.
32075 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32077         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32079         * nscd/hstcache.c (cache_addhst): Likewise.
32080         * nscd/grpcache.c (cache_addgr): Likewise.
32081         * nscd/aicache.c (addhstaiX): Likewise
32082         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32084 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32086         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32088         * nscd/hstcache.c (cache_addhst): Likewise.
32089         * nscd/grpcache.c (cache_addgr): Likewise.
32090         * nscd/aicache.c (addhstaiX): Likewise
32092 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32094         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32095         domain only when needed.
32097 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32100         is always restored.
32102 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32104         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32105         are re-adding the entry.
32106         * nscd/servicescache.c (cache_addserv): Likewise.
32108 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32110         * sysdeps/generic/dl-irel.h: fix protection against multiple
32111         inclusions.
32112         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32114 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32116         [BZ #12935]
32117         * malloc/memusage.sh: Fix quoting in message.
32118         * debug/xtrace.sh: Likewise.
32120         * configure.in: Remove support for --experimental-malloc option, make
32121         it the default.
32122         * config.make.in: Likewise.
32123         * malloc/Makefile: Likewise.
32125 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32127         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32128         two-byte characters.
32130 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32132         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32133         AC_CACHE_CHECK invocation.
32134         * configure: Regenerated.
32136         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32138 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32140         [BZ #12350]
32141         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32142         bit from old_res_options.
32144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32146         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32147         value type for setfct.
32149 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32151         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32152         __gettimeofday instead of gettimeofday.
32154 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32156         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32158 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32160         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32163         info.
32165 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32168         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32169         strcpy-sse2-unaligned strncpy-sse2-unaligned
32170         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32171         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32172         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32173         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32174         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32176         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32177         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32178         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32179         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32180         (STRCPY): Support SSE2 and SSSE3 versions.
32182 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32184         [BZ #12874]
32185         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32186         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32187         kernels which artificially limit size of requests.
32189 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32192         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32193         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32194         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32195         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32196         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32197         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32198         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32201         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32202         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32203         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32204         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32205         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32207         Enable unaligned load optimization for Intel Core i3, i5 and i7
32208         processors.
32209         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32210         Define.
32211         (index_Fast_Unaligned_Load): Define.
32212         (HAS_FAST_UNALIGNED_LOAD): Define.
32214 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32216         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32218 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32220         [BZ #12907]
32221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32222         until it is clear that the information is realy needed.
32223         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32225 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32229 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32232         /sys/devices/system/cpu/online if it is usable.
32234         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32235         reading the information from the /proc filesystem to once a second.
32237 2011-06-21  Andreas Jaeger  <aj@suse.de>
32239         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32240         NULL after inclusion of kernel headers.
32242 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32244         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32245         calls to internal_setent.
32247         [BZ #12885]
32248         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32249         addresses using gethostbyname4_r ignore IPv4 addresses.
32251         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32252         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32254         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32256 2011-06-20  David S. Miller  <davem@davemloft.net>
32258         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32259         inclusions.
32260         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32262         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32263         (elf_irel): Use it.
32264         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32265         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32266         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32267         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32268         * sysdeps/x86_64/dl-irel.h: Likewise.
32270         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32271         * elf/dl-sym.c: Likewise.
32273 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32275         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32276         need to dereference resplen2.
32278 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32280         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32282 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32284         * Makeconfig: Define vardbdir and inst_vardbdir.
32285         * nss/Makefile: Add rules to install db-Makefile.
32287         * nss/nss_db/db-XXX.c: Cleanup.
32289         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32290         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32291         GLIBC_PRIVATE.
32292         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32293         * nss/makedb.c: Implement -g option to specify that value strings
32294         are generated and should not be added to table iterated over for
32295         get*ent calls.
32296         * nss/nss_db/db-initgroups.c: New file.
32298         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32299         interface.
32301         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32302         (internal_getgrouplist): Adjust to name change.
32303         Update use_initgroups_entry if this is not the first call.
32304         * nss/databases.def: Add initgroups entry.
32306         * nss/makedb.c (compute_tables): Check result of multiple hash table
32307         sizes to minimize maximum chain length.
32309 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32311         * Versions.def: Add entry for libnss_db.
32312         * shlib-versions: Likewise.
32313         * nss/Makefile: Add rules to build libnss_db.
32314         * nss/Versions: Add libnss_db information.  Organize libnss_files
32315         entries better.
32316         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32317         makedb progra.  Some minor improvements to generate smaller files.
32318         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32319         here from...
32320         * nss/makedb.c: ...here.
32321         Improve database format to be smaller and require less memory at
32322         runtime.
32323         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32324         db anymore.
32325         * nss/nss_db/db-netgrp.c: Likewise.
32326         * nss/nss_db/db-open.c: Likewise.
32327         * nss/nss_files/flies-XXX.x: Adjust comments.
32328         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32329         * nss/nss_files/files-grp.c: Likewise.
32330         * nss/nss_files/files-hosts.c: Likewise.
32331         * nss/nss_files/files-network.c: Likewise.
32332         * nss/nss_files/files-proto.c: Likewise.
32333         * nss/nss_files/files-pwd.c: Likewise.
32334         * nss/nss_files/files-rpc.c: Likewise.
32335         * nss/nss_files/files-service.c: Likewise.
32336         * nss/nss_files/files-sgrp.c: Likewise.
32337         * nss/nss_files/files-spwd.c: Likewise.
32338         * nss/nss_db/db-alias.c: Removed.
32339         * nss/nss_db/dummy-db.h: Removed.
32341 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32343         * nss/makedb.c: Rewritten to not use database library.
32344         * nss/Makefile: Update to build new makedb program.
32346 2011-06-14  Andreas Jaeger  <aj@suse.de>
32348         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32349         memset declaration.
32351 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32354         tmpbuf.
32356 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32358         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32359         * elf/Makefile ($(objpfx)ld.so): Likewise.
32361         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32362         Don't list ld.so twice in dependencies.
32364         * posix/bug-regex31.c: Include <stdlib.h>.
32366         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32368         * nis/nss_compat/compat-spwd.c
32369         (getspent_next_nss_netgr): Remove unused variable.
32370         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32372         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32373         nonmembers" output to use the right array.
32375         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32377         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32379         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32380         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32381         * catgets/gencat.c (read_input_file): Likewise.
32382         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32384         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32385         variable definition inside #if's controlling its use.
32387         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32389         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32391         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32393         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32394         unreachable code.
32396         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32398         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32399         * configure: Regenerated.
32401         * Makerules: Revert last change.
32402         * elf/Makefile: Likewise.
32404 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32406         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32407         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32408         (reloc-link): Likewise.
32410 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32412         * elf/Makefile: Add rules to build pldd.
32413         * elf/pldd.c: New file.
32414         * elf/pldd-xx.c: New file.
32416 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32418         * version.h: Update for 2.15 development version.
32420 2011-06-07  David S. Miller  <davem@davemloft.net>
32422         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32423         ifuncs.
32424         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32425         elf_machine_lazy_rel): Likewise.
32426         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32427         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32428         elf_machine_lazy_rel): Likewise.
32429         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32430         dl_hwcap via passed in argument.
32431         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32432         Likewise.
32434 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32436         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32438 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32440         [BZ #12849]
32441         * manual/fdl-1.1.texi: New file, verbatim from:
32442         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32443         * manual/lgpl-2.1.texi: New file, verbatim from:
32444         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32445         * manual/Makefile (licenses): New variable, list those new file names.
32446         (texis): Use it.
32447         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32449         * manual/fdl.texi: File removed.
32450         * manual/lesser.texi: File removed.
32451         * manual/libc.texinfo (Copying, Documentation License):
32452         Use new @include file names, put @appendix directive before @include.
32454 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32456         [BZ #12841]
32457         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32458         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32459         (mq_open): Add __NTH.
32461 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32464         Assume Intel Core i3/i5/i7 processor if AVX is available.
32466 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32469         typo.
32471 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32473         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32474         memory.  Use alloca_account.  Fix memory leak when retrying.
32476 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32478         * version.h (RELEASE): Bump for 2.14 release.
32479         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32481         * config.make.in (RANLIB): Remove entry.
32483 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32485         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32486         (libc.pot): Work around missing support for .ksh extension in xgettext.
32488         [BZ #12684]
32489         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32490         if both request failed.
32491         (send_dg): In case of server errors clear resplen or *resplen2.
32493         [BZ #12454]
32494         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32495         when there are multiple maps.
32496         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32497         (_dl_fini): Remove test here.
32499         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32501 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32503         [BZ #12350]
32504         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32505         bit from old_res_options.
32506         (gaih_inet): Likewise.
32508         [BZ #11099]
32509         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32510         as signed.
32512         * resolv/res_init.c (res_setoptions): Make the code more compact.
32514         [BZ #11558]
32515         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32516         set RES_USEVC.
32518         [BZ #11634]
32519         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32521         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32523         [BZ #11781]
32524         * malloc/malloc.h: Declare malloc hook variables as volatile.
32526         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32527         in last patch.
32529         [BZ #11799]
32530         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32531         raise in the comment.
32532         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32534         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32536 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32538         [BZ #12811]
32539         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32540         grow the buffers more if it already has to be sufficient.
32541         (build_wcs_upper_buffer): Likewise.
32542         * posix/regexec.c (check_matching): Likewise.
32543         (clean_state_log_if_needed): Likewise.
32544         (extend_buffers): Don't enlarge buffers beyond size of the input
32545         buffer.
32546         Patches mostly by Emil Wojak <emil@wojak.eu>.
32547         * posix/bug-regex32.c: New file.
32548         * posix/Makefile (tests): Add bug-regex32.
32550         * locale/findlocale.c (_nl_find_locale): Return right away if
32551         _nl_explode_name failed.
32552         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32554         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32556         * debug/xtrace.sh: Unify messages.
32557         * malloc/memusage.sh: Likewise.
32559         [BZ #12813]
32560         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32561         time symbol from vDSO.  Substitute with vsyscall if not available.
32562         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32563         __vdso_time.
32565         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32566         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32567         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32568         Add sendmmsg and internal_sendmmsg.
32569         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32570         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32571         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32573         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32574         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32575         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32577 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32579         [BZ #12813]
32580         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32581         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32582         available.
32583         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32584         __vdso_getcpu.
32586         [BZ #12814]
32587         * iconvdata/Makefile (tests): Add bug-iconv9.
32588         * iconvdata/bug-iconv9.c: New file.
32590 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32592         [BZ #12814]
32593         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32595 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32597         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32598         (struct user_regs_struct): Change intcs field back to cs.
32600 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32602         * po/ja.po: Update from translation team.
32604 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32606         [BZ #12795]
32607         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32608         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32610 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32612         * stdlib/longlong.h: Update from GCC.
32614 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32616         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32617         parameter name.
32618         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32619         Add parameter name.
32620         (__sysconf): Pass it down.
32622 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32624         [BZ #12671]
32625         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32626         some situations.
32627         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32628         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32629         add in in __libc_use_alloca calls.  Adjust callers.
32630         (glob): Use malloc in some situations.
32632         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32633         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32634         pltexit.
32636 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32638         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32639         and CLOCK_BOOTTIME_ALARM.
32641         [BZ #12782]
32642         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32643         is returned.
32645         * string/_strerror.c (__strerror_r): Print negative errors as signed
32646         numbers.
32648         [BZ #12777]
32649         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32650         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32651         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32653         * configure.in: Fix typo in redirection and correct removal of test
32654         files in two cases.
32656         [BZ #12788]
32657         * locale/setlocale.c (new_composite_name): Fix test to check for
32658         identical name of all categories.
32660         [BZ #12792]
32661         * libio/filedoalloc.c (local_isatty): New function.
32662         (_IO_file_doallocate): Use local_isatty.
32663         * stdio-common/perror.c (perror): In case a new stream is used
32664         forward the stream error.
32665         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32666         error flag.
32668 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32670         [BZ #11869]
32671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32672         alloca.
32673         * include/alloca.h (extend_alloca_account): Define.
32675         [BZ #11857]
32676         * posix/regex.h: Fix comments with documentation of user-accessible
32677         fields after compilation and describe correct free'ing of pattern
32678         after re_compile_pattern.
32679         Patch by Reuben Thomas <rrt@sc3d.org>.
32681 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32683         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32684         and -mno-altivec to prevent the compiler from using Altivec and/or
32685         VSX instructions when the corresponding registers are not available.
32687 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32689         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32691 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32693         * libio/freopen.c (freopen): Use __dup2, not dup2.
32694         * libio/freopen64.c (freopen64): Likewise.
32696 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32698         [BZ #12775]
32699         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32700         * math/Makefile (tests): Add test-powl.
32701         (CFLAGS-test-powl.c): Define.
32702         * math/test-powl.c: New file.
32704 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32706         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32708 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32710         [BZ #11837]
32711         * iconvdata/gb18030.c: Update to GB18020-2005.
32713 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32715         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32716         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32717         Patch by Aharon Robbins <arnold@skeeve.com>.
32719         [BZ #11892]
32720         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32721         on the stack.
32723         [BZ #11895]
32724         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32725         through underflows.
32727         [BZ #12766]
32728         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32729         point to strings before performing equality test for error_one_per_line
32730         mode.
32732         [BZ #11697]
32733         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32735         [BZ #11820]
32736         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32737         (struct user_fpregs_struct): Avoid __uint*_t types.
32739         [BZ #6420]
32740         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32741         symbol info.  Use it instead of calling _dl_addr locally.
32742         (lock_and_info): New function.
32743         (tr_freehook): Call lock_and_info and pass symbol info as additional
32744         parameter to tr_where.
32745         (tr_mallochook): Likewise.
32746         (tr_reallochook): Likewise.
32747         (tr_memalignhook): Likewise.
32749         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32750         used and couldn't be at all thread-safe.
32752 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32754         * libio/freopen.c (freopen): Don't close old file descriptor
32755         before the new one is opened.  Instead dup the new file descriptor
32756         to the old one after the new stream is created.
32757         * libio/freopen64.c (freopen64): Likewise.
32758         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32759         * libio/fileops.c (_IO_new_file_close_it): Handle new
32760         _IO_FLAGS2_NOCLOSE flag.
32761         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32762         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32763         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32764         _IO_FLAGS2_NOCLOSE flag.
32765         * include/unistd.h: Add hidden_proto for dup3.
32766         Define __have_dup3.
32767         * io/dup3.c: Define hidden symbol.
32768         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32770         [BZ #7101]
32771         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32772         when an incomplete long option is used.
32773         * posix/tst-getopt_long1.c: New file.
32774         * posix/Makefile (tests): Add tst-getopt_long1.
32776         [BZ #10138]
32777         * scripts/config.guess: Update from autoconf-2.68.
32778         * scripts/config.sub: Likewise.
32780         [BZ #10157]
32781         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32782         tests into ...
32783         (has_cpuclock): ...this.  New function.
32784         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32785         macro here based on has_cpuclock code.
32787         [BZ #10149]
32788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32789         First byte (not low byte) is now always NUL.
32790         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32793         Use non-cancelable interfaces.
32795         [BZ #9809]
32796         * locale/iso-639.def: Add entry for Sorani.
32798         [BZ #11901]
32799         * include/stdlib.h: Move include protection to the right place.
32800         Define abort_msg_s.  Declare __abort_msg with it.
32801         * stdlib/abort.c (__abort_msg): Adjust type.
32802         * assert/assert.c (__assert_fail_base): New function.  Majority
32803         of code from __assert_fail.  Allocate memory for __abort_msg with
32804         mmap.
32805         (__assert_fail): Now call __assert_fail_base.
32806         * assert/assert-perr.c: Remove bulk of implementation.  Use
32807         __assert_fail_base.
32808         * include/assert.hL Declare __assert_fail_base.
32809         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32810         mmap.
32811         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32813 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32815         [BZ #11952]
32816         [BZ #12453]
32817         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32818         until all modules are registered in the DTV.
32819         * elf/Makefile: Add rules to build and run tst-tls19.
32820         * elf/tst-tls19.c: New file.
32821         * elf/tst-tls19mod1.c: New file.
32822         * elf/tst-tls19mod2.c: New file.
32823         * elf/tst-tls19mod3.c: New file.
32824         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32826         [BZ #12083]
32827         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32828         correctly.
32830         [BZ #12601]
32831         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32832         two-byte sequence errors.
32833         * iconvdata/Makefile (tests): Add bug-iconv8.
32834         * iconvdata/bug-iconv8.c: New file.
32836         [BZ #12626]
32837         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32838         buf2 definition.
32840         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32842         [BZ #12432]
32843         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32844         (dummy_getcfa): New function.
32845         (init): Get _Unwind_GetCFA address, use dummy if not found.
32846         (backtrace_helper): In recursion check, also check whether CFA changes.
32847         (__backtrace): Completely initialize arg.
32849         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32850         storing incomplete byte sequence in state object.  Avoid testing for
32851         guaranteed too small input if we know there is enough data available.
32853 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32855         * Makeconfig (+link-pie): Indent.
32856         * Rules (binaries-pie): Define if $(have-fpie) and
32857         $(build-shared).
32858         (binaries-shared): Also filter out $(binaries-pie).
32859         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32860         * nscd/Makefile (others-pie): Add nscd.
32861         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32862         ($(objpfx)nscd): Remove command override.
32863         * login/Makefile (others-pie): Add pt_chown.
32864         ($(objpfx)pt_chown): Remove command override.
32865         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32866         remove command overrides.
32868 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32870         * libio/tst_putwc.c: Fix error messages.
32872         [BZ #12724]
32873         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32874         currently writing and seek to current position when not.
32875         * libio/Makefile (tests): Add bug-fclose1.
32876         * libio/bug-fclose1.c: New file.
32878 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32880         [BZ #12511]
32881         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32882         don't set DF_1_NODELETE here.
32883         (do_lookup_x): When entering new entry test for copy relocation
32884         and if necessary set DF_1_NODELETE flag.
32885         * elf/tst-unique4.cc: New file.
32886         * elf/tst-unique4.h: New file.
32887         * elf/tst-unique4lib.cc: New file.
32888         * elf/Makefile: Add rules to build and run tst-unique4.
32889         Patch by Piotr Bury <pbury@goahead.com>.
32891 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32893         [BZ #12052]
32894         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32896         [BZ #12625]
32897         * misc/mntent_r.c (addmntent): Flush the stream after the output
32899         [BZ #12393]
32900         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32901         (is_trusted_path_normalize): Skip initial colon.  Append slash
32902         to empty buffer.  Duplicate is_trusted_path code but allow
32903         constructed patch to be prefix.
32904         (is_dst): Allow $ORIGIN followed by /.
32905         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32906         Correct testing of result of is_trusted_path_normalize
32907         (decompose_rpath): Fix warning.
32909 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32911         [BZ #11257]
32912         * grp/initgroups.c (internal_getgrouplist): When we found the service
32913         list through the initgroups entry in nsswitch.conf do not always
32914         continue on a successful lookup.  Don't always use the
32915         __nss_group_database value if it is set.
32916         * nss/nsswitch.conf (initgroups): Change action for successful db
32917         lookup to continue for compatibility.
32919 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32921         [BZ #11532]
32922         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32923         and CP774 modules.
32924         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32925         and CP774 modules.
32926         * iconvdata/tst-tables.sh: Likewise.
32927         * iconvdata/cp770.c: New file.
32928         * iconvdata/cp771.c: New file.
32929         * iconvdata/cp772.c: New file.
32930         * iconvdata/cp773.c: New file.
32931         * iconvdata/cp774.c: New file.
32932         * iconvdata/testdata/CP770: New file.
32933         * iconvdata/testdata/CP770..UTF8: New file.
32934         * iconvdata/testdata/CP771: New file.
32935         * iconvdata/testdata/CP771..UTF8: New file.
32936         * iconvdata/testdata/CP772: New file.
32937         * iconvdata/testdata/CP772..UTF8: New file.
32938         * iconvdata/testdata/CP773: New file.
32939         * iconvdata/testdata/CP773..UTF8: New file.
32940         * iconvdata/testdata/CP774: New file.
32941         * iconvdata/testdata/CP774..UTF8: New file.
32943         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32944         END CHARMAP line.
32945         * iconvdata/gen-8bit-gap.sh: Likewise.
32946         * iconvdata/gen-8bit.sh: Likewise.
32948         * locale/iso-639.def: Add ary entry.
32950         [BZ #11258]
32951         * locale/C-translit.h.in: Add U20A1 transliteration.
32953         [BZ #12178]
32954         * locale/iso-639.def: Add wae entry.
32955         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32957         [BZ #12545]
32958         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32959         for n.
32961         [BZ #12711]
32962         * locale/C-translit.h.in: Add entry for U20B9.
32963         Patch by pravin.d.s@gmail.com.
32965 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32967         [BZ #12713]
32968         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32969         ENAMETOOLONG use generic getcwd.
32970         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32971         in rtld.  Use *stat64.
32972         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32973         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32974         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32975         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32976         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32977         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32978         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32979         __fstatat64 macros.
32980         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32981         * dirent/rewinddir.c: Add libc_hidden_def.
32982         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32983         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32985         * include/dirent.h (__alloc_dir): Add flags parameter.
32986         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32987         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32988         __alloc_dir.
32989         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32990         from fdopendir if O_CLOEXEC is already set.
32992 2011-03-15  Alan Modra  <amodra@gmail.com>
32994         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32995         l_tls_firstbyte_offset non-zero.  Save padding offset in
32996         l_tls_firstbyte_offset for later use.
32997         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32998         freeing static tls block.
33000 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33002         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33003         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33004         being defined by the kernel headers.
33006 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33008         [BZ #12734]
33009         * resolv/resolv.h: Define RES_NOTLDQUERY.
33010         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33011         no-tld-query and set RES_NOTLDQUERY.
33012         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33013         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33014         modern BIND to search name as TLD unless forbidden.
33016 2011-05-07  Petr Baudis  <pasky@suse.cz>
33017             Ulrich Drepper  <drepper@gmail.com>
33019         [BZ #12393]
33020         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33021         (is_trusted_path): ...to here.
33022         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33023         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33024         using is_trusted_path_normalize() in setuid scripts.
33026 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33028         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33029         __BEGIN/__END_DECLS.
33031 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33034         NSS_STATUS_NOTFOUND if no record was found.
33036 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33038         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33039         (headers-not-in-tirpc): Remove rpc/netdb.h
33040         * resolv/netdb.h: Revert last change.
33042 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33044         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33045         circular dependency between libgcc.a and libc.a.
33047 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33049         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33050         * nis/Makefile: Don't install rpcsvc/*.
33051         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33052         instead of <rpc/types.h>.
33053         (MAXHOSTNAMELEN): Define.
33055 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33057         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33059 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33061         [BZ #12714]
33062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33063         gethostbyname4_r when IPv6 results are possible.
33065 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33067         [BZ #12723]
33068         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33069         _PC_PIPE_BUF handling.
33071 2011-04-30  Bruno Haible  <bruno@clisp.org>
33073         [BZ #12717]
33074         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33075         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33076         to 'int'.
33077         * inet/getnameinfo.c (getnameinfo): Likewise.
33079 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33081         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33082         to groups setting in database lookup.
33083         * nss/nsswitch.conf: Add initgroups entry.
33085 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33087         [BZ #12685]
33088         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33089         mode string.
33090         Patch by Eric Blake <eblake@redhat.com>.
33092 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33094         * sunrpc/Makefile (need-export-routines): Add svc_run.
33095         (routines): Remove svc_run.
33096         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33097         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33098         * sunrpc/svc_run.c (svc_run): Likewise.
33099         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33101 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33103         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33104         problem in reallocation in last patch.
33106 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33108         * sunrpc/Makefile: Move inclusion of Rules.
33110 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33112         * nss/nss_files/files-initgroups.c: New file.
33113         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33114         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33115         _nss_files_initgroups_dyn.
33117 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33119         * elf/elf.h (R_ARM_IRELATIVE): Define.
33121 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33123         * po/ru.po: Update from translation team.
33125 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33127         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33128         dependencies.
33130 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33132         [BZ #12653]
33133         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33134         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33135         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33136         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33137         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33139 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33141         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33142         differing bytes.
33143         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33145         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33147 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33149         [BZ #12420]
33150         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33151         storing it.
33152         * stdlib/bug-getcontext.c: New file.
33153         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33155 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33157         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33158         instructions into .machine "z9-109".
33159         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33160         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33162 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33164         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33165         between environment variables and auxiliary vector.
33167 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33169         * Makefile: Add rules to build linkobj/libc.so.
33170         * include/libc-symbols.h: Define libc_hidden_nolink.
33171         * include/rpc/auth.h: Mark functions which are to be hidden.
33172         * include/rpc/auth_des.h: Likewise.
33173         * include/rpc/auth_unix.h: Likewise.
33174         * include/rpc/clnt.h: Likewise.
33175         * include/rpc/des_crypt.h: Likewise.
33176         * include/rpc/key_prot.h: Likewise.
33177         * include/rpc/pmap_clnt.h: Likewise.
33178         * include/rpc/pmap_prot.h: Likewise.
33179         * include/rpc/pmap_rmt.h: Likewise.
33180         * include/rpc/rpc_msg.h: Likewise.
33181         * include/rpc/svc.h: Likewise.
33182         * include/rpc/svc_auth.h: Likewise.
33183         * include/rpc/xdr.h: Likewise.
33184         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33185         * nss/Makefile: Likewise.
33186         * sunrpc/Makefile: Don't install headers.  Build library with normal
33187         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33188         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33189         for the compat linking library.  Remove use of INTDEF/INTUSE.
33190         * sunrpc/auth_none.c: Likewise.
33191         * sunrpc/auth_unix.c: Likewise.
33192         * sunrpc/authdes_prot.c: Likewise.
33193         * sunrpc/authuxprot.c: Likewise.
33194         * sunrpc/clnt_gen.c: Likewise.
33195         * sunrpc/clnt_perr.c: Likewise.
33196         * sunrpc/clnt_raw.c: Likewise.
33197         * sunrpc/clnt_simp.c: Likewise.
33198         * sunrpc/clnt_tcp.c: Likewise.
33199         * sunrpc/clnt_udp.c: Likewise.
33200         * sunrpc/clnt_unix.c: Likewise.
33201         * sunrpc/des_crypt.c: Likewise.
33202         * sunrpc/des_soft.c: Likewise.
33203         * sunrpc/get_myaddr.c: Likewise.
33204         * sunrpc/key_call.c: Likewise.
33205         * sunrpc/key_prot.c: Likewise.
33206         * sunrpc/netname.c: Likewise.
33207         * sunrpc/pm_getmaps.c: Likewise.
33208         * sunrpc/pm_getport.c: Likewise.
33209         * sunrpc/pmap_clnt.c: Likewise.
33210         * sunrpc/pmap_prot.c: Likewise.
33211         * sunrpc/pmap_prot2.c: Likewise.
33212         * sunrpc/pmap_rmt.c: Likewise.
33213         * sunrpc/publickey.c: Likewise.
33214         * sunrpc/rpc_cmsg.c: Likewise.
33215         * sunrpc/rpc_common.c: Likewise.
33216         * sunrpc/rpc_dtable.c: Likewise.
33217         * sunrpc/rpc_prot.c: Likewise.
33218         * sunrpc/rpc_thread.c: Likewise.
33219         * sunrpc/rtime.c: Likewise.
33220         * sunrpc/svc.c: Likewise.
33221         * sunrpc/svc_auth.c: Likewise.
33222         * sunrpc/svc_authux.c: Likewise.
33223         * sunrpc/svc_raw.c: Likewise.
33224         * sunrpc/svc_run.c: Likewise.
33225         * sunrpc/svc_simple.c: Likewise.
33226         * sunrpc/svc_tcp.c: Likewise.
33227         * sunrpc/svc_udp.c: Likewise.
33228         * sunrpc/svc_unix.c: Likewise.
33229         * sunrpc/svcauth_des.c: Likewise.
33230         * sunrpc/xcrypt.c: Likewise.
33231         * sunrpc/xdr.c: Likewise.
33232         * sunrpc/xdr_array.c: Likewise.
33233         * sunrpc/xdr_float.c: Likewise.
33234         * sunrpc/xdr_intXX_t.c: Likewise.
33235         * sunrpc/xdr_mem.c: Likewise.
33236         * sunrpc/xdr_rec.c: Likewise.
33237         * sunrpc/xdr_ref.c: Likewise.
33238         * sunrpc/xdr_sizeof.c: Likewise.
33239         * sunrpc/xdr_stdio.c: Likewise.
33241 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33243         [BZ #12650]
33244         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33245         * sysdeps/ia64/dl-tls.h: Likewise.
33246         * sysdeps/powerpc/dl-tls.h: Likewise.
33247         * sysdeps/s390/dl-tls.h: Likewise.
33248         * sysdeps/sh/dl-tls.h: Likewise.
33249         * sysdeps/sparc/dl-tls.h: Likewise.
33250         * sysdeps/x86_64/dl-tls.h: Likewise.
33251         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33253 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33255         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33256         rpath element also skip the following colon.
33257         (expand_dynamic_string_token): Add is_path parameter and pass
33258         down to DL_DST_REQUIRED and _dl_dst_substitute.
33259         (decompose_rpath): Call expand_dynamic_string_token with
33260         non-zero is_path.  Ignore empty rpaths.
33261         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33262         with zero is_path.
33264 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33267         Make cancelable.
33269 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33271         [BZ #12655]
33272         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33273         Patch by Filipe David Manana <fdmanana@apache.org>.
33275 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33277         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33278         Maintain aligned stack.
33279         (CHECK_RSP): Remove unused macro.
33281 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33283         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33284         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33286 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33288         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33290         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33292 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33294         [BZ #12518]
33295         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33296         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33297         * sysdeps/x86_64/memmove.c: New file.
33298         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33299         (memcpy): Renamed to ...
33300         (__new_memcpy): This.
33301         (memcpy): Provide GLIBC_2_14 memcpy.
33302         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33303         (memcpy): Provide GLIBC_2_2_5 memcpy.
33305 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33307         [BZ #12631]
33308         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33310 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33312         * misc/syncfs.c: New file.
33313         * misc/Makefile (routines): Add syncfs.
33314         * posix/unistd.h: Declare syncfs.
33315         * sysdeps/unix/syscalls.list: Add syncfs.
33317 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33319         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33320         open_by_handle_at.
33321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33326         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33327         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33329 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33331         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33333         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33339         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33340         sync_file_range.c with -fexceptions.
33341         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33342         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33343         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33344         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33345         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33346         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33348         sync_file_range as cancellation point
33349         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33350         now a wrapper around __call_sync_file_range with cancellation handling.
33351         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33352         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33353         function name to __call_sync_file_range.
33354         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33355         Add call_sync_file_range.
33357 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33360         bits/timex.h.
33362 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33364         * iconv/iconv.h: Fix typo in comment.
33365         * io/fcntl.h: Likewise.
33366         * libio/stdio.h: Likewise.
33367         * posix/spawn.h: Likewise.
33368         * posix/unistd.h: Likewise.
33369         * stdlib/stdlib.h: Likewise.
33370         * time/time.h: Likewise.
33371         * wcsmbs/wchar.h: Likewise.
33373         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33374         open_by_handle): Add.
33375         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33376         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33377         Augment a few comments.
33378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33383         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33384         open_by_handle.
33386         * io/fcntl.h (AT_EMPTY_PATH): Define.
33388 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33390         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33391         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33392         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33393         to...
33394         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33395         * Versions.def: Add GLIBC_2.14.
33396         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33397         Export.
33399 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33401         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33402         round counter.
33403         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33405 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33407         [BZ #12597]
33408         * string/test-strncmp.c (do_page_test): New function.
33409         (check2): Likewise.
33410         (test_main): Call check2.
33411         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33413 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33415         [BZ #12587]
33416         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33417         Handle cache information in CPU leaf 4.
33418         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33420 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33422         [BZ #12583]
33423         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33424         character representation.
33425         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33427 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33429         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33430         END(__isnan) to END(__isnanf) to match function entry point/label
33431         EALIGN(__isnanf,...).
33433 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33435         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33437 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33439         [BZ #12510]
33440         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33441         copy from the symbol referenced in the relocation to initialize the
33442         used variable.
33443         Patch by Piotr Bury <pbury@goahead.com>.
33444         * elf/Makefile: Add rules to build and tst-unique3.
33445         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33446         * elf/tst-unique3.cc: New file.
33447         * elf/tst-unique3.h: New file.
33448         * elf/tst-unique3lib.cc: New file.
33449         * elf/tst-unique3lib2.cc: New file.
33451         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33453 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33455         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33456         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33457         to _start.
33459 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33461         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33462         to-be-loaded object along a path to loader is ld.so.
33464 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33465             Ulrich Drepper  <drepper@gmail.com>
33467         * sysdeps/x86_64/memset.S: After aligning destination, code
33468         branches to different locations depending on the value of
33469         misalignment, when multiarch is enabled. Fix this.
33471 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33473         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33474         Set _x86_64_preferred_memory_instruction for AMD processsors.
33475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33476         Set bit_Prefer_SSE_for_memop for AMD processors.
33478 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33480         * libio/fmemopen.c (fmemopen): Optimize a bit.
33482 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33484         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33486 2011-03-03  Roland McGrath  <roland@redhat.com>
33488         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33490 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33492         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33493         __bzero_ultra1 instead of __memset_ultra1.
33495 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33496             Ulrich Drepper  <drepper@gmail.com>
33498         [BZ #12509]
33499         * include/link.h (struct link_map): Add l_orig_initfini.
33500         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33501         returning unsuccessfully.
33502         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33503         close of a file loaded at startup, restore the original l_initfini
33504         list.
33505         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33506         list, store the pointer.
33507         * elf/Makefile ($(objpfx)noload-mem): New rule.
33508         (noload-ENV): Define.
33509         (tests): Add $(objpfx)noload-mem.
33510         * elf/noload.c: Include <memcheck.h>.
33511         (main): Call mtrace.  Close all opened handles.
33513 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33515         [BZ #12454]
33516         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33517         dependencies are missing.
33519 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33521         Fix __if_freereq crash: Unlike the generic version which uses free,
33522         Hurd needs munmap.
33523         * sysdeps/mach/hurd/ifreq.h: New file.
33525 2011-01-27  Petr Baudis  <pasky@suse.cz>
33526             Ulrich Drepper  <drepper@gmail.com>
33528         [BZ 12445]#
33529         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33530         to extend_alloca().
33531         * stdio-common/bug23.c: New file.
33532         * stdio-common/Makefile (tests): Add bug23.
33534 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33535             Ulrich Drepper  <drepper@gmail.com>
33537         [BZ #12489]
33538         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33539         before performing relro protection.  At old place add assertion
33540         to make sure nothing changed.
33542 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33543             Glauber de Oliveira Costa  <glommer@gmail.com>
33545         * elf/elf.h: Add new ARM TLS relocs.
33547 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33550         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33551         cast from r3.
33552         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33553         'tests' variable.
33554         * sysdeps/wordsize-64/tst-writev.c: New file.
33556 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33558         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33559         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33560         insns in _dl_start to prevent a TOC reference before relocs are
33561         resolved.
33563 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33565         [BZ #12469]
33566         * Makeconfig: Remove RANLIB definition.
33567         * Makerules: Don't use RANLIB.
33568         * aclocal.m4: Remove ranlib test.
33569         * configure.in: No need to check for ranlib.
33570         * elf/rtld-Rules: Don't use RANLIB.
33572 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33574         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33575         protection macro.
33576         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33577         inclusion protection macro.
33579         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33580         SIGRTMIN and SIGRTMAX and print information in that case only when
33581         SIGRTMIN is defined.
33583 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33585         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33586         arginfo fn returning -1.
33588         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33589         and thousands string is zero terminated.
33591 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33593         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33594         sysdeps/unix/sysv/linux/bits/socket.h.
33596 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33598         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33599         (__CPU_COUNT): Remove old macros.
33600         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33601         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33602         (__CPU_ALLOC, __CPU_FREE): Add macros.
33603         (__sched_cpualloc, __sched_cpufree): Add declarations.
33605 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33607         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33608         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33609         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33610         (readdhstai): Return value of addhstaiX call.
33611         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33612         (addgrbyX): Return value returned by cache_addgr.
33613         (readdgrbyname): Return value returned by addgrbyX.
33614         (readdgrbygid): Likewise.
33615         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33616         (addpwbyX): Return value returned by cache_addpw.
33617         (readdpwbyname): Return value returned by addhstbyX.
33618         (readdpwbyuid): Likewise.
33619         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33620         (addservbyX): Return value returned by cache_addserv.
33621         (readdservbyname): Return value returned by addservbyX:
33622         (readdservbyport): Likewise.
33623         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33624         (addhstbyX): Return value returned by cache_addhst.
33625         (readdhstbyname): Return value returned by addhstbyX.
33626         (readdhstbyaddr): Likewise.
33627         (readdhstbynamev6): Likewise.
33628         (readdhstbyaddrv6): Likewise.
33629         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33630         (readdinitgroups): Return value returned by addinitgroupsX.
33631         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33632         (prune_cache): Keep track of timeout value of re-added entries.
33633         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33634         * nscd/nscd.h: Adjust prototypes of readd* functions.
33636 2011-02-04  Roland McGrath  <roland@redhat.com>
33638         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33639         (nis_stats): Likewise.
33640         * nis/nis_modify.c (nis_modify): Likewise.
33641         * nis/nis_remove.c (nis_remove): Likewise.
33642         * nis/nis_add.c (nis_add): Likewise.
33644         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33646         * posix/fnmatch_loop.c: Add some consts.
33648         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33650 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33652         [BZ #12460]
33653         * config.make.in (config-cflags-novzeroupper): Define.
33654         * configure.in: Substitute libc_cv_cc_novzeroupper.
33655         * elf/Makefile (AVX-CFLAGS): Define.
33656         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33657         (CFLAGS-tst-auditmod4a.c): Likewise.
33658         (CFLAGS-tst-auditmod4b.c): Likewise.
33659         (CFLAGS-tst-auditmod6b.c): Likewise.
33660         (CFLAGS-tst-auditmod6c.c): Likewise.
33661         (CFLAGS-tst-auditmod7b.c): Likewise.
33662         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33664 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33666         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33667         function to the callback.
33668         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33670 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33672         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33673         of errno.
33675 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33677         [BZ #11724]
33678         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33679         of constructors.
33680         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33681         of destructors.
33682         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33684         [BZ #11724]
33685         * elf/Makefile: Add rules to build and run new test.
33686         * elf/tst-initorder.c: New file.
33687         * elf/tst-initorder.exp: New file.
33688         * elf/tst-initordera1.c: New file.
33689         * elf/tst-initordera2.c: New file.
33690         * elf/tst-initordera3.c: New file.
33691         * elf/tst-initordera4.c: New file.
33692         * elf/tst-initorderb1.c: New file.
33693         * elf/tst-initorderb2.c: New file.
33694         * elf/tst-order-a1.c: New file.
33695         * elf/tst-order-a2.c: New file.
33696         * elf/tst-order-a3.c: New file.
33697         * elf/tst-order-a4.c: New file.
33698         * elf/tst-order-b1.c: New file.
33699         * elf/tst-order-b2.c: New file.
33700         * elf/tst-order-main.c: New file.
33701         New test case by George Gensure <werkt0@gmail.com>.
33703 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33706         decoding ACE if AI_CANONIDN.
33708 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33710         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33712 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33714         * version.h (RELEASE): Bump for 2.13 release.
33715         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33717         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33719         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33720         MADV_NOHUGEPAGE.
33721         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33723         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33724         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33725         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33726         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33728         * posix/getconf.c: Update copyright year.
33729         * catgets/gencat.c: Likewise.
33730         * csu/version.c: Likewise.
33731         * debug/catchsegv.sh: Likewise.
33732         * debug/xtrace.sh: Likewise.
33733         * elf/ldconfig.c: Likewise.
33734         * elf/ldd.bash.in: Likewise.
33735         * elf/sprof.c (print_version): Likewise.
33736         * iconv/iconv_prog.c: Likewise.
33737         * iconv/iconvconfig.c: Likewise.
33738         * locale/programs/locale.c: Likewise.
33739         * locale/programs/localedef.c: Likewise.
33740         * malloc/memusage.sh: Likewise.
33741         * malloc/mtrace.pl: Likewise.
33742         * nscd/nscd.c (print_version): Likewise.
33743         * nss/getent.c: Likewise.
33745         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33746         PF_CAIF, and PF_ALG.
33747         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33749 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33751         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33752         (modules-names): Use them.
33753         (ifunc-test-modules, ifunc-pie-tests): Define.
33754         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33755         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33756         (test-extras): Likewise.
33757         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33758         $(compile-command.c).
33759         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33760         (all-built-dso): Define.
33761         (check-textrel.out, check-execstack.out): Depend on it.
33763         * configure.in: Don't override --enable-multi-arch.
33765 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33767         [BZ #6812]
33768         * nscd/hstcache.c (tryagain): Define.
33769         (cache_addhst): Return tryagain not notfound for temporary errors.
33770         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33771         failed.
33773 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33775         [BZ #10563]
33776         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33777         to make the syscall.
33778         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33780         [BZ #12378]
33781         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33782         and fall back to matching as normal character if the string ends before
33783         the matching ']' is found.  This is what POSIX requires.
33784         * posix/testfnm.c: Adjust test result.
33785         * posix/globtest.sh: Adjust test result.  Add new test.
33786         * posix/tst-fnmatch.input: Likewise.
33787         * posix/tst-fnmatch2.c: Add new test.
33789 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33791         * elf/Makefile (check-execstack): Revert last change.  Depend on
33792         check-execstack.h.
33793         (check-execstack.h): New target.
33794         (generated): Add check-execstack.h.
33795         * elf/check-execstack.c: Include "check-execstack.h".
33796         (main): Revert last change.
33797         (handle_file): Return zero if GNU_STACK is absent and
33798         DEFAULT_STACK_PERMS doesn't include PF_X.
33800 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33802         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33803         in child fails because the descriptor is already closed.
33804         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33805         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33806         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33808         [BZ #12397]
33809         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33810         syscall.
33812         [BZ #10484]
33813         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33814         temporary buffer used to handle multi lookups locally.
33815         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33817 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33819         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33820         loader is ld.so.
33822 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33824         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33825         alignment for SSE2.
33827 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33829         [BZ #12394]
33830         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33831         characters.  When rounding increased number of integer digits recompute
33832         number of groups.
33833         * stdio-common/tst-grouping.c: New file.
33834         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33836 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33838         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33839         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33841         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33842         void.
33843         * bits/select.h: Likewise.
33845 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33847         * po/ja.po: Update from translation team.
33849 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33851         [BZ #11155]
33852         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33853         implementation just like for lxstat, fxstatat, et al.
33855 2010-12-27  Jim Meyering  <meyering@redhat.com>
33857         [BZ #12348]
33858         * posix/regexec.c (build_trtable): Return failure indication upon
33859         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33861 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33863         [BZ #12201]
33864         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33865         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33866         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33867         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33869         [BZ #12207]
33870         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33872         [BZ #12204]
33873         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33874         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33876 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33878         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33879         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33880         script has SORT_BY_INIT_PRIORITY.
33881         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33882         NO_CTORS_DTORS_SECTIONS is defined.
33883         * elf/soinit.c: Likewise.
33884         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33885         NO_CTORS_DTORS_SECTIONS is defined.
33886         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33887         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33888         * sysdeps/sh/init-first.c: Likewise.
33889         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33891 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33893         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33894         always use the slow path.
33896 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33898         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33899         similar rule which adds the sysdep directories to the header search in
33900         order to pick up the correct platform stackinfo.h.
33901         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33902         perform test if it is, otherwise return successfully without testing.
33903         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33904         DEFAULT_STACK_PERMS define in stackinfo.h.
33905         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33906         defined in stackinfo.h.
33907         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33908         DEFAULT_STACK_PERMS defined in stackinfo.h.
33909         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33910         * sysdeps/ia64/stackinfo.h: Likewise.
33911         * sysdeps/s390/stackinfo.h: Likewise.
33912         * sysdeps/sh/stackinfo.h: Likewise.
33913         * sysdeps/sparc/stackinfo.h: Likewise.
33914         * sysdeps/x86_64/stackinfo.h: Likewise.
33915         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33916         PF_X for powerpc64.  Retain PF_X for powerpc32.
33918 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33920         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33921         accurately.
33922         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33923         GETDENTS_64BIT_ALIGNED.
33925 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33927         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33929 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33931         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33932         _GNU_SOURCE.
33934         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33935         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33936         Remove __restrict.
33937         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33938         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33940 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33942         [BZ #11655]
33943         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33944         are initialized.
33946 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33948         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33950 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33952         * po/it.po: Update from translation team.
33954 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33957         unused codes.
33959 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33961         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33963 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33965         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33966         specially.
33967         (gaih_getanswer_slice): Likewise.
33969 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33973 2010-05-31  Petr Baudis  <pasky@suse.cz>
33975         [BZ #11149]
33976         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33977         silently even in the chroot mode.
33979 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33981         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33982         last patch a bit.  Pretty printing
33984 2010-05-31  Petr Baudis <pasky@suse.cz>
33986         [BZ #10085]
33987         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33988         initialization of skip_initgroups_dyn.
33990 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33992         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33993         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33995 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33997         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33999 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34001         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34002         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34003         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34004         ($(objpfx)tst-fnmatch-mem): New rule.
34005         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34006         * posix/tst-fnmatch.c (main): Call mtrace.
34008 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34011         Support Intel processor model 6 and model 0x2c.
34013 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34015         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34016           signed comparison.
34018 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34020         [BZ #12205]
34021         * string/test-strncasecmp.c (check_result): New function.
34022         (do_one_test): Use it.
34023         (check1): New function.
34024         (test_main): Use it.
34025         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34026         Support strcasecmp and strncasecmp.
34028 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34030         [BZ #12194]
34031         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34034 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34036         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34037         IFUNC support.
34038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34039         memset-x86-64.
34040         * sysdeps/x86_64/multiarch/bzero.S: New file.
34041         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34042         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34043         * sysdeps/x86_64/multiarch/memset.S: New file.
34044         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34046         Set bit_Prefer_SSE_for_memop for Intel processors.
34047         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34048         Define.
34049         (index_Prefer_SSE_for_memop): Define.
34050         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34052 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34054         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34055         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34057 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34059         [BZ #12191]
34060         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34061         (__x86_64_raw_data_cache_size_half): Likewise.
34062         (__x86_64_raw_shared_cache_size): Likewise.
34063         (__x86_64_raw_shared_cache_size_half): Likewise.
34065         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34066         (__x86_64_raw_data_cache_size_half): Likewise.
34067         (__x86_64_raw_shared_cache_size): Likewise.
34068         (__x86_64_raw_shared_cache_size_half): Likewise.
34069         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34070         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34071         and __x86_64_raw_shared_cache_size_half.  Round
34072         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34073         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34074         to multiple of 256 bytes.
34076 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34078         [BZ #12167]
34079         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34080         of inacessible symlinks.  Verify result of symlink before returning it.
34081         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34082         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34084 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34086         * math/math.h (isinf): Fix typo in comment.
34088 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34090         * po/da.po: Update from translation team.
34092 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34094         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34095         is added to the list.
34097 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34098             Ulrich Drepper  <drepper@gmail.com>
34100         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34101         the global list here.  Move code to...
34102         (_dl_add_to_namespace_list): ...here.  New function.
34103         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34104         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34105         * elf/dl-load.c (lose): Don't remove the element from the list.
34106         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34107         (_dl_map_object): Likewise.
34109 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34111         [BZ #12159]
34112         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34113         into all bytes of SSE register.
34114         Patch by Richard Li <richardpku@gmail.com>.
34116 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34118         [BZ #12140]
34119         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34120         perturbing.
34122 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34124         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34125         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34126         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34127         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34129         submachine.
34130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34132 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34134         * include/dlfcn.h (__RTLD_SECURE): Define.
34135         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34136         mode & __RTLD_SECURE instead.
34137         (open_path): Rename preloaded parameter to secure.
34138         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34139         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34140         * elf/dl-deps.c (openaux): Likewise.
34141         * elf/rtld.c (struct map_args): Remove is_preloaded.
34142         (map_doit): Don't use it.
34143         (dl_main): Likewise.
34144         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34145         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34147 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34149         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34150         (sysd-rules-targets): Remove duplicates.
34151         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34152         rtld-%.$o dependency.
34154 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34156         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34157         _dl_map_object do it.
34159 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34161         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34162         fast fma builtins, define the macros in the C99 standard.
34163         (FP_FAST_FMAF): Likewise.
34164         (FP_FAST_FMAL): Likewise.
34165         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34167         * bits/mathdef.h: Update copyright year.
34168         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34170 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34172         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34173         builtins, define the macros in the C99 standard.
34174         (FP_FAST_FMAF): Likewise.
34175         (FP_FAST_FMAL): Likewise.
34176         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34177         multiply/add.
34178         (FP_FAST_FMAF): Likewise.
34180 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34182         [BZ #3268]
34183         * math/libm-test.inc (fma_test): Some new testcases.
34184         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34185         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34186         y and infinite z.  Do multiplication by C already in long double.
34187         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34189         y and infinite z.  Do bitwise or of inexact bit into u.d.
34190         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34191         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34192         * sysdeps/i386/fpu/s_fma.S: Removed.
34193         * sysdeps/i386/fpu/s_fmal.S: Removed.
34195 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34197         [BZ #3268]
34198         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34200         computation is not scheduled after fetestexcept.  Fix value
34201         of minimum denormal long double.
34203 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34205         [BZ #3268]
34206         * math/libm-test.inc (fma_test): Add some more tests.
34207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34208         correctly.
34210 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34212         * scripts/data/localplt-s390-linux-gnu.data: New file.
34213         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34215 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34217         [BZ #3268]
34218         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34219         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34220         instead of dbl-64.
34221         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34222         inlines.
34223         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34225         if one of x and y is very large and the other is subnormal.
34226         * sysdeps/s390/fpu/s_fmaf.c: New file.
34227         * sysdeps/s390/fpu/s_fma.c: New file.
34228         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34229         * sysdeps/powerpc/fpu/s_fma.S: New file.
34230         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34231         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34232         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34234 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34236         [BZ #3268]
34237         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34238         fma tests.
34239         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34240         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34241         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34242         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34243         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34244         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34245         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34247 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34249         [BZ #12078]
34250         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34251         * posix/bug-regex31.input: Add test case.
34253 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34255         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34256         * posix/bug-regex31.input: New file.
34258         [BZ #12078]
34259         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34260         (parse_sub_exp): Fix last change, use postorder.
34262         * posix/bug-regex31.c: New file.
34263         * posix/Makefile: Add rules to build and run bug-regex31.
34265         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34267         [BZ #12078]
34268         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34270         [BZ #12108]
34271         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34272         to have entries in sys_siglist.
34274         [BZ #12093]
34275         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34276         be NULL.
34278 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34280         [BZ #3268]
34281         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34282         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34283         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34284         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34285         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34286         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34287         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34288         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34289         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34290         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34291         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34292         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34293         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34294         * math/ftestexcept.c (fetestexcept): Likewise.
34295         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34296         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34297         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34298         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34299         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34300         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34301         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34303 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34305         [BZ #12107]
34306         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34307         newline.
34309 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34311         * string/bug-strstr1.c: New file.
34312         * string/Makefile: Add rules to build and run bug-strstr1.
34314 2010-10-05  Eric Blake  <eblake@redhat.com>
34316         [BZ #12092]
34317         * string/str-two-way.h (two_way_long_needle): Always clear memory
34318         when skipping input due to the shift table.
34320 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34322         [BZ #12005]
34323         * malloc/mcheck.c: Handle large requests.
34325         [BZ #12077]
34326         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34327         for strncmp and strncasecmp.
34328         * string/stratcliff.c: Add tests for strcmp and strncmp.
34329         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34331 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34333         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34334         __set_fpscr.
34336 2010-09-30  Andreas Jaeger  <aj@suse.de>
34338         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34339         (CGROUP_SUPER_MAGIC): Define.
34340         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34341         Handle btrfs and cgroup file systems.
34342         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34343         Likewise.
34345 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34347         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34348         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34350 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34352         [BZ #12067]
34353         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34354         trying to locate the ELF header.
34356 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34358         [BZ #11611]
34359         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34360         Mask out sign-bit copies when constructing f_fsid.
34362 2010-09-24  Petr Baudis <pasky@suse.cz>
34364         * debug/stack_chk_fail_local.c: Add missing licence exception.
34365         * debug/warning-nop.c: Likewise.
34367 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34369         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34370         implementing getdents64 using getdents syscall, set d_type if
34371         __ASSUME_GETDENTS32_D_TYPE.
34373 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34375         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34376         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34378 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34380         [BZ #12037]
34381         * posix/unistd.h: Undo change of feature selection for ftruncate from
34382         2010-01-11.
34384 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34386         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34387         detection.
34389 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34391         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34392         fanotify_mark.
34393         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34395 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34397         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34398         variables after CHECK_SP call.
34399         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34401 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34402             Ulrich Drepper  <drepper@redhat.com>
34404         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34405         re-relocationg ld.so.
34406         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34407         _dl_init_paths call.
34408         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34409         here anymore.
34411 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34413         * resolv/res_init.c (__res_vinit): Count the default server we added.
34415 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34416             Ulrich Drepper  <drepper@redhat.com>
34418         [BZ #11968]
34419         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34420         (____longjmp_chk): Use %ebx for saving value across system call.
34421         Add unwind info.
34423 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34425         * manual/Makefile: Don't mix pattern rules with normal rules.
34427 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34429         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34430         operation.
34431         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34432         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34433         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34434         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34436         Likewise.
34438 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34440         [BZ #11979]
34441         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34442         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34444 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34446         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34447         * sysdeps/x86_64/addmul_1.S: Likewise.
34448         * sysdeps/x86_64/lshift.S: Likewise.
34449         * sysdeps/x86_64/mul_1.S: Likewise.
34450         * sysdeps/x86_64/rshift.S: Likewise.
34451         * sysdeps/x86_64/sub_n.S: Likewise.
34452         * sysdeps/x86_64/submul_1.S: Likewise.
34454 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34456         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34457         Define __sched_param instead of SCHED_* and sched_param when
34458         <bits/sched.h> is included with __need_schedparam defined.
34459         * bits/sched.h [__need_schedparam]
34460         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34461         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34462         (__defined_schedparam): Define to 1.
34463         (__sched_param): New structure, identical to sched_param.
34464         (__need_schedparam): Undefine.
34466 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34468         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34469         (epoll_create1): Declare.
34471         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34473 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34475         [BZ #7066]
34476         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34477         shifting retval into place.
34479 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34481         * nis/rpcsvc/nis.h: Update copyright notice.
34482         * nis/rpcsvc/nis.x: Likewise.
34483         * nis/rpcsvc/nis_callback.h: Likewise.
34484         * nis/rpcsvc/nis_callback.x: Likewise.
34485         * nis/rpcsvc/nis_object.x: Likewise.
34486         * nis/rpcsvc/nis_tags.h: Likewise.
34487         * nis/rpcsvc/yp.h: Likewise.
34488         * nis/rpcsvc/yp.x: Likewise.
34489         * nis/rpcsvc/ypupd.h: Likewise.
34490         * nis/yp_xdr.c: Likewise.
34491         * nis/ypupdate_xdr.c: Likewise.
34493         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34494         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34495         (pmap_getport): Use __libc_rpc_getport.
34496         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34497         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34498         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34500 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34503         fanotify_mark.
34505 2010-08-27  Roland McGrath  <roland@redhat.com>
34507         * sysdeps/i386/i686/multiarch/Makefile
34508         (CFLAGS-varshift.c): New variable.
34510 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34512         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34513         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34515         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34517         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34519 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34521         * sysdeps/x86_64/strlen.S: Unroll the loop.
34522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34523         strlen-sse2 strlen-sse2-bsf.
34524         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34525         __strlen_no_bsf if bit_Slow_BSF is set.
34526         (__strlen_sse42): Removed.
34527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34528         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34530 2010-08-25  Roland McGrath  <roland@redhat.com>
34532         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34533         * sysdeps/x86_64/multiarch/varshift.c: New file.
34534         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34535         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34536         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34537         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34539 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34542         strlen-sse2 strlen-sse2-bsf.
34543         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34544         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34545         (__strlen_sse2): Removed.
34546         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34547         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34549         bit_Slow_BSF for Atom.
34550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34551         (index_Slow_BSF): Define.
34552         (HAS_SLOW_BSF): Define.
34554 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34556         [BZ #10851]
34557         * resolv/res_init.c (__res_vinit): When no server address at all
34558         is given default to loopback.
34560 2010-08-24  Roland McGrath  <roland@redhat.com>
34562         * configure.in: Remove config-name.h generation.
34563         * configure: Regenerated.
34564         * config-name.in: File removed.
34565         * scripts/config-uname.sh: New file.
34566         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34567         ($(objdir)config-name.h): New target.
34569         * sunrpc/rpc_parse.h: Avoid nested comment.
34571 2010-08-24  Richard Henderson  <rth@redhat.com>
34572             Ulrich Drepper  <drepper@redhat.com>
34573             H.J. Lu  <hongjiu.lu@intel.com>
34575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34577         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34578         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34579         _mm_alignr_epi8 with _mm_loadu_si128.
34580         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34581         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34582         (__m128i_shift_right): Removed.
34583         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34584         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34585         * sysdeps/x86_64/multiarch/varshift.h: New file.
34586         * sysdeps/x86_64/multiarch/varshift.S: New file.
34588 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34590         * configure.in: Move assembler checks to before sysdep dir checking.
34592 2010-08-20  Petr Baudis  <pasky@suse.cz>
34594         * LICENSES: Sync the sunrpc license.
34596 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34598         * sunrpc/auth_des.c: Update copyright notice once again.
34599         * sunrpc/auth_none.c: Likewise.
34600         * sunrpc/auth_unix.c: Likewise.
34601         * sunrpc/authdes_prot.c: Likewise.
34602         * sunrpc/authuxprot.c: Likewise.
34603         * sunrpc/bindrsvprt.c: Likewise.
34604         * sunrpc/clnt_gen.c: Likewise.
34605         * sunrpc/clnt_perr.c: Likewise.
34606         * sunrpc/clnt_raw.c: Likewise.
34607         * sunrpc/clnt_simp.c: Likewise.
34608         * sunrpc/clnt_tcp.c: Likewise.
34609         * sunrpc/clnt_udp.c: Likewise.
34610         * sunrpc/clnt_unix.c: Likewise.
34611         * sunrpc/des_crypt.c: Likewise.
34612         * sunrpc/des_soft.c: Likewise.
34613         * sunrpc/get_myaddr.c: Likewise.
34614         * sunrpc/getrpcport.c: Likewise.
34615         * sunrpc/key_call.c: Likewise.
34616         * sunrpc/key_prot.c: Likewise.
34617         * sunrpc/openchild.c: Likewise.
34618         * sunrpc/pm_getmaps.c: Likewise.
34619         * sunrpc/pm_getport.c: Likewise.
34620         * sunrpc/pmap_clnt.c: Likewise.
34621         * sunrpc/pmap_prot.c: Likewise.
34622         * sunrpc/pmap_prot2.c: Likewise.
34623         * sunrpc/pmap_rmt.c: Likewise.
34624         * sunrpc/rpc/auth.h: Likewise.
34625         * sunrpc/rpc/auth_unix.h: Likewise.
34626         * sunrpc/rpc/clnt.h: Likewise.
34627         * sunrpc/rpc/des_crypt.h: Likewise.
34628         * sunrpc/rpc/key_prot.h: Likewise.
34629         * sunrpc/rpc/netdb.h: Likewise.
34630         * sunrpc/rpc/pmap_clnt.h: Likewise.
34631         * sunrpc/rpc/pmap_prot.h: Likewise.
34632         * sunrpc/rpc/pmap_rmt.h: Likewise.
34633         * sunrpc/rpc/rpc.h: Likewise.
34634         * sunrpc/rpc/rpc_des.h: Likewise.
34635         * sunrpc/rpc/rpc_msg.h: Likewise.
34636         * sunrpc/rpc/svc.h: Likewise.
34637         * sunrpc/rpc/svc_auth.h: Likewise.
34638         * sunrpc/rpc/types.h: Likewise.
34639         * sunrpc/rpc/xdr.h: Likewise.
34640         * sunrpc/rpc_clntout.c: Likewise.
34641         * sunrpc/rpc_cmsg.c: Likewise.
34642         * sunrpc/rpc_common.c: Likewise.
34643         * sunrpc/rpc_cout.c: Likewise.
34644         * sunrpc/rpc_dtable.c: Likewise.
34645         * sunrpc/rpc_hout.c: Likewise.
34646         * sunrpc/rpc_main.c: Likewise.
34647         * sunrpc/rpc_parse.c: Likewise.
34648         * sunrpc/rpc_parse.h: Likewise.
34649         * sunrpc/rpc_prot.c: Likewise.
34650         * sunrpc/rpc_sample.c: Likewise.
34651         * sunrpc/rpc_scan.c: Likewise.
34652         * sunrpc/rpc_scan.h: Likewise.
34653         * sunrpc/rpc_svcout.c: Likewise.
34654         * sunrpc/rpc_tblout.c: Likewise.
34655         * sunrpc/rpc_util.c: Likewise.
34656         * sunrpc/rpc_util.h: Likewise.
34657         * sunrpc/rpcinfo.c: Likewise.
34658         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34659         * sunrpc/rpcsvc/key_prot.x: Likewise.
34660         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34661         * sunrpc/rpcsvc/mount.x: Likewise.
34662         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34663         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34664         * sunrpc/rpcsvc/rex.x: Likewise.
34665         * sunrpc/rpcsvc/rstat.x: Likewise.
34666         * sunrpc/rpcsvc/rusers.x: Likewise.
34667         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34668         * sunrpc/rpcsvc/spray.x: Likewise.
34669         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34670         * sunrpc/rtime.c: Likewise.
34671         * sunrpc/svc.c: Likewise.
34672         * sunrpc/svc_auth.c: Likewise.
34673         * sunrpc/svc_authux.c: Likewise.
34674         * sunrpc/svc_raw.c: Likewise.
34675         * sunrpc/svc_run.c: Likewise.
34676         * sunrpc/svc_simple.c: Likewise.
34677         * sunrpc/svc_tcp.c: Likewise.
34678         * sunrpc/svc_udp.c: Likewise.
34679         * sunrpc/svc_unix.c: Likewise.
34680         * sunrpc/svcauth_des.c: Likewise.
34681         * sunrpc/xcrypt.c: Likewise.
34682         * sunrpc/xdr.c: Likewise.
34683         * sunrpc/xdr_array.c: Likewise.
34684         * sunrpc/xdr_float.c: Likewise.
34685         * sunrpc/xdr_mem.c: Likewise.
34686         * sunrpc/xdr_rec.c: Likewise.
34687         * sunrpc/xdr_ref.c: Likewise.
34688         * sunrpc/xdr_sizeof.c: Likewise.
34689         * sunrpc/xdr_stdio.c: Likewise.
34691         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34692         handling.
34694 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34696         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34698 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34700         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34701         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34702         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34703         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34704         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34705         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34706         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34707         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34708         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34709         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34710         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34711         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34712         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34713         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34715 2010-07-26  Anton Blanchard  <anton@samba.org>
34717         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34718         * malloc/arena.c (heap_trim): Likewise.
34720 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34722         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34723         here.  Not...
34724         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34725         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34727 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34729         * sysdeps/i386/elf/Makefile: New file.
34731 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34733         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34734         from fanotify_init.
34735         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34738 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34740         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34741         of strncasecmp_l.
34742         * sysdeps/multiarch/strcmp.S: Likewise.
34744 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34746         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34747         strncase_l-nonascii.
34748         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34749         Add strncase_l-ssse3.
34750         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34751         * sysdeps/x86_64/strcmp.S: Likewise.
34752         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34753         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34754         * sysdeps/x86_64/strncase.S: New file.
34755         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34756         * sysdeps/x86_64/strncase_l.S: New file.
34757         * string/Makefile (strop-tests): Add strncasecmp.
34758         * string/test-strncasecmp.c: New file.
34760         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34761         warning.
34763         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34764         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34766 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34768         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34770 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34772         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34773         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34776 2010-05-01  Alan Modra  <amodra@gmail.com>
34778         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34779         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34780         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34781         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34782         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34783         tidying.  Don't tail-call __sigjmp_save for static lib.
34784         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34785         save location.
34786         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34787         (CALL_MCOUNT): Add eh info, and nop after bl.
34788         (TAIL_CALL_SYSCALL_ERROR): New macro.
34789         (PSEUDO_RET): Use it.
34790         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34791         Correct save location of integer regs and cr.
34792         (_dl_profile_resolve): Correct cr save location.  Delete nops
34793         after bl when SHARED.  Reduce cfi size a little by better
34794         placement of cfi directives.
34795         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34796         make a stack frame.  Instead use parm save area as a temp.
34797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34798         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34800         Don't make a stack frame for parent, use parm save area.
34801         Increase child stack frame to 112 bytes.  Don't save unused reg,
34802         and adjust reg usage.  Set up cfi on error recovery and
34803         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34805         (__makecontext): Add dummy nop after jump to exit.
34806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34807         Use correct parm save area and cr save, reduce stack frame.
34808         Correct cfi for possible PSEUDO_RET frame setup.
34809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34810         Branch to local label emitted by PSEUDO_RET rather than
34811         __syscall_error.
34813 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34815         [BZ #11904]
34816         * locale/programs/locale.c (print_assignment): New function.
34817         (show_locale_vars): Use it.
34819 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34821         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34822         field.
34823         (struct statfs64): Likewise.
34824         (_STATFS_F_FLAGS): Define.
34825         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34826         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34827         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34828         (ST_VALID): Define locally.
34829         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34830         __statvfs_getflags, use the provided value.
34831         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34832         __ASSUME_STATFS_F_FLAGS.
34834         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34836         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34837         Add sys/fanotify.h.
34838         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34839         fanotify_mask for GLIBC_2.13.
34840         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34841         fanotify_init and fanotify_mark.
34842         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34843         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34845         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34846         Add prlimit.
34847         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34848         prlimit64 for GLIBC_2.13.
34849         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34850         prlimit64.
34851         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34852         syscall.
34853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34855         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34856         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34857         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34858         add prlimit alias.
34859         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34861         [BZ #11903]
34862         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34863         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34865         * nss/Makefile: Add rules to build and run tst-nss-test1.
34866         * shlib-versions: Add entry for libnss_test1.
34867         * nss/nss_test1.c: New file.
34868         * nss/tst-nss-test1.c: New file.
34870         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34871         (__nss_configure_lookup): Set appropriate entry in
34872         __nss_configure_lookup to true.
34873         * nss/nsswitch.h: Define enum with indeces of databases in
34874         databases and __nss_database_custom arrays.  Declare
34875         __nss_database_custom.
34876         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34877         to avoid using nscd when custom rules are installed.
34878         * nss/getXXbyYY_r.c: Likewise.
34879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34881         * nss/nss_files/files-parse.c: Whitespace fixes.
34883 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34885         [BZ #11883]
34886         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34887         * posix/fnmatch_loop.c: Likewise.
34889 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34891         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34892         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34893         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34894         * Versions.def [GLIBC_2.13]: Add.
34896 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34898         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34899         Also fail if tpwd after pwuid call is NULL.
34901 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34903         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34904         when converting to ms.
34906 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34908         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34909         EOPNOTSUPP errors with ENOTTY.
34910         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34911         EOPNOTSUPP errors with ENOTTY.
34913 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34915         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34916         Add strcasecmp_l-ssse3.
34917         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34918         strcasecmp.
34919         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34920         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34921         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34923 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34925         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34927         * string/Makefile (strop-tests): Add strcasecmp.
34928         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34929         strcasecmp_l-nonascii.
34930         (gen-as-const-headers): Add locale-defines.sym.
34931         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34932         * sysdeps/x86_64/strcasecmp.S: New file.
34933         * sysdeps/x86_64/strcasecmp_l.S: New file.
34934         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34935         * sysdeps/x86_64/locale-defines.sym: New file.
34936         * string/test-strcasecmp.c: New file.
34938         * string/test-strcasestr.c: Test both ends of the range of characters.
34939         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34941 2010-07-29  Roland McGrath  <roland@redhat.com>
34943         [BZ #11856]
34944         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34946 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34948         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34949         for ld.so.
34951 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34953         * manual/memory.texi (Malloc Tunable Parameters): Document
34954         M_PERTURB.
34956 2010-07-26  Roland McGrath  <roland@redhat.com>
34958         [BZ #11840]
34959         * configure.in (-fgnu89-inline check): Set and substitute
34960         gnu89_inline, not libc_cv_gnu89_inline.
34961         * configure: Regenerated.
34962         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34964 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34966         * string/test-strnlen.c: New file.
34967         * string/Makefile (strop-tests): Add strnlen.
34968         * string/tester.c (test_strnlen): Add a few more test cases.
34969         * string/tst-strlen.c: Better error reporting.
34971         * sysdeps/x86_64/strnlen.S: New file.
34973 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34975         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34976         lower-latency instructions.
34978 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34980         * string/test-strcasestr.c: New file.
34981         * string/test-strstr.c: New file.
34982         * string/Makefile (strop-tests): Add strstr and strcasestr.
34983         * string/str-two-way.h: Don't undefine MAX.
34984         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34986 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34989         strcasestr-nonascii.
34990         (CFLAGS-strcasestr-nonascii.c): Define.
34991         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34992         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34993         Remove unused attribute.
34995 2010-07-20  Roland McGrath  <roland@redhat.com>
34997         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34998         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34999         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35000         like LD_HWCAP_MASK can disable hwcaps.
35002 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35004         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35006 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35008         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35009         call in strcasestr.
35010         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35011         __strcasestr_sse42_nonascii.
35012         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35013         strcasestr-nonascii.c.
35014         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35016 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35018         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35019         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35020         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35021         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35023 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35025         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35026         fcntl.
35028 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35030         [BZ #11577]
35031         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35032         dl_signal_cerror.
35034 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35036         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35037         _PC_PIPE_BUF using F_GETPIPE_SZ.
35039 2010-07-05  Roland McGrath  <roland@redhat.com>
35041         * manual/arith.texi (Rounding Functions): Fix rint description
35042         implicit in round description.
35044 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35046         * elf/Makefile: Fix linking for a few tests to make recent linker
35047         happy.
35049 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35051         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35052         $(common-objpfx)libc_nonshared.a.
35054 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35056         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35057         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35058         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35059         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35060         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35061         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35062         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35063         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35078         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35079         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35080         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35081         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35082         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35083         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35084         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35085         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35086         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35087         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35088         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35089         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35105 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35107         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35108         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35109         * string/memmove.c (memmove): Renamed to ...
35110         (MEMMOVE): ...this.  Default to memmove.
35111         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35112         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35113         (END_CHK): Define.
35114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35115         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35116         mempcpy-ssse3-back memmove-ssse3-back.
35117         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35118         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35119         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35120         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35121         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35122         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35123         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35124         * sysdeps/x86_64/multiarch/memmove.c: New file.
35125         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35126         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35127         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35128         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35129         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35130         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35131         Define.
35132         (index_Fast_Copy_Backward): Define.
35133         (HAS_ARCH_FEATURE): Define.
35134         (HAS_FAST_REP_STRING): Define.
35135         (HAS_FAST_COPY_BACKWARD): Define.
35137 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35139         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35140         Restore proper fallback handling.
35142 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35144         [BZ #11701]
35145         * posix/group_member.c (__group_member): Correct checking loop.
35147         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35148         OOM in getpwuid_r correctly.  Return error number when the caller
35149         should return, otherwise -1.
35150         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35151         call returning > 0 value.
35152         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35154 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35156         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35157         libc_nonshared.a from targets in modules-names.
35159 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35161         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35162         requires it.
35164 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35166         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35167         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35168         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35169         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35171 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35173         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35175 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35177         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35178         and F_GETPIPE_SZ.
35179         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35180         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35183         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35184         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35186 2010-06-14  Roland McGrath  <roland@redhat.com>
35188         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35190 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35192         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35193         __REDIRECT followed by __THROW.
35194         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35195         * posix/getopt.h (getopt): Likewise.
35197 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35199         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35200         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35201         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35202         in AT_FLAGS.
35203         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35204         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35206 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35208         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35210 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35212         [BZ #11640]
35213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35214         Properly check family and model.
35216 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35218         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35220 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35222         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35224 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35226         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35227         symbol reference.
35229 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35231         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35232         symbol reference.
35234 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35236         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35237         and internal_recvmmsg.
35238         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35239         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35240         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35241         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35243         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35244         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35245         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35247 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35249         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35251 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35253         POWER7 optimizations.
35254         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35255         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35257 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35259         * version.h: Update for 2.13 development version.
35261 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35263         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35264         exceptions.  Return 0.
35266 2010-05-07  Roland McGrath  <roland@redhat.com>
35268         * elf/ldconfig.c (main): Add a const.
35270 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35272         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35273         (args_options): Add no-idn option.
35274         (ahosts_keys_int): Add idn_flags to ai_flags.
35275         (parse_option): Handle 'i' option to clear idn_flags.
35277         * malloc/malloc.c (_int_free): Possible race in the most recently
35278         added check.  Only act on the data if no current modification
35279         happened.
35281 See ChangeLog.17 for earlier changes.